names
stringlengths 1
98
| readmes
stringlengths 8
608k
| topics
stringlengths 0
442
| labels
stringclasses 6
values |
---|---|---|---|
Full-Stack-Web-Development-with-Vue.js-and-Node | full stack web development with vue js and node this is the code repository for full stack web development with vue js and node https www packtpub com web development full stack web development vuejs and node utm source github utm medium repository utm campaign 9781788831147 published by packt https www packtpub com utm source github it contains all the supporting project files necessary to work through the book from start to finish about the book javascript has become one of the most important languages of today and tomorrow the rise of javascript in the past few years has been so drastic that it has become a powerful language in the development of modern web applications mevn is one of the stacks for developing modern web applications in addition to mean and mern this book provides a step by step way of building a full stack web application using the technology in mevn which is mongodb express js vue js and node js the book will provide the basic concepts of node js and mongodb continuing with building an express js application and implementing vue js in this book we ll cover the following things learning about the technology stack mongodb node js express js and vue js building an express js application learning what rest apis are and how to implement them learning to use vue js as the frontend layer in the express js application adding an authentication layer in the application adding the automation scripts and tests instructions and navigation all of the code is organized into folders each folder starts with a number followed by the application name for example chapter02 the code will look like the following extends layout block content h1 title p welcome to title this book will be of most benefit if you have the following skills a knowledge of html css and javascript a knowledge of vue js and node js is a plus a knowledge on how to build web applications using mean and mern stacks is a plus related products full stack vue js 2 and laravel 5 https www packtpub com application development full stack vuejs 2 and laravel 5 utm source github utm medium repository utm campaign 9781788299589 hands on full stack development with angular 5 and firebase https www packtpub com application development hands full stack development angular 5 and firebase utm source github utm medium repository utm campaign 9781788298735 hands on full stack development with swift https www packtpub com web development hands full stack development swift utm source github utm medium repository utm campaign 9781788625241 download a free pdf i if you have already purchased a print or kindle version of this book you can get a drm free pdf version at no cost br simply click on the link to claim your free pdf i p align center a href https packt link free ebook 9781788831147 https packt link free ebook 9781788831147 a p | front_end |
|
ESP8266_RTOS_WITH_ALIYUN_IOT_SDK | important notice about this repository a new branching model is applied to this repository which consists of a master branch and release branches 1 master branch the master branch is an integration branch where bug fixes features are gathered for compiling and functional testing 2 release branch the release branch is where releases are maintained and hot fixes with names like release v2 x x are added please ensure that all your production related work are tracked with the release branches with this new model we can push out bug fixes more quickly and achieve simpler maintenance roadmap esp8266 rtos sdk s framework is quite outdated and different from the current esp idf https github com espressif esp idf and we are planning to migrate esp8266 rtos sdk to esp idf eventually after v2 0 0 however we will firstly provide a new version of esp8266 sdk esp8266 rtos sdk v3 0 which shares the same framework with esp idf esp idf style as a work around because the multi cpu architecture is not supported by esp idf for the time being actions to be taken for esp8266 rtos sdk v3 0 include the following items 1 modify the framework to esp idf style 2 restructure some core libraries including wi fi libraries and libmain 3 update some third party libraries including freertos lwip mbedtls nopoll libcoap spiffs cjson wolfssl etc 4 update some drivers 5 others developing with the esp8266 rtos sdk get toolchain you can get toolchain from arduio firstly windows https dl espressif com dl xtensa lx106 elf win32 1 22 0 88 gde0bdc1 4 8 5 tar gz mac https dl espressif com dl xtensa lx106 elf osx 1 22 0 88 gde0bdc1 4 8 5 tar gz linux 64 https dl espressif com dl xtensa lx106 elf linux64 1 22 0 88 gde0bdc1 4 8 5 tar gz linux 32 https dl espressif com dl xtensa lx106 elf linux32 1 22 0 88 gde0bdc1 4 8 5 tar gz get esp8266 rtos sdk besides the toolchain that contains programs to compile and build the application you also need esp8266 specific api libraries they are provided by espressif in esp8266 rtos sdk https github com espressif esp8266 rtos sdk repository to get it open terminal navigate to the directory you want to put esp8266 rtos sdk and clone it using git clone command cd esp git clone https github com espressif esp8266 rtos sdk git esp8266 rtos sdk will be downloaded into esp esp8266 rtos sdk setup path to esp8266 rtos sdk the toolchain programs access esp8266 rtos sdk using idf path environment variable this variable should be set up on your pc otherwise projects will not build setting may be done manually each time pc is restarted another option is to set up it permanently by defining idf path in user profile for manually the command export idf path esp esp8266 rtos sdk start a project now you are ready to prepare your application for esp8266 to start off quickly we can use examples get started project template project from examples directory in sdk once you ve found the project you want to work with change to its directory and you can configure and build it connect you are almost there to be able to proceed further connect esp8266 board to pc check under what serial port the board is visible and verify if serial communication works note the port number as it will be required in the next step configuring the project being in terminal window go to directory of project template application by typing cd esp esp8266 rtos sdk examples get started project template then start project configuration utility menuconfig cd esp esp8266 rtos sdk examples get started project template make menuconfig in the menu navigate to serial flasher config default serial port to configure the serial port where project will be loaded to confirm selection by pressing enter save configuration by selecting save and then exit application by selecting exit note on windows serial ports have names like com1 on macos they start with dev cu on linux they start with dev tty here are couple of tips on navigation and use of menuconfig use up down arrow keys to navigate the menu use enter key to go into a submenu escape key to go out or to exit type to see a help screen enter key exits the help screen use space key or y and n keys to enable yes and disable no configuration items with checkboxes pressing while highlighting a configuration item displays help about that item type to search the configuration items once done configuring press escape multiple times to exit and say yes to save the new configuration when prompted compiling the project make all will compile app based on the config flashing the project when make all finishes it will print a command line to use esptool py to flash the chip however you can also do this from make by running make flash this will flash the entire project app bootloader and init data bin to a new chip the settings for serial port flashing can be configured with make menuconfig you don t need to run make all before running make flash make flash will automatically rebuild anything which needs it viewing serial output the make monitor target uses the idf monitor tool https esp idf readthedocs io en latest get started idf monitor html to display serial output from the esp32 idf monitor also has a range of features to decode crash output and interact with the device check the documentation page for details https esp idf readthedocs io en latest get started idf monitor html exit the monitor by typing ctrl to flash and monitor output in one pass you can run make flash monitor compiling flashing just the app after the initial flash you may just want to build and flash just your app not the bootloader and init data bin make app build just the app make app flash flash just the app make app flash will automatically rebuild the app if it needs it in normal development there s no downside to reflashing the bootloader and init data bin each time if they haven t changed note recommend to use these 2 commands if you have flashed bootloader and init data bin parallel builds esp8266 rtos sdk supports compiling multiple files in parallel so all of the above commands can be run as make jn where n is the number of parallel make processes to run generally n should be equal to or one more than the number of cpu cores in your system multiple make functions can be combined into one for example to build the app bootloader using 5 jobs in parallel then flash everything and then display serial output from the esp32 run make j5 app flash monitor erasing flash the make flash target does not erase the entire flash contents however it is sometimes useful to set the device back to a totally erased state to erase the entire flash run make erase flash this can be combined with other targets ie make erase flash flash will erase everything and then re flash the new app bootloader and init data bin updating esp8266 rtos sdk after some time of using esp8266 rtos sdk idf you may want to update it to take advantage of new features or bug fixes the simplest way to do so is by deleting existing esp8266 rtos sdk folder and cloning it again another solution is to update only what has changed this method is useful if you have a slow connection to github to do the update run the following commands cd esp esp8266 rtos sdk git pull the git pull command is fetching and merging changes from esp8266 rtos sdk repository on github | os |
|
nodejs-mongodb-angularjs-web-development | nodejs mongodb angularjs web development for the node js mongodb and angularjs web development book | front_end |
|
InterstellarBattalionSocialNetworking | interstellarbattalionsocialnetworking an ios application made for software engineering for ios module at university the aim for the assignment was to create an ios application for an upcoming film intersterllar battalion i decided to create a twitter like clone so the app allows you to post small messages and view other peoples posts i achieved a 78 grade for this application features user creation user login post message follow users upload new profile picture or choose a default view other peoples profiles search for users photos application design https github com nebbsie interstellarbattalionsocialnetworking blob master battalion 20design png raw true | os |
|
iota | iota http korywakefield com iota img og png http korywakefield com iota iota http korywakefield com iota a responsive micro framework for the grid spec powered by css custom properties overview 1 class ndash that s right one little class is all you need to get up and running a few additional modifiers are available to unlock further layout possibilities 584 bytes gzipped ndash iota is tiny like really tiny depending on how you set it up iota s filesize can be reduced even further because you know every byte counts jkbutseriously endlessly flexible ndash the secret sauce comes from merging css grid and all its power with custom properties unlocking true layout freedom without a boatload of unused classes weighing you down basic walkthrough the iota grid sass map sets up the grid defaults which are output as fallback values using the css var function these defaults can be overwritten as needed at each breakpoint specified in iota grid allowing you unlimited layout access with a minimal static footprint this makes it perfect for rapid prototyping and experimenting with new layouts as any inline overwrites you add are only used in that instance for example let s say that for the lg and xl breakpoints you wish to use three columns instead of the default values of 4 to do this you would use the cols custom property for each breakpoint represents the slug for each breakpoint set html div class grid style cols lg 3 cols xl 3 grid items div taking our example one step further let s say that you have decided the three column layout from above is one you wish to use on a few different pages throughout your site since custom properties are just that mdash properties mdash those custom properties can be abstracted into a class and utilized wherever desired html style custom cols lg 3 cols xl 3 style div class grid custom grid items div remember that iota s custom properties are meant to augment mdash not replace mdash standard grid properties by providing some sensible defaults along with a responsive wrapper for properties that you need to change at different breakpoints in situations where you don t need the responsiveness feel free to utilize standard css properties instead to save on having to rewrite the same declaration over and over for example if you know that you d like to have a grid with no spacing between cells all the time using grid gap instead of gap at each breakpoint will work perfectly html style custom grid gap 0 cols lg 3 cols xl 3 style div class grid custom grid items div examples make sure to check out the project homepage http korywakefield com iota overview overview section to see some live examples documentation all of iota s documentation is found on its project homepage http korywakefield com iota reference under the reference section | css sass scss grid columns rows custom-properties responsive-design layout grid-spec | server |
machine_learning_examples | machine learning examples a collection of machine learning examples and tutorials find associated tutorials at https lazyprogrammer me find associated courses at https deeplearningcourses com please note that not all code from all courses will be found in this repository some newer code examples e g most of tensorflow 2 0 were done in google colab therefore you should check the instructions given in the lectures for the course you are taking how to i find the code for a particular course the code for each course is separated by folder you can determine which folder corresponds with which course by watching the where to get the code lecture inside the course usually lecture 2 or 3 remember one folder one course why you should not fork this repo i ve noticed that many people have out of date forks thus i recommend not forking this repository if you take one of my courses i am constantly updating my courses and your fork will soon become out of date you should clone the repository instead to make it easy to get updates i e just git pull randomly and frequently where is the code for your latest courses beginning with tensorflow 2 i started to use google colab for those courses unless otherwise noted the code will be on google colab links to the notebooks are provided in the course see the lecture where to get the code for further details vip course links data science transformers for natural language processing https deeplearningcourses com c data science transformers nlp machine learning natural language processing in python v2 https deeplearningcourses com c natural language processing in python time series analysis forecasting and machine learning https deeplearningcourses com c time series analysis financial engineering and artificial intelligence in python https deeplearningcourses com c ai finance pytorch deep learning and artificial intelligence https deeplearningcourses com c pytorch deep learning tensorflow 2 0 deep learning and artificial intelligence vip version https deeplearningcourses com c deep learning tensorflow 2 deep learning courses exclusives data science bayesian linear regression in python https deeplearningcourses com c bayesian linear regression in python data science bayesian classification in python https deeplearningcourses com c bayesian classification in python classical statistical inference and a b testing in python https deeplearningcourses com c statistical inference in python linear programming for linear regression in python https deeplearningcourses com c linear programming python matlab for students engineers and professionals in stem https deeplearningcourses com c matlab other course links financial analysis build a chatgpt pairs trading bot https deeplearningcourses com c chatgpt pairs trading math 0 1 calculus for data science machine learning https deeplearningcourses com c calculus data science data science machine learning naive bayes in python https deeplearningcourses com c data science machine learning naive bayes in python cutting edge ai deep reinforcement learning in python https deeplearningcourses com c cutting edge artificial intelligence recommender systems and deep learning in python https deeplearningcourses com c recommender systems machine learning and ai support vector machines in python https deeplearningcourses com c support vector machines in python deep learning advanced computer vision https deeplearningcourses com c advanced computer vision deep learning advanced nlp and rnns https deeplearningcourses com c deep learning advanced nlp deep learning gans and variational autoencoders https deeplearningcourses com c deep learning gans and variational autoencoders advanced ai deep reinforcement learning in python https deeplearningcourses com c deep reinforcement learning in python artificial intelligence reinforcement learning in python https deeplearningcourses com c artificial intelligence reinforcement learning in python natural language processing with deep learning in python https deeplearningcourses com c natural language processing with deep learning in python deep learning recurrent neural networks in python https deeplearningcourses com c deep learning recurrent neural networks in python unsupervised machine learning hidden markov models in python https deeplearningcourses com c unsupervised machine learning hidden markov models in python deep learning prerequisites the numpy stack in python https deeplearningcourses com c deep learning prerequisites the numpy stack in python deep learning prerequisites linear regression in python https deeplearningcourses com c data science linear regression in python deep learning prerequisites logistic regression in python https deeplearningcourses com c data science logistic regression in python data science deep learning and neural networks in python https deeplearningcourses com c data science deep learning in python cluster analysis and unsupervised machine learning in python https deeplearningcourses com c cluster analysis unsupervised machine learning python data science supervised machine learning in python https deeplearningcourses com c data science supervised machine learning in python bayesian machine learning in python a b testing https deeplearningcourses com c bayesian machine learning in python ab testing data science natural language processing in python https deeplearningcourses com c data science natural language processing in python modern deep learning in python https deeplearningcourses com c data science deep learning in theano tensorflow ensemble machine learning in python random forest and adaboost https deeplearningcourses com c machine learning in python random forest adaboost deep learning convolutional neural networks in python https deeplearningcourses com c deep learning convolutional neural networks theano tensorflow unsupervised deep learning in python https deeplearningcourses com c unsupervised deep learning in python | deep-learning machine-learning reinforcement-learning python natural-language-processing data-science | ai |
zephyr-west-action | deprecated note zmk has deprecated using this in favor of https github com zmkfirmware zmk docker zephyr west github action a github action to allow performing actions using the west https docs zephyrproject org latest guides west index html build tool the action includes the necessary sdk and dependencies to perform builds of zephyr rtos https zephyrproject org applications as well directory layout requirement in order to properly have the full west workspace be contained within the github actions workspace this action requires that the zephyr application itself be in a toplevel subdirectory of the github repository e g under app inputs command the west command to run e g init or build command args extra parameters arguments to pass to the west command example the following example assumes a git repository with the zephyr application placed in the app subdirectory and demonstrates initalizing updating and then building the application using west this also includes caching of the key module directories that are created in the workspace by west yaml jobs build runs on ubuntu latest name build test steps to use this repository s private action you must check out the repository name checkout uses actions checkout v2 name cache west modules uses actions cache v2 env cache name cache zephyr modules with path modules tools zephyr bootloader key runner os build env cache name hashfiles app west yml restore keys runner os build env cache name runner os build runner os name west init uses zmkfirmware zephyr west action v0 1 0 id west init with command init command args l app name west update uses zmkfirmware zephyr west action v0 1 0 id west update with command update name west config zephyr base uses zmkfirmware zephyr west action v0 1 0 id west config with command config command args global zephyr base prefer configfile name west zephyr export uses zmkfirmware zephyr west action v0 1 0 id west zephyr export with command zephyr export name west build uses zmkfirmware zephyr west action v0 1 0 id west build with command build command args s app docker container version in order to avoid rebuilding the github action each time your workflow runs which currently takes a significant amount of time you can instead use the equivalent published images from docker hub in your workflows there are two variants available zmkfirmware zephyr west action includes the full zephyr sdk but is 1 3gb large zmkfirmware zephyr west action arm includes only the arm toolchain is lighter at 555mb when using the docker images the with section needs only one parmeters args which is passed to the docker cmd value at runtime any additional values to be passed to the west subcommand should be surrounded by quotes e g build b nucleo wb55rg example jobs build runs on ubuntu latest name build test steps to use this repository s private action you must check out the repository name checkout uses actions checkout v2 name cache west modules uses actions cache v2 env cache name cache zephyr modules with path modules tools zephyr bootloader key runner os build env cache name hashfiles app west yml restore keys runner os build env cache name runner os build runner os name west init uses docker zmkfirmware zephyr west action arm latest id west init with args init l app name west update uses docker zmkfirmware zephyr west action arm latest id west update with args update name west config zephyr base uses docker zmkfirmware zephyr west action arm latest id west config with args config global zephyr base prefer configfile name west zephyr export uses docker zmkfirmware zephyr west action arm latest id west zephyr export with args zephyr export name west build uses docker zmkfirmware zephyr west action arm latest id west build with args build s app | os |
|
nearup | nearup pypi version https badge fury io py nearup svg https pypi org project nearup launch near betanet and testnet nodes prepare prepare install install upgrade upgrade getting started getting started using the official binary using the official binary using a locally compiled binary using a locally compiled binary spawn a local network spawn a local network operating operating stop a running node or all running nodes in local network stop a running node or all running nodes in local network additional options additional options docker docker building the docker image building the docker image pull the docker image pull the docker image running nearup with docker running nearup with docker running in detached mode running in detached mode check if the container is running check if the container is running execute nearup commands in container execute nearup commands in container nearup logs nearup logs stop the docker container stop the docker container development development common commands common commands prepare before you proceed make sure you have python 3 and pip3 installed on ubuntu you can install with sudo apt update sudo apt install python3 python3 pip python3 dev warning upgrade pip if needed you are getting a permission denied error or version of pip pip3 version is below 20 pip3 install upgrade pip install warning make sure that you are installing with the user flag pip3 install user nearup verify that you local installation is in python3 m site user base under bin directory by running which nearup warning if the above returns nothing add nearup to your path in profile bashrc or appropriate shell config user base bin python3 m site user base bin export path user base bin path upgrade warning if you have already installed nearup you can upgrade to the latest version by using the command below pip3 install user upgrade nearup getting started using the official binary this is recommended for running on servers you can start your node with remove the interactive flag if you don t want to be prompted nearup run betanet interactive replace betanet if you want to use a different network using a locally compiled binary recommended for security critical validators or during development clone and compile nearcore with make release or make debug first nearup run betanet binary path path to nearcore target debug release replace betanet with testnet if you want to use a different network spawn a local network clone and compile nearcore with make release or make debug first nearup run localnet binary path path to nearcore target debug release by default it will spawn 4 nodes validating in 1 shard rpc ports of each nodes will be consecutive starting from 3030 access one node status using http localhost 3030 status operating stop a running node or all running nodes in local network nearup stop additional options nearup run betanet help docker building the docker image docker build t nearup nearprotocol pull the docker image if you don t want to build a docker image locally you can pull the latest from docker hub docker pull nearup nearprotocol running nearup with docker warning nearup and neard are running inside the container to ensure you don t lose your data which should live on the host you have to mount the near folder to run the nearup docker image run docker run v home near root near p 3030 3030 name nearup nearup nearprotocol run betanet running in detached mode to run nearup in docker s detached non blocking mode you can add d to the docker run command docker run v home near root near p 3030 3030 d name nearup nearup nearprotocol run betanet check if the container is running docker ps container id image command created status ports names fc17f7f7fae0 nearup root start sh run 3 minutes ago up 3 minutes 324324 mystifying moore execute nearup commands in container to execute other nearup commands like logs stop run you can use docker exec docker exec nearup nearup logs docker exec nearup nearup stop docker exec nearup nearup run betanet testnet the container is running in a busy wait loop so the container won t die nearup logs to get the neard logs run docker exec nearup nearup logs or docker exec nearup nearup logs follow to get the nearup logs run docker logs f nearup stop the docker container docker kill nearup development to build a development image docker build t nearup nearprotocol dev the following will mount your repo directory into the running container and drop you into a shell to run test commands docker run it entrypoint v pwd root nearup v home near root near w root nearup nearup nearprotocol dev bash common commands for testing and other checks nearup uses tox to install pip3 install user tox unit tests tox unit tests w coverage tox e coverage linter checks tox e lint python style checks tox e style | blockchain | blockchain |
Arch-Data-Science | data science packages for archlinux welcome to my repo to build data science machine learning computer vision natural language processing and deep learning packages from source performance considerations my aim is to squeeze the maximum performance for my current configuration skylake x i9 9980xe 2x rtx 2080ti so all packages are build with o3 march native if the package ignores etc makepkg conf config i do not use fast math except if it s the default upstream example opencv you might want to enable it for gcc and nvcc nvidia compiler all cuda packages are build with cuda 10 1 cudnn 7 6 and compute capabilities 7 5 turing pytorch is build with magma support magma is a linear algebra library for heterogeneous computing cpu gpu hybridization with mkldnn support mkldnn is a optimized x86 backend for deep learning blas library is mkl except for tensorflow eigen parallel library is intel openmp except for tensorflow eigen pytorch because linking is buggy and opencv intel tbb because linking is buggy as well opencv is further optimized with intel ipp integrated performance primitives nvidia libraries cublas cufft cusparse are used wherever possible if running in a lxc container bazel necessary to build tensorflow must be build with its auto sandboxing disabled caveats please note that current mxnet and lightgbm packages are working but must be improved they put their libraries in usr mxnet and usr lightgbm packages included are those not available by default in archlinux aur or that needed substantial modifications so check archlinux aur for standard packages like numpy or pandas suggestions beyond the packages provided here here are some useful tools csv manipulation from command line xsv https github com burntsushi xsv the fastest multi processing csv library written in rust geographical data combined them with a clustering algorithm geopy shapely gpu computation nvidia s rapids to be wrapped gpu dataframes https github com rapidsai cudf sklearn like on gpu https github com rapidsai cuml monitoring htop monitor cpu ram load kill programs nvtop https github com syllo nvtop monitor nvidia gpu nvidia smi monitor nvidia gpu included with nvidia driver 1 nvidia smi q g 0 d temperature power clock memory l flags can be utilization performance on tesla 2 nvidia smi dmon 3 nvidia smi l 1 rapid prototyping research jupyter code python r haskell julia with direct feedback in your browser jupyter contrib nbextensions extensions for jupyter commenting code text gensim word2vec time data workalendar business calendar for multiple countries video vapoursynth frameserver for video pre processing visualization the vega ecosystem https vega github io altair https github com altair viz altair declarative data visualization voyager https github com vega voyager automatic exploratory data analysis lyra https github com vega lyra tableau like data visualization design seaborn https github com mwaskom seaborn plot ly https github com plotly plotly py | archlinux data-science machine-learning deep-learning package tensorflow scikit-learn mxnet opencv nervana pandas cudnn cuda pytorch spacy natural-language-processing natural-language-understanding xgboost lightgbm mkl | ai |
qlip | qlip mobile development | front_end |
|
tutorial-sanity-blog-react-next | blogging with sanity and next js read the tutorial https www sanity io blog build your own blog with sanity and next js utm source github github campaing rbt get started sh install the sanity command line interface npm i g sanity cli initiate your own project in the studio folder this blog studio sanity init add a cors origin rule to allow the frontend to request data this blog studio sanity cors add http localhost 3000 no credentials insert the projectid and dataset name from sanity in client js this blog web nano client js install frontend dependencies this blog web npm install run next js in development mode this blog web npm run dev deploy on vercel sh this blog web npm i g vercel vercel login vercel deploy as a static site on netlify read the tutorial https www sanity io blog tutorial host your sanity based next js project on netlify utm source github utm campaign netlifyexport sh this blog web npm run export exports your site as static files in out | front_end |
|
TempCtrl | tempctrl a framework for digital temperature control by dan feerst overview a pid temperature control deamon implementing heating coil relay control i2c 2x16 lcd screen controls with adaptibility for as many buttons as you can spare gpio s currently the system is implemented with 4 buttons up down enter and back pull requests i have been really busy with life and other projects lately want to contribute please feel free to submit a pull request bug fixes or features welcome here are some known areas which need more work i built this off a rpi 4 i started making arrangements for the older versions but never got around to it unit testing through docker which means getting creative with the proc filesystem still never finished the pid algorithm need to finish the xfer function and an object to handle the heating element dependancies wiringpi h wiringpii2c h adapting to rpi versions prior to rpi4 starting with rpi 4 the device driver dev gpiomem was created to allow system wide read write access if enabled to gpio memory this allowed gpio applications to be run without root it also makes mapping memory easier since the offset to the first gpio bank will always be zero the earlier raspberry pi s did not have this driver and all mapping had to go through dev mem this requires root access and the proper offset there are alternatives such as writing your own kernel module and rebuilding the kernel there is a good article about the dev gpiomem module here arm assembly language using the raspberry pi https bob cs sonoma edu introcomporg rpi sec gpio mem html the lcd screen is implemented leveraging the wiring pi i2c package other than that the package should comple with c 03 installation install is now based on a docker container this gives the developer to work on the pi itself if he is a very patient sadomacicist or on any other platform he chooses the binary will not run without elf format so at the moment you will still need to run in the docker environment unless you are on a linux system unless you are running on a pi wiringpi libraries will imediately complain and fail because it can t find version info eventually i may implement a work around to allow unit testing dockerized build works on all platforms build the image this will satisfy all dependancies bash make build docker deps image build the binary bash make build if you are on the rpi the binary will be located in build and can be ran directly otherwise you will need to execute it through a docker shell bash make login cd root project root build tempctrl without docker presumably on an rpi bash cd build cmake make developer notes pid pid diagram https upload wikimedia org wikipedia commons 4 43 pid en svg a pid is an advanced form of modulating control of analog sources heating coils being one of the more common uses the goal is to bring the substrate up to temperature efficiently fast this means with minimal or no overshoot while minimizing the time required to do so the approach is a negative feedback adjustment based on three calculations of the error at a given time e t each of these functions have k values these k values must be tuned for the environment pressure volume and most importantly that material composition proportional a push in the opposite direction based on the current linear offset this is the simplest approach and often used by itself the result is ocillations which generally start out quite large depending on circumstances ocillations may shrink and may even converge but it is not guaranteed or remotely efficient derivative pid phoenetically rolls off the tounge much easier than pdi however it makes more sense to discuss the derivative function first the derivative looks at the history of error and attempts to reduce rise time integral the integral function does nearly the opposite of the derivative it looks ahead and tries to prevent overshot transfer function the transfer function tranfers the result of the pid summation into useful functionality in the case of a temperature controller this will be a conversion between set point temperature and time or a frequency for the heating element t left frac 1 frac s omega o 1 right t this video does a really good job of explaining why pid controls are necessary for precision and at a reasonably high level how they work i wish there were videos like this on line when i took process controls i probably would have remembered more pid example https www youtube com watch v xfat6hnv8xm classes bitfield a class utilizing a 64 bit wide data set with convenience functions for setting bits button a class for getting gpio button information buttonmanager used to manage button subscribler list buttonpublisher i used to attach publishers to a specific gpio button buttonsubscriber i used to update subscriber data common common enumerations and constant expressions datamanager pidprocessor pwmcontroller tempdatamanager thermocouplereceiver | raspberry-pi arm pid-control lcd temperature-control | os |
NLP-Web-Apps | nlp web apps natural language processing web apps | ai |
|
jakubgania.io | jakubgania io my new personal website with information about me and my programming activities implementation of the new structure implementation of the new layout implementation of blog based on markdown files implementation of new functionalities constant changes in the pursuit of perfection | vue vuetify nuxt scss eslint development axios pwa spa rwd markdown i18n | server |
OwnBlockchain | ownblockchain own blockchain implementation quick start setup the development environment docs environment setupdevenvironment md go through the documentation docs readme md to get familiar with the concepts especially the architecture docs architecture architecture md and coding conventions docs codebase codingconventions md clone the repository and build it git clone https github com ownmarket ownblockchain git ownblockchain cd ownblockchain source dotnet build building on own blockchain if you re interested in integrating own blockchain into your system please follow the external system integration https github com ownmarket ownblockchain blob master docs concepts integration md document sdks cryptography code needed to work with own blockchain private public keys as well as to compose and sign transactions is implemented for five major software development platforms sdk for javascript https github com ownmarket ownblockchainsdkjs sdk for net https github com ownmarket ownblockchain tree master source own blockchain public sdk sdk for jvm https github com ownmarket ownblockchainsdkjvm sdk for go https github com ownmarket own blockchain sdk go sdk for python https github com ownmarket ownblockchainsdkpython | blockchain |
|
CS416-Rutgers | cs416 rutgers cs 416 operating systems design at rutgers university professor john austen francisco spring 2018 please follow both rutgers university s principles of academic integrity http academicintegrity rutgers edu and the rutgers department of computer science s academic integrity policy https www cs rutgers edu academic integrity introduction | rutgers-university operating-system c | os |
freertos-mqttclient | freertos mqttclient a demo of mqttclient on freertos platform | mqtt mqtt-client freertos rtos network | os |
Nate | a href https uwaterloo ca networks lab img src http www johnmclevey com assets img logo png width 125 align right a nate network analysis text research at the intersection of social network analysis and applied natural language processing nate is a python package designed and developed by netlab https uwaterloo ca networks lab at the university of waterloo https uwaterloo ca it is designed to facilitate research at the intersection of social network analysis network science and applied natural language processing it scales efficiently for large and complex datasets nate offers functionality for seamlessly connecting state of the art machine learning models used in natural language processing workflows using spacy https github com explosion spacy with network analysis workflows using packages such as networkx https networkx github io igraph https igraph org python for python and graph tool https graph tool skewed de nate has carefully designed data structures that connect these two types of research workflows and offers a set of tools for quickly producing descriptive reports and visualizations installation github if you want access to the most recent development version of nate you can install it from the source code in this repository git clone https github com uwnetlab nate git cd nate pip install e documentation binder enabled documentation coming soon asking questions and getting help it is not always possible for us to provide help via email instead we encourage you to use the github issue tracker by answering your questions or fixing bugs you find in public we can also help other members of the research community selected features coming soon | natural-language-processing social-network-analysis python data-science burst-analysis | ai |
cdc | div id top div arquitetura streaming usando kafka spark e debezium change data capture cdc um padr o de integra o de dados que permite a identifica o captura e transmiss o de eventos que ocorreram em uma banco de dados transacional existem algumas abordagens poss veis para o cdc aqui iremos usar a ferramenta debezium um projeto open source que usa a abordagem log base ou seja existe um conector espec fico para a fontes de dados no qual ele se conecta ao banco de dados para ler as altera es registradas no log o debezium possui conectores para diferentes fontes de dados mysql mongodb postgresql sql server oracle aqui iniciaremos mostrando a integra o com o postgresql uma vez que uma opera o de insert delete ou update de uma tabela que est sendo monitorado identificado e capturado o debezium pode transmitir essas informa es para uma infraestrutura de mensageria bastante comum fazer essa integra o a um cluster apache kafka por meio do apache kafka connect recentemente participei de dois projetos em que optaram usar uma plataforma de mensageria de nuvem amazon kinesis e azure event hubs tamb m existe conectores para google cloud pub sub e outras plataformas open source como redis e apache pulsar nesse projeto usaremos um n kafka atuando no formato kafka raft kraft ou seja sem depender um cluster zookeeper e com um n que ao mesmo tempo controller e broker para processar os eventos de mudan as que ser o inseridos nos t picos do cluster kafka usaremos um n apache spark standalone onde iremos submeter um job escrito em pyspark e usando a abordagem structured streaming esse job ir ler as mensagens escritas em alguns dos t picos processar a informa o realizar algumas transforma es e salvar os dados em um banco delta lake componentes da solu o desenho da solu o desenho da arquitetura do lab de change data capture image lab cdc png componentes da solu o de cdc aqui est a lista dos projetos e bibliotecas que usamos para construir essa solu o postresql v15 3 https www postgresql org debezium v2 3 1 https debezium io apache kafka v3 2 x https kafka apache org apache spark 3 3 2 https spark apache org delta lake 2 https delta io jupyterlab https jupyter org docker compose 2 15 https www docker com p align right a href top voltar ao in cio a p getting started getting started o objetivo foi desenvolver um projeto simples para servir como ponto de partida para estudar um projeto de change data capture o ambiente operacional e cont m exemplos para realizar a inser o de dados e identificar a captura dos dados e as transforma es nos diferentes compontentes o projeto operacional para um laborat rio algumas das configura es aqui usadas para simplificar a confdigura o n o devem ser usadas em um ambiente de produ o especialmente as configura es relacionadas a seguran a da informa o pr requisitos todas as opera es ser o realizadas em plataformas instaladas em containeres de docker portanto precisamos que o docker e o docker compose esteja instalado corretamente aqui est o link da documenta o do docker https docs docker com compose install para realizar a instala o para testar se a instala o est correta pode ser usado o comando docker compose version voc deve ver um resultado similar ao apresentado abaixo sh docker compose version docker compose version v2 15 1 instalala o 1 clone o reposit rio sh git clone https github com walmeidadf cdc git 2 construa e execute o aplicativo com o comando do docker compose na pasta do projeto sh cd cdc cdc psql kafka docker compose up 3 opcionalmente adicione os registros para resolu o de nomes dos servi os se voc estiver usando linux seria o arquivo etc hosts sh 172 26 0 2 db source 172 26 0 5 kafka 1 172 26 0 6 jupyter spark p align right a href top voltar ao in cio a p usage examples uso se voc vai explorar o ambiente como um todo basta acessar o ambiente do jupyterlab da m quina jupyter spark usando o link http localhost 9888 a senha para acessar o notebook example pode ser alterada no arquivo docker compose yaml na rea de navega o do sistema de arquivos selecione a pasta work onde existem alguns notebook que d o alguns exemplos de como testar a arquitetura existem coment rios dentro dos notebooks que podem ajudar a entender melhor o prop sito de cada um tamb m poss vel fazer um teste com leitura stream foi feito um script para essa funcionalidade para executar o script em pyspark que faz a leitura dos t picos do kafka e grava os dados no delta lake use o comando abaixo docker exec cdc jupyter spark sh c python3 work kafka structured streaming py p align right a href top voltar ao in cio a p roadmap roadmap x adicionar as refer ncias x documentar os notebooks para simplificar a navega o dos primeiros passos x configurar o container do jupyter para adicionar as bibliotecas python x criar os scritps python em streaming fazer a documenta o em ingl s adicionar novas fontes de dados mysql mongodb adicionar o lab com apache pulsar adicionar o lab com redis p align right a href top voltar ao in cio a p contact contato wesley almeida walmeidadf https twitter com your username walmeida gmail com link do projeto https github com walmeidadf cdc https github com walmeidadf cdc p align right a href top voltar ao in cio a p acknowledgments refer ncias boa parte desse projeto tem uma contribui o inestim vel do meu colega egon rosa pereira algumas das p ginas de documenta o artigos e posts que me ajudaram a desenvolver esse projeto debezium connector for postgresql https debezium io documentation reference 1 9 connectors postgresql html jupyter notebook python spark stack https hub docker com r jupyter pyspark notebook p align right a href top voltar ao in cio a p | server |
|
BigCom | bigcom information for technology company | server |
|
IoT-Security-Verification-Standard-ISVS | iot security verification standard isvs creative commons license https licensebuttons net l by sa 4 0 88x31 png https creativecommons org licenses by sa 4 0 cc by sa 4 0 document build status https github com owasp iot security verification standard isvs workflows document 20build badge svg https github com owasp iot security verification standard isvs actions workflow 3a document build slack https img shields io badge chat 20on slack 46bc99 svg https owasp slack com messages project isvs the owasp internet of things security verification standard isvs is a community effort to establish an open standard of security requirements for internet of things iot ecosystems the requirements provided by the isvs can be used at many stages during the development life cycle including design development and testing of iot ecosystems iot ecosystems are often complex collections of many interconnected systems some of these interconnected systems are iot systems containing connected devices and their components both software and hardware others examples of systems in iot ecosystems are web or mobile applications and cloud components the isvs focuses on providing security requirements for iot systems and their components iot hardware software embedded applications and communication protocols it also provides some general requirements for the iot ecosystems in which iot systems reside while referring to existing industry accepted standards as much as possible peer review requested the first version of the owasp isvs is ready for a peer review pre release 1 0rc can be acquired in the following formats the releases page https github com owasp iot security verification standard isvs releases contains pdf epub docx csv json and xml versions of the standard the latest version of the main branch can be read on gitbook https owasp isvs gitbook io owasp isvs pr read individual sections of the isvs below frontispiece https github com owasp iot security verification standard isvs blob master en 0x01 frontispiece md using the isvs https github com owasp iot security verification standard isvs blob master en using isvs md v1 iot ecosystem requirements https github com owasp iot security verification standard isvs blob master en v1 iot ecosystem requirements md v2 user space application requirements https github com owasp iot security verification standard isvs blob master en v2 user space application requirements md v3 software platform requirements https github com owasp iot security verification standard isvs blob master en v3 software platform requirements md v4 communication requirements https github com owasp iot security verification standard isvs blob master en v4 communication requirements md v5 hardware platform requirements https github com owasp iot security verification standard isvs blob master en v5 hardware platform requirements md appendix a glossary https github com owasp iot security verification standard isvs blob master en appendix a glossary md how to contribute the isvs is an open source effort and we welcome contributions and feedback if you want to contribute additional content improve existing content or provide your feedback we suggest that you do so through the owasp isvs slack channel https owasp slack com messages project isvs details you can sign up here https owasp slack com join shared invite zt g398htpy az40hom1wuozgujkbblqkw through creating an issue https github com owasp iot security verification standard isvs issues or a pull request https github com owasp iot security verification standard isvs pulls before you start contributing please check our contribution guide https github com owasp iot security verification standard isvs blob master contributing md contribution guide which should get you started project leads aaron guzman mailto aaron guzman owasp org c dric bassem mailto cedric bassem owasp org | server |
|
EmbeddedDesignPatterns | embedded design patterns this repository contains a collection of design patterns from the gof book applied in the context of embedded systems the project was created for educational purposes to demonstrate how design patterns can be used to improve the development of embedded systems design patterns the following design patterns are applied in this project creational patterns factory method builder singleton structural patterns adapter facade behavioral patterns mediator memento observer state strategy template method iterator usage each directory in the project corresponds to a specific design pattern inside each directory you will find an example of how to use the pattern in the context of embedded systems you can run the example code on your embedded system or simulation environment authors allan bispo https github com leftabn computer engineering at ifpb rafael guimar es https github com rafaelfigueredog computer engineering at ifpb license this project is licensed under the mit license | cprogramming-language design-patterns embedded-systems | os |
nlp-history-timeline | natural language processing a historical timeline open in streamlit https static streamlit io badges streamlit badge black white svg https www innerdoc com nlp timeline demo twitter https img shields io twitter url https twitter com cloudposse svg style social label follow 20 40innerdoc https twitter com innerdoc nlp about this demo is created to show the integration of streamlit https streamlit io with timelinejs http timeline knightlab com it became a demo timeline about the history of natural language processing there is now also a reusable streamlit timeline component https github com innerdoc streamlit timeline the result open the demo app https www innerdoc com nlp timeline demo below an example of the demo in this case a history for natural language processing alt text demo timeline png an example of the timeline with events for the history of natural language processing you can also view the json data alt text demo data png an example of the timeline data install and run cd nlp history timeline pip install r requirements txt streamlit run timeline app py | streamlit streamlit-webapp timeline timelinejs | ai |
full-stack-interview-questions | 3877 full stack coding and system design interview questions answered to land your next six figure job offer from fullstack cafe https www fullstack cafe fullstack cafe https www fullstack cafe is a biggest hand picked collection of top technical interview questions for junior and experienced full stack and web developers with more that 3877 tech interview questions and answers prepare for your next tech interview and land 6 figure job offer in no time get all 3877 answers pdfs on fullstack cafe kill your tech coding interview https www fullstack cafe utm source github utm medium fsiq machine learning data science interview questions for 1299 ml datascience interview questions check mlstack cafe kill your machine learning data science python interview https www mlstack cafe utm source github utm medium fsiq fullstack caf blkfrd 50 off deal kill your tech coding interview 3877 full stack coding and system design interview questions answered and solved get 50 off for lifetime access now only this blkfrd use blkfrd promo and get your next six figure job offer or use that link get 50 off for lifetime now https www fullstack cafe promocode blkfrd utm source github utm medium fsiq p align center a href https www fullstack cafe promocode killitnow utm source github utm medium fsiq img src https user images githubusercontent com 13550565 96958623 a1acc500 1530 11eb 92b7 6f1508e630d9 png a p p align center a href https www fullstack cafe promocode github img src https user images githubusercontent com 13550565 76865667 04a0f400 689e 11ea 8500 1bd60f5014ce png a p a name toc table of contents a net core netcore ado net ado net asp net asp net asp net mvc asp netmvc asp net web api asp netwebapi aws aws agile scrum agile scrum android android angular angular angularjs angularjs azure azure behavioral behavioral big data bigdata blockchain blockchain bootstrap bootstrap c c css css career career clojure clojure code problems codeproblems data science datascience data structures datastructures design patterns designpatterns devops devops docker docker entity framework entityframework flutter flutter git git golang golang graphql graphql html5 html5 ionic ionic json json java java javascript javascript kotlin kotlin linq linq laravel laravel msmq msmq machine learning machinelearning microservices microservices mongodb mongodb node js node js oop oop php php pwa pwa powershell powershell python python questions to ask questionstoask react react react native reactnative reactive programming reactiveprogramming redux redux ruby ruby ruby on rails rubyonrails soa rest api soa restapi sql sql software architecture softwarearchitecture software testing softwaretesting spring spring statistics statistics t sql t sql typescript typescript ux design uxdesign vue js vue js wcf wcf wpf wpf web security websecurity webpack webpack xml xslt xml xslt xamarin xamarin ios swift ios swift jquery jquery toc a name netcore net core a interview questions q1 what is the difference between string and string in c answer string is an alias in c for system string so technically there is no difference it s like int vs system int32 as far as guidelines it s generally recommended to use string any time you re referring to an object csharp string place world likewise it s generally recommended to use string if you need to refer specifically to the class csharp string greet string format hello 0 place source blogs msdn microsoft com q2 what is net standard answer the net standard is a formal specification of net apis that are intended to be available on all net implementations source docs microsoft com q3 what is net core answer the net core platform is a new net stack that is optimized for open source development and agile delivery on nuget net core has two major components it includes a small runtime that is built from the same codebase as the net framework clr the net core runtime includes the same gc and jit ryujit but doesn t include features like application domains or code access security the runtime is delivered via nuget as part of the asp net core package net core also includes the base class libraries these libraries are largely the same code as the net framework class libraries but have been factored removal of dependencies to enable to ship a smaller set of libraries these libraries are shipped as system nuget packages on nuget org source stackoverflow com q4 what is the net framework answer the net is a framework which is a collection of classes of reusable libraries given by microsoft to be used in other net applications and to develop build and deploy many types of applications on the windows platform including the following console applications windows forms applications windows presentation foundation wpf applications web applications web services windows services services oriented applications using windows communications foundation wcf workflow enabled applications using windows workflow foundation wf source c sharpcorner com q5 what s the difference between sdk and runtime in net core answer the sdk is all of the stuff that is needed makes developing a net core application easier such as the cli and a compiler the runtime is the virtual machine that hosts runs the application and abstracts all the interaction with the base operating system source stackoverflow com q6 what is net standard and why we need to consider it answer 1 net standard solves the code sharing problem for net developers across all platforms by bringing all the apis that you expect and love across the environments that you need desktop applications mobile apps games and cloud services 2 net standard is a set of apis that all net platforms have to implement this unifies the net platforms and prevents future fragmentation 3 net standard 2 0 will be implemented by net framework net core and xamarin for net core this will add many of the existing apis that have been requested 3 net standard 2 0 includes a compatibility shim for net framework binaries significantly increasing the set of libraries that you can reference from your net standard libraries 4 net standard will replace portable class libraries pcls as the tooling story for building multi platform net libraries div class text center img src https i stack imgur com te1ny png class img fluid style max width 500px div source stackoverflow com q7 what is the difference between decimal float and double in net details when would someone use one of these answer precision is the main difference float 7 digits 32 bit double 15 16 digits 64 bit decimal 28 29 significant digits 128 bit as for what to use when for values which are naturally exact decimals it s good to use decimal this is usually suitable for any concepts invented by humans financial values are the most obvious example but there are others too consider the score given to divers or ice skaters for example for values which are more artefacts of nature which can t really be measured exactly anyway float double are more appropriate for example scientific data would usually be represented in this form here the original values won t be decimally accurate to start with so it s not important for the expected results to maintain the decimal accuracy floating binary point types are much faster to work with than decimals source blogs msdn microsoft com q8 what are some characteristics of net core answer flexible deployment can be included in your app or installed side by side user or machine wide cross platform runs on windows macos and linux can be ported to other oses the supported operating systems os cpus and application scenarios will grow over time provided by microsoft other companies and individuals command line tools all product scenarios can be exercised at the command line compatible net core is compatible with net framework xamarin and mono via the net standard library open source the net core platform is open source using mit and apache 2 licenses documentation is licensed under cc by net core is a net foundation project supported by microsoft net core is supported by microsoft per net core support source stackoverflow com q9 what is an unmanaged resource answer use that rule of thumb if you found it in the microsoft net framework it s managed if you went poking around msdn yourself it s unmanaged anything you ve used p invoke calls to get outside of the nice comfy world of everything available to you in the net framwork is unmanaged and you re now responsible for cleaning it up source stackoverflow com q10 what is cts answer the common type system cts standardizes the data types of all programming languages using net under the umbrella of net to a common data type for easy and smooth communication among these net languages cts is designed as a singly rooted object hierarchy with system object as the base type from which all other types are derived cts supports two different kinds of types 1 value types contain the values that need to be stored directly on the stack or allocated inline in a structure they can be built in standard primitive types user defined defined in source code or enumerations sets of enumerated values that are represented by labels but stored as a numeric type 2 reference types store a reference to the value s memory address and are allocated on the heap reference types can be any of the pointer types interface types or self describing types arrays and class types such as user defined classes boxed value types and delegates source c sharpcorner com q11 what is the difference between net core and mono answer to be simple mono is third party implementation of net framework for linux android ios net core is microsoft s own implementation for same source stackoverflow com q12 what is msil answer when we compile our net code then it is not directly converted to native binary code it is first converted into intermediate code known as msil code which is then interpreted by the clr msil is independent of hardware and the operating system cross language relationships are possible since msil is the same for all net languages msil is further converted into native code source c sharpcorner com q13 what is a net application domain answer it is an isolation layer provided by the net runtime as such app domains live with in a process 1 process can have many app domains and have their own virtual address space app domains are useful because they are less expensive than full processes they are multithreaded you can stop one without killing everything in the process segregation of resources config etc each app domain runs on its own security level source stackoverflow com q14 what is clr answer the clr stands for common language runtime and it is an execution environment it works as a layer between operating systems and the applications written in net languages that conforms to the common language specification cls the main function of common language runtime clr is to convert the managed code into native code and then execute the program source c sharpcorner com q15 name some clr services answer clr services assembly resolver assembly loader type checker com marshalled debug manager thread support il to native compiler exception manager garbage collector source c sharpcorner com q16 talk about new csproj file read answer on a href https www fullstack cafe fullstack cafe a q17 explain what is included in net core read answer on a href https www fullstack cafe fullstack cafe a q18 is there a way to catch multiple exceptions at once and without code duplication read answer on a href https www fullstack cafe fullstack cafe a q19 what about nuget packages and packages config read answer on a href https www fullstack cafe fullstack cafe a q20 why to use of the idisposable interface read answer on a href https www fullstack cafe fullstack cafe a q21 when should we use net core and net standard class library project types read answer on a href https www fullstack cafe fullstack cafe a q22 what is the difference between class library net standard and class library net core read answer on a href https www fullstack cafe fullstack cafe a q23 what is the difference between net standard and pcl portable class libraries read answer on a href https www fullstack cafe fullstack cafe a q24 explain the difference between task and thread in net read answer on a href https www fullstack cafe fullstack cafe a q25 what is fcl read answer on a href https www fullstack cafe fullstack cafe a q26 what is kestrel read answer on a href https www fullstack cafe fullstack cafe a q27 what is implicit compilation read answer on a href https www fullstack cafe fullstack cafe a q28 what is jit compiler read answer on a href https www fullstack cafe fullstack cafe a q29 what is net standard read answer on a href https www fullstack cafe fullstack cafe a q30 what is explicit compilation read answer on a href https www fullstack cafe fullstack cafe a q31 what are the benefits of explicit compilation read answer on a href https www fullstack cafe fullstack cafe a q32 explain the difference between managed and unmanaged code read answer on a href https www fullstack cafe fullstack cafe a q33 what s the difference between net core net framework and xamarin read answer on a href https www fullstack cafe fullstack cafe a q34 what is difference between net core and net framework read answer on a href https www fullstack cafe fullstack cafe a q35 explain two types of deployment for net core applications read answer on a href https www fullstack cafe fullstack cafe a q36 what does common language specification cls mean read answer on a href https www fullstack cafe fullstack cafe a q37 what is coreclr read answer on a href https www fullstack cafe fullstack cafe a q38 what s is bcl read answer on a href https www fullstack cafe fullstack cafe a q39 what is the difference between cil and msil il read answer on a href https www fullstack cafe fullstack cafe a q40 how to choose the target version of net standard library read answer on a href https www fullstack cafe fullstack cafe a q41 why does net use a jit compiler instead of just compiling the code once on the target machine read answer on a href https www fullstack cafe fullstack cafe a q42 what is the difference between appdomain assembly process and a thread read answer on a href https www fullstack cafe fullstack cafe a q43 what are benefits of using jit read answer on a href https www fullstack cafe fullstack cafe a q44 what is the difference between net framework core and net standard class library project types read answer on a href https www fullstack cafe fullstack cafe a q45 what s the difference between ryujit and roslyn read answer on a href https www fullstack cafe fullstack cafe a q46 why does net standard library exist read answer on a href https www fullstack cafe fullstack cafe a q47 explain how does asynchronous tasks async await work in net read answer on a href https www fullstack cafe fullstack cafe a q48 explain finalize vs dispose usage read answer on a href https www fullstack cafe fullstack cafe a q49 how many types of jit compilations do you know read answer on a href https www fullstack cafe fullstack cafe a q50 what is the difference between node js async model and async await in net read answer on a href https www fullstack cafe fullstack cafe a q51 could you name the difference between net core portable standard compact uwp and pcl read answer on a href https www fullstack cafe fullstack cafe a toc a name ado net ado net a interview questions q1 what is ado net answer ado stands for active data object and ado net is a set of net libraries for ado net is a collection of managed libraries used by net applications for data source communication using a driver or provider enterprise applications handle a large amount of data this data is primarily stored in relational databases such as oracle sql server and access and so on these databases use structured query language sql for retrieval of data to access enterprise data from a net application an interface was needed this interface acts as a bridge between an rdbms system and a net application ado net is such an interface that is created to connect net applications to rdbms systems in the net framework microsoft introduced a new version of active x data objects ado called ado net any net application either windows based or web based can interact with the database using a rich set of classes of the ado net library data can be accessed from any database using connected or disconnected architecture source c sharpcorner com q2 what is exactly meaning of disconnected and connected approach in ado net answer in short disconnected make connection fetch data close connection connected make connection keep connection alive close connection when close is called the ado net architecture in which connection must be kept open till the end to retrieve and access data from database is called as connected architecture connected architecture is built on the these types connection command datareader the ado net architecture in which connection will be kept open only till the data retrieved from database and later can be accessed even when connection to database is closed is called as disconnected architecture disconnected architecture of ado net is built on these types connection dataadapter commandbuilder and dataset and dataview source stackoverflow com q3 describe when you would use the dataview in ado net answer a dataview enables you to create different views of the data stored in a datatable a capability that is often used in data binding applications using a dataview you can expose the data in a table with different sort orders and you can filter the data by row state or based on a filter expression a dataview provides a dynamic view of data whose content ordering and membership reflect changes to the underlying datatable as they occur this is different from the select method of the datatable which returns a datarow array from a table per particular filter and or sort order and whose content reflects changes to the underlying table but whose membership and ordering remain static the dynamic capabilities of the dataview make it ideal for data binding applications source stackoverflow com q4 what is the sqlcommandbuilder answer commandbuilder helps you to generate update delete and insert commands on a single database table for a data adapter similar to other objects each data provider has a command builder class the oledbcommandbuilder sqlcommonbuilder and odbccommandbuilder classes represent the commonbuilder object in the oledb sql and odbc data providers source c sharpcorner com q5 what is the dataadapter object in ado net answer a dataadapter is used to retrieve data from a data source and populate tables within a dataset data adapters form the bridge between a data source and a dataset the dataadapter also resolves changes made to the dataset back to the data source the dataadapter uses the connection object of the net framework data provider to connect to a data source and it uses command objects to retrieve data from and resolve changes to the data source a dataadapter supports mainly the following two methods fill the fill method populates a dataset or a data table object with data from the database it retrieves rows from the data source using the select statement specified by an associated select command property the fill method leaves the connection in the same state as it encountered before populating the data update the update method commits the changes back to the database it also analyzes the rowstate of each record in the dataset and calls the appropriate insert update and delete statements source c sharpcorner com q6 what is the basic difference between ado net and entity framework answer ado net entity framework is an orm object relational mapping which creates a higher abstract object model over ado net components ado net is a layer closer to the database datatables datasets and etc the main and the only benefit of ef is it auto generates code for the model middle layer data access layer and mapping code thus reducing a lot of development time consider the following example ado net csharp datatable table adods tables 0 for int j 0 j table rows count j datarow row table rows j get the values of the fields string customername string row customername string customercode string row customercode ef csharp foreach customer objcust in obj customers source stackoverflow com q7 what is connection pooling in ado net answer ado net uses a technique called connection pooling which minimizes the cost of repeatedly opening and closing connections connection pooling reuses existing active connections with the same connection string instead of creating new connections when a request is made to the database it involves the use of a connection manager that is responsible for maintaining a list or pool of available connections for a given connection string several pools exist if different connection strings ask for connection pooling source c sharpcorner com q8 what is sqlcommand object answer the sqlcommand carries the sql statement that needs to be executed on the database sqlcommand carries the command in the commandtext property and this property will be used when the sqlcommand calls any of its execute methods the command object uses the connection object to execute sql queries the queries can be in the form of inline text stored procedures or direct table access an important feature of command object is that it can be used to execute queries and stored procedures with parameters if a select query is issued the result set it returns is usually stored in either a dataset or a datareader object the three important methods exposed by the sqlcommand object is shown below executescalar executenonquery executereader source c sharpcorner com q9 what are the ado net components answer ado net components categorized in three modes disconnected common or shared and the net data providers the disconnected components build the basic ado net architecture you can use these components or classes with or without data providers for example you can use a datatable object with or without providers and shared or common components are the base classes for data providers shared or common components are the base classes for data providers and shared by all data providers the data provider components are specifically designed to work with different kinds of data sources for example odbc data providers work with odbc data sources and oledb data providers work with ole db data sources source c sharpcorner com q10 how can you define the dataset structure answer a dataset object falls in disconnected components series the dataset consists of a collection of tables rows columns and relationships dataset contains a collection of datatables and the datatable contains a collection of datarows datarelations and datacolumns a datatable maps to a table in the database source c sharpcorner com q11 what do you understand by datarelation class answer the datarelation is a class of disconnected architecture in the net framework it is found in the system data namespace it represents a relationship between database tables and correlates tables on the basis of matching column source c sharpcorner com q12 how could you control connection pooling behavior read answer on a href https www fullstack cafe fullstack cafe a q13 what is the difference between executescalar executereader and executenonquery read answer on a href https www fullstack cafe fullstack cafe a q14 what is the difference between dataview datatable and dataset read answer on a href https www fullstack cafe fullstack cafe a q15 could you explain me some of the main differences between connection oriented access and connectionless access in ado net read answer on a href https www fullstack cafe fullstack cafe a q16 what is the difference between integrated security true and integrated security sspi read answer on a href https www fullstack cafe fullstack cafe a q17 what is unit of work read answer on a href https www fullstack cafe fullstack cafe a q18 what are the differences between using sqldataadapter vs sqldatareader for getting data from a db read answer on a href https www fullstack cafe fullstack cafe a q19 mention what is the difference between ado net and classic ado read answer on a href https www fullstack cafe fullstack cafe a q20 can you explain the difference between a datareader a dataadapter a dataset and a dataview read answer on a href https www fullstack cafe fullstack cafe a q21 name types of transactions in ado net read answer on a href https www fullstack cafe fullstack cafe a q22 where should i use disconnected architecture approach read answer on a href https www fullstack cafe fullstack cafe a q23 where should i use connected architecture approach read answer on a href https www fullstack cafe fullstack cafe a q24 is there anything faster than sqldatareader in net read answer on a href https www fullstack cafe fullstack cafe a q25 could you explain some benefits of repository pattern read answer on a href https www fullstack cafe fullstack cafe a q26 what is the difference between ole db and odbc data sources read answer on a href https www fullstack cafe fullstack cafe a q27 how could you monitor connection pooling behavior read answer on a href https www fullstack cafe fullstack cafe a q28 is it necessary to manually close and dispose of sqldatareader read answer on a href https www fullstack cafe fullstack cafe a q29 what s better dataset or datareader read answer on a href https www fullstack cafe fullstack cafe a q30 what is the difference between adodb oledb and ado net read answer on a href https www fullstack cafe fullstack cafe a q31 what is the best and fast way to insert 2 million rows of data into sql server read answer on a href https www fullstack cafe fullstack cafe a q32 under what scenarios would setting pooling false in an ado net connection string be of value when connecting to sql server read answer on a href https www fullstack cafe fullstack cafe a q33 name some problems that could occur with connection pooling read answer on a href https www fullstack cafe fullstack cafe a toc a name asp net asp net a interview questions q1 what is viewdata answer viewdata contains the key value pairs as dictionary and this is derived from class viewdatadictionary in action method we are setting the value for viewdata and in view the value will be fetched by typecasting source medium com q2 what is asp net answer it is a framework developed by microsoft on which we can develop new generation web sites using web forms aspx mvc html javascript css etc its successor of microsoft active server pages asp currently there is asp net 4 0 which is used to develop web sites there are various page extensions provided by microsoft that are being used for web site development eg aspx asmx ascx ashx cs vb html xml etc source guru99 com q3 talk about logging in asp net core answer logging is built in and you get access to structured logs from the asp net core host itself to your application with tools like serilog https github com serilog serilog aspnetcore you can extend your logging easily https github com serilog serilog sinks rollingfile and save your logs to file azure amazon or any other output provider you can configure verbosity and log levels via configuration appsettings json by default and you can configure log levels by different categories source talkingdotnet com q4 explain startup process in asp net core answer everything starts from program cs csharp public static void main string args buildwebhost args run public static iwebhost buildwebhost string args webhost createdefaultbuilder args usestartup startup build createdefaultbuilder extension method will create a default configuration which will look first into appsettings json files then will look for environment variables and at the end it will use command line arguments this part will also set up default logger sources debug and console and load the settings for logging from appsettings json after the createdefaultbuilder finishes then startup class is executed first the constructor code is executed after that services are added to di container via addservices method that lives in startup class after that an order of middleware that will handle every incoming request is set up source codingblast com q5 what exactly is an application pool what is its purpose answer application pools allow you to isolate your applications from one another even if they are running on the same server this way if there is an error in one app it won t take down other applications additionally applications pools allow you to separate different apps which require different levels of security source stackoverflow com q6 how you can add an event handler answer using the attributes property of server side control e g csharp btnsubmit attributes add onmouseover javascriptcode source guru99 com q7 what s the use of response output write answer we can write formatted output using response output write source guru99 com q8 how to configure your asp net core app answer another crucial part of asp net core framework is configuration also it is part of dependency injection use it anywhere in your code with an option to reload on changes https codingblast com asp net core configuration reloading binding injecting of configuration values from sources appsettings json environment variables command line arguments etc it is also easy to override extend and customize the configuration no more extensive configurations in web config the preferred way now is appsettings json in combination with a mix of environment variables and cmd line args source talkingdotnet com q9 what is asp net core answer asp net core is a brand new cross platform web framework built with net core framework it is not an update to existing asp net framework it is a complete rewrite of the asp net framework it works with both net core and net framework main characterestics of asp net core di container which is quite simple and built in you can extend it with other popular di containers built in and extensible structured logging you can redirect output to as many sources as you want file azure aws console extensible strongly typed configuration which can also be used to reload at run time kestrel new cross platform and super fast web server which can stand alone without iis nginx or apache new fully async pipeline it is easily configured via middleware asp net all meta package which improves development speed and enables you to reference all microsoft packages for asp net core and it will deploy only those that are being used by your code there is no web config we now use appsettings json file in combination with other sources of configuration command line args environment variables etc there is no global asax we have startup cs which is used to set up middleware and services for di container source talkingdotnet com q10 what is the difference between asp net and asp net mvc answer asp net at its most basic level provides a means for you to provide general html markup combined with server side controls within the event driven programming model that can be leveraged with vb c and so on you define the page s of a site drop in the controls and provide the programmatic plumbing to make it all work asp net mvc is an application framework based on the model view controller architectural pattern this is what might be considered a canned framework for a specific way of implementing a web site with a page acting as the controller and dispatching requests to the appropriate pages in the application the idea is to partition the various elements of the application eg business rules presentation rules and so on think of the former as the blank slate for implementing a site architecture you ve designed more or less from the ground up mvc provides a mechanism for designing a site around a pre determined pattern of application access if that makes sense there s more technical detail to it than that to be sure but that s the nickel tour for the purposes of the question source stackoverflow com q11 what is viewstate answer view state is the method to preserve the value of the page and controls between round trips it is a page level state management technique view state is turned on by default and normally serializes the data in every control on the page regardless of whether it is actually used during a post back a web application is stateless that means that a new instance of a page is created every time when we make a request to the server to get the page and after the round trip our page has been lost immediately source c sharpcorner com q12 can asp net core work with the net framework answer yes this might surprise many but asp net core works with net framework and this is officially supported by microsoft asp net core works with net core framework net framework source talkingdotnet com q13 what is the good practice to implement validations in aspx page answer client side validation is the best way to validate data of a web page it reduces the network traffic and saves server resources source guru99 com q14 what is a postback answer a postback originates from the client browser usually one of the controls on the page will be manipulated by the user a button clicked or dropdown changed etc and this control will initiate a postback the state of this control plus all other controls on the page known as the view state is posted back to the web server source stackoverflow com q15 what is the file extension of asp net web service answer web services have file extension asmx source guru99 com q16 how can we prevent browser from caching an aspx page read answer on a href https www fullstack cafe fullstack cafe a q17 in which event of page cycle is the viewstate available read answer on a href https www fullstack cafe fullstack cafe a q18 from which base class all web forms are inherited read answer on a href https www fullstack cafe fullstack cafe a q19 what is the meaning of unobtrusive javascript read answer on a href https www fullstack cafe fullstack cafe a q20 explain json binding read answer on a href https www fullstack cafe fullstack cafe a q21 what is new in asp net core 2 compared to asp net core 1 read answer on a href https www fullstack cafe fullstack cafe a q22 what are the sub types of actionresult read answer on a href https www fullstack cafe fullstack cafe a q23 what exactly is the difference between net core and asp net core read answer on a href https www fullstack cafe fullstack cafe a q24 what is the difference between server transfer and response redirect read answer on a href https www fullstack cafe fullstack cafe a q25 where the viewstate is stored after the page postback read answer on a href https www fullstack cafe fullstack cafe a q26 how do you register javascript for webcontrols read answer on a href https www fullstack cafe fullstack cafe a q27 explain usage of dependency injection in asp net core read answer on a href https www fullstack cafe fullstack cafe a q28 what are the different validators in asp net read answer on a href https www fullstack cafe fullstack cafe a q29 list the events in asp net page life cycle read answer on a href https www fullstack cafe fullstack cafe a q30 what is viewstate how is it encoded is it encrypted who uses viewstate read answer on a href https www fullstack cafe fullstack cafe a q31 can we add code files of different languages in app code folder read answer on a href https www fullstack cafe fullstack cafe a q32 what are the different types of caching read answer on a href https www fullstack cafe fullstack cafe a q33 what are the event handlers that we can have in global asax file read answer on a href https www fullstack cafe fullstack cafe a q34 explain middleware in asp net core read answer on a href https www fullstack cafe fullstack cafe a q35 how long the items in viewstate exists read answer on a href https www fullstack cafe fullstack cafe a q36 what is the difference between an htmlinputcheckbox control and an htmlinputradiobutton control read answer on a href https www fullstack cafe fullstack cafe a q37 in which event are the controls fully loaded read answer on a href https www fullstack cafe fullstack cafe a q38 which type if caching will be used if we want to cache the portion of a page instead of whole page read answer on a href https www fullstack cafe fullstack cafe a q39 how we can force all the validation controls to run read answer on a href https www fullstack cafe fullstack cafe a q40 list the major built in objects in asp net read answer on a href https www fullstack cafe fullstack cafe a q41 what is httpmodule in asp net read answer on a href https www fullstack cafe fullstack cafe a q42 what is redirectpermanent in asp net read answer on a href https www fullstack cafe fullstack cafe a q43 what are the different types of cookies in asp net read answer on a href https www fullstack cafe fullstack cafe a q44 what is the difference between system web and system webserver read answer on a href https www fullstack cafe fullstack cafe a q45 what is an httphandler in asp net why and how is it used read answer on a href https www fullstack cafe fullstack cafe a q46 what is the difference between web service and wcf service read answer on a href https www fullstack cafe fullstack cafe a q47 what is the difference between web config and machine config read answer on a href https www fullstack cafe fullstack cafe a q48 is it possible to create web application with both webforms and mvc read answer on a href https www fullstack cafe fullstack cafe a q49 what is the difference between asp net core web net core vs asp net core web net framework read answer on a href https www fullstack cafe fullstack cafe a q50 what are the different session state management options available in asp net read answer on a href https www fullstack cafe fullstack cafe a q51 what is the difference between classic and integrated pipeline mode in iis7 read answer on a href https www fullstack cafe fullstack cafe a q52 how can we apply themes to an asp net application read answer on a href https www fullstack cafe fullstack cafe a q53 how to choose between asp net 4 x and asp net core read answer on a href https www fullstack cafe fullstack cafe a q54 what is katana read answer on a href https www fullstack cafe fullstack cafe a q55 what exactly is owin and what problems does it solve read answer on a href https www fullstack cafe fullstack cafe a q56 name some asp net webforms disadvantages over mvc read answer on a href https www fullstack cafe fullstack cafe a q57 what is the difference between a web api and a web service read answer on a href https www fullstack cafe fullstack cafe a q58 what is cross page posting read answer on a href https www fullstack cafe fullstack cafe a q59 what is the equivalent of webforms in asp net core read answer on a href https www fullstack cafe fullstack cafe a q60 are static class instances unique to a request or a server in asp net read answer on a href https www fullstack cafe fullstack cafe a toc a name asp netmvc asp net mvc a interview questions q1 what is layout in mvc answer layout pages are similar to master pages in traditional web forms this is used to set the common look across multiple pages in each child page we can find html layout views shared testlayout1 cshtml this indicates child page uses testlayout page as it s master page source medium com q2 explain bundle config in mvc4 answer bundleconfig cs in mvc4 is used to register the bundles by the bundling and minification system many bundles are added by default including jquery libraries like jquery validate modernizr and default css references source medium com q3 what is razor view engine answer razor is the first major update to render html in mvc 3 razor was designed specifically for view engine syntax main focus of this would be to simplify and code focused templating for html generation below is the sample of using razor html model mvcmusicstore models customer viewbag title get customers div class cust h3 em model customername em h3 source medium com q4 what is the use of viewmodel in mvc answer viewmodel is a plain class with properties which is used to bind it to strongly typed view viewmodel can have the validation rules defined for its properties using data annotations source medium com q5 what you mean by routing in mvc answer routing is a pattern matching mechanism of incoming requests to the url patterns which are registered in route table class urlroutingmodule is used for the same process source medium com q6 what are actions in mvc answer actions are the methods in controller class which is responsible for returning the view or json data action will mainly have return type actionresult and it will be invoked from method invokeaction called by controller source medium com q7 what are the advantages of mvc over asp net answer provides a clean separation of concerns among ui presentation layer model transfer objects domain objects entities and business logic controller easy to unit test improved reusability of model and views we can have multiple views which can point to the same model and vice versa improved structuring of the code source medium com q8 what are scaffold templates in mvc answer scaffolding in asp net mvc is used to generate the controllers model and views for create read update and delete crud functionality in an application the scaffolding will be knowing the naming conventions used for models and controllers and views source medium com q9 can you explain model controller and view in mvc answer model it s a business entity and it is used to represent the application data controller request sent by the user always scatters through controller and it s responsibility is to redirect to the specific view using view method view it s the presentation layer of mvc source medium com q10 what is razor pages answer razor pages https codingblast com asp net core razor pages is a new feature of asp net core that makes coding page focused scenarios easier and more productive with razor pages you have this one razor file cshtml and the code for a single page lives inside of that file and that file also represents the url structure of the app therefore you got everything inside of one file and it just works however you can separate your code to the code behind file with cshtml cs extension you would usually have your view model and handlers like action methods in mvc in that file and handle the logic there of course you could also have your view model moved to separate place since razor pages is part of the mvc stack you can use anything that comes with mvc inside of our razor pages source codingblast com q11 explain sections is mvc answer section are the part of html which is to be rendered in layout page in layout page we will use the below syntax for rendering the html html rendersection testsection and in child pages we are defining these sections as shown below html section testsection h1 test content h1 source medium com q12 what are non action methods in mvc answer in mvc all public methods have been treated as actions so if you are creating a method and if you do not want to use it as an action method then the method has to be decorated with nonaction attribute as shown below csharp nonaction public void testmethod method logic source stackoverflow com q13 can a view be shared across multiple controllers if yes how we can do that read answer on a href https www fullstack cafe fullstack cafe a q14 what is the difference between viewbag and viewdata in mvc read answer on a href https www fullstack cafe fullstack cafe a q15 what is the difference between viewresult and actionresult in asp net mvc read answer on a href https www fullstack cafe fullstack cafe a q16 what are html helpers in mvc read answer on a href https www fullstack cafe fullstack cafe a q17 can you explain the page life cycle of mvc read answer on a href https www fullstack cafe fullstack cafe a q18 what is attribute routing in mvc read answer on a href https www fullstack cafe fullstack cafe a q19 what is partialview in mvc read answer on a href https www fullstack cafe fullstack cafe a q20 can you explain renderbody and renderpage in mvc read answer on a href https www fullstack cafe fullstack cafe a q21 explain the methods used to render the views in mvc read answer on a href https www fullstack cafe fullstack cafe a q22 explain asp net webapi vs mvc read answer on a href https www fullstack cafe fullstack cafe a q23 what are some of the advantages of using asp net mvc vs web forms read answer on a href https www fullstack cafe fullstack cafe a q24 what is the helperpage isajax property read answer on a href https www fullstack cafe fullstack cafe a q25 what is routeconfig cs in mvc 4 read answer on a href https www fullstack cafe fullstack cafe a q26 why to use html partial in mvc read answer on a href https www fullstack cafe fullstack cafe a q27 what are validation annotations read answer on a href https www fullstack cafe fullstack cafe a q28 explain tempdata in mvc read answer on a href https www fullstack cafe fullstack cafe a q29 how route table has been created in asp net mvc read answer on a href https www fullstack cafe fullstack cafe a q30 explain dependency resolution read answer on a href https www fullstack cafe fullstack cafe a q31 what is separation of concerns in asp net mvc read answer on a href https www fullstack cafe fullstack cafe a q32 what are ajax helpers in mvc read answer on a href https www fullstack cafe fullstack cafe a q33 what is html renderpartial read answer on a href https www fullstack cafe fullstack cafe a toc a name asp netwebapi asp net web api a interview questions q1 what is asp net web api answer asp net web api is a framework that simplifies building http services for broader range of clients including browsers as well as mobile devices on top of net framework using asp net web api we can create non soap based services like plain xml or json strings etc with many other advantages including create resource oriented services using the full features of http exposing services to a variety of clients easily like browsers or mobile devices etc source codeproject com q2 which status code used for all uncaught exceptions by default answer 500 internal server error consider csharp route checkid id httpget public ihttpactionresult checkid int id if id 100 throw new argumentoutofrangeexception return ok id and the result div class text center img src https www exceptionnotfound net content images 2015 09 checkid invalid png class img fluid style max width 500px div source docs microsoft com q3 what are the advantages of using asp net web api answer using asp net web api has a number of advantages but core of the advantages are it works the http way using standard http verbs like get post put delete etc for all crud operations complete support for routing response generated in json or xml format using mediatypeformatter it has the ability to be hosted in iis as well as self host outside of iis supports model binding and validation support for odata source codeproject com q4 what new features are introduced in asp net web api 2 0 answer more new features introduced in asp net web api framework v2 0 are as follows attribute routing external authentication cors cross origin resource sharing owin open web interface for net self hosting ihttpactionresult web api odata source codeproject com q5 what exactly is oauth open authorization answer oauth open authorization is an open standard for access granting deligation protocol it used as a way for internet users to grant websites or applications access to their information on other websites but without giving them the passwords it does not deal with authentication basically there are three parties involved oauth provider oauth client and owner oauth client application which wants to access your credential oauth provider eg facebook twitter owner the person with facebook twitter account source stackoverflow com q6 explain the usage of httpresponsemessage answer httpresponsemessage works with http protocol to return the data with status error source c sharpcorner com q7 what is the difference between apicontroller and controller answer use controller to render your normal views apicontroller action only return data that is serialized and sent to the client consider csharp public class tweetscontroller controller get tweets httpget public actionresult index return json twitter gettweets jsonrequestbehavior allowget or csharp public class tweetscontroller apicontroller get api tweets public list tweet get return twitter gettweets source stackoverflow com q8 what are main return types supported in web api answer a web api controller action can return following values void it will return empty content httpresponsemessage it will convert the response to an http message ihttpactionresult internally calls executeasync to create an httpresponsemessage other types you can write the serialized return value into the response body source career guru99 com q9 what are the differences between webapi and webapi 2 read answer on a href https www fullstack cafe fullstack cafe a q10 how to restrict access to web api method to specific http verb read answer on a href https www fullstack cafe fullstack cafe a q11 what is attribute routing in asp net web api 2 0 read answer on a href https www fullstack cafe fullstack cafe a q12 name types of action results in web api 2 read answer on a href https www fullstack cafe fullstack cafe a q13 compare wcf vs asp net web api read answer on a href https www fullstack cafe fullstack cafe a q14 explain the difference between wcf restful service vs asp net web api read answer on a href https www fullstack cafe fullstack cafe a q15 is it true that asp net web api has replaced wcf read answer on a href https www fullstack cafe fullstack cafe a q16 what s the difference between rest restful read answer on a href https www fullstack cafe fullstack cafe a q17 explain the difference between mvc vs asp net web api read answer on a href https www fullstack cafe fullstack cafe a q18 why are the frombody and fromuri attributes needed in asp net web api read answer on a href https www fullstack cafe fullstack cafe a q19 what is asp net web api odata read answer on a href https www fullstack cafe fullstack cafe a q20 explain briefly cors cross origin resource sharing read answer on a href https www fullstack cafe fullstack cafe a q21 can we use web api with asp net web form read answer on a href https www fullstack cafe fullstack cafe a q22 how can we provide an alias name for asp net web api action read answer on a href https www fullstack cafe fullstack cafe a q23 what is delegating handler read answer on a href https www fullstack cafe fullstack cafe a q24 how to register exception filter globally read answer on a href https www fullstack cafe fullstack cafe a q25 what s the difference between openid and oauth read answer on a href https www fullstack cafe fullstack cafe a q26 how to return view from asp net web api method read answer on a href https www fullstack cafe fullstack cafe a q27 explain advantages disadvantages of using httpmodule vs delegatinghandler read answer on a href https www fullstack cafe fullstack cafe a q28 could you clarify what is the best practice with web api error management read answer on a href https www fullstack cafe fullstack cafe a q29 what is difference between odata and rest web services read answer on a href https www fullstack cafe fullstack cafe a q30 explain briefly owin open web interface for net self hosting read answer on a href https www fullstack cafe fullstack cafe a q31 explain the difference between wcf web api wcf rest and web service read answer on a href https www fullstack cafe fullstack cafe a q32 why should i use ihttpactionresult instead of httpresponsemessage read answer on a href https www fullstack cafe fullstack cafe a q33 what is difference between wcf and web api and wcf rest and web service read answer on a href https www fullstack cafe fullstack cafe a toc a name aws aws a interview questions q1 what is aws answer aws stands for amazon web services and is a platform that provides database storage secure cloud services offering to compute power content delivery and many other services to develop business levels source onlineinterviewquestions com q2 explain the key components of aws answer simple storage service s3 s3 is most widely used aws storage web service simple e mail service ses ses is a hosted transactional email service and allows one to fluently send deliverable emails using a restful api call or through a regular smtp identity and access management iam iam provides improved identity and security management for aws account elastic compute cloud ec2 ec2 is an aws ecosystem central piece it is responsible for providing on demand and flexible computing resources with a pay as you go pricing model elastic block store ebs ebs offers continuous storage solution that can be seen in instances as a regular hard drive cloudwatch cloudwatch allows the controller to outlook and gather key metrics and also set a series of alarms to be notified if there is any trouble source whizlabs com q3 what is buckets in aws answer an amazon s3 bucket is a public cloud storage resource available in amazon web services aws simple storage service s3 an object storage offering amazon s3 buckets which are similar to file folders store objects which consist of data and its descriptive metadata by default you can create up to 100 buckets in each of your aws accounts if you need more buckets you can increase your bucket limit by submitting a service limit increase source whizlabs com q4 what is aws cloudfront answer amazon cloudfront is a content delivery network cdn offered by amazon web services content delivery networks provide a globally distributed network of proxy servers which cache content such as web videos or other bulky media more locally to consumers thus improving access speed for downloading the content source en wikipedia org q5 what do you mean by ami what does it include answer ami stands for the term amazon machine image it s an aws template which provides the information an application server and operating system and applications required to perform the launch of an instance this ami is the copy of the ami that is running in the cloud as a virtual server you can launch instances from as many different amis as you need ami consists of the followings a root volume template for an existing instance launch permissions to determine which aws accounts will get the ami in order to launch the instances mapping for block device to calculate the total volume that will be attached to the instance at the time of launch source whizlabs com q6 how can i download a file from ec2 answer use scp sh scp i ec2key pem username ec2ip path to file source stackoverflow com q7 is it possible to clone a ec2 instance data answer you can make an ami of an existing instance and then launch other instances using that ami source stackoverflow com q8 what is aws data pipeline answer aws data pipeline is a web service that you can use to automate the movement and transformation of data with aws data pipeline you can define data driven workflows so that tasks can be dependent on the successful completion of previous tasks source docs aws amazon com q9 explain the features of amazon ec2 services answer amazon ec2 services have following features virtual computing environments proffers persistent storage volumes firewall validating you to specify the protocol pre configured templates static ip address for dynamic cloud computing source whizlabs com q10 what is the connection between ami and instance answer many different types of instances can be launched from one ami the type of an instance generally regulates the hardware components of the host computer that is used for the instance each type of instance has distinct computing and memory efficacy once an instance is launched it casts as host and the user interaction with it is same as with any other computer but we have a completely controlled access to our instances aws developer interview questions may contain one or more ami based questions so prepare yourself for the ami topic very well source whizlabs com q11 are s3 buckets region specific answer yes buckets exist in a specific region and you need to specify that region when you create a bucket amazon s3 creates bucket in a region you specify you can choose any aws region that is geographically close to you to optimize latency minimize costs or address regulatory requirements source stackoverflow com q12 what is aws direct connect answer aws direct connect bypasses the public internet and establishes a secure dedicated connection from your infrastructure into aws with established connectivity via aws direct connect you can access your amazon vpc and all aws services source coresite com q13 what is aws ebs answer amazon elastic block store amazon ebs provides persistent block storage volumes for use with amazon ec2 instances in the aws cloud each amazon ebs volume is automatically replicated within its availability zone to protect you from component failure offering high availability and durability source aws amazon com q14 what is aws lambda answer aws lambda is a serverless compute service that runs your code in response to events and automatically manages the underlying compute resources for you you can use aws lambda to extend other aws services with custom logic or create your own back end services that operate at aws scale performance and security source aws amazon com q15 what is aws dynamodb answer amazon dynamodb is a fully managed nosql database service that provides fast and predictable performance with seamless scalability with dynamodb you can create database tables that can store and retrieve any amount of data and serve any level of request traffic source docs aws amazon com q16 what is aws emr answer amazon elastic mapreduce emr is an amazon web services aws tool for big data processing and analysis amazon emr offers the expandable low configuration service as an easier alternative to running in house cluster computing amazon emr is based on apache hadoop a java based programming framework that supports the processing of large data sets in a distributed computing environment mapreduce is a software framework that allows developers to write programs that process massive amounts of unstructured data in parallel across a distributed cluster of processors or stand alone computers source searchaws techtarget com q17 is data stored in s3 is always encrypted answer by default data on s3 is not encrypted but all you could enable server side encryption in your object metadata when you upload your data to amazon s3 as soon as your data reaches s3 it is encrypted and stored source aws amazon com q18 can we attach single ebs to multiple ec2s same time answer no after you create a volume you can attach it to any ec2 instance in the same availability zone an ebs volume can be attached to only one ec2 instance at a time but multiple volumes can be attached to a single instance source docs aws amazon com q19 what is aws api gateway answer amazon api gateway is an aws service that enables developers to create publish maintain monitor and secure apis at any scale you can create apis that access aws or other web services as well as data stored in the aws cloud source aws amazon com q20 what is aws direct connect answer using aws direct connect you can establish private connectivity between aws and your datacenter office or colocation environment which in many cases can reduce your network costs increase bandwidth throughput and provide a more consistent network experience than internet based connections source aws amazon com q21 what are the security best practices for amazon ec2 instances read answer on a href https www fullstack cafe fullstack cafe a q22 can i automatically start and terminate my amazon instance using amazon api read answer on a href https www fullstack cafe fullstack cafe a q23 can we still continue working on ebs while creating snapshot of it read answer on a href https www fullstack cafe fullstack cafe a q24 what is aws auto scaling read answer on a href https www fullstack cafe fullstack cafe a q25 what is aws auto scaling group read answer on a href https www fullstack cafe fullstack cafe a q26 what is the maximum size of a single s3 object read answer on a href https www fullstack cafe fullstack cafe a q27 what is aws bucket policy read answer on a href https www fullstack cafe fullstack cafe a q28 does aws has the option for vertical auto scaling of ec2 instance read answer on a href https www fullstack cafe fullstack cafe a q29 what is aws waf what are the potential benefits of using waf read answer on a href https www fullstack cafe fullstack cafe a q30 how to get the instance id from within an ec2 instance read answer on a href https www fullstack cafe fullstack cafe a q31 what is aws cloudwatch read answer on a href https www fullstack cafe fullstack cafe a q32 what is the difference between amazon ec2 and aws elastic beanstalk read answer on a href https www fullstack cafe fullstack cafe a q33 how many storage options are there for ec2 instance read answer on a href https www fullstack cafe fullstack cafe a q34 what is aws route 53 read answer on a href https www fullstack cafe fullstack cafe a q35 how would you implement vertical auto scaling of ec2 instance read answer on a href https www fullstack cafe fullstack cafe a q36 what is amazon kinesis read answer on a href https www fullstack cafe fullstack cafe a q37 how to find a region from within an ec2 instance read answer on a href https www fullstack cafe fullstack cafe a q38 where are ec2 snapshots stored read answer on a href https www fullstack cafe fullstack cafe a q39 when should one use the following amazon ec2 google app engine microsoft azure and salesforce com read answer on a href https www fullstack cafe fullstack cafe a q40 when to use amazon cloudfront and when s3 read answer on a href https www fullstack cafe fullstack cafe a q41 our ec2 micro instance occasionally runs out of memory other than using a larger instance size what else can be done read answer on a href https www fullstack cafe fullstack cafe a q42 what is difference between lightsail and ec2 read answer on a href https www fullstack cafe fullstack cafe a q43 what is the underlying hypervisor for ec2 read answer on a href https www fullstack cafe fullstack cafe a q44 how to safely upgrade an amazon ec2 instance from t1 micro to large read answer on a href https www fullstack cafe fullstack cafe a toc a name agile scrum agile scrum a interview questions q1 what is asp net mvc answer asp net mvc is a web application framework it is light weight and highly testable framework mvc separates application into three components model view and controller source medium com q2 what is scrum answer scrum is one of the most popular frameworks for implementing agile many people think scrum and agile are the same thing but they re not with scrum the product is built in a series of fixed length iterations called sprints that give teams a framework for shipping software on a regular cadence source atlassian com q3 what is sprint in scrum answer in the scrum methodology a sprint is the basic unit of development scrum sprints correspond to agile iterations each sprint starts with a planning meeting where the tasks for the sprint are identified and an estimated commitment for the sprint goal is made a sprint ends with a review or retrospective meeting where the progress is reviewed and lessons for the next sprint are identified during each sprint the team creates finished portions of a product source stackoverflow com q4 name roles in scrum answer three essential roles for scrum success are the product owner are the champions for their product they are focused on understanding business and market requirements then prioritizing the work to be done by the engineering team accordingly the scrum master are the champion for scrum within their team they coach the team the product owner and the business on the scrum process and look for ways to fine tune their practice of it the scrum team are the champions for sustainable development practices scrum teams are cross functional the development team includes testers designers and ops engineers in addition to developers source atlassian com q5 what is user stories answer user stories are features customers might want to see in their software they are written on index cards to encourage face to face communication typically no more than a couple days work they form the basis of our agile plans q6 what is an epic user stories and task answer epic a customer described software feature that is itemized in the product backlog is known as epic epics are sub divided into stories user stories from the client perspective user stories are prepared which defines project or business functions and it is delivered in a particular sprint as expected task further down user stories are broken down into different task source career guru99 com q7 explain what is refactoring answer to improve the performance the existing code is modified this is re factoring during re factoring the code functionality remains same source career guru99 com q8 what is an agile iteration answer an agile iteration is a short one to two week period where a team takes most important user stories builds them completely and deliver as running tested software to the customer analysis design coding testing happen during an iteration q9 name some types of meetings or ceremonies in scrum answer scrum calls for four ceremonies that bring structure to each sprint sprint planning a team planning meeting that determines what to complete in the coming sprint daily stand up also known as a daily scrum a 15 minute mini meeting for the software team to sync sprint demo a sharing meeting where the team shows what they ve shipped in that sprint sprint retrospective a review of what did and didn t go well with actions to make the next sprint better source atlassian com q10 if a timebox plan needs to be reprioritized who should re prioritise it answer if a timebox plan needs to be reprioritized it should include whole team product owner and developers source career guru99 com q11 mention the key difference between sprint backlog and product backlog answer product backlog it contains a list of all desired features and is owned by the product owner sprint backlog it is a subset of the product backlog owned by development team and commits to deliver it in a sprint it is created in sprint planning meeting source career guru99 com q12 what is agile answer agile is a time boxed iterative approach framework to software delivery that builds software incrementally from the start of the project instead of trying to deliver it all at once near the end it works by breaking projects down into little bits of user functionality called user stories prioritizing them and then continuously delivering them in short two week cycles called iterations agile refers to any process that aligns with the concepts of the agile manifesto http agilemanifesto org source agilemanifesto org q13 explain in agile burn up and burn down chart answer to track the project progress burnup and burn down charts are used burnup chart it shows the progress of stories done over time burndown chart it shows how much work was left to do overtime source career guru99 com q14 what is sprint planning answer the work to be performed in the sprint is planned at the sprint planning this plan is created by the collaborative work of the entire scrum team sprint planning answers the following what can be delivered in the increment resulting from the upcoming sprint how will the work needed to deliver the increment be achieved the sprint goal is an objective set for the sprint that can be met through the implementation of product backlog source scrum org q15 explain difference between a product and a sprint backlog answer the product backlog is an ordered list of everything that is known to be needed in the product it is the single source of requirements for any changes to be made to the product the sprint backlog is the set of product backlog items selected for the sprint during the sprint planning plus a plan for delivering the product increment and realizing the sprint goal source scrum org q16 what is story points efforts scales answer it is used to discuss the difficulty of the story without assigning actual hours the most common scale used is a fibonacci sequence 1 2 3 5 8 1 3 100 although some teams use linear scale 1 2 3 4 powers of 2 1 2 4 8 and cloth size xs s m l xl source career guru99 com q17 how is agile different from other software delivery aproaches answer analysis design coding and testing are continuous activities development is iterative planning is adaptive roles blur scope can vary requirements can change working software is the primary measure of success q18 have you ever used scrum task board answer in scrum the task board is a visual display of the progress of the scrum team during a sprint it presents a snapshot of the current sprint backlog allowing everyone to see which tasks remain to be started which are in progress and which are done consider the following layout of the task board stories to do in progress testing done source manifesto co uk q19 explain what does it mean by product roadmap answer a product roadmap is referred for the holistic view of product features that create the product vision source career guru99 com q20 explain what is velocity in agile answer velocity is a metric that is calculated by addition of all efforts estimates related with user stories completed in an iteration it figures out how much work agile can complete in a sprint and how much time will it need to finish a project source career guru99 com q21 mention what should a burndown chart should highlight answer the burn down chart shows the remaining work to complete before the timebox iteration ends source career guru99 com q22 what is test driven development answer test driven development tdd is also known as test driven design in this method developer first writes an automated test case which describes new function or improvement and then creates small codes to pass that test and later re factors the new code to meet the acceptable standards source career guru99 com q23 explain what is scrum ban read answer on a href https www fullstack cafe fullstack cafe a q24 what does project velocity mean read answer on a href https www fullstack cafe fullstack cafe a q25 can you explain the purpose of a burndown chart read answer on a href https www fullstack cafe fullstack cafe a q26 what is the agile manifesto read answer on a href https www fullstack cafe fullstack cafe a q27 what does the scrum framework consist from read answer on a href https www fullstack cafe fullstack cafe a q28 what are four agile manifesto values read answer on a href https www fullstack cafe fullstack cafe a q29 explain the difference between extreme programming and scrum read answer on a href https www fullstack cafe fullstack cafe a q30 what are some methodologies used to implement agile read answer on a href https www fullstack cafe fullstack cafe a q31 mention what are the challenges involved in agile software development read answer on a href https www fullstack cafe fullstack cafe a q32 what are the qualities of a good agile tester should have read answer on a href https www fullstack cafe fullstack cafe a q33 what is a sprint review read answer on a href https www fullstack cafe fullstack cafe a q34 what is acceptance criteria read answer on a href https www fullstack cafe fullstack cafe a q35 mention what are the advantages of maintaining consistent iteration length throughout the project read answer on a href https www fullstack cafe fullstack cafe a q36 mention in detail what are the role s of scrum master read answer on a href https www fullstack cafe fullstack cafe a q37 mention what is the difference between scrum and agile read answer on a href https www fullstack cafe fullstack cafe a q38 mention what are the agile quality strategies read answer on a href https www fullstack cafe fullstack cafe a q39 why continuous integration is important for agile read answer on a href https www fullstack cafe fullstack cafe a q40 what is a sprint retrospective read answer on a href https www fullstack cafe fullstack cafe a q41 what are the scrum values read answer on a href https www fullstack cafe fullstack cafe a q42 what the scrum theory is based on read answer on a href https www fullstack cafe fullstack cafe a q43 when not to use agile read answer on a href https www fullstack cafe fullstack cafe a q44 in agile mention what is the difference between the incremental and iterative development read answer on a href https www fullstack cafe fullstack cafe a q45 explain how you can measure the velocity of the sprint with varying team capacity read answer on a href https www fullstack cafe fullstack cafe a q46 what is scrum increment read answer on a href https www fullstack cafe fullstack cafe a q47 explain main differences between scrum and agile read answer on a href https www fullstack cafe fullstack cafe a q48 name the 12 agile principles read answer on a href https www fullstack cafe fullstack cafe a q49 what are the benefits of burn up chart read answer on a href https www fullstack cafe fullstack cafe a q50 what is the scrum s definition of done read answer on a href https www fullstack cafe fullstack cafe a q51 provide some examples of burn up chart read answer on a href https www fullstack cafe fullstack cafe a q52 explain what is spike and zero sprint in agile what is the purpose of it read answer on a href https www fullstack cafe fullstack cafe a toc a name android android a interview questions q1 mention the difference between relativelayout and linearlayout answer linear layout arranges elements either vertically or horizontally i e in a row or column relative layout arranges elements relative to parent or other elements source android jlelse eu q2 what is the difference between bitmap and drawable in android answer a bitmap is a representation of a bitmap image something like java awt image a drawable is an abstraction of something that can be drawn it could be a bitmap wrapped up as a bitmapdrawable but it could also be a solid color a collection of other drawable objects or any number of other structures source stackoverflow com q3 what is a difference between spannable and string answer a spannable allows to attach formatting information like bold italic to sub sequences spans thus the name of the characters it can be used whenever you want to represent rich text source stackoverflow com q4 what is an activity answer an activity provides the window in which the app draws its ui this window typically fills the screen but may be smaller than the screen and float on top of other windows generally one activity implements one screen in an app for instance one of an app s activities may implement a preferences screen while another activity implements a select photo screen source github com q5 what is armv7 answer there are 3 cpu architectures in android armv7 is the most common as it is optimised for battery consumption arm64 is an evolved version of that that supports 64 bit processing for more powerful computing armx86 is the least used for these three since it is not battery friendly it is more powerful than the other two source android jlelse eu q6 explain activity lifecycle answer as a user navigates through out of and back to your app the activity instances in your app transition through different states in their lifecycle to navigate transitions between stages of the activity lifecycle the activity class provides a core set of six callbacks oncreate onstart onresume onpause onstop and ondestroy the system invokes each of these callbacks as an activity enters a new state div class text center img src https developer android com guide components images activity lifecycle png class img fluid div source developer android com q7 how can i get the context in a fragment answer you can use getactivity which returns the activity associated with a fragment the activity is a context since activity extends context you can also override the onattach method of fragment java public static class dummysectionfragment extends fragment override public void onattach activity activity super onattach activity dbhelper new databasehelper activity source stackoverflow com q8 what is view group how are they different from views answer view view objects are the basic building blocks of user interface ui elements in android view is a simple rectangle box which responds to the user s actions examples are edittext button checkbox etc view refers to the android view view class which is the base class of all ui classes viewgroup viewgroup is the invisible container it holds view and viewgroup for example linearlayout is the viewgroup that contains button view and other layouts also viewgroup is the base class for layouts source android jlelse eu q9 is it possible to implement the model view controller pattern in java for android answer in android you don t have mvc but you have the following you define your user interface in various xml files by resolution hardware etc you define your resources in various xml files by locale etc you extend clases like listactivity tabactivity and make use of the xml file by inflaters you can create as many classes as you wish for your business logic a lot of utils have been already written for you databaseutils html source stackoverflow com q10 what s the difference between oncreate and onstart answer the oncreate method is called once during the activity lifecycle either when the application starts or when the activity has been destroyed and then recreated for example during a configuration change the onstart method is called whenever the activity becomes visible to the user typically after oncreate or onrestart source android jlelse eu q11 explain the build process in android answer 1 first step involves compiling the resources folder res using the aapt android asset packaging tool tool these are compiled to a single class file called r java this is a class that just contains constants 2 second step involves the java source code being compiled to class files by javac and then the class files are converted to dalvik bytecode by the dx tool which is included in the sdk tools the output is classes dex 3 the final step involves the android apkbuilder which takes all the input and builds the apk android packaging key file source android jlelse eu q12 what is an intent in android answer an intent is basically a message that is passed between components such as activities services broadcast receivers and content providers so it is almost equivalent to parameters passed to api calls the fundamental differences between api calls and invoking components via intents are api calls are synchronous while intent based invocations are asynchronous api calls are compile time binding while intent based calls are run time binding to listen for an broadcast intent like the phone ringing or an sms is received you implement a broadcast receiver which will be passed the intent to declare that you can handle another s app intent like take picture you declare an intent filter in your app s manifest file if you want to fire off an intent to do something like pop up the dialer you fire off an intent saying you will an intent provides a facility for performing late runtime binding between the code in different applications source stackoverflow com q13 what is the most appropriate way to store user settings in android application answer in general sharedpreferences are your best bet for storing preferences so in general i d recommend that approach for saving application and user settings the only area of concern here is what you re saving passwords are always a tricky thing to store and i d be particularly wary of storing them as clear text the android architecture is such that your application s sharedpreferences are sandboxed to prevent other applications from being able to access the values so there s some security there but physical access to a phone could potentially allow access to the values source stackoverflow com q14 in what situation should one use recyclerview over listview answer recyclerview was created as a listview improvement so yes you can create an attached list with listview control but using recyclerview is easier as it reuses cells while scrolling up down this is possible with implementing view holder in the listview adapter but it was an optional thing while in the recycleview it s the default way of writing adapter decouples list from its container so you can put list items easily at run time in the different containers linearlayout gridlayout with setting layoutmanager to conclude recyclerview is a more flexible control for handling list data that follows patterns of delegation of concerns and leaves for itself only one task recycling items source stackoverflow com q15 explain briefly all the android application components answer app components are the essential building blocks of an android app each component is an entry point through which the system or a user can enter your app there are four different types of app components activities an activity is the entry point for interacting with the user it represents a single screen with a user interface services a service is a general purpose entry point for keeping an app running in the background for all kinds of reasons it is a component that runs in the background to perform long running operations or to perform work for remote processes broadcast receivers a broadcast receiver is a component that enables the system to deliver events to the app outside of a regular user flow allowing the app to respond to system wide broadcast announcements content providers a content provider manages a shared set of app data that you can store in the file system in a sqlite database on the web or on any other persistent storage location that your app can access source developer android com q16 what is context on android answer the documentation itself provides a rather straightforward explanation the context class is an interface to global information about an application environment we may assume a context is a handle to the system it provides services like resolving resources obtaining access to databases and preferences and so on an android app has activities context is like a handle to the environment your application is currently running in the activity object inherits the context object source stackoverflow com q17 what is the dalvik virtual machine answer the dalvik virtual machine dvm is an android virtual machine optimized for mobile devices it optimizes the virtual machine for memory battery life and performance the dex compiler converts the class files into the dex file that run on the dalvik vm multiple class files are converted into one dex file source www javatpoint com q18 tell about constraint layout answer constraintlayout allows you to create large and complex layouts with a flat view hierarchy no nested view groups it s similar to relativelayout in that all views are laid out according to relationships between sibling views and the parent layout but it s more flexible than relativelayout and easier to use with android studio s layout editor intention of constraintlayout is to optimize and flatten the view hierarchy of your layouts by applying some rules to each view to avoid nesting source developer android com q19 what is adb and what is it used for answer adb is the acronym for android debug bridge which is part of the android sdk software development kit it uses a client server model i e adbd the adb daemon is running on the device and can be connected to and in most cases is used via an usb connection it is also possible to use it via wifi wireless adb there s nothing you need to install on your android device as the adb daemon adbd is already integrated into the android os it is usually accessed via a command line interface from the pc where either the full android sdk is installed several 30 mb download archive currently or a massively stripped down version for non developers sometimes referred to as mini adb or adb essentials for linux this is only the adb executable for windows it s adb exe plus two or three dll files source developer android com q20 what is dalvik answer dalvik is a just in time jit compiler by the term jit we mean to say that whenever you run your app in your mobile device then that part of your code that is needed for execution of your app will only be compiled at that moment and rest of the code will be compiled in the future when needed the jit or just in time compiles only a part of your code and it has a smaller memory footprint and due to this it uses very less physical space on your device source blog mindorks com q21 what types of context do you know answer the are mainly two types of context application context it is an instance that is the singleton and can be accessed in activity via getapplicationcontext this context is tied to the lifecycle of an application the application context can be used where you need a context whose lifecycle is separate from the current context or when you are passing a context beyond the scope of activity activity contex t this context is tied to the lifecycle of an activity the activity context should be used when you are passing the context in the scope of an activity or you need the context whose lifecycle is attached to the current context source blog mindorks com q22 how do i pass data between activities in android application details i have a scenario where after logging in through a login page there will be a sign out button on each activity can you guide me on how to keep session id available to all activities answer the easiest way to do this would be to pass the session id to the signout activity in the intent you re using to start the activity java intent intent new intent getbasecontext signoutactivity class intent putextra extra session id sessionid startactivity intent access that intent on next activity java string sessionid getintent getstringextra extra session id source stackoverflow com q23 how does the outofmemory happens answer out of memory error is very common error when you are developing for a application that deals with multiple images sets or large bitmaps or some animation stuff in android every application runs in a linux process each linux process has a virtual machine dalvik virtual machine running inside it there is a limit on the memory a process can demand and it is different for different devices and also differs for phones and tablets when some process demands a higher memory than its limit it causes a error i e out of memory error there are number of reasons why we get a out of memory errors some of those are 1 you are doing some operation that continuously demands a lot of memory and at some point it goes beyond the max heap memory limit of a process 2 you are leaking some memory i e you didn t make the previous objects you allocated eligible for garbage collection gc this is called memory leak 3 you are dealing with large bitmaps and loading all of them at run time you have to deal very carefully with large bitmaps by loading the size that you need not the whole bitmap at once and then do scaling source blogs innovationm com q24 what is a contentprovider and what is it typically used for answer a content provider manages access to a central repository of data a provider is part of an android application which often provides its own ui for working with the data however content providers are primarily intended to be used by other applications which access the provider using a provider client object typically you work with content providers in one of two scenarios you may want to implement code to access an existing content provider in another application or you may want to create a new content provider in your application to share data with other applications source developer android com q25 what is an asynctask answer asynctask is one of the easiest ways to implement parallelism in android without having to deal with more complex methods like threads though it offers a basic level of parallelism with the ui thread it should not be used for longer operations of say not more than 2 seconds asynctask has four methods onpreexecute doinbackground onprogressupdate onpostexecute where doinbackground is the most important as it is where background computations are performed source stackoverflow com q26 why is it recommended to use only the default constructor to create a fragment answer in short fragments need to have a no args constructor for the android system to instantiate them your fragment subclasses need a public empty constructor as this is what s being called by the framework it is used in the case when device has to restore the state of a fragment no data will be passed and a default fragment will be created and then the state will be restored since the system has no way to know what you passed in your constructor or your newinstance default constructor will be used and saved bundle should be passed via oncreate after the fragment is actually instantiated with the default constructor source www quora com q27 how to persist data in an android app answer there are basically four different ways to store data in an android app 1 shared preferences to save primitive data in key value pairs 2 internal storage you need to store data to the device filesystem but you do not want any other app even the user to read this data 3 external storage you might want the user to view the files and data saved by your app 4 sqlite database source www androidauthority com q28 explain android notification system answer a notification is a message that android displays outside your app s ui to provide the user with reminders communication from other people or other timely information from your app users can tap the notification to open your app or take an action directly from the notification notifications appear to users in different locations and formats such as an icon in the status bar a more detailed entry in the notification drawer as a badge on the app s icon and on paired wearables automatically beginning with android 5 0 notifications can appear on the lock screen starting in android 8 0 api level 26 all notifications must be assigned to a channel or it will not appear by categorizing notifications into channels users can disable specific notification channels for your app instead of disabling all your notifications and users can control the visual and auditory options for each channel all from the android system settings source developer android com q29 what is handler and what is it used for read answer on a href https www fullstack cafe fullstack cafe a q30 explain key differences between service and intentservice read answer on a href https www fullstack cafe fullstack cafe a q31 what is explicit intent read answer on a href https www fullstack cafe fullstack cafe a q32 how would you support different screen sizes read answer on a href https www fullstack cafe fullstack cafe a q33 what is implicit intent read answer on a href https www fullstack cafe fullstack cafe a q34 what is intent filter read answer on a href https www fullstack cafe fullstack cafe a q35 what does layoutinflater in android do read answer on a href https www fullstack cafe fullstack cafe a q36 android log v log d log i log w log e when to use each one read answer on a href https www fullstack cafe fullstack cafe a q37 what are the differences between oncreate oncreateview and onactivitycreated in fragments and what would they each be used for read answer on a href https www fullstack cafe fullstack cafe a q38 what is the difference between oncreate and oncreateview lifecycle methods in fragment read answer on a href https www fullstack cafe fullstack cafe a q39 how to declare global variables in android read answer on a href https www fullstack cafe fullstack cafe a q40 what is the actual differences between a activity context and application context read answer on a href https www fullstack cafe fullstack cafe a q41 what are the permission protection levels in android read answer on a href https www fullstack cafe fullstack cafe a q42 what is the difference between activity and context read answer on a href https www fullstack cafe fullstack cafe a q43 how would you preserve activity state during a screen rotation read answer on a href https www fullstack cafe fullstack cafe a q44 when to use android s arraymap instead of a hashmap read answer on a href https www fullstack cafe fullstack cafe a q45 what are the differences between arraylist and arraymap read answer on a href https www fullstack cafe fullstack cafe a q46 what are dex files are used for read answer on a href https www fullstack cafe fullstack cafe a q47 what is an android pendingintent read answer on a href https www fullstack cafe fullstack cafe a q48 explain how hashmap works read answer on a href https www fullstack cafe fullstack cafe a q49 what is the difference between compilesdkversion and targetsdkversion read answer on a href https www fullstack cafe fullstack cafe a q50 what are android annotations and what are they used for read answer on a href https www fullstack cafe fullstack cafe a q51 how could you pass data between activities without intent read answer on a href https www fullstack cafe fullstack cafe a q52 what is the difference between invisible and gone for the view visibility status read answer on a href https www fullstack cafe fullstack cafe a q53 what is art read answer on a href https www fullstack cafe fullstack cafe a q54 what is android data binding read answer on a href https www fullstack cafe fullstack cafe a q55 what is renderscript and when should we really use it read answer on a href https www fullstack cafe fullstack cafe a q56 why fragments and when to use fragments instead of activities read answer on a href https www fullstack cafe fullstack cafe a q57 what are retained fragments read answer on a href https www fullstack cafe fullstack cafe a q58 what is the difference between service intent service read answer on a href https www fullstack cafe fullstack cafe a q59 describe different types of services in android read answer on a href https www fullstack cafe fullstack cafe a q60 what is the support library why was it introduced read answer on a href https www fullstack cafe fullstack cafe a q61 what is ddms and what can you do with it read answer on a href https www fullstack cafe fullstack cafe a q62 what is the best way to update the screen periodically read answer on a href https www fullstack cafe fullstack cafe a q63 what is a jobscheduler read answer on a href https www fullstack cafe fullstack cafe a q64 what is the viewholder pattern why should we use it read answer on a href https www fullstack cafe fullstack cafe a q65 what is the difference between listview and recyclerview read answer on a href https www fullstack cafe fullstack cafe a q66 what is a localbroadcastmanager read answer on a href https www fullstack cafe fullstack cafe a q67 what is the difference between asynctask and thread runnable read answer on a href https www fullstack cafe fullstack cafe a q68 what is the difference between a bundle and an intent read answer on a href https www fullstack cafe fullstack cafe a q69 what is the difference between adapter and loader in android read answer on a href https www fullstack cafe fullstack cafe a q70 when to use android loaders read answer on a href https www fullstack cafe fullstack cafe a q71 isn t android s bundle functionally equivalent with a map read answer on a href https www fullstack cafe fullstack cafe a q72 what is parcelable in android read answer on a href https www fullstack cafe fullstack cafe a q73 when to use fragments vs activities read answer on a href https www fullstack cafe fullstack cafe a q74 how would you communicate between two fragments read answer on a href https www fullstack cafe fullstack cafe a q75 what is the difference between handler vs asynctask vs thread read answer on a href https www fullstack cafe fullstack cafe a q76 how can two distinct android apps interact read answer on a href https www fullstack cafe fullstack cafe a q77 explain string vs stringbuilder vs spannedstring vs spannablestring vs spannablestringbuilder vs charsequence read answer on a href https www fullstack cafe fullstack cafe a q78 is a dalvik virtual machine instance created for each application read answer on a href https www fullstack cafe fullstack cafe a q79 what is the android ndk how can one use it why should one use it read answer on a href https www fullstack cafe fullstack cafe a q80 what is the strictmode read answer on a href https www fullstack cafe fullstack cafe a q81 when is it necessary or better to use a surfaceview instead of a view read answer on a href https www fullstack cafe fullstack cafe a q82 can you manually call the garbage collector read answer on a href https www fullstack cafe fullstack cafe a q83 what is the difference between android timer and a handler to do action every n seconds read answer on a href https www fullstack cafe fullstack cafe a q84 what is broadcast receiver read answer on a href https www fullstack cafe fullstack cafe a q85 how to avoid reverse engineering of an apk file read answer on a href https www fullstack cafe fullstack cafe a q86 what are some differences between art and dalvik read answer on a href https www fullstack cafe fullstack cafe a q87 what are android architecture components read answer on a href https www fullstack cafe fullstack cafe a q88 why to consider flatbuffers over json read answer on a href https www fullstack cafe fullstack cafe a q89 what is the difference between anr and crash in android read answer on a href https www fullstack cafe fullstack cafe a q90 how do you handle bitmaps in android as it takes too much memory read answer on a href https www fullstack cafe fullstack cafe a q91 explain how arraymap works read answer on a href https www fullstack cafe fullstack cafe a q92 what is the difference between arraymap vs hashmap read answer on a href https www fullstack cafe fullstack cafe a q93 discuss singletons vs application context for app global state read answer on a href https www fullstack cafe fullstack cafe a q94 what is the difference between getcontext getapplicationcontext getbasecontext and this read answer on a href https www fullstack cafe fullstack cafe a q95 what is doze what about app standby read answer on a href https www fullstack cafe fullstack cafe a q96 what is a threadpool and is it more effective than using several separate threads read answer on a href https www fullstack cafe fullstack cafe a q97 how can i use asynctask in different activities read answer on a href https www fullstack cafe fullstack cafe a q98 what is aidl read answer on a href https www fullstack cafe fullstack cafe a q99 what are some best practices to avoid memory leaks on android read answer on a href https www fullstack cafe fullstack cafe a q100 when to use sparsearray vs hashmap read answer on a href https www fullstack cafe fullstack cafe a q101 provide some tips to reduce battery usage in an android application read answer on a href https www fullstack cafe fullstack cafe a q102 what are some difference between parcelable and serializable read answer on a href https www fullstack cafe fullstack cafe a q103 what are best practices for storing and protecting private api keys in applications read answer on a href https www fullstack cafe fullstack cafe a q104 what is a sticky broadcast read answer on a href https www fullstack cafe fullstack cafe a q105 what is the relationship between looper handler and messagequeue in android read answer on a href https www fullstack cafe fullstack cafe a q106 when would you use aidl read answer on a href https www fullstack cafe fullstack cafe a q107 explain reasons why not to use getapplicationcontext read answer on a href https www fullstack cafe fullstack cafe a q108 when to use aidl vs messenger queue read answer on a href https www fullstack cafe fullstack cafe a q109 what is the difference between local normal ordered and sticky broadcasts read answer on a href https www fullstack cafe fullstack cafe a q110 explain when would you call getapplicationcontext and why read answer on a href https www fullstack cafe fullstack cafe a q111 what is intent vs sticky intent vs pending intent read answer on a href https www fullstack cafe fullstack cafe a q112 what happens if the user navigates away or closes the app while i still have a reference to the activity the user just closed in my asynctask read answer on a href https www fullstack cafe fullstack cafe a q113 what is the ontrimmemory method read answer on a href https www fullstack cafe fullstack cafe a toc a name angular angular a interview questions q1 what is routing guard in angular answer angular s route guards are interfaces which can tell the router whether or not it should allow navigation to a requested route they make this decision by looking for a true or false return value from a class which implements the given guard interface source medium com q2 what is a module and what does it contain answer an angular module is set of angular basic building blocks like component directives services etc an app can have more than one module a module can be created using ngmodule decorator js ngmodule imports browsermodule declarations appcomponent bootstrap appcomponent export class appmodule source stackoverflow com q3 what are pipes give me an example answer a pipe takes in data as input and transforms it to a desired output you can chain pipes together in potentially useful combinations you can write your own custom pipes angular comes with a stock of pipes such as datepipe uppercasepipe lowercasepipe currencypipe and percentpipe consider html p the hero s birthday is birthday date p in this page you ll use pipes to transform a component s birthday property into a human friendly date source angular io q4 what is the minimum definition of a component answer the absolute minimal configuration for a component in angular is a template both template properties are set to optional because you have to define either template or templateurl when you don t define them you will get an exception like this sh no template specified for component componentname a selector property is not required as you can also use your components in a route source stackoverflow com q5 what s the difference between an angular component and module answer components control views html they also communicate with other components and services to bring functionality to your app modules consist of one or more components they do not control any html your modules declare which components can be used by components belonging to other modules which classes will be injected by the dependency injector and which component gets bootstrapped modules allow you to manage your components to bring modularity to your app source stackoverflow com q6 how would you run unit test answer the angular cli downloads and install everything you need to test an angular application with the jasmine test framework the project you create with the cli is immediately ready to test just run this one cli command sh ng test source angular io q7 what is a service and when will you use it answer angular services are singleton objects which get instantiated only once during the lifetime of an application they contain methods that maintain data throughout the life of an application i e data does not get refreshed and is available all the time the main objective of a service is to organize and share business logic models or data and functions with different components of an angular application the separation of concerns is the main reason why angular services came into existence an angular service is a stateless object and provides some very useful functions source dzone com q8 what is interpolation answer interpolation is a special syntax that angular converts into property binding it s a convenient alternative to property binding it is represented by double curly braces the text between the braces is often the name of a component property angular replaces that name with the string value of the corresponding component property let s take an example html h3 title img src url style height 30px h3 in the example above angular evaluates the title and url properties and fills in the blanks first displaying a bold application title and then a url source github com sudheerj q9 what is a bootstrapping module answer every application has at least one angular module the root module that you bootstrap to launch the application is called as bootstrapping module it is commonly known as appmodule the default structure of appmodule generated by angularcli would be as follows javascript javascript imports import browsermodule from angular platform browser import ngmodule from angular core import formsmodule from angular forms import httpclientmodule from angular common http import appcomponent from app component the appmodule class with the ngmodule decorator ngmodule declarations appcomponent imports browsermodule formsmodule httpclientmodule providers bootstrap appcomponent export class appmodule source github com sudheerj q10 what is the equivalent of ngshow and nghide in angular answer just bind to the hidden property source stackoverflow com q11 what are observables answer observables are declarative which provide support for passing messages between publishers and subscribers in your application they are mainly used for event handling asynchronous programming and handling multiple values in this case you define a function for publishing values but it is not executed until a consumer subscribes to it the subscribed consumer then receives notifications until the function completes or until they unsubscribe source github com sudheerj q12 what is an observable answer an observable is a unique object similar to a promise that can help manage async code observables are not part of the javascript language so we need to rely on a popular observable library called rxjs the observables are created using new keyword let see the simple example of observable javascript import observable from rxjs const observable new observable observer settimeout observer next hello from a observable 2000 source github com sudheerj q13 what is a component why would you use it answer components are the most basic building block of an ui in an angular application an angular application is a tree of angular components angular components are a subset of directives unlike directives components always have a template and only one component can be instantiated per an element in a template a component must belong to an ngmodule in order for it to be usable by another component or application to specify that a component is a member of an ngmodule you should list it in the declarations field of that ngmodule js component selector greet template hello name class greet name string world source angular io q14 what is an observer answer observer is an interface for a consumer of push based notifications delivered by an observable it has below structure javascript interface observer t closed boolean next value t void error err any void complete void a handler that implements the observer interface for receiving observable notifications will be passed as a parameter for observable as below javascript myobservable subscribe myobserver note if you don t supply a handler for a notification type the observer ignores notifications of that type source github com sudheerj q15 what is the purpose of base href tag answer the routing application should add base element to the index html as the first child in the head tag inorder to indicate how to compose navigation urls if app folder is the application root then you can set the href value as below html base href source github com sudheerj q16 you have an html response i want to display how do i do that answer the correct syntax is the following html div innerhtml thehtmlstring div working in 5 2 6 source medium com q17 what is the difference between structural and attribute directives in angular answer structural directives are used to alter the dom layout by removing and adding dom elements it is far better in changing the structure of the view examples of structural directives are ngfor and nglf attribute directives these are being used as characteristics of elements for example a directive such as built in ngstyle in the template syntax guide is an attribute directive source onlineinterviewquestions com q18 how can i select an element in a component template answer you can get a handle to the dom element via elementref by injecting it into your component s constructor js constructor myelement elementref source medium com q19 what is the equivalent of ngshow and nghide in angular answer just bind to the hidden property js hidden myvar source medium com q20 what is the difference between ngif vs hidden answer ngif effectively removes its content from the dom while hidden modifies the display property and only instructs the browser to not show the content but the dom still contains it source medium com q21 what are the differences between angularjs angular 1 x and angular angular 2 x and beyond answer angular and angularjs is basically a different framework with the same name angular is more ready for the current state of web standards and the future state of the web es6 7 immutiablity components shadow dom service workers mobile compatibilty modules typescript and so on and so on angular killed many main features in angularjs like controllers scope directives replaced with component annotations the module definition and much more even simple things like ng repeat has not left the same as it was also 1 they added an angular cli 2 your angular code is written in es6 typescript and it compiles at runtime to javascript in the browser 3 you bind to your html similarly like how you would if in an angular 1 directive so variable like scope and rootscope have been deprecated source stackoverflow com q22 what are some differences between angular 2 and 4 answer just to name a few improvements in aot allowing the else clause in ngif support for typescript 2 1 breaking out the animations package source github com webpredict q23 what is the difference between component and directive in angular answer directives add behaviour to an existing dom element or an existing component instance a component rather than adding modifying behaviour actually creates its own view hierarchy of dom elements with attached behaviour write a component when you want to create a reusable set of dom elements of ui with custom behaviour write a directive when you want to write reusable behaviour to supplement existing dom elements source medium com q24 how would you protect a component being activated through the router answer the angular router ships with a feature called guards these provide us with ways to control the flow of our application we can stop a user from visitng certain routes stop a user from leaving routes and more the overall process for protecting angular routes create a guard service ng g guard auth create canactivate or canactivatechild methods use the guard when defining routes js import the newly created authguard const routes routes path account canactivate authguard some other available guards canactivate check if a user has access canactivatechild check if a user has access to any of the child routes candeactivate can a user leave a page for example they haven t finished editing a post resolve grab data before the route is instantiated canload check to see if we can load the routes assets source scotch io q25 what does this line do details js hostbinding class valid isvalid answer hostbinding lets you set properties on the element or component that hosts the directive the code applies the css class valid to whatever is using this directive conditionally based on the value of isvalid source alligator io q26 what is router outlet read answer on a href https www fullstack cafe fullstack cafe a q27 what is difference between declarations providers and import in ngmodule read answer on a href https www fullstack cafe fullstack cafe a q28 what s new in angular 6 and why shall we upgrade to it read answer on a href https www fullstack cafe fullstack cafe a q29 why would you use a spy in a test read answer on a href https www fullstack cafe fullstack cafe a q30 what is testbed read answer on a href https www fullstack cafe fullstack cafe a q31 what is protractor read answer on a href https www fullstack cafe fullstack cafe a q32 what is the point of calling renderer invokeelementmethod rendererel methodname read answer on a href https www fullstack cafe fullstack cafe a q33 how would you control size of an element on resize of the window in a component read answer on a href https www fullstack cafe fullstack cafe a q34 what is aot read answer on a href https www fullstack cafe fullstack cafe a q35 what is redux and how does it relate to an angular app read answer on a href https www fullstack cafe fullstack cafe a q36 what is the use of codelyzer read answer on a href https www fullstack cafe fullstack cafe a q37 how to inject base href read answer on a href https www fullstack cafe fullstack cafe a q38 how to bundle an angular app for production read answer on a href https www fullstack cafe fullstack cafe a q39 when would you use eager module loading read answer on a href https www fullstack cafe fullstack cafe a q40 what are the core dependencies of angular 7 read answer on a href https www fullstack cafe fullstack cafe a q41 why incremental dom has low memory footprint read answer on a href https www fullstack cafe fullstack cafe a q42 what are the ways to control aot compilation read answer on a href https www fullstack cafe fullstack cafe a q43 what is angular universal read answer on a href https www fullstack cafe fullstack cafe a q44 do i need a routing module always read answer on a href https www fullstack cafe fullstack cafe a q45 what is the purpose of wildcard route read answer on a href https www fullstack cafe fullstack cafe a q46 what is activated route read answer on a href https www fullstack cafe fullstack cafe a q47 what is router state read answer on a href https www fullstack cafe fullstack cafe a q48 what is reactive programming and how to use one with angular read answer on a href https www fullstack cafe fullstack cafe a q49 why should ngoninit be used if we already have a constructor read answer on a href https www fullstack cafe fullstack cafe a q50 what are dynamic components read answer on a href https www fullstack cafe fullstack cafe a q51 explain how custom elements works internally read answer on a href https www fullstack cafe fullstack cafe a q52 what are custom elements read answer on a href https www fullstack cafe fullstack cafe a q53 what are the utility functions provided by rxjs read answer on a href https www fullstack cafe fullstack cafe a q54 how do you perform error handling in observables read answer on a href https www fullstack cafe fullstack cafe a q55 what is multicasting read answer on a href https www fullstack cafe fullstack cafe a q56 what is the difference between promise and observable read answer on a href https www fullstack cafe fullstack cafe a q57 can you explain the difference between promise and observable in angular in what scenario can we use each case read answer on a href https www fullstack cafe fullstack cafe a q58 what is subscribing read answer on a href https www fullstack cafe fullstack cafe a q59 how do you perform error handling for httpclient read answer on a href https www fullstack cafe fullstack cafe a q60 what is the difference between component and directive in angular read answer on a href https www fullstack cafe fullstack cafe a q61 explain the difference between constructor and ngoninit read answer on a href https www fullstack cafe fullstack cafe a q62 what is a parameterized pipe read answer on a href https www fullstack cafe fullstack cafe a q63 how do you categorize data binding types read answer on a href https www fullstack cafe fullstack cafe a q64 explain the difference between promise and observable in angular read answer on a href https www fullstack cafe fullstack cafe a q65 what happens if you use script tag inside template read answer on a href https www fullstack cafe fullstack cafe a q66 what is the option to choose between inline and external template file read answer on a href https www fullstack cafe fullstack cafe a q67 what s new in angular 8 read answer on a href https www fullstack cafe fullstack cafe a q68 angular 8 what is bazel read answer on a href https www fullstack cafe fullstack cafe a q69 angular 8 what is angular ivy read answer on a href https www fullstack cafe fullstack cafe a q70 angular 8 explain lazy loading in angular 8 read answer on a href https www fullstack cafe fullstack cafe a q71 name some security best practices in angular read answer on a href https www fullstack cafe fullstack cafe a q72 how to set headers for every request in angular read answer on a href https www fullstack cafe fullstack cafe a q73 what is ngupgrage read answer on a href https www fullstack cafe fullstack cafe a q74 what are the mapping rules between angular component and custom element read answer on a href https www fullstack cafe fullstack cafe a q75 why would you use renderer methods instead of using native element methods read answer on a href https www fullstack cafe fullstack cafe a q76 angular 9 what are some new features in angular 9 read answer on a href https www fullstack cafe fullstack cafe a q77 do i need to bootstrap custom elements read answer on a href https www fullstack cafe fullstack cafe a q78 how do you create application to use scss what changed for angular 6 read answer on a href https www fullstack cafe fullstack cafe a q79 name and explain some angular module loading examples read answer on a href https www fullstack cafe fullstack cafe a q80 what does detectchanges do in angular jasmine tests read answer on a href https www fullstack cafe fullstack cafe a q81 why would you use lazy loading modules in angular app read answer on a href https www fullstack cafe fullstack cafe a q82 when does a lazy loaded module is loaded read answer on a href https www fullstack cafe fullstack cafe a q83 what are the lifecycle hooks for components and directives read answer on a href https www fullstack cafe fullstack cafe a q84 when should i store the subscription instances and invoke unsubscribe during the ngondestroy life cycle and when can i simply ignore them read answer on a href https www fullstack cafe fullstack cafe a q85 what would be a good use for ngzone service read answer on a href https www fullstack cafe fullstack cafe a q86 what is ivy renderer is it supported by angular 7 read answer on a href https www fullstack cafe fullstack cafe a q87 what is incremental dom how is it different from virtual dom read answer on a href https www fullstack cafe fullstack cafe a q88 what is the difference between pure and impure pipe read answer on a href https www fullstack cafe fullstack cafe a q89 what is zone in angular read answer on a href https www fullstack cafe fullstack cafe a q90 how to detect a route change in angular read answer on a href https www fullstack cafe fullstack cafe a q91 what are the advantages with aot read answer on a href https www fullstack cafe fullstack cafe a q92 could i use jquery with angular read answer on a href https www fullstack cafe fullstack cafe a q93 how would you insert an embedded view from a prepared templateref read answer on a href https www fullstack cafe fullstack cafe a q94 are there any pros cons especially performance wise in using local storage to replace cookie functionality read answer on a href https www fullstack cafe fullstack cafe a q95 what does a just in time jit compiler do in general read answer on a href https www fullstack cafe fullstack cafe a q96 angular 8 why we should use bazel for angular builds read answer on a href https www fullstack cafe fullstack cafe a q97 what is the need for systemjs in angular read answer on a href https www fullstack cafe fullstack cafe a q98 what is reactive programming and how does it relate to angular read answer on a href https www fullstack cafe fullstack cafe a q99 explain the purpose of service workers in angular read answer on a href https www fullstack cafe fullstack cafe a q100 why do we need compilation process read answer on a href https www fullstack cafe fullstack cafe a q101 angular 9 how would you compare view engine vs ivy read answer on a href https www fullstack cafe fullstack cafe a q102 what is the angular equivalent to an angularjs watch read answer on a href https www fullstack cafe fullstack cafe a q103 why incremental dom is tree shakable read answer on a href https www fullstack cafe fullstack cafe a q104 what is the difference between behaviorsubject vs observable read answer on a href https www fullstack cafe fullstack cafe a q105 what s new in angular 7 read answer on a href https www fullstack cafe fullstack cafe a q106 name some differences between systemjs vs webpack read answer on a href https www fullstack cafe fullstack cafe a q107 what are observable creation functions read answer on a href https www fullstack cafe fullstack cafe a q108 is there no equivalent to scope emit or scope broadcast in angular read answer on a href https www fullstack cafe fullstack cafe a q109 what is the default compilation for angular 5 read answer on a href https www fullstack cafe fullstack cafe a q110 could you provide some particular examples of using ngzone read answer on a href https www fullstack cafe fullstack cafe a q111 why angular uses url segment read answer on a href https www fullstack cafe fullstack cafe a q112 when to use query parameters versus matrix parameters read answer on a href https www fullstack cafe fullstack cafe a q113 angular 8 how does ivy affect the re build time read answer on a href https www fullstack cafe fullstack cafe a q114 angular 8 what are some changes in location module read answer on a href https www fullstack cafe fullstack cafe a q115 do you know how you can run angularjs and angular side by side read answer on a href https www fullstack cafe fullstack cafe a q116 how would you extract webpack config from angular cli project read answer on a href https www fullstack cafe fullstack cafe a q117 just in time jit vs ahead of time aot compilation explain the difference read answer on a href https www fullstack cafe fullstack cafe a q118 angular 9 what is locality principle for ivy read answer on a href https www fullstack cafe fullstack cafe a q119 angular 9 explain improvements in tree shaking read answer on a href https www fullstack cafe fullstack cafe a q120 why did the google team go with incremental dom instead of virtual dom read answer on a href https www fullstack cafe fullstack cafe a toc a name angularjs angularjs a interview questions q1 why to use angularjs answer there are following reasons to choose angularjs as a web development framework 1 it is based on mvc pattern which helps you to organize your web apps or web application properly 2 it extends html by attaching directives to your html markup with new attributes or tags and expressions in order to define very powerful templates 3 it also allows you to create your own directives making reusable components that fill your needs and abstract your dom manipulation logic 4 it supports two way data binding i e connects your html views to your javascript objects models seamlessly in this way any change in model will update the view and vice versa without any dom manipulation or event handling 5 it encapsulates the behavior of your application in controllers which are instantiated with the help of dependency injection 6 it supports services that can be injected into your controllers to use some utility code to fullfil your need for example it provides http service to communicate with rest service 7 it supports dependency injection which helps you to test your angular app code very easily 8 also angularjs is mature community to help you it has widely support over the internet source github com krosti q2 what is the difference between ng show ng hide and ng if directives answer ng show ng hide will always insert the dom element but will display hide it based on the condition ng if will not insert the dom element until the condition is not fulfilled ng if is better when we needed the dom to be loaded conditionally as it will help load page bit faster compared to ng show ng hide we only need to keep in mind what the difference between these directives is so deciding which one to use totally depends on the task requirements source codementor io q3 does angularjs has dependency on jquery answer angularjs has no dependency on jquery library but it can be used with jquery library source github com krosti q4 how do you hide an html element via a button click in angularjs answer this can be done by using the ng hide directive in conjunction with a controller to hide an html element on button click html div ng controller myctrl button ng click hide hide element button p ng hide ishide hello world p div js function myctrl scope scope ishide false scope hide function scope ishide true source codementor io q5 what is a singleton pattern and where we can find it in angularjs answer is a great pattern that restricts the use of a class more than once we can find singleton pattern in angular in dependency injection and in the services in a sense if the you do 2 times new object without this pattern the you will be alocating 2 pieces of memory for the same object with singleton pattern if the object exists it ll be reused source codementor io q6 what are the angularjs features answer the features of angularjs are listed below 1 modules 2 directives 3 templates 4 scope 5 expressions 6 data binding 7 mvc model view controller 8 validations 9 filters 10 services 11 routing 12 dependency injection 13 testing source github com krosti q7 when dependent modules of a module are loaded answer a module might have dependencies on other modules the dependent modules are loaded by angular before the requiring module is loaded in other words the configuration blocks of the dependent modules execute before the configuration blocks of the requiring module the same is true for the run blocks each module can only be loaded once even if multiple other modules require it source github com krosti q8 what is angular s prefixes and answer to prevent accidental name collisions with your code angular prefixes names of public objects with and names of private objects with so do not use the or prefix in your code source github com krosti q9 what are filters in angularjs answer filters are used to format data before displaying it to the user they can be used in view templates controllers services and directives there are some built in filters provided by angularjs like as currency date number orderby lowercase uppercase etc you can also create your own filters filter syntax expression filter source github com krosti q10 what are directives in angularjs answer angularjs directives are a combination of angularjs template markups html attributes or elements or css classes and supporting javascript code the javascript directive code defines the template data and behaviors of the html elements angularjs directives are used to extend the html vocabulary i e they decorate html elements with new behaviors and help to manipulate html elements attributes in interesting way there are some built in directives provided by angularjs like as ng app ng controller ng repeat ng model etc source github com krosti q11 what are directives answer directives are markers on a dom element such as an attribute element name comment or css class that tell angularjs s html compiler compile to attach a specified behavior to that dom element e g via event listeners or even to transform the dom element and its children angular comes with a set of these directives built in like ngbind ngmodel and ngclass much like you create controllers and services you can create your own directives for angular to use when angular bootstraps your application the html compiler traverses the dom matching directives against the dom elements source codementor io q12 explain what is a scope in angularjs answer scope is an object that refers to the application model it is an execution context for expressions scopes are arranged in hierarchical structure which mimic the dom structure of the application scopes can watch expressions and propagate events scopes are objects that refer to the model they act as glue between controller and view source codementor io q13 what directive would you use to hide elements from the html dom by removing them from that dom not changing their styling answer the ngif directive when applied to an element will remove that element from the dom if it s condition is false source codementor io q14 what is the difference between one way binding and two way binding answer one way binding implies that the scope variable in the html will be set to the first value its model is bound to i e assigned to two way binding implies that the scope variable will change it s value everytime its model is assigned to a different value source codementor io q15 what is auto bootstrap process in angularjs answer angular initializes automatically upon domcontentloaded event or when the angular js script is downloaded to the browser and the document readystate is set to complete at this point angularjs looks for the ng app directive which is the root of angular app compilation and tells about angularjs part within dom when the ng app directive is found then angular will 1 load the module associated with the directive 2 create the application injector 3 compile the dom starting from the ng app root element this process is called auto bootstrapping html html body ng app myapp div ng controller ctrl hello msg div script src lib angular js script script var app angular module myapp app controller ctrl function scope scope msg world script body html source github com krosti q16 how would you specify that a scope variable should have one time binding only answer by using in front of it source codementor io q17 what is scope in angularjs answer scope is a javascript object that refers to the application model it acts as a context for evaluating angular expressions basically it acts as glue between controller and view scopes are hierarchical in nature and follow the dom structure of your angularjs app angularjs has two scope objects rootscope and scope source github com krosti q18 how do you disable a button depending on a checkbox s state answer we can use the ng disabled directive and bind its condition to the checkbox s state html body ng app label input type checkbox ng model checked disable button label button ng disabled checked select me button body source codementor io q19 what is scope hierarchy answer the scope object used by views in angularjs are organized into a hierarchy there is a root scope and the rootscope can has one or more child scopes each controller has its own scope which is a child of the rootscope so whatever variables you create on scope within controller these variables are accessible by the view based on this controller for example suppose you have two controllers parentcontroller and childcontroller as given below html html head script src lib angular js script script var app angular module scopechain app controller parentcontroller function scope scope managername shailendra chauhan scope parent companyname dot net tricks attached to rootscope app controller childcontroller function scope controller scope teamleadname deepak chauhan script head body ng app scopechain div ng controller parentcontroller table style border 2px solid e37112 caption parent controller caption tr td manager name td td managername td tr tr td company name td td companyname td tr tr td table ng controller childcontroller style border 2px solid 428bca caption child controller caption tr td team lead name td td teamleadname td tr tr td reporting to td td managername td tr tr td company name td td companyname td tr table td tr table div body html source github com krosti q20 how do you share data between controllers answer create an angularjs service that will hold the data and inject it inside of the controllers using a service is the cleanest fastest and easiest way to test however there are couple of other ways to implement data sharing between controllers like using events using parent nextsibling controlleras etc to directly access the controllers using the rootscope to add the data on not a good practice the methods above are all correct but are not the most efficient and easy to test source codementor io q21 what are the basic steps to unit test an angularjs filter answer inject the module that contains the filter provide any mocks that the filter relies on get an instance of the filter using filter yourfiltername assert your expectations source codementor io q22 what are the basic steps to unit test an angularjs filter answer 1 inject the module that contains the filter 2 provide any mocks that the filter relies on 3 get an instance of the filter using filter yourfiltername 4 assert your expectations source codementor io q23 what are the advantage of angularjs answer there are following advantages of angularjs 1 data binding angularjs provides a powerful data binding mechanism to bind data to html elements by using scope 2 customize extensible angularjs is customized and extensible as per you requirement you can create your own custom components like directives services etc 3 code reusability angularjs allows you to write code which can be reused for example custom directive which you can reuse 4 support angularjs is mature community to help you it has widely support over the internet also angularjs is supported by google which gives it an advantage 5 compatibility angularjs is based on javascript which makes it easier to integrate with any other javascript library and runnable on browsers like ie opera ff safari chrome etc 6 testing angularjs is designed to be testable so that you can test your angularjs app components as easy as possible it has dependency injection at its core which makes it easy to test source github com krosti q24 explain what is services in angularjs answer in angularjs services are the singleton objects or functions that are used for carrying out specific tasks it holds some business logic and these function can be called as controllers directive filters and so on source github com krosti q25 explain what is directive and mention what are the different types of directive answer during compilation process when specific html constructs are encountered a behaviour or function is triggered this function is referred as directive it is executed when the compiler encounters it in the dom different types of directives are element directives attribute directives css class directives comment directives source guru99 com q26 how would you validate a text input field for a twitter username including the symbol read answer on a href https www fullstack cafe fullstack cafe a q27 explain what is the difference between link and compile in angularjs read answer on a href https www fullstack cafe fullstack cafe a q28 how would you react on model changes to trigger some further action read answer on a href https www fullstack cafe fullstack cafe a q29 what is jqlite jquery lite read answer on a href https www fullstack cafe fullstack cafe a q30 what should be the maximum number of concurrent watches read answer on a href https www fullstack cafe fullstack cafe a q31 what is a digest cycle in angularjs read answer on a href https www fullstack cafe fullstack cafe a q32 where should we implement the dom manipulation in angularjs read answer on a href https www fullstack cafe fullstack cafe a q33 is it a good or bad practice to use angularjs together with jquery read answer on a href https www fullstack cafe fullstack cafe a q34 if you were to migrate from angular 1 4 to angular 1 5 what is the main thing that would need refactoring read answer on a href https www fullstack cafe fullstack cafe a q35 explain what angular js routes does read answer on a href https www fullstack cafe fullstack cafe a q36 explain what is angular expression explain what is key difference between angular expressions and javascript expressions read answer on a href https www fullstack cafe fullstack cafe a q37 what is restrict option in directive read answer on a href https www fullstack cafe fullstack cafe a q38 how would you make an angular service return a promise read answer on a href https www fullstack cafe fullstack cafe a q39 what is the role of services in angularjs and name any services made available by default read answer on a href https www fullstack cafe fullstack cafe a q40 how do you reset a timeout interval and disable a watch read answer on a href https www fullstack cafe fullstack cafe a q41 what are different ways to invoke a directive read answer on a href https www fullstack cafe fullstack cafe a q42 what is the role of ng app ng init and ng model directives read answer on a href https www fullstack cafe fullstack cafe a q43 how to access jqlite read answer on a href https www fullstack cafe fullstack cafe a q44 what is an interceptor what are common uses of it read answer on a href https www fullstack cafe fullstack cafe a q45 what is manual bootstrap process in angularjs read answer on a href https www fullstack cafe fullstack cafe a q46 what makes the angular copy method so powerful read answer on a href https www fullstack cafe fullstack cafe a q47 explain what is linking function and type of linking function read answer on a href https www fullstack cafe fullstack cafe a q48 explain what is injector read answer on a href https www fullstack cafe fullstack cafe a q49 when creating a directive it can be used in several different ways in the view which ways for using a directive do you know how do you define the way your directive will be used read answer on a href https www fullstack cafe fullstack cafe a q50 when should you use an attribute versus an element read answer on a href https www fullstack cafe fullstack cafe a q51 explain what is di dependency injection and how an object or function can get a hold of its dependencies read answer on a href https www fullstack cafe fullstack cafe a q52 explain how scope apply works read answer on a href https www fullstack cafe fullstack cafe a q53 how angularjs is compiled read answer on a href https www fullstack cafe fullstack cafe a q54 what is ddo directive definition object read answer on a href https www fullstack cafe fullstack cafe a q55 can you define multiple restrict options on a directive read answer on a href https www fullstack cafe fullstack cafe a q56 what is the difference between scope and scope read answer on a href https www fullstack cafe fullstack cafe a q57 how would you implement application wide exception handling in your angular app read answer on a href https www fullstack cafe fullstack cafe a q58 what is scope and rootscope read answer on a href https www fullstack cafe fullstack cafe a q59 how would you programatically change or adapt the template of a directive before it is executed and transformed read answer on a href https www fullstack cafe fullstack cafe a q60 how angularjs compilation is different from other javascript frameworks read answer on a href https www fullstack cafe fullstack cafe a q61 how directives are compiled read answer on a href https www fullstack cafe fullstack cafe a q62 what are compile pre and post linking in angularjs read answer on a href https www fullstack cafe fullstack cafe a toc a name azure azure a interview questions q1 what are the benefits of severless applications answer avoid managing servers flexible scaling by demand pay for time and resources it takes to execute your code q2 what is azure cloud service answer by creating a cloud service you can deploy a multi tier web application in azure defining multiple roles to distribute processing and allow flexible scaling of your application a cloud service consists of one or more web roles and or worker roles each with its own application files and configuration azure websites and virtual machines also enable web applications on azure the main advantage of cloud services is the ability to support more complex multi tier architectures source mindmajix com q3 what is a web role answer a web role provides a dedicated internet information services iis web server used for hosting front end web applications source mindmajix com q4 what is azure functions answer azure functions is a solution for easily running small pieces of code or functions in the cloud we can write just the code we need for the problem at hand without worrying about a whole application or the infrastructure to run it and use language of our choice such as c f node js java or php azure functions lets us develop serverless applications on microsoft azure q5 what is serverless computing answer serverless computing is the abstraction of servers infrastructure and operating systems when you build serverless apps you don t need to provision and manage any servers so you can take your mind off infrastructure concerns serverless computing is driven by the reaction to events and triggers happening in near real time in the cloud as a fully managed service server management and capacity planning are invisible to the developer and billing is based just on resources consumed or the actual time your code is running q6 is azure table storage nosql answer azure table storage is a service that stores structured nosql data in the cloud providing a key attribute store with a schemaless design source docs microsoft com q7 what is kudu answer every azure app service web application includes a hidden service site called kudu kudu console for example is a debugging service for azure platform which allows you to explore your web app and surf the bugs present on it like deployment logs memory dump and uploading files to your web app and adding json endpoints to your web apps etc q8 what is a role instance answer a role instance is a virtual machine on which the application code and role configuration run a role can have multiple instances defined in the service configuration file source mindmajix com q9 what is a guest operating system answer the guest operating system for a cloud service is the operating system installed on the role instances virtual machines on which your application code runs source mindmajix com q10 what is azure blob storage answer azure blob storage is microsoft s object storage solution for the cloud blob storage is optimized for storing massive amounts of unstructured data such as text or binary data azure storage offers three types of blobs block blobs store text and binary data up to about 4 7 tb block blobs are made up of blocks of data that can be managed individually append blobs are made up of blocks like block blobs but are optimized for append operations append blobs are ideal for scenarios such as logging data from virtual machines page blobs store random access files up to 8 tb in size page blobs store the vhd files that back vms source docs microsoft com q11 how to include external dll into azure function answer add the assembly to the bin directory using kudu include the assembly and code the azure function to use it add the using declaration so that the methods within the dll can be accessed cs r d home site wwwroot greetingsassemblyreference bin benjamin dll using benjamin q12 what is an azure subscription answer a windows azure subscription grants you access to windows azure services and to the windows azure platform management portal a windows azure subscription has two aspects the windows azure account through which resource usage is reported services are billed source blogs msdn microsoft com q13 what is azure arm answer the azure resource manager arm is the service used to provision resources in your azure subscription it was first announced at build 2014 when the new azure portal portal azure com was announced and provides a new set of api s that are used to provision resources the arm is template driven using templates to deploy all resources declarative you declare the resources you want to have instead of imperative where you need to make rules idempotent you can deploy the template over and over again without affecting the current state of resources multi service all services can be deployed using azure resource manager website storage vms etc multi region you can choose in which region you would like to deploy the resources extensible azure resource manager is extensible with more resource providers and thus resources source azurestack blog q14 explain the azure arm templates answer an azure resource template is a json file used to deploy resources with azure resource manager it defines parameters variables resources the actual resources that you are going to deploy or update outputs source onlinetech com q15 what is a cloud service role answer a cloud service role is comprised of application files and a configuration a cloud service can have two types of roles web role worker role source mindmajix com q16 what is azure redis cache answer redis is an open source bsd licensed in memory data structure store used as a database cache and message broker azure redis cache is based on the popular open source redis cache it gives you access to a secure dedicated redis cache managed by microsoft and accessible from any application within azure it supports data structures such as strings hashes lists sets sorted sets with range queries bitmaps hyperloglogs and geospatial indexes with radius queries source quora com q17 what is azure service fabric answer azure service fabric is a distributed systems platform that makes it easy to package deploy and manage scalable and reliable micro services service fabric also addresses the significant challenges in developing and managing cloud applications developers and administrators can avoid complex infrastructure problems and focus on implementing mission critical demanding workloads that are scalable reliable and manageable service fabric represents the next generation middleware platform for building and managing these enterprise class tier 1 cloud scale applications source quora com q18 how can i use applications with azure ad that i m using on premises answer azure ad gives you an easy and secure way to connect to the web applications you choose you can access these applications in the same way you access your saas apps in azure ad no need for a vpn to change your network infrastructure source quora com q19 what is azure resource group answer resource groups rg in azure is an approach to group a collection of assets in logical groups for easy or even automatic provisioning monitoring and access control and for more effective management of their costs the underlying technology that powers resource groups is the azure resource manager arm source onlinetech com q20 what is azure key vault answer key vault help you safeguard cryptographic keys and other secrets used by your applications whenever they are on premise or in the cloud more and more services on azure are now integrating azure key vault as their secret key source for things like deployments data or even disk encryption source codeisahighway com q21 what is a blob container answer a container organizes a set of blobs similar to a folder in a file system all blobs reside within a container a storage account can contain an unlimited number of containers and a container can store an unlimited number of blobs source docs microsoft com q22 how can you stop a vm using power shell read answer on a href https www fullstack cafe fullstack cafe a q23 how can you retrieve the state of a particular vm read answer on a href https www fullstack cafe fullstack cafe a q24 how can one create a vm in azure cli read answer on a href https www fullstack cafe fullstack cafe a q25 what do you know about azure webjobs read answer on a href https www fullstack cafe fullstack cafe a q26 what is azure mfa read answer on a href https www fullstack cafe fullstack cafe a q27 how can one create a virtual machine in powershell read answer on a href https www fullstack cafe fullstack cafe a q28 how much storage can i use with a virtual machine read answer on a href https www fullstack cafe fullstack cafe a q29 is it possible to add an existing vm to an availability set read answer on a href https www fullstack cafe fullstack cafe a q30 what is a worker role read answer on a href https www fullstack cafe fullstack cafe a q31 what is azure vpn read answer on a href https www fullstack cafe fullstack cafe a q32 what is the difference between service bus queues and storage queues read answer on a href https www fullstack cafe fullstack cafe a q33 what are the differences between subscription administrator and directory administrator read answer on a href https www fullstack cafe fullstack cafe a q34 what is a vnet read answer on a href https www fullstack cafe fullstack cafe a q35 what is key vault in azure read answer on a href https www fullstack cafe fullstack cafe a q36 what are stateful and stateless microservices for service fabric read answer on a href https www fullstack cafe fullstack cafe a q37 do scale sets work with azure availability sets read answer on a href https www fullstack cafe fullstack cafe a q38 what are network security groups read answer on a href https www fullstack cafe fullstack cafe a q39 what are update domains read answer on a href https www fullstack cafe fullstack cafe a q40 what are fault domains read answer on a href https www fullstack cafe fullstack cafe a q41 what is an availability set read answer on a href https www fullstack cafe fullstack cafe a q42 what are virtual machine scale sets in azure read answer on a href https www fullstack cafe fullstack cafe a q43 what is deployment environments read answer on a href https www fullstack cafe fullstack cafe a q44 what are cloud service roles and why do we use them read answer on a href https www fullstack cafe fullstack cafe a q45 what is azure table storage read answer on a href https www fullstack cafe fullstack cafe a q46 what is azure resource manager and why we need to use one read answer on a href https www fullstack cafe fullstack cafe a q47 what is azure search read answer on a href https www fullstack cafe fullstack cafe a q48 what are redis databases read answer on a href https www fullstack cafe fullstack cafe a q49 is it possible to create a virtual machine using azure resource manager in a virtual network that was created using classic deployment read answer on a href https www fullstack cafe fullstack cafe a q50 how to create a new storage account and container using power shell read answer on a href https www fullstack cafe fullstack cafe a q51 what is the meaning of application partitions read answer on a href https www fullstack cafe fullstack cafe a q52 what is the difference between price software price and total price in the cost structure for virtual machine offers in the azure marketplace read answer on a href https www fullstack cafe fullstack cafe a q53 what is azure vnet read answer on a href https www fullstack cafe fullstack cafe a q54 how to create a network security group and a network security group rule read answer on a href https www fullstack cafe fullstack cafe a q55 how are azure marketplace subscriptions priced read answer on a href https www fullstack cafe fullstack cafe a q56 what are special azure regions read answer on a href https www fullstack cafe fullstack cafe a q57 explain azure nsg read answer on a href https www fullstack cafe fullstack cafe a q58 what vpn types are supported by azure read answer on a href https www fullstack cafe fullstack cafe a toc a name behavioral behavioral a interview questions q1 how do you spend your time outside work answer q2 why are you interested in this opportunity answer q3 why do you want to work for x company answer the interviewer is looking for similar things whether asking about company or position the hiring manager wants to learn about your career goals and how this position fits into your plan make sure that you are sincerely interested in the job and will be motivated to perform if hired find out what you know about the company industry position and if you took the time to research understand your priorities and preferences which aspects of the company and or job are appealing to you and why source github com yangshun tech interview handbook q4 why do you want to leave your current last company answer here are some things your interviewer is likely looking for did you leave for a good reason did you leave voluntarily did you leave on good terms what are your work values source biginterview com q5 a hammer and a nail cost 1 10 together and the hammer costs one dollar more than the nail how much does the nail cost answer source startups co q6 what are you looking for in your next role answer source github com yangshun tech interview handbook q7 how large was the last team that you worked on answer q8 do you plan to advance your education while working here answer q9 what are your hobbies answer q10 tell me the story of how you became who you are today and what made you apply to x answer q11 why do you think you re a good fit for this company answer q12 what s are your favorite five apps answer q13 why do you want to come work at a startup as opposed to an established company answer q14 share one of your trips with us answer q15 what project are you currently working on answer q16 do prefer to work at a single company for a long time or would you rather take a job that suits you at the time answer q17 can you give an example of a career goal that you set and how you went about meeting it answer q18 how quickly can you learn to use a new technology answer q19 what does belong anywhere mean to you answer q20 can you list any deal breakers that would deter you from working for an employer answer q21 are you more interested in a career that offers great compensation flexibility or the chance to do something meaningful answer q22 what are you excited about answer q23 why do people resist change answer source github com q24 can you tell me what part of your resume you are most proud of answer q25 tell me about your last project what worked and what didn t answer q26 what would your previous boss say your biggest strength was answer q27 how do you stay up to date with the latest technologies answer q28 what is the hardest technical problem you have run into answer q29 what have you built as your side project answer q30 if someone has a different viewpoint to do a project like different programming language how would handle this situation answer q31 what are your personal goals answer q32 what was the most fun thing you did recently answer q33 how do you deal with difficult coworkers think about specific instances where you resolved conflicts answer q34 state an experience about how you solved a technical problem be specific about the diagnosis and process answer q35 what is your biggest strength and area of growth answer q36 have you worked in a distributed team before what challenges did you face answer q37 what s the most difficult part of being a member of a team for you read answer on a href https www fullstack cafe fullstack cafe a q38 tell me about a time your work responsibilities got a little overwhelming what did you do read answer on a href https www fullstack cafe fullstack cafe a q39 where do you want to be in five years read answer on a href https www fullstack cafe fullstack cafe a q40 tell me about a time in which you had a conflict and needed to influence somebody else read answer on a href https www fullstack cafe fullstack cafe a q41 what can you actually do for us read answer on a href https www fullstack cafe fullstack cafe a q42 how did you win over the difficult employees read answer on a href https www fullstack cafe fullstack cafe a q43 what are your three strengths and three weaknesses read answer on a href https www fullstack cafe fullstack cafe a q44 what does it mean to be a professional developer read answer on a href https www fullstack cafe fullstack cafe a q45 would you prefer working on green field or brown field projects why read answer on a href https www fullstack cafe fullstack cafe a q46 describe company x to your grandmother read answer on a href https www fullstack cafe fullstack cafe a q47 tell me a time when you predicted something read answer on a href https www fullstack cafe fullstack cafe a q48 tell me a situation where you would have done something differently from what you actually did read answer on a href https www fullstack cafe fullstack cafe a q49 in my professional experience have you worked on something without getting approval from your manager read answer on a href https www fullstack cafe fullstack cafe a q50 explain me your toughest project and the working architecture read answer on a href https www fullstack cafe fullstack cafe a q51 what makes good code good read answer on a href https www fullstack cafe fullstack cafe a q52 if you were to open your own business in the future what kind of business will you open and why read answer on a href https www fullstack cafe fullstack cafe a q53 would you rather be good at a lot of things or an expert at one thing read answer on a href https www fullstack cafe fullstack cafe a q54 tell me something you are learning right now read answer on a href https www fullstack cafe fullstack cafe a q55 tell me about a challenge you faced recently in your role how did you tackle it what was the outcome read answer on a href https www fullstack cafe fullstack cafe a q56 what does your best day of work look like read answer on a href https www fullstack cafe fullstack cafe a q57 tell me about a time when you had a conflict with a co worker read answer on a href https www fullstack cafe fullstack cafe a q58 what is the best gift you have ever given or received read answer on a href https www fullstack cafe fullstack cafe a q59 what is something that you had to push for in your previous projects read answer on a href https www fullstack cafe fullstack cafe a q60 what s the best advice you ve recently received read answer on a href https www fullstack cafe fullstack cafe a q61 can you explain this gap in your resume read answer on a href https www fullstack cafe fullstack cafe a q62 what is something that you don t want from your last internship job read answer on a href https www fullstack cafe fullstack cafe a q63 if you had an unlimited budget and you could go somewhere where would you go read answer on a href https www fullstack cafe fullstack cafe a q64 what large problems in the world would you solve today read answer on a href https www fullstack cafe fullstack cafe a q65 what frustrates you read answer on a href https www fullstack cafe fullstack cafe a q66 if you had an unlimited budget and you could buy one gift for one person what would you buy and who would you buy it for read answer on a href https www fullstack cafe fullstack cafe a q67 tell me about a time you needed information from someone who wasn t responsive what did you do read answer on a href https www fullstack cafe fullstack cafe a q68 what is the most exceedingly bad misstep you ve made at any point read answer on a href https www fullstack cafe fullstack cafe a q69 what books have inspired you in you live read answer on a href https www fullstack cafe fullstack cafe a q70 what is the biggest mistake that you made in your last position read answer on a href https www fullstack cafe fullstack cafe a q71 what is something new that you can teach your interviewer in a few minutes read answer on a href https www fullstack cafe fullstack cafe a q72 what are some of the new ideas you would implement in this position read answer on a href https www fullstack cafe fullstack cafe a q73 are you comfortable assuming responsibilities outside your job description read answer on a href https www fullstack cafe fullstack cafe a q74 what is the most challenging aspect of your current project read answer on a href https www fullstack cafe fullstack cafe a q75 tell me something about yourself and why you d be a good fit for the position read answer on a href https www fullstack cafe fullstack cafe a q76 what are some of the best and worst things about your current company read answer on a href https www fullstack cafe fullstack cafe a q77 how do you respond to constructive criticism read answer on a href https www fullstack cafe fullstack cafe a q78 explain streaming and how you would implement it read answer on a href https www fullstack cafe fullstack cafe a q79 apart from technical knowledge what did you learn during your work at y read answer on a href https www fullstack cafe fullstack cafe a q80 talk about a project you are most passionate about or one where you did your best work read answer on a href https www fullstack cafe fullstack cafe a q81 what was the most difficult bug that you fixed in the past 6 months read answer on a href https www fullstack cafe fullstack cafe a q82 imagine it is your first day here at the company what do you want to work on what features would you improve on read answer on a href https www fullstack cafe fullstack cafe a q83 how do you deal with a failed deadline read answer on a href https www fullstack cafe fullstack cafe a q84 do you prefer to work in a team or individually read answer on a href https www fullstack cafe fullstack cafe a q85 how do you tackle challenges name a difficult challenge you faced while working on a project how you overcame it and what you learned read answer on a href https www fullstack cafe fullstack cafe a q86 what are the most interesting projects you have worked on and how might they be relevant to this company s environment read answer on a href https www fullstack cafe fullstack cafe a q87 what is the craziest thing you ve ever done read answer on a href https www fullstack cafe fullstack cafe a q88 what is your superpower read answer on a href https www fullstack cafe fullstack cafe a q89 what is something you had to persevere at for multiple months read answer on a href https www fullstack cafe fullstack cafe a q90 tell me about a time you had to give someone terrible news read answer on a href https www fullstack cafe fullstack cafe a q91 imagine there s a perfect clone of yourself imagine that that clone is your boss would you like to work for him her read answer on a href https www fullstack cafe fullstack cafe a q92 interview me read answer on a href https www fullstack cafe fullstack cafe a q93 why are quora s answers better than yahoo answers ones read answer on a href https www fullstack cafe fullstack cafe a q94 let s play a game defend cobol against modern languages and try to find as many reasonable arguments as you can read answer on a href https www fullstack cafe fullstack cafe a q95 where will you be in 10 years read answer on a href https www fullstack cafe fullstack cafe a q96 you are my boss and i m fired inform me read answer on a href https www fullstack cafe fullstack cafe a q97 i want to refactor a legacy system you want to rewrite it from scratch argument then switch our roles read answer on a href https www fullstack cafe fullstack cafe a q98 your boss asks you to lie to the company what s your reaction read answer on a href https www fullstack cafe fullstack cafe a q99 tell me about a time you had a disagreement with your manager read answer on a href https www fullstack cafe fullstack cafe a q100 what would happen if you put a mirror in a scanner read answer on a href https www fullstack cafe fullstack cafe a q101 as a software engineer you want both to innovate and to be predictable how those 2 goals can coexist in the same strategy read answer on a href https www fullstack cafe fullstack cafe a q102 name a situation where you were impressed by a company s customer service read answer on a href https www fullstack cafe fullstack cafe a q103 if you were given 1 million dollars every year for the rest of your life what would you do read answer on a href https www fullstack cafe fullstack cafe a q104 what risks do you feel you should never take read answer on a href https www fullstack cafe fullstack cafe a q105 what is something 90 of people disagree with you about read answer on a href https www fullstack cafe fullstack cafe a q106 is developing software an art a craftsmanship or an engineering endeavour your opinion read answer on a href https www fullstack cafe fullstack cafe a q107 tell me about a time you were uncomfortable and how you dealt with it read answer on a href https www fullstack cafe fullstack cafe a q108 in one word describe yourself read answer on a href https www fullstack cafe fullstack cafe a q109 who do you look to as a role model read answer on a href https www fullstack cafe fullstack cafe a q110 what is the most constructive feedback you have received in your career read answer on a href https www fullstack cafe fullstack cafe a q111 what is broken around you read answer on a href https www fullstack cafe fullstack cafe a q112 if you could travel back in time which advice would you give to your younger self read answer on a href https www fullstack cafe fullstack cafe a toc a name bigdata big data a interview questions q1 what is the meaning of big data and how is it different answer big data is the term to represent all kind of data generated on the internet on the internet over hundreds of gb of data is generated only by online activity here online activity implies web activity blogs text video audio files images email social network activity and so on big data can be referred to data created from all these activities data generated online is mostly in unstructured form big data will also include transactions data in the database system log files along with data generated from smart devices such as sensors iot rfid tags and so on in addition to online activities big data needs specialized systems and software tools to process all unstructured data in fact according to some industry estimates almost 85 of data generated on the internet is unstructured usually relational databases have a structured format and the database is centralized hence with rdbms processing can be quickly done using a query language such as sql on the other hand big data is very large and is distributed across the internet and hence processing big data will need distributed systems and tools to extract information from them big data needs specialized tools such as hadoop hive or others along with high performance hardware and networks to process them source www educba com q2 what are the characteristics of big data answer big data has three main characteristics volume variety and velocity volume characteristic refers to the size of data estimates show that over 3 million gb of data is generated every day processing this volume of data is not possible in a normal personal computer or in a client server network in an office environment with limited compute bandwidth and storage capacities however cloud services provide solutions to handle big data volumes and process them efficiently using distributed computing architectures variety characteristic refers to the format of big data structured or unstructured traditional rdbms fits into the structured format an example of unstructured data format is a video file format image files plain text format from web document or standard ms word documents all have unique formats and so on also to note rdbms does not have the capacity to handle unstructured data formats further all this unstructured data must be grouped and consolidated which creates the need for specialized tools and systems in addition new data is added each day or each minute and data grows continuously hence big data is more synonymous with variety the velocity characteristic refers to the speed at which data is created and the efficiency required to process all the data for example facebook is accessed by over 1 6 billion users in a month likewise there are other social network sites youtube google services etc such data streams must be processed using queries in real time and must be stored without data loss thus velocity characteristic is important in big data processing in addition other characteristics include veracity and value veracity will determine the dependability and reliability of data and value is the value derived by organizations from big data processing source www educba com q3 why is big data important for organizations answer this is the basic big data interview question asked in an interview big data is important because by processing big data organizations can obtain insight information related to cost reduction improvements in products or services to understand customer behaviour and markets effective decision making to become more competitive source www educba com q4 name some tools or systems used in big data processing answer big data processing and analysis can be done using hadoop hive pig mahout flume source www educba com q5 how can big data support organizations answer big data has the potential to support organizations in many ways information extracted from big data can be used in better coordination with customers and stakeholders and to resolve problems improve reporting and analysis for product or service improvements customize products and services to selected markets ensure better information sharing support in management decisions identify new opportunities product ideas and new markets gather data from multiple sources and archive them for future reference maintain databases systems determine performance metrics understand interdependencies between business functions evaluate organizational performance source www educba com q6 explain how big data can be used to increase business value answer while understanding the need for analyzing big data such analysis will help businesses to identify their position in markets and help businesses to differentiate themselves from their competitors for example from the results of big data analysis organizations can understand the need for customized products or can understand potential markets towards increasing revenue and value analyzing big data will involve grouping data from various sources to understand trends and information related to business when big data analysis is done in a planned manner by gathering data from the right sources organizations can easily generate business value and revenue by almost 5 to 20 some examples of such organizations are amazon linkedin walmart and many others source www educba com q7 what is big data solution implementation answer big data solutions are implemented at a small scale first based on a concept as appropriate for the business from the result which is a prototype solution the business solution is scaled further this is the most popular big data interview questions asked in a big data interview some of the best practices followed in the industry include to have clear project objectives and to collaborate wherever necessary gathering data from the right sources ensure the results are not skewed because this can lead to wrong conclusions be prepared to innovate by considering hybrid approaches in processing by including data from structured and unstructured types include both internal and external data sources understand the impact of big data on existing information flows in the organization source www educba com q8 what are the steps involved in big data solutions answer big data solutions follow three standard steps in its implementation they are data ingestion this step will define the approach to extract and consolidate data from multiple sources for example data sources can be social network feeds crm rdbms etc the data extracted from different sources is stored in a hadoop distributed file system hdfs data storage this is the second step the extracted data is stored this storage can be in hdfs or hbase nosql database process the data this is the last step the data stored must be processed processing is done using tools such as spark pig mapreduce and others source www educba com toc a name blockchain blockchain a interview questions q1 what is blockchain answer blockchain is a secure distributed ledger data structure or database that maintains a continuously growing list of ordered records called blocks that are linked using cryptography each block contains a cryptographic hash of the previous block a timestamp and transaction data by design a blockchain is resistant to modification of the data it is an open distributed ledger that can record transactions between two parties efficiently and in a verifiable and permanent way once recorded the data in any given block cannot be altered retroactively without alteration of all subsequent blocks which requires consensus of the network majority source en wikipedia org q2 explain the common structure of blockchains answer blockchains are composed of three core parts block a list of transactions recorded into a ledger over a given period the size period and triggering event for blocks is different for every blockchain chain a hash that links one block to another mathematically chaining them together network the network is composed of full nodes think of them as the computer running an algorithm that is securing the network each node contains a complete record of all the transactions that were ever recorded in that blockchain source dummies com q3 what is the blockchain data structure answer basically the blockchain data structure is explained as a back linked record of blocks of transactions which is ordered it can be saved as a file or in a plain database each block can be recognized by a hash created utilizing the sha256 cryptographic hash algorithm on the header of the block each block mentions a former block also identified as the parent block in the previous block hash field in the block header div class text center img src https vitalflux com wp content uploads 2018 06 blockchain represented as linked list data structure png class img fluid style max width 500px div source cryptoticker io q4 what is the genesis block answer the first block in any blockchain is termed the genesis block if you start at any block and follow the chain backwards chronologically you will arrive at the genesis block the genesis block is statically encoded within the client software that it cannot be changed every node can identify the genesis block s hash and structure the fixed time of creation and the single transactions within thus every node has a secure root from which is possible to build a trusted blockchain on source linkedin com q5 what is blockchain transaction answer transactions are the things that give a blockchain purpose they are the smallest building blocks of a blockchain system transactions generally consist of a recipient address a sender address and a value this is not too different from a standard transaction that you would find on a credit card statement a transaction changes the state of the agreed correct blockchain a blockchain is a shared decentralized distributed state machine this means that all nodes users of the blockchain system independently hold their own copy of the blockchain and the current known state is calculated by processing each transaction in order as it appears in the blockchain source pluralsight com q6 what is the purpose of a blockchain node answer a blockchain exists out of blocks of data these blocks of data are stored on nodes compare it to small servers nodes can be any kind of device mostly computers laptops or even bigger servers nodes form the infrastructure of a blockchain all nodes on a blockchain are connected to each other and they constantly exchange the latest blockchain data with each other so all nodes stay up to date they store spread and preserve the blockchain data so theoretically a blockchain exists on nodes a full node is basically a device like a computer that contains a full copy of the transaction history of the blockchain source lisk io q7 why does blockchain need coins or tokens answer tokens coins are used as a medium of exchange between the states they are digital assets built in to perform a specific function within a blockchain when someone does a transaction there is a change of state and coins are moved from one address to another address apart from that transactions contain some additional data this data can be mutated through the change of state for this reason blockchains need coins or tokens to incentivize the participants to join their networks source mindmajix com q8 what is proof of work answer a proof of work is a piece of data which is difficult costly time consuming to produce but easy for others to verify and which satisfies certain requirements producing a proof of work can be a random process with low probability so that a lot of trial and error is required on average before a valid proof of work is generated difficulty is a measure of how difficult it is to find a hash below a given target source en bitcoin it q9 what is deterministic behavior answer if a b c then no matter what the circumstances a b will always be equal to c that is called deterministic behavior hash functions are deterministic meaning a s hash will always be h a source blockgeeks com q10 explain what do nodes do read answer on a href https www fullstack cafe fullstack cafe a q11 why is the blockchain immutable read answer on a href https www fullstack cafe fullstack cafe a q12 what are the core components of blockchain architecture read answer on a href https www fullstack cafe fullstack cafe a q13 what is mining difficulty read answer on a href https www fullstack cafe fullstack cafe a q14 what is a smart contract read answer on a href https www fullstack cafe fullstack cafe a q15 how are blockchain and distributed ledger different read answer on a href https www fullstack cafe fullstack cafe a q16 what are some advantages of using merke trees read answer on a href https www fullstack cafe fullstack cafe a q17 explain why there is a fixed supply of bitcoins read answer on a href https www fullstack cafe fullstack cafe a q18 what is a hashing function read answer on a href https www fullstack cafe fullstack cafe a q19 what is rsa algorithm read answer on a href https www fullstack cafe fullstack cafe a q20 what are the major elements of the blockchain ecosystem read answer on a href https www fullstack cafe fullstack cafe a q21 what is dapp or decentralised application read answer on a href https www fullstack cafe fullstack cafe a q22 what is merkle trees read answer on a href https www fullstack cafe fullstack cafe a q23 how do verifiers check if a block is valid read answer on a href https www fullstack cafe fullstack cafe a q24 explain why a blockchain needs tokens to operate read answer on a href https www fullstack cafe fullstack cafe a q25 what is a trapdoor function and why is it needed in blockchain development read answer on a href https www fullstack cafe fullstack cafe a q26 what is block data structure in blockchain read answer on a href https www fullstack cafe fullstack cafe a q27 what s the difference between distributed hashtable technology and the bitcoin blockchain read answer on a href https www fullstack cafe fullstack cafe a q28 what is a stealth address read answer on a href https www fullstack cafe fullstack cafe a q29 what is nonce read answer on a href https www fullstack cafe fullstack cafe a q30 what is a blockchain consensus algorithm read answer on a href https www fullstack cafe fullstack cafe a q31 what is a proof of stake read answer on a href https www fullstack cafe fullstack cafe a q32 what is the difference between pow and pos read answer on a href https www fullstack cafe fullstack cafe a q33 explain what is target hash read answer on a href https www fullstack cafe fullstack cafe a q34 what is off chain transaction read answer on a href https www fullstack cafe fullstack cafe a q35 name some widespread platforms for developing blockchain applications read answer on a href https www fullstack cafe fullstack cafe a q36 how is hard fork different from the soft fork in blockchain read answer on a href https www fullstack cafe fullstack cafe a q37 what determines the mining difficulty read answer on a href https www fullstack cafe fullstack cafe a q38 what is a 51 attack read answer on a href https www fullstack cafe fullstack cafe a q39 what are miners really solving read answer on a href https www fullstack cafe fullstack cafe a q40 is it possible to brute force bitcoin address creation in order to steal money read answer on a href https www fullstack cafe fullstack cafe a q41 what can an attacker with 51 of hash power do read answer on a href https www fullstack cafe fullstack cafe a q42 why is git not considered a block chain read answer on a href https www fullstack cafe fullstack cafe a toc a name bootstrap bootstrap a interview questions q1 explain bootstrap answer bootstrap is a platform for web development that is based on front end framework and creates exceptional responsive designs it is fast easy and has multiple templates designed using html and css these templates are used for forms tables buttons typography modals tables navigation carousels and images bootstrap also has javascript plugins which are optional bootstrap is preferred for developing mobile web applications source medium com onlineinerview q2 explain what is bootstrap answer bootstrap is css javascript framework for building the rich web applications with minimal effort this framework emphasis more on building mobile web applications source medium com alisonbenhar q3 explain the two codes that are used for code display in bootstrap answer there are two simple ways to display a code in bootstrap code tag in case you wish to display an inline code pre tag in case you have a code with several lines or even a block element source medium com onlineinerview q4 what are the types of layout available in bootstrap answer in bootstrap there are two types of layout available fluid layout fluid layout is used when you want to create a app that is 100 wide and use up all the width of the screen fixed layout for a standard screen you will use fixed layout 940 px option source medium com alisonbenhar q5 what will be the output of the following html code answer consider js ul class list unstyled li item 1 li li item 2 li ul li nested item 2 1 li li nested item 2 2 li li nested item 2 3 li ul li item 3 li ul what will be the output of the following html code answer if we apply list unstyled to a list it will remove the default list style and left margin on the list items but only for the immediate children main list items will be without any style and nested list items will still have default unordered nested list style source toptal com q6 explain why you prefer bootstrap for website development answer bootstrap has features that are way better than other web development platforms it provides an extensive browser support for almost every known browser such as opera chrome firefox safari etc with adequate knowledge of css and html web development becomes easy on bootstrap also it supports mobile applications with the help of responsive design it can adjust css as per the device screen size etc instead of creating multiple files it creates only a single file which reduces any extra effort by the developer source medium com onlineinerview q7 what are the key components of bootstrap answer in total there are five key components of bootstrap i e css multiple css files scaffolding essential for the basic system that consist of grid system background and link styles layout components shares a list of all layouts javascript plugins includes jquery and javascript plugins and customization allows customization of all components for a desired framework source medium com onlineinerview q8 how many types of layout are available in bootstrap answer there are two major layouts for bootstrap i e fluid layout and fixed layout fluid layout is necessary for creating an app that is 100 wider and covers all the screen width fixed layout is used only for a standard screen 940px both layouts can be used for creating a responsive design source medium com onlineinerview q9 why do we use jumbotron in bootstrap answer jumbotron has a very basic function in bootstrap i e highlighting a content it could either be a slogan uvp unique value proposition or probably a headline it increases the heading size and gives a margin for content of the landing page in order to implement jumbotron in a bootstrap use html div class jumbotron jumbotron can have any valid html along with other functions and classes source medium com onlineinerview q10 what is twitter bootstrap answer bootstrap is a sleek intuitive and powerful mobile first front end framework for faster and easier web development it uses html css and javascript source medium com alisonbenhar q11 explain why to choose bootstrap for building the websites answer there are few reason why we choose bootstrap for building websites mobile support for mobile devices it provides full support in one single file rather than in separate file it supports the responsive design including adjusting the css based on the different types of device size of the screen etc it reduces extra effort for developers easy to learn writing application in bootstrap is easy if you know css and html browser support it supports all the popular browsers like firefox opera safari ie etc source medium com alisonbenhar q12 what global styles are applied as a part of bootstrap s default typography answer bootstrap sets the global default font size to 14px with a line height of 1 428 the default font is changed to helvetica and arial with sans serif fallback all these styles are applied to the body and all paragraphs with the addition that p paragraphs receive a bottom margin of half their computed line height which is 10px by default source toptal com q13 what is the procedure to create nav elements in bootstrap answer there are several styling navigation elements available on bootstrap and every style uses the same function i e class nav in order to create tabs or a tabular navigation you can begin with a simple or rather basic unordered list using the function class nav to add the tabs the function class nav tabs can be used source medium com onlineinerview q14 what are glyphicons answer glyphicons are icon fonts which you can use in your web projects glyphicons halflings are not free and require licensing however their creator has made them available for bootstrap projects free of cost to use the icons simply use the following code just about anywhere in your code leave a space between the icon and text for proper padding html span class glyphicon glyphicon search span source medium com alisonbenhar q15 when to use lead in bootstrap answer to add some emphasis to a paragraph add class lead this will give you larger font size lighter weight and a taller line height source medium com alisonbenhar q16 explain the typography and links in bootstrap answer bootstrap sets a basic global display background typography and link styles basic global display sets background color fff on the body typography uses the font family base font size base and line height base attributes as the typographic base link styles sets the global link color via attribute link color and apply link underlines only on hover source medium com alisonbenhar q17 how do you make images responsive answer bootstrap 3 allows to make the images responsive by adding a class img responsive to the img tag this class applies max width 100 and height auto to the image so that it scales nicely to the parent element source medium com alisonbenhar q18 what is missing for a tooltip to show properly answer consider html button type button class btn btn default data toggle tooltip data placement top title example tooltip hover over me button what is missing for a tooltip to show properly answer bootstrap s tooltip plugin is not css only like other plugins are for performance reasons the tooltip plugin is opt in and to use it you must initialize it using javascript with the following example code js function data toggle tooltip tooltip source medium com alisonbenhar q19 what do you mean by bootstrap collapsing elements read answer on a href https www fullstack cafe fullstack cafe a q20 what is a list group in bootstrap and where does it finds its application read answer on a href https www fullstack cafe fullstack cafe a q21 explain modal plugin in bootstrap read answer on a href https www fullstack cafe fullstack cafe a q22 what is a bootstrap container read answer on a href https www fullstack cafe fullstack cafe a q23 why do we use bootstrap carousel plugin read answer on a href https www fullstack cafe fullstack cafe a q24 what is the role of media object in bootstrap and how many types are available read answer on a href https www fullstack cafe fullstack cafe a q25 what are the key components of bootstrap read answer on a href https www fullstack cafe fullstack cafe a q26 what is the step wise procedure for creating basic or vertical forms read answer on a href https www fullstack cafe fullstack cafe a q27 what do you mean by bootstrap well read answer on a href https www fullstack cafe fullstack cafe a q28 what is the difference between the following two lines of code explain your answer read answer on a href https www fullstack cafe fullstack cafe a q29 what will be the default bootstrap look of the alert created with this following code read answer on a href https www fullstack cafe fullstack cafe a q30 explain what the following code does and where they are useful read answer on a href https www fullstack cafe fullstack cafe a q31 what is the role of pagination in bootstrap and what are their classifications read answer on a href https www fullstack cafe fullstack cafe a q32 what is normalize in bootstrap read answer on a href https www fullstack cafe fullstack cafe a q33 consider the html code snippet below what will the output be and why read answer on a href https www fullstack cafe fullstack cafe a q34 explain column ordering in bootstrap read answer on a href https www fullstack cafe fullstack cafe a q35 what is screen reader in bootstrap documentation read answer on a href https www fullstack cafe fullstack cafe a q36 how can you differentiate between bootstrap and foundation read answer on a href https www fullstack cafe fullstack cafe a q37 how many different media queries are used by the bootstrap grid system by default read answer on a href https www fullstack cafe fullstack cafe a q38 what is the class sr only used for is it important or can i remove it read answer on a href https www fullstack cafe fullstack cafe a toc a name c c a interview questions q1 what is c answer c is the programming language for writing microsoft net applications c provides the rapid application development found in visual basic with the power of c its syntax is similar to c syntax and meets 100 of the requirements of oops like the following abstraction encapsulation polymorphism inheritance source c sharpcorner com q2 what is the difference between continue and break statements in c answer using break statement you can jump out of a loop using continue statement you can jump over one iteration and then resume your loop execution source c sharpcorner com q3 what are property accessors answer the get and set portions or blocks of a property are called accessors these are useful to restrict the accessibility of a property the set accessor specifies that we can assign a value to a private field in a property and without the set accessor property it is like a read only field by the get accessor we can access the value of the private field in other words it returns a single value a get accessor specifies that we can access the value of a field publically source c sharpcorner com q4 what is an object answer according to msdn a class or struct definition is like a blueprint that specifies what the type can do an object is basically a block of memory that has been allocated and configured according to the blueprint a program may create many objects of the same class objects are also called instances and they can be stored in either a named variable or in an array or collection client code is the code that uses these variables to call the methods and access the public properties of the object in an object oriented language such as c a typical program consists of multiple objects interacting dynamically objects helps us to access the member of a class or struct either they can be fields methods or properties by using the dot source c sharpcorner com q5 what is enum in c answer an enum is a value type with a set of related named constants often referred to as an enumerator list the enum keyword is used to declare an enumeration it is a primitive data type which is user defined an enum is used to create numeric constants in net framework all the members of enum are of enum type their must be a numeric value for each enum type some points about enum enums are enumerated data type in c enums are strongly typed constant they are strongly typed i e an enum of one type may not be implicitly assigned to an enum of another type even though the underlying value of their members are the same enumerations enums make your code much more readable and understandable enum values are fixed enum can be displayed as a string and processed as an integer the default type is int and the approved types are byte sbyte short ushort uint long and ulong every enum type automatically derives from system enum and thus we can use system enum methods on enums enums are value types and are created on the stack and not on the heap source c sharpcorner com q6 how is exception handling implemented in c answer exception handling is done using four keywords in c try contains a block of code for which an exception will be checked catch it is a program that catches an exception with the help of exception handler finally it is a block of code written to execute regardless whether an exception is caught or not throw throws an exception when a problem occurs source softwaretestinghelp com q7 can this be used within a static method answer we can t use this in static method because keyword this returns a reference to the current instance of the class containing it static methods or any static member do not belong to a particular instance they exist without creating an instance of the class and call with the name of a class not by instance so we can t use this keyword in the body of static methods but in case of extension methods we can use it as the functions parameters source c sharpcorner com q8 define property in c answer properties are members that provide a flexible mechanism to read write or compute the values of private fields in other words by the property we can access private fields in other words we can say that a property is a return type function method with one parameter or without a parameter these are always public data members it uses methods to access and assign values to private fields called accessors source c sharpcorner com q9 what is boxing and unboxing answer boxing and unboxing both are used for type conversion but have some difference boxing boxing is the process of converting a value type data type to the object or to any interface data type which is implemented by this value type when the clr boxes a value means when clr is converting a value type to object type it wraps the value inside a system object and stores it on the heap area in application domain unboxing unboxing is also a process which is used to extract the value type from the object or any implemented interface type boxing may be done implicitly but unboxing have to be explicit by code the concept of boxing and unboxing underlines the c unified view of the type system in which a value of any type can be treated as an object source c sharpcorner com q10 what is the difference between string and stringbuilder in c answer string it s an immutable object that hold string value performance wise string is slow because its create a new instance to override or change the previous value string belongs to system namespace stringbuilder stringbuilder is a mutable object performance wise stringbuilder is very fast because it will use same instance of stringbuilder object to perform any operation like insert value in existing string stringbuilder belongs to system text stringbuilder namespace source c sharpcorner com q11 what are partial classes answer a partial class is only use to splits the definition of a class in two or more classes in a same source code file or more than one source files you can create a class definition in multiple files but it will be compiled as one class at run time and also when you ll create an instance of this class so you can access all the methods from all source file with a same object partial classes can be create in the same namespace it s doesn t allowed to create a partial class in different namespace source c sharpcorner com q12 filter out the first 3 even numbers from the list using linq answer csharp var evennumbers list where x x 2 0 take 3 source medium com q13 why to use finally block in c answer finally block will be executed irrespective of exception so while executing the code in try block when exception is occurred control is returned to catch block and at last finally block will be executed so closing connection to database releasing the file handlers can be kept in finally block source a4academics com q14 what are nullable types in c answer c provides a special data types the nullable types to which you can assign normal range of values as well as null values for example you can store any value from 2 147 483 648 to 2 147 483 647 or null in a nullable int32 variable similarly you can assign true false or null in a nullable bool variable source tutorialspoint com q15 what are generics in c answer generics allow you to delay the specification of the data type of programming elements in a class or a method until it is actually used in the program in other words generics allow you to write a class or method that can work with any data type source c sharpcorner com q16 what is managed or unmanaged code answer managed code the code which is developed in net framework is known as managed code this code is directly executed by clr with the help of managed code execution any language that is written in net framework is managed code unmanaged code the code which is developed outside net framework is known as unmanaged code applications that do not run under the control of the clr are said to be unmanaged and certain languages such as c can be used to write such applications which for example access low level functions of the operating system background compatibility with the code of vb asp and com are examples of unmanaged code source c sharpcorner com q17 what are reference types in c answer the reference types do not contain the actual data stored in a variable but they contain a reference to the variables in other words they refer to a memory location using multiple variables the reference types can refer to a memory location if the data in the memory location is changed by one of the variables the other variable automatically reflects this change in value example of built in reference types are object dynamic and string source tutorialspoint com q18 what you understand by value types and reference types in c net answer in c data types can be of two types value types and reference types value type variables contain their object or data directly if we copy one value type variable to another then we are actually making a copy of the object for the second variable value type member will located into stack and reference member will located in heap always source stackoverflow com q19 what is namespace in c answer a namespace is designed for providing a way to keep one set of names separate from another the class names declared in one namespace does not conflict with the same class names declared in another source tutorialspoint com q20 what is serialization answer serialization means saving the state of your object to secondary memory such as a file 1 binary serialization save your object data into binary format 2 soap serialization save your object data into binary format mainly used in network related communication 3 xmlserialization save your object data into an xml file source c sharpcorner com q21 in how many ways you can pass parameters to a method answer there are three ways that parameters can be passed to a method value parameters this method copies the actual value of an argument into the formal parameter of the function in this case changes made to the parameter inside the function have no effect on the argument reference parameters this method copies the reference to the memory location of an argument into the formal parameter this means that changes made to the parameter affect the argument output parameters this method helps in returning more than one value source tutorialspoint com q22 can you return multiple values from a function in c answer yes using output parameters a return statement can be used for returning only one value from a function however using output parameters you can return two values from a function source tutorialspoint com q23 what is linq in c answer linq stands for language integrated query linq has a great power of querying on any source of data the data source could be collections of objects database or xml files we can easily retrieve data from any object that implements the ienumerable t interface source c sharpcorner com q24 can multiple catch blocks be executed answer no multiple catch blocks can t be executed once the proper catch code executed the control is transferred to the finally block and then the code that follows the finally block gets executed source guru99 com q25 what is an abstract class answer an abstract class is a class which is denoted by abstract keyword and can be used only as a base class an abstract class should always be inherited an instance of the class itself cannot be created if we do not want any program to create an object of a class then such classes can be made abstract any method in the abstract class does not have implementations in the same class but they must be implemented in the child class source softwaretestinghelp com q26 what are custom exceptions answer sometimes there are some errors that need to be handeled as per user requirements custom exceptions are used for them and are used defined exceptions source guru99 com q27 what is the difference between a struct and a class in c answer class and struct both are the user defined data type but have some major difference struct the struct is value type in c and it inherits from system value type struct is usually used for smaller amounts of data struct can t be inherited to other type a structure can t be abstract no need to create object by new keyword do not have permission to create any default constructor class the class is reference type in c and it inherits from the system object type classes are usually used for large amounts of data classes can be inherited to other class a class can be abstract type we can t use an object of a class with using new keyword we can create a default constructor source c sharpcorner com q28 why can t you specify the accessibility modifier for methods inside the interface answer in an interface we have virtual methods that do not have method definition all the methods are there to be overridden in the derived class that s why they all are public source guru99 com q29 what are the different types of classes in c answer the different types of class in c are partial class allows its members to be divided or shared with multiple cs files it is denoted by the keyword partial sealed class it is a class which cannot be inherited to access the members of a sealed class we need to create the object of the class it is denoted by the keyword sealed abstract class it is a class whose object cannot be instantiated the class can only be inherited it should contain at least one method it is denoted by the keyword abstract static class it is a class which does not allow inheritance the members of the class are also static it is denoted by the keyword static this keyword tells the compiler to check for any accidental instances of the static class source softwaretestinghelp com q30 what are dynamic type variables in c answer you can store any type of value in the dynamic data type variable type checking for these types of variables takes place at run time source tutorialspoint com q31 what is the difference between equality operator and equals method in c read answer on a href https www fullstack cafe fullstack cafe a q32 how encapsulation is implemented in c read answer on a href https www fullstack cafe fullstack cafe a q33 what is the difference between dynamic type variables and object type variables read answer on a href https www fullstack cafe fullstack cafe a q34 what is extension method in c and how to use them read answer on a href https www fullstack cafe fullstack cafe a q35 what is lambda expressions in c read answer on a href https www fullstack cafe fullstack cafe a q36 what is virtual method in c read answer on a href https www fullstack cafe fullstack cafe a q37 what is the difference between ref and out keywords read answer on a href https www fullstack cafe fullstack cafe a q38 what is delegates in c and uses of delegates read answer on a href https www fullstack cafe fullstack cafe a q39 what is sealed class in c read answer on a href https www fullstack cafe fullstack cafe a q40 what is an anonymous function in c read answer on a href https www fullstack cafe fullstack cafe a q41 what are the uses of using in c read answer on a href https www fullstack cafe fullstack cafe a q42 what is the difference between overloading and overriding read answer on a href https www fullstack cafe fullstack cafe a q43 what is a destructor in c read answer on a href https www fullstack cafe fullstack cafe a q44 explain anonymous type in c read answer on a href https www fullstack cafe fullstack cafe a q45 refactor the code read answer on a href https www fullstack cafe fullstack cafe a q46 what is reflection in c net read answer on a href https www fullstack cafe fullstack cafe a q47 what is the output of the program below explain your answer read answer on a href https www fullstack cafe fullstack cafe a q48 what is difference between constants and readonly read answer on a href https www fullstack cafe fullstack cafe a q49 given an array of ints write a c method to total all the values that are even numbers read answer on a href https www fullstack cafe fullstack cafe a q50 what is the difference between interface and abstract class read answer on a href https www fullstack cafe fullstack cafe a q51 what is difference between throw exception and throw clause read answer on a href https www fullstack cafe fullstack cafe a q52 what is the use of null coalescing operator in c read answer on a href https www fullstack cafe fullstack cafe a q53 what is the difference between constant and readonly in c read answer on a href https www fullstack cafe fullstack cafe a q54 explain code compilation in c read answer on a href https www fullstack cafe fullstack cafe a q55 what is the difference between virtual method and abstract method read answer on a href https www fullstack cafe fullstack cafe a q56 what is scope of a internal member variable of a c class read answer on a href https www fullstack cafe fullstack cafe a q57 can multiple inheritance implemented in c read answer on a href https www fullstack cafe fullstack cafe a q58 what are the different ways a method can be overloaded read answer on a href https www fullstack cafe fullstack cafe a q59 describe the accessibility modifier protected internal read answer on a href https www fullstack cafe fullstack cafe a q60 what are the differences between a multidimensional array and an array of arrays in c read answer on a href https www fullstack cafe fullstack cafe a q61 explain what is short circuit evaluation in c read answer on a href https www fullstack cafe fullstack cafe a q62 explain the difference between select and where read answer on a href https www fullstack cafe fullstack cafe a q63 when to use arraylist over array in c read answer on a href https www fullstack cafe fullstack cafe a q64 what is an object pool in net read answer on a href https www fullstack cafe fullstack cafe a q65 name difference between is and as operator in c read answer on a href https www fullstack cafe fullstack cafe a q66 what is the difference between func string string and delegate read answer on a href https www fullstack cafe fullstack cafe a q67 what are pointer types in c read answer on a href https www fullstack cafe fullstack cafe a q68 what is marshalling and why do we need it read answer on a href https www fullstack cafe fullstack cafe a q69 what is the difference between dispose and finalize methods in c read answer on a href https www fullstack cafe fullstack cafe a q70 what is scope of a protected internal member variable of a c class read answer on a href https www fullstack cafe fullstack cafe a q71 ienumerable vs list what to use how do they work read answer on a href https www fullstack cafe fullstack cafe a q72 what is indexer in c read answer on a href https www fullstack cafe fullstack cafe a q73 can you create a function in c which can accept varying number of arguments read answer on a href https www fullstack cafe fullstack cafe a q74 is operator overloading supported in c read answer on a href https www fullstack cafe fullstack cafe a q75 what interface should your data structure implement to make the where method work read answer on a href https www fullstack cafe fullstack cafe a q76 what is the use of conditional preprocessor directive in c read answer on a href https www fullstack cafe fullstack cafe a q77 what is the difference between system applicationexception class and system systemexception class read answer on a href https www fullstack cafe fullstack cafe a q78 what is difference between late binding and early binding in c read answer on a href https www fullstack cafe fullstack cafe a q79 can we have only try block without catch block in c read answer on a href https www fullstack cafe fullstack cafe a q80 in try block if we add return statement whether finally block is executed in c read answer on a href https www fullstack cafe fullstack cafe a q81 what s the difference between stackoverflowerror and outofmemoryerror read answer on a href https www fullstack cafe fullstack cafe a q82 what are the uses of delegates in c read answer on a href https www fullstack cafe fullstack cafe a q83 why to use lock statement in c read answer on a href https www fullstack cafe fullstack cafe a q84 what is the yield keyword used for in c read answer on a href https www fullstack cafe fullstack cafe a q85 what is the output of the program below read answer on a href https www fullstack cafe fullstack cafe a q86 what is the constructor chaining in c read answer on a href https www fullstack cafe fullstack cafe a q87 what is the output of the short program below explain your answer read answer on a href https www fullstack cafe fullstack cafe a q88 is the comparison of time and null in the if statement below valid or not why or why not read answer on a href https www fullstack cafe fullstack cafe a q89 what is the output of the program below explain your answer read answer on a href https www fullstack cafe fullstack cafe a q90 what is the best practice to have best performance using lazy t objects read answer on a href https www fullstack cafe fullstack cafe a q91 calculate the circumference of the circle read answer on a href https www fullstack cafe fullstack cafe a q92 could you explain the difference between destructor dispose and finalize method read answer on a href https www fullstack cafe fullstack cafe a q93 what are the differences between ienumerable and iqueryable read answer on a href https www fullstack cafe fullstack cafe a q94 what is the use of static constructors read answer on a href https www fullstack cafe fullstack cafe a q95 what s the difference between the system array copyto and system array clone read answer on a href https www fullstack cafe fullstack cafe a q96 what is a preprocessor directives in c read answer on a href https www fullstack cafe fullstack cafe a q97 what is multicast delegate in c read answer on a href https www fullstack cafe fullstack cafe a q98 what are the benefits of a deferred execution in linq read answer on a href https www fullstack cafe fullstack cafe a q99 what is the method memberwiseclone doing read answer on a href https www fullstack cafe fullstack cafe a q100 list some different ways for equality check in net read answer on a href https www fullstack cafe fullstack cafe a q101 what is deep or shallow copy concept in c read answer on a href https www fullstack cafe fullstack cafe a q102 can you create sealed abstract class in c read answer on a href https www fullstack cafe fullstack cafe a q103 could you explain the difference between func vs action vs predicate read answer on a href https www fullstack cafe fullstack cafe a q104 what are circular references read answer on a href https www fullstack cafe fullstack cafe a q105 explain the difference between iqueryable icollection ilist idictionary interfaces read answer on a href https www fullstack cafe fullstack cafe a q106 in c when should we use abstract classes instead of interfaces with extension methods read answer on a href https www fullstack cafe fullstack cafe a q107 can you add extension methods to an existing static class read answer on a href https www fullstack cafe fullstack cafe a q108 implement the where method in c read answer on a href https www fullstack cafe fullstack cafe a q109 what is the volatile keyword used for read answer on a href https www fullstack cafe fullstack cafe a q110 what is jagged array in c net and when to prefer jagged arrays over multi dimensional arrays read answer on a href https www fullstack cafe fullstack cafe a q111 explain what is weak reference in c read answer on a href https www fullstack cafe fullstack cafe a q112 what is the difference between lambdas and delegates read answer on a href https www fullstack cafe fullstack cafe a toc a name css css a interview questions q1 explain the three main ways to apply css styles to a web page answer using the inline style attribute on an element html div p style color maroon p div using a style block in the head section of your html html head title css refresher title style body font family sans serif font size 1 2em style head loading an external css file using the link tag html head title css refresher title link rel stylesheet href css styles css head source goskills com q2 what is css answer css stands for cascading style sheets css is used to define styles for your web pages including the design layout and variations in display for different devices and screen sizes css was intended to allow web professionals to separate the content and structure of a website s code from the visual design source w3schools com q3 how to use variables in sass answer think of variables as a way to store information that you want to reuse throughout your stylesheet you can store things like colors font stacks or any css value you think you ll want to reuse sass uses the symbol to make something a variable css font stack helvetica sans serif primary color 333 body font 100 font stack color primary color source sass lang com q4 what is variable interpolation in sass provide some examples answer if you want to use variables inside a string you will have to use a process called variable interpolation to use it you will have to wrap your variables in consider css name gajendar author author name author name author author name author gajendar the interpolation method could be useful in situations where the value of a variable is determined by some conditional statements source sitepoint com q5 what is a css rule answer web browsers apply css rules to a document to affect how they are displayed a css rule is formed from a set of properties which have values set to update how the html content is displayed a selector which selects the element s you want to apply the updated property values to a set of css rules contained within a stylesheet determines how a webpage should look source developer mozilla org q6 what is dom document object model and how is it linked to css answer the document object model dom is a cross platform and language independent application programming interface that treats an html xhtml or xml document as a tree structure wherein each node is an object representing a part of the document with the document object model programmers can create and build documents navigate their structure and add modify or delete elements and content the dom specifies interfaces which may be used to manage xml or html documents when a browser displays a document it must combine the document s content with its style information the browser converts html and css into the dom document object model the dom represents the document in the computer s memory it combines the document s content with its style source en wikipedia org q7 have you played around with the new css flexbox or grid specs answer yes flexbox is mainly meant for 1 dimensional layouts while grid is meant for 2 dimensional layouts flexbox solves many common problems in css such as vertical centering of elements within a container sticky footer etc bootstrap and bulma are based on flexbox and it is probably the recommended way to create layouts these days have tried flexbox before but ran into some browser incompatibility issues safari in using flex grow and i had to rewrite my code using inline blocks and math to calculate the widths in percentages it wasn t a nice experience grid is by far the most intuitive approach for creating grid based layouts it better be but browser support is not wide at the moment source codeburst io q8 what is sass answer sass or syntactically awesome stylesheets is a css preprocessor that adds power and elegance to the basic language it allows you to use variables nested rules mixins inline imports and more all with a fully css compatible syntax sass helps keep large stylesheets well organized and get small stylesheets up and running quickly a css preprocessor is a scripting language that extends css by allowing developers to write code in one language and then compile it into css source sass lang com q9 list out the key features for sass answer key features for sass include full css3 compatible language extensions such as nesting variables and mixins many useful functions for manipulating colors and other values advanced features like control directives for libraries well formatted customizable output source career guru99 com q10 what existing css frameworks have you used locally or in production how would you change improve them answer bootstrap slow release cycle bootstrap 4 has been in alpha for almost 2 years add a spinner button component as it is widely used semantic ui source code structure makes theme customization extremely hard to understand its unconventional theming system is a pain to customize hardcoded config path within the vendor library not well designed for overriding variables unlike in bootstrap bulma a lot of non semantic and superfluous classes and markup required not backward compatible upgrading versions breaks the app in subtle manners source codeburst io q11 list out the data types that sass supports answer sass supports seven main data types numbers most of the time they are accompanied by a unit of some sort but they are still technically numbers you can perform basic mathematical operations on these values css size 18 a number px unit size 1px a pixel measurement px string size px a string px number px unit 1px a number strings just like css accepts both quoted and unquoted strings even if they contain spaces css website sitepoint stores sitepoint name gajendar singh gajendar singh date month year 3 2016 month year 3 2016 date month year 3 2016 month year 0 00149 this is because 3 2016 is evaluated first variable 3 2016 evaluated to 0 00149 colors css color expressions come under the color data type you can refer to the colors in hexadecimal notation as rgb rgba hsl and hsla values or use native keywords like pink blue etc css color yellowgreen 9acd32 color lighten color 15 b8dc70 color darken color 15 6c9023 color saturate color 15 a1e01f color desaturate color 15 93ba45 color green red ff8000 booleans has only two possible values true and false css i am true true body if not i am true background rgba 255 0 0 0 6 else background rgba 0 0 255 0 6 expected null is commonly used to define an empty state neither true or false this is typically the value you want to set when defining a variable without a value only to prevent the parser from crashing css foo content type of null null content type of null string bar foo null invalid null operation foo plus null lists are just the sass version of arrays you can store multiple types of values in a list css font list raleway dosis lato three comma separated elements pad list 10px 8px 12px three space separated elements multi list roboto 15px 1 3em this multi list has two lists maps sass maps are like associative arrays a map stores both keys and values associated with those keys css styling font family lato font size 1 5em color tomato background black h1 color map get styling color background map get styling background source career guru99 com q12 explain css sprites and how you would implement them on a page or site answer css sprites combine multiple images into one single larger image it is commonly used technique for icons gmail uses it use a sprite generator that packs multiple images into one and generate the appropriate css for it each image would have a corresponding css class with background image background position and background size properties defined to use that image add the corresponding class to your element advantages reduce the number of http requests for multiple images only one single request is required per spritesheet but with http2 loading multiple images is no longer much of an issue advance downloading of assets that won t be downloaded until needed such as images that only appear upon hover pseudo states blinking wouldn t be seen source codeburst io q13 what selector nesting in sass is used for answer sass let you nest your css selectors in a way that follows the same visual hierarchy of your html css on the other hand doesn t have any visual hierarchy consider example scss css parent color red child color blue result css css parent color red parent child color blue source sass lang com q14 explain what is a extend directive used for in sass answer using extend lets you share a set of css properties from one selector to another it helps keep your sass very dry consider css message shared border 1px solid ccc padding 10px color 333 message extend message shared success extend message shared border color green error extend message shared border color red warning extend message shared border color yellow css output css message success error warning border 1px solid cccccc padding 10px color 333 success border color green error border color red warning border color yellow source career guru99 comsass lang com q15 explain the css box model and the layout components that it consists of answer the css box model is a rectangular layout paradigm for html elements that consists of the following content the content of the box where text and images appear padding a transparent area surrounding the content i e the amount of space between the border and the content border a border surrounding the padding if any and content margin a transparent area surrounding the border i e the amount of space between the border and any neighboring elements source toptal com q16 what is the difference between classes and ids in css answer ids meant to be unique within the document can be used to identify an element when linking using a fragment identifier elements can only have one id attribute classes can be reused on multiple elements within the document mainly for styling and targeting elements source codeburst io q17 describe floats and how they work answer float is a css positioning property floated elements remain a part of the flow of the web page this is distinctly different than page elements that use absolute positioning absolutely positioned page elements are removed from the flow of the webpage css sidebar float right left right none inherit the css clear property can be used to be positioned below left right both floated elements source css tricks com q18 explain the usage of table layout property read answer on a href https www fullstack cafe fullstack cafe a q19 how to create a zebra striped table with css read answer on a href https www fullstack cafe fullstack cafe a q20 have you ever worked with retina graphics if so when and what techniques did you use read answer on a href https www fullstack cafe fullstack cafe a q21 what is a mixin and how to use on read answer on a href https www fullstack cafe fullstack cafe a q22 how is responsive design different from adaptive design read answer on a href https www fullstack cafe fullstack cafe a q23 explain your understanding of the box model and how you would tell the browser in css to render your layout in different box models read answer on a href https www fullstack cafe fullstack cafe a q24 what s the difference between scss and sass read answer on a href https www fullstack cafe fullstack cafe a q25 describe pseudo elements and discuss what they are used for read answer on a href https www fullstack cafe fullstack cafe a q26 how does css actually work under the hood of browser read answer on a href https www fullstack cafe fullstack cafe a q27 what is css selectors name some read answer on a href https www fullstack cafe fullstack cafe a q28 what s the difference between resetting and normalizing css which would you choose and why read answer on a href https www fullstack cafe fullstack cafe a q29 what s the difference between a relative fixed absolute and static ally positioned element read answer on a href https www fullstack cafe fullstack cafe a q30 what are the advantages disadvantages of using css preprocessors read answer on a href https www fullstack cafe fullstack cafe a q31 what is css preprocessor and why to user one read answer on a href https www fullstack cafe fullstack cafe a q32 how would you approach fixing browser specific styling issues read answer on a href https www fullstack cafe fullstack cafe a q33 what is a grid system in css read answer on a href https www fullstack cafe fullstack cafe a q34 what does accessibility a11y mean read answer on a href https www fullstack cafe fullstack cafe a q35 what does box sizing border box do what are its advantages read answer on a href https www fullstack cafe fullstack cafe a q36 have you ever used a grid system and if so what do you prefer read answer on a href https www fullstack cafe fullstack cafe a q37 explain the purpose of clearing floats in css read answer on a href https www fullstack cafe fullstack cafe a q38 can you explain the difference between coding a website to be responsive versus using a mobile first strategy read answer on a href https www fullstack cafe fullstack cafe a q39 how do you optimize your webpages for print read answer on a href https www fullstack cafe fullstack cafe a q40 describe z index and how a stacking context is formed read answer on a href https www fullstack cafe fullstack cafe a q41 explain the basic rules of css specificity read answer on a href https www fullstack cafe fullstack cafe a q42 what is the content directive used for read answer on a href https www fullstack cafe fullstack cafe a q43 what are the different ways to visually hide content and make it available only for screen readers read answer on a href https www fullstack cafe fullstack cafe a q44 what will be the css output for the following sass code read answer on a href https www fullstack cafe fullstack cafe a q45 is there any reason you d want to use translate instead of absolute positioning or vice versa and why read answer on a href https www fullstack cafe fullstack cafe a q46 what the code fragment has the greater css specificity read answer on a href https www fullstack cafe fullstack cafe a q47 what s wrong with sass nesting provide some example read answer on a href https www fullstack cafe fullstack cafe a q48 what clearfix methods do you know provide some examples read answer on a href https www fullstack cafe fullstack cafe a q49 how to style every element which has an adjacent item right before it read answer on a href https www fullstack cafe fullstack cafe a q50 write down a selector that will match any links end in zip zip zip etc read answer on a href https www fullstack cafe fullstack cafe a toc a name career career a interview questions q1 career test read answer on a href https www fullstack cafe fullstack cafe a toc a name clojure clojure a interview questions q1 what is clojure read answer on a href https www fullstack cafe fullstack cafe a q2 what is data oriented programming read answer on a href https www fullstack cafe fullstack cafe a q3 what does it mean clojure is immutable first read answer on a href https www fullstack cafe fullstack cafe a q4 how do you make a web application using clojure read answer on a href https www fullstack cafe fullstack cafe a toc a name codeproblems code problems a interview questions q1 test divisors of three details you will be given 2 parameters a low and high number your goal is to print all numbers between low and high and for each of these numbers print whether or not the number is divisible by 3 if the number is divisible by 3 print the word div3 directly after the number answer we ll solve this problem by first creating a loop that will print each number from low to high once we have the code for that written we ll add a conditional that will check if the number is evenly divisible by 3 by using the mod operator js function test divisors low high we ll store all numbers and strings within an array instead of printing directly to the console var output for var i low i high i simply store the current number in the output array output push i check if the current number is evenly divisible by 3 if i 3 0 output push div3 return all numbers and strings return output test divisors 2 10 source coderbyte com q2 sum of array plus one details write a function that takes an array of integers and returns the sum of the integers after adding 1 to each answer js es5 method is nice and clean exports es5 function array return array reduce function memo num return memo num array length without array reduce method isn t much different exports iterative function array var result array length for var i 0 i array length i result array i return result source github com blakeembrey q3 string rotation details find out if a string is a rotation of another string e g abcd is a rotation of bcda but not acbd answer first make sure a and b are of the same length then check to see if b is a substring of a concatenated with a js module exports function a b return a length b length a a indexof b 1 source github com blakeembrey q4 oddball sum details write a function called oddball sum which takes in a list of numbers and returns the sum of all the odd elements try to solve with and without reduce function answer to solve this challenge we ll simply loop through the array while maintaining a final count and every time an odd number is encountered we ll add it to the count without reduce js function oddball sum nums final count of all odd numbers added up var final count 0 loop through entire list for var i 0 i nums length i we divide by 2 and if there is a remainder then the number must be odd so we add it to final count if nums i 2 1 final count nums i return final count oddball sum 1 2 3 4 5 with reduce js function oddball sum nums return nums reduce function total item if item 2 1 return total item return total source prepwork appacademy io q5 simple clock angle details you will be given a number n that represents where the minute hand currently is on a clock your program should return the angle that is formed by the minute hand and the 12 o clock mark on the clock answer if the input is 15 then your program should return 90 because a 90 degree angle is formed by the minute hand and the 12 o clock mark on the clock we ll solve this challenge by first calculating what angle is created by each minute passing on a clock once we calculate this number we multiply it by the input to determine the final angle a method to solve such problems is to consider the rate of change of the angle in degrees per minute the hour hand of a normal 12 hour analogue clock turns 360 in 12 hours 720 minutes or 0 5 per minute the minute hand rotates through 360 in 60 minutes or 6 per minute js function simpleclockangle num we got 6 because 360 60 6 360 represents the full number of a degrees in a circle and 60 is the number of minutes on a clock so dividing these two numbers gives us the number of degrees for one minute return 6 num simpleclockangle 15 source coderbyte com q6 sum of several arrays details you will be given an array of several arrays that each contain integers and your goal is to write a function that will sum up all the numbers in all the arrays for example if the input is 3 2 1 4 12 then your program should output 22 because 3 2 1 4 12 22 solve without and with reduce answer we will solve this challenge by looping through the entire array and then looping through each inner array adding up all the numbers js function sum array arr store our final answer var sum 0 loop through entire array for var i 0 i arr length i loop through each inner array for var j 0 j arr i length j add this number to the current final sum sum arr i j return sum sum array 3 2 1 4 12 with reduce js function sumarray arr return arr reduce t e t concat e reduce t e t e source coderbyte com q7 lucky sevens details write a function called lucky sevens which takes an array of integers and returns true if any three consecutive elements sum to 7 answer to solve this challenge we ll simply loop through the array starting at the 3rd position and checking if the number at this index plus the two previous elements sums to 7 we continue doing this as we loop through the entire array once we find three elements that sum to 7 we simply return true if we reach the end of the array without finding elements that sum to 7 we return false js function lucky sevens arr if less than 3 elements then this challenge is not possible if arr length 3 return not possible because we know there are at least 3 elements we can start the loop at the 3rd element in the array i 2 and check it along with the two previous elements i 1 and i 2 for var i 2 i arr length i if arr i arr i 1 arr i 2 7 return true if loop is finished and no elements summed to 7 return false lucky sevens 2 1 5 1 0 source coderbyte com q8 two sum problem details given an integer x and a sorted array a of n distinct integers design a linear time algorithm to determine if there exists two distinct indices i and j such that a i a j x for example if the array is 3 5 2 4 8 11 and the sum is 7 your program should return 11 4 2 5 because 11 4 7 and 2 5 7 answer the algorithm below makes use of hash tables which have a constant lookup time as we pass through each element in the array we check to see if s minus the current element exists in the hash table we only need to loop through the array once resulting in a running time of o n since each lookup and insertion in a hash table is o 1 js our two sum function which will return all pairs in the array that sum up to s function twosum arr s var sums var hashtable check each element in array for var i 0 i arr length i calculate s current element var summinuselement s arr i check if this number exists in hash table if so then we found a pair of numbers that sum to s if hashtable summinuselement tostring undefined sums push arr i summinuselement add the current number to the hash table hashtable arr i tostring arr i return all pairs of integers that sum to s return sums twosum 3 5 2 4 8 11 7 source coderbyte com q9 implement a queue using a linked list answer we will store a reference to the front and back of the queue in order to make enqueuing and dequeuing run in o 1 constant time every time we want to insert into the queue we add the new element to the end of the linked list and update the back pointer when we want to dequeue we return the first node in the linked list and update the front pointer js queue is initially empty var queue front null back null we will use a node to keep track of the elements in the queue which is represented by a linked list function node data next this data data this next next add elements to queue in o 1 time function enqueue element var n new node element null if queue back null queue front n queue back n else queue back next n queue back queue back next remove first element from queue in o 1 time function dequeue if queue front null var first queue front queue front queue front next return first data else if queue back null queue back null return cannot dequeue because queue is empty enqueue a enqueue b enqueue c dequeue source codeisahighway com q10 tree level order print details given a binary tree of integers print it in level order the output will contain space between the numbers in the same level and new line between different levels answer js module exports function root doing a breadth first search using recursion function walklevel children create a new queue for the next level var queue output use the map function to easily join all the nodes together while pushing it s children into the next level queue output children map function node assuming the node has children stored in an array queue queue concat node children return node value join log the output at each level console log output if the queue has values in it recurse to the next level and walk along it queue length walklevel queue root source ardendertat com q11 stock maximum profit details you will be given a list of stock prices for a given day and your goal is to return the maximum profit that could have been made by buying a stock at the given price and then selling the stock later on for example if the input is js 45 24 35 31 40 38 11 then your program should return 16 because if you bought the stock at 24 and sold it at 40 a profit of 16 was made and this is the largest profit that could be made if no profit could have been made return 1 answer we ll solve the challenge the following way 1 iterate through each number in the list 2 at the ith index get the i 1 index price and check if it is larger than the ith index price 3 if so set buy price i and sell price i 1 then calculate the profit sell price buy price 4 if a stock price is found that is cheaper than the current buy price set this to be the new buying price and continue from step 2 5 otherwise continue changing only the sell price and keep buy price set this algorithm runs in linear time making only one pass through the array so the running time in the worst case is o n js function stockpicker arr var max profit 1 var buy price 0 var sell price 0 this allows our loop to keep iterating the buying price until a cheap stock price is found var change buy index true loop through list of stock prices once for var i 0 i arr length 1 i selling price is the next element in list sell price arr i 1 if we have not found a suitable cheap buying price yet we set the buying price equal to the current element if change buy index buy price arr i if the selling price is less than the buying price we know we cannot make a profit so we continue to the next element in the list which will be the new buying price if sell price buy price change buy index true continue if the selling price is greater than the buying price we check to see if these two indices give us a better profit then what we currently have else var temp profit sell price buy price if temp profit max profit max profit temp profit change buy index false return max profit stockpicker 44 30 24 32 35 30 40 38 15 source coderbyte com q12 find word positions in text details given a text file and a word find the positions that the word occurs in the file we ll be asked to find the positions of many words in the same file answer since we ll have to answer multiple queries precomputation would be useful we ll build a data structure that stores the positions of all the words in the text file this is known as inverted index js module exports function text var trie pos 0 active trie start the active structure as the root trie structure suffix a space after the text to make life easier text loop through the input text adding it to the trie structure for var i 0 i text length i when the character is a space restart if text i if the current active doesn t equal the root set the position if active trie active positions active positions push pos reset the positions and the active part of the data structure pos i active trie continue set the next character in the structure up active text i active text i active active text i return a function that accepts a word and looks it up in the trie structure return function word var i 1 active trie while word i if active word i return active active word i return active positions source github com blakeembrey q13 determine overlapping numbers in ranges details you will be given an array with 5 numbers the first 2 numbers represent a range and the next two numbers represent another range the final number in the array is x the goal of your program is to determine if both ranges overlap by at least x numbers for example in the array 4 10 2 6 3 the ranges 4 to 10 and 2 to 6 overlap by at least 3 numbers 4 5 6 so your program should return true solve with and without looping if the array is 10 20 4 14 4 then the ranges are sh 10 11 12 13 14 15 16 17 18 19 20 4 5 6 7 8 9 10 11 12 13 14 these ranges overlap by at least 4 numbers namely 10 11 12 13 14 so your program should return true answer with loop js function overlappingranges arr keep a count of how many numbers overlap var counter 0 loop through one of the ranges for var i arr 0 i arr 1 i check if a number within the first range exists in the second range if i arr 2 i arr 3 counter 1 check if the numbers that overlap is equal to or greater than the last number in the array return counter arr 4 true false overlappingranges 4 10 2 6 3 without loop js function overlapping input var nums1 listofnums input 0 input 1 var nums2 listofnums input 2 input 3 var overlappingnum 0 if nums1 0 nums2 0 nums1 0 nums2 1 overlappingnum nums2 1 nums1 0 1 else overlappingnum nums1 1 nums2 0 1 if overlappingnum input 4 return true function listofnums a b var start a var end b if a b start b end a return a b var a 4 10 2 6 3 overlapping a source coderbyte com q14 throttle function implementation details write a function that accepts a function and timeout x in number of milliseconds it returns a function that can only be executed once per x milliseconds this can be useful for limiting the number of time and computation heavy function that are run for example making ajax requests to an autocompletion api once written add a third parameter that will allow the function to be executed immediately if set to true otherwise the function will run at the end of the timeout period answer js module exports function fn delay execasap var timeout keeps a reference to the timeout inside the returned function return function continue to pass through the function execution context and arguments var that this args arguments if there is no timeout variable set proceed to create a new timeout if timeout execasap fn apply that args timeout settimeout function execasap fn apply that args remove the old timeout variable so the function can run again timeout null delay 100 source github com blakeembrey q15 dutch national flag sorting problem details for this problem your goal is to sort an array of 0 1 2 but you must do this in place in linear time and without any extra space such as creating an extra array this is called the dutch national flag sorting problem for example if the input array is 2 0 0 1 2 1 then your program should output 0 0 1 1 2 2 and the algorithm should run in o n time answer the solution to this algorithm will require 3 pointers to iterate throughout the array swapping the necessary elements 1 create a low pointer at the beginning of the array and a high pointer at the end of the array 2 create a mid pointer that starts at the beginning of the array and iterates through each element 3 if the element at arr mid is a 2 then swap arr mid and arr high and decrease the high pointer by 1 4 if the element at arr mid is a 0 then swap arr mid and arr low and increase the low and mid pointers by 1 5 if the element at arr mid is a 1 don t swap anything and just increase the mid pointer by 1 js function swap arr i1 i2 var temp arr i1 arr i1 arr i2 arr i2 temp function dutchnatflag arr var low 0 var mid 0 var high arr length 1 one pass through the array swapping the necessary elements in place while mid high if arr mid 0 swap arr low mid else if arr mid 2 swap arr mid high else if arr mid 1 mid return arr dutchnatflag 2 2 2 0 0 0 1 1 source coderbyte com q16 step by step solution for step counting using recursion details suppose you want climb a staircase of n steps and on each step you can take either 1 or 2 steps how many distinct ways are there to climb the staircase for example if you wanted to climb 4 steps you can take the following distinct number of steps sh 1 1 1 1 1 2 1 1 2 3 1 2 1 4 2 1 1 5 2 2 so there are 5 distinct ways to climb 4 steps we want to write a function using recursion that will produce the answer for any number of steps answer the solution to this problem requires recursion which means to solve for a particular n we need the solutions for previous n s the solution for n steps is equal to the solutions for n 1 steps plus n 2 steps js function countsteps n just as in our solution explanation above we know that to climb 1 step there is only 1 solution and for 2 steps there are 2 solutions if n 1 return 1 if n 2 return 2 for all n 2 we add the previous n 1 n 2 steps to get an answer recursively return countsteps n 1 countsteps n 2 the solution for n 6 will recursively be solved by calculating the solution for n 5 n 4 n 3 and n 2 which we know is 2 countsteps 6 source coderbyte com q17 implement bubble sort answer the steps in the bubble sort algorithm are 1 loop through the whole array starting from index 1 2 if the number in the array at index i 1 is greater than i swap the numbers and continue 3 once the end of the array is reached start looping again from the beginning 4 once no more elements can be swapped the sorting is complete js function swap arr i1 i2 var temp arr i1 arr i1 arr i2 arr i2 temp function bubblesort arr var swapped true keep going unless no elements can be swapped anymore while swapped set swapped to false so that the loop stops unless two element are actually swapped swapped false loop through the whole array swapping adjacent elements for var i 1 i arr length i if arr i 1 arr i swap arr i 1 i swapped true return arr bubblesort 103 45 2 1 97 4 67 source coderbyte com q18 implement a queue using two stacks answer suppose we push a b c to a stack if we are trying to implement a queue and we call the dequeue method 3 times we actually want the elements to come out in the order a b c which is in the opposite order they would come out if we popped from the stack so basically we need to access the elements in the reverse order that they exist in the stack algorithm for queue using two stacks 1 when calling the enqueue method simply push the elements into the stack 1 2 if the dequeue method is called push all the elements from stack 1 into stack 2 which reverses the order of the elements now pop from stack 2 the worst case running time for implementing these operations using stacks is o n because you need to transfer n elements from stack 1 to stack 2 when a dequeue method is called pushing to stack 1 is simply o 1 js implement stacks using plain arrays with push and pop functions var stack1 var stack2 implement enqueue method by using only stacks and the push and pop functions function enqueue element stack1 push element implement dequeue method by pushing all elements from stack 1 into stack 2 which reverses the order and then popping from stack 2 function dequeue if stack2 length 0 if stack1 length 0 return cannot dequeue because queue is empty while stack1 length 0 var p stack1 pop stack2 push p return stack2 pop enqueue a enqueue b enqueue c dequeue source coderbyte com q19 implement pow a b without multiplication or division read answer on a href https www fullstack cafe fullstack cafe a q20 generate all balanced bracket combinations read answer on a href https www fullstack cafe fullstack cafe a q21 all permutations anagrams of a string read answer on a href https www fullstack cafe fullstack cafe a q22 merge two sorted linked lists read answer on a href https www fullstack cafe fullstack cafe a q23 insert an interval into a list of sorted disjoint intervals read answer on a href https www fullstack cafe fullstack cafe a q24 find all string combinations consisting only of 0 1 and read answer on a href https www fullstack cafe fullstack cafe a q25 quickly calculate the cube root of 6 digit numbers read answer on a href https www fullstack cafe fullstack cafe a q26 transform word read answer on a href https www fullstack cafe fullstack cafe a toc a name datascience data science a interview questions q1 what is data science answer data science is an interdisciplinary field of different scientific methods techniques processes and knowledge that is used to transform the data of different types such as structured unstructured and semi structured data into the required format or representation data science concepts include different concepts such as statistics regression mathematics computer science algorithms data structures and information science with also including some subfields such as data mining machine learning and databases etc data science concept has recently evolved to a greater extent in the area of computing technology in order to perform data analysis on the existing data where the growth of data is in terms of an exponential with respect to time data science is the study of various types of data such as structured semi structured and unstructured data in any form or formats available in order to get some information out of it data science consists of different technologies used to study data such as data mining data storing data purging data archival data transformation etc in order to make it efficient and ordered data science also includes the concepts like simulation modeling analytics machine learning computational mathematics etc source www educba com q2 what is the best programming language to use in data science answer data science can be handled by using programming languages like python or r programming language these two are the two most popular languages being used by the data scientists or data analysts r and python are open source and are free to use and came into existence during the 1990s python and r have different advantages depending on the applications and required a business goal python is better to be used in the cases of repeated tasks or jobs and for data manipulations whereas r programming can be used for querying or retrieving datasets and customized data analysis mostly python is preferred for all types of data science applications where some time r programming is preferred in the cases of high or complex data applications python is easier to learn and has less learning curve whereas r has a deep learning curve python is mostly preferred in all the cases which is a general purpose programming language and can be found in many applications other than data science too r is mostly seen in data science area only where it is used for data analysis in standalone servers or computing separately source www educba com q3 why is data cleaning essential in data science answer data cleaning is more important in data science because the end results or the outcomes of the data analysis come from the existing data where useless or unimportant need to be cleaned periodically as of when not required this ensures the data reliability accuracy and also memory is freed up data cleaning reduces the data redundancy and gives good results in data analysis where some large customer information exists and that should be cleaned periodically in the businesses like e commerce retail government organizations contain large customer transaction information which is outdated and needs to be cleaned depending on the amount or size of data suitable tools or methods should be used to clean the data from the database or big data environment there are different types of data existing in a data source such as dirty data clean data mixed clean and dirty data and sample clean data modern data science applications rely on machine learning model where the learner learns from the existing data so the existing data should always be cleanly and well maintained to get sophisticated and good outcomes during the optimization of the system source www educba com q4 what is linear regression in data science answer linear regression is a technique used in supervised machine learning algorithmic process in the area of data science this method is used for predictive analysis predictive analytics is an area within statistical sciences where the existing information will be extracted and processed to predict the trends and outcomes pattern the core of the subject lies in the analysis of existing context to predict an unknown event the process of linear regression method is to predict a variable called target variable by making the best relationship between the dependent variable and an independent variable here dependent variable is outcome variable and also response variable whereas the independent variable is predictor variable or explanatory variable for example in real life depending on the expenses occurred in this financial year or monthly expenses the predictions happen by calculating the approximate upcoming months or financial years expenses in this method the implementation can be done by using python programming technique where this is the most important method used in machine learning technique under the area of data science linear regression is also called regression analysis that comes under the area of statistical sciences which is integrated together with data science source www educba com q5 what is a b testing in data science answer a b testing is also called as bucket testing or split testing this is the method of comparing and testing two versions of systems or applications against each other to determine which version of application performs better this is important in the cases where multiple versions are shown to the customers or end users in order to achieve the goals in the area of data science this a b testing is used to know which variable out of the existing two variables in order to optimize or increase the outcome of the goal a b testing is also called design of experiment this testing helps in establishing a cause and effect relationship between the independent and dependent variables this testing is also simply a combination of design experimentation or statistical inference significance randomization and multiple comparisons are the key elements of the a b testing the significance is the term for the significance of statistical tests conducted randomization is the core component of the experimental design where the variables will be balanced multiple comparisons are the way of comparing more variables in the case of customer interests that causes more false positives resulting in the requirement of correction in the confidence level of a seller in the area of e commerce a b testing is the important one in the area of data science in predicting the outcomes source www educba com toc a name datastructures data structures a interview questions q1 what is data structure answer data structure availability may vary by programming languages commonly available data structures are list arrays stack queues graph tree etc source tutorialspoint com q2 what is a graph answer a graph is a pictorial representation of a set of objects where some pairs of objects are connected by links the interconnected objects are represented by points termed as vertices and the links that connect the vertices are called edges source tutorialspoint com q3 what is linear searching answer linear search or sequential search is a method for finding a target value within a list it sequentially checks each element of the list for the target value until a match is found or until all the elements have been searched linear search runs in at worst linear time and makes at most n comparisons where n is the length of the list worst case performance o n best case performance o 1 average performance o n worst case space complexity o 1 iterative in theory other search algorithms may be faster than linear search for instance binary search in practice even on medium sized arrays around 100 items or less it might be infeasible to use anything else source wikipedia org q4 what is algorithm answer algorithm is a step by step procedure which defines a set of instructions to be executed in certain order to get the desired output source tutorialspoint com q5 what is linear data structure and what are common operations to perform on it answer a linear data structure has sequentially arranged data items the next item can be located in the next memory address it is stored and accessed in a sequential manner array and list are example of linear data structure the following operations are commonly performed on any data structure insertion adding a data item deletion removing a data item traversal accessing and or printing all data items searching finding a particular data item sorting arranging data items in a pre defined sequence source tutorialspoint com q6 what is an average case complexity of bubble sort answer bubble sort sometimes referred to as sinking sort is a simple sorting algorithm that repeatedly steps through the list to be sorted compares each pair of adjacent items and swaps them if they are in the wrong order the pass through the list is repeated until no swaps are needed which indicates that the list is sorted bubble sort has a worst case and average complexity of n2 where n is the number of items being sorted most practical sorting algorithms have substantially better worst case or average complexity often o n log n therefore bubble sort is not a practical sorting algorithm source wikipedia org q7 what examples of greedy algorithms do you know answer the below given problems find their solution using greedy algorithm approach travelling salesman problem prim s minimal spanning tree algorithm kruskal s minimal spanning tree algorithm dijkstra s minimal spanning tree algorithm graph map coloring graph vertex cover knapsack problem job scheduling problem source tutorialspoint com q8 what are some examples of divide and conquer algorithms answer the below given problems find their solution using divide and conquer algorithm approach merge sort quick sort binary search strassen s matrix multiplication closest pair points source tutorialspoint com q9 what are some examples of dynamic programming algorithms answer the below given problems find their solution using divide and conquer algorithm approach fibonacci number series knapsack problem tower of hanoi all pair shortest path by floyd warshall shortest path by dijkstra project scheduling source tutorialspoint com q10 why do we use stacks answer in data structure stack is an abstract data type adt used to store and retrieve values in last in first out lifo method stacks follows lifo method and addition and retrieval of a data item takes only n time stacks are used where we need to access data in the reverse order or their arrival stacks are used commonly in recursive function calls expression parsing depth first traversal of graphs etc the below operations can be performed on a stack push adds an item to stack pop removes the top stack item peek gives value of top item without removing it isempty checks if stack is empty isfull checks if stack is full source tutorialspoint com q11 why do we use queues answer queue is an abstract data structure ads somewhat similar to stack in contrast to stack queue is opened at both end one end is always used to insert data enqueue and the other is used to remove data dequeue queue follows first in first out fifo methodology i e the data item stored first will be accessed first as queues follows fifo method they are used when we need to work on data items in exact sequence of their arrival every operating system maintains queues of various processes priority queues and breadth first traversal of graphs are some examples of queues the below operations can be performed on a queue enqueue adds an item to rear of the queue dequeue removes the item from front of the queue peek gives value of front item without removing it isempty checks if stack is empty isfull checks if stack is full source tutorialspoint com q12 what is selection sort answer selection sort is in place sorting technique it divides the data set into two sub lists sorted and unsorted then it selects the minimum element from unsorted sub list and places it into the sorted list this iterates unless all the elements from unsorted sub list are consumed into sorted sub list source tutorialspoint com q13 why we need to do algorithm analysis answer a problem can be solved in more than one ways so many solution algorithms can be derived for a given problem we analyze available algorithms to find and implement the best suitable algorithm an algorithm are generally analyzed on two factors time and space that is how much execution time and how much extra space required by the algorithm source tutorialspoint com q14 what is the difference between linear search and binary search answer a linear search looks down a list one item at a time without jumping in complexity terms this is an o n search the time taken to search the list gets bigger at the same rate as the list does a binary search is when you start with the middle of a sorted list and see whether that s greater than or less than the value you re looking for which determines whether the value is in the first or second half of the list jump to the half way through the sublist and compare again etc in complexity terms this is an o log n search the number of search operations grows more slowly than the list does because you re halving the search space with each operation comparing the two binary search requires the input data to be sorted linear search doesn t binary search requires an ordering comparison linear search only requires equality comparisons binary search has complexity o log n linear search has complexity o n binary search requires random access to the data linear search only requires sequential access this can be very important it means a linear search can stream data of arbitrary size source wikipedia org q15 what is asymptotic analysis of an algorithm answer asymptotic analysis of an algorithm refers to defining the mathematical boundation framing of its run time performance using asymptotic analysis we can very well conclude the best case average case and worst case scenario of an algorithm asymptotic analysis can provide three levels of mathematical binding of execution time of an algorithm best case is represented by n notation worst case is represented by n notation average case is represented by n notation source tutorialspoint com q16 name some approaches to develop algorithms read answer on a href https www fullstack cafe fullstack cafe a q17 what is circular queue and why will you use one read answer on a href https www fullstack cafe fullstack cafe a q18 why is insertion sort better than quick sort for small list of elements read answer on a href https www fullstack cafe fullstack cafe a q19 tell me something about insertion sort read answer on a href https www fullstack cafe fullstack cafe a q20 list some advantages of insertion sort read answer on a href https www fullstack cafe fullstack cafe a q21 how insertion sort and selection sorts are different read answer on a href https www fullstack cafe fullstack cafe a q22 what is merge sort and how it works read answer on a href https www fullstack cafe fullstack cafe a q23 how quick sort works read answer on a href https www fullstack cafe fullstack cafe a q24 what is shell sort read answer on a href https www fullstack cafe fullstack cafe a q25 is there ever a good reason to use insertion sort read answer on a href https www fullstack cafe fullstack cafe a q26 is there any advantages of bubble sort read answer on a href https www fullstack cafe fullstack cafe a q27 what is bucket sort read answer on a href https www fullstack cafe fullstack cafe a q28 what is tim sort and how would you compare it with quick sort read answer on a href https www fullstack cafe fullstack cafe a q29 why is quick sort better than merge sort read answer on a href https www fullstack cafe fullstack cafe a q30 what is stability in sorting algorithms and why is it important read answer on a href https www fullstack cafe fullstack cafe a toc a name designpatterns design patterns a interview questions q1 what are the main categories of design patterns answer the design patterns can be classified into three main categories creational patterns behavioral patterns functional patterns source www educba com q2 what is a pattern answer patterns in programming are like recipes in cooking they are not ready dishes but instructions for slicing and dicing products cooking them serving them and so forth pattern content as a rule a pattern description consists of the following a problem that the pattern solves motivation for solving the the problem using the method suggested by the pattern structures of classes comprising the solution an example in one of the programming languages a description of the nuances of pattern implementation in various contexts relations with other patterns source refactoring guru q3 what is singleton pattern answer singleton pattern comes under creational patterns category and introduces a single class which is responsible to create an object while making sure that only single object gets created this class provides a way to access its only object which can be accessed directly without need to instantiate the object of the class div class text center img src https upload wikimedia org wikipedia commons thumb f fb singleton uml class diagram svg 220px singleton uml class diagram svg png class img fluid div source refactoring guru q4 what is design patterns and why anyone should use them answer design patterns are a well described solution to the most commonly encountered problems which occur during software development design pattern represents the best practices evolved over a period of time by experienced software developers they promote reusability which leads to a more robust and maintainable code source www educba com q5 what is factory pattern answer factory pattern is one of most used design pattern and comes under creational patterns category in factory pattern we create object without exposing the creation logic to the client and refer to newly created object using a common interface div class text center img src https www tutorialspoint com design pattern images factory pattern uml diagram jpg class img fluid div br pro s allows you to hide implementation of an application seam the core interfaces that make up your application allows you to easily test the seam of an application that is to mock stub certain parts of your application so you can build and test the other parts allows you to change the design of your application more readily this is known as loose coupling con s makes code more difficult to read as all of your code is behind an abstraction that may in turn hide abstractions can be classed as an anti pattern when it is incorrectly used for example some people use it to wire up a whole application when using an ioc container instead use dependency injection source tutorialspoint com q6 what is iterator pattern answer iterator pattern is very commonly used design pattern in java and net programming environment this pattern is used to get a way to access the elements of a collection object in sequential manner without any need to know its underlying representation iterator pattern falls under behavioral pattern category div class text center img src https upload wikimedia org wikipedia commons c c5 w3sdesign iterator design pattern uml jpg class img fluid div source tutorialspoint com q7 what is inversion of control answer inversion of control is a broad term but for a software developer it s most commonly described as a pattern used for decoupling components and layers in the system for example say your application has a text editor component and you want to provide spell checking your standard code would look something like this js public class texteditor private spellchecker checker public texteditor this checker new spellchecker what we ve done here creates a dependency between the texteditor and the spellchecker in an ioc scenario we would instead do something like this js public class texteditor private iocspellchecker checker public texteditor iocspellchecker checker this checker checker you have inverted control by handing the responsibility of instantiating the spell checker from the texteditor class to the caller js spellchecker sc new spellchecker dependency texteditor texteditor new texteditor sc source stackoverflow com q8 can we create a clone of a singleton object answer yesl we can but the purpose of singleton object creation is to have single instance serving all requests source tutorialspoint com q9 name types of design patterns answer design patterns can be classified in three categories creational structural and behavioral patterns creational patterns these design patterns provide a way to create objects while hiding the creation logic rather than instantiating objects directly using new opreator this gives program more flexibility in deciding which objects need to be created for a given use case structural patterns these design patterns concern class and object composition concept of inheritance is used to compose interfaces and define ways to compose objects to obtain new functionalities behavioral patterns these design patterns are specifically concerned with communication between objects source tutorialspoint com q10 what is template pattern answer in template pattern an abstract class exposes defined way s template s to execute its methods its subclasses can override the method implementation as per need but the invocation is to be in the same way as defined by an abstract class this pattern comes under behavior pattern category div class text center img src https upload wikimedia org wikipedia commons 2 2a w3sdesign template method design pattern uml jpg class img fluid div source tutorialspoint com q11 what is filter pattern answer filter pattern or criteria pattern is a design pattern that enables developers to filter a set of objects using different criteria and chaining them in a decoupled way through logical operations this type of design pattern comes under structural pattern as this pattern combines multiple criteria to obtain single criteria filter design pattern is useful where you want to add filters dynamically or you are implementing multiple functionalities and most of them require different filter criteria to filter something in that case instead of hard coding the filters inside the functionalities you can create filter criteria and re use it wherever required js list laptop laptops laptopfactory manufactureinbulk andcriteria searchcriteria new andcriteria new harddisk250gbfilter new macintoshfilter new i5processorfilter list laptop filteredlaptops searchcriteria meets laptops source tutorialspoint com q12 what is strategy pattern answer in strategy pattern a class behavior or its algorithm can be changed at run time this type of design pattern comes under behavior pattern in strategy pattern we create objects which represent various strategies and a context object whose behavior varies as per its strategy object the strategy object changes the executing algorithm of the context object div class text center img src https upload wikimedia org wikipedia commons 4 45 w3sdesign strategy design pattern uml jpg class img fluid div source tutorialspoint com q13 what is dependency injection answer dependency injection makes it easy to create loosely coupled components which typically means that components consume functionality defined by interfaces without having any first hand knowledge of which implementation classes are being used dependency injection makes it easier to change the behavior of an application by changing the components that implement the interfaces that define application features it also results in components that are easier to isolate for unit testing source pro asp net core mvc 2 q14 what is null object pattern answer in null object pattern a null object replaces check of null object instance instead of putting if check for a null value null object reflects a do nothing relationship such null object can also be used to provide default behaviour in case data is not available in null object pattern we create an abstract class specifying various operations to be done concrete classes extending this class and a null object class providing do nothing implementation of this class and will be used seamlessly where we need to check null value div class text center img src https www tutorialspoint com design pattern images null pattern uml diagram jpg class img fluid div source tutorialspoint com q15 what is state pattern answer in state pattern a class behavior changes based on its state this type of design pattern comes under behavior pattern in state pattern we create objects which represent various states and a context object whose behavior varies as its state object changes div class text center img src https upload wikimedia org wikipedia commons e ec w3sdesign state design pattern uml jpg class img fluid div source tutorialspoint com q16 what is proxy pattern answer in proxy pattern a class represents functionality of another class this type of design pattern comes under structural pattern in proxy pattern we create object having original object to interface its functionality to outer world div class text center img src https upload wikimedia org wikipedia commons thumb 7 75 proxy pattern diagram svg 439px proxy pattern diagram svg png class img fluid div source tutorialspoint com q17 what is builder pattern answer builder pattern builds a complex object using simple objects and using a step by step approach this builder is independent of other objects div class text center img src https www plantuml com plantuml svg toux3i8m343tdc9ze g234yqiao86mj7wqmqleups7ksqy90icjsu 4dtpzdnlm8mu hx1l6bmdqhfmhpvyk 12pqio0d b8ggyjl1m ugq4gafzuhxe o5nvunvfpeytdtu4jz14sukh2gy6lxhcset5jictg6s cn7srovcxp yvuf7oh75p hnyynqdcv class img fluid style max width 500px div the director class is optional and is used to make sure that the building steps are executed in the right order with the right data by the right builder it s about validation and delegation builder director pattern s steps invocations could be semantically presented by method chaining or so called fluent interface syntax js pizza pizza new pizza builder cheese true pepperoni true bacon true build source tutorialspoint com q18 what are the difference between a static class and a singleton class read answer on a href https www fullstack cafe fullstack cafe a q19 when should i use composite design pattern read answer on a href https www fullstack cafe fullstack cafe a q20 what does program to interfaces not implementations mean read answer on a href https www fullstack cafe fullstack cafe a q21 what is abstract factory pattern read answer on a href https www fullstack cafe fullstack cafe a q22 what is decorator pattern read answer on a href https www fullstack cafe fullstack cafe a q23 what is prototype pattern read answer on a href https www fullstack cafe fullstack cafe a q24 what is memento pattern read answer on a href https www fullstack cafe fullstack cafe a q25 can you give any good explanation what is the difference between proxy and decorator read answer on a href https www fullstack cafe fullstack cafe a q26 what is adapter pattern read answer on a href https www fullstack cafe fullstack cafe a q27 what is bridge pattern read answer on a href https www fullstack cafe fullstack cafe a q28 what is the chain of responsibility pattern read answer on a href https www fullstack cafe fullstack cafe a q29 what is observer pattern read answer on a href https www fullstack cafe fullstack cafe a q30 what is command pattern read answer on a href https www fullstack cafe fullstack cafe a q31 what is interpreter pattern read answer on a href https www fullstack cafe fullstack cafe a q32 what is facade pattern read answer on a href https www fullstack cafe fullstack cafe a q33 what is mediator pattern read answer on a href https www fullstack cafe fullstack cafe a q34 when would you use the builder pattern why not just use a factory pattern read answer on a href https www fullstack cafe fullstack cafe a q35 why would i ever use a chain of responsibility over a decorator read answer on a href https www fullstack cafe fullstack cafe a q36 what is flyweight pattern read answer on a href https www fullstack cafe fullstack cafe a q37 explain usage of service locator pattern read answer on a href https www fullstack cafe fullstack cafe a q38 what is the difference between strategy design pattern and state design pattern read answer on a href https www fullstack cafe fullstack cafe a q39 how is bridge pattern is different from adapter pattern read answer on a href https www fullstack cafe fullstack cafe a q40 explain what is composition over inheritance read answer on a href https www fullstack cafe fullstack cafe a q41 could you explain the difference between fa ade vs mediator read answer on a href https www fullstack cafe fullstack cafe a q42 explain difference between the facade proxy adapter and decorator design patterns read answer on a href https www fullstack cafe fullstack cafe a q43 what is the difference between the template patterns and the strategy pattern read answer on a href https www fullstack cafe fullstack cafe a q44 what s the difference between the dependency injection and service locator patterns read answer on a href https www fullstack cafe fullstack cafe a q45 could you explain what is the deadly diamond of death read answer on a href https www fullstack cafe fullstack cafe a toc a name devops devops a interview questions q1 explain what is devops answer devops is a newly emerging term in it field which is nothing but a practice that emphasizes the collaboration and communication of both software developers and other information technology it professionals it focuses on delivering software product faster and lowering the failure rate of releases source quora com q2 what is the most important thing devops helps us achieve answer the most important thing that devops helps us achieve is to get the changes into production as quickly as possible while minimising risks in software quality assurance and compliance this is the primary objective of devops source edureka co q3 what is meant by continuous integration answer continuous integration ci is a development practice that requires developers to integrate code into a shared repository several times a day each check in is then verified by an automated build allowing teams to detect problems early source edureka co q4 what is the need for devops answer nowadays instead of releasing big sets of features companies are trying to see if small features can be transported to their customers through a series of release trains this has many advantages like quick feedback from customers better quality of software etc which in turn leads to high customer satisfaction to achieve this companies are required to 1 increase deployment frequency 2 lower failure rate of new releases 3 shortened lead time between fixes 4 faster mean time to recovery in the event of new release crashing devops fulfills all these requirements and helps in achieving seamless software delivery source edureka co q5 are you more dev or ops answer what the interview means is do you do more sysadmin work or do you spend a lot of time working with developers on coding source vminstall com q6 what is post mortem meetings answer post mortem meeting is a meeting where we discuss what went wrong and what steps should be taken so that failure doesn t happen again post mortem meetings are not about finding the one to be blamed they are for preventing outages from reoccurring and planing redesign of the infrastructure so that downtime can be minimised it is about learning from mistakes source linoxide com q7 how is devops different from agile sdlc answer agile software development methodology focuses on the development of software devops on the other hand is responsible for development as well as deployment of the software in the safest and most reliable way possible source edureka co q8 what are the success factors for continuous integration answer maintain a code repository automate the build make the build self testing everyone commits to the baseline every day every commit to baseline should be built keep the build fast test in a clone of the production environment make it easy to get the latest deliverables everyone can see the results of the latest build automate deployment source edureka co q9 how have you handled failed deployments answer source logz io q10 why is continuous monitoring necessary answer continuous monitoring allows timely identification of problems or weaknesses and quick corrective action that helps reduce expenses of an organization continuous monitoring provides solution that addresses three operational disciplines known as continuous audit continuous controls monitoring continuous transaction inspection source quora com q11 which are the top devops tools which tools have you worked on answer the most popular devops tools are git version control system tool jenkins continuous integration tool selenium continuous testing tool puppet chef ansible configuration management and deployment tools nagios continuous monitoring tool docker containerization tool source edureka co q12 mention what are the key aspects or principle behind devops answer the key aspects or principle behind devops are infrastructure as code continuous deployment automation monitoring security source quora com q13 what s the next thing you would automate in your current workflow answer source github com q14 can we consider devops as an agile methodology answer devops is a movement to reconcile and synchronize development and production start through a set of good practices its emergence is motivated by a deep changing demands of business who want to speed up the changes to stick closer to the requirements of business and the customer source linoxide com q15 what is devops engineer s duty with regards to agile development answer devops engineer work very closely with agile development teams to ensure they have an environment necessary to support functions such as automated testing continuous integration and continuous delivery devops engineer must be in constant contact with the developers and make all required parts of environment work seamlessly source linoxide com q16 what does containerization mean answer containerisation is a type of virtualization strategy that emerged as an alternative to traditional hypervisor based virtualization in containerization the operating system is shared by the different containers rather than cloned for each virtual machine for example docker provides a container virtualization platform that serves as a good alternative to hypervisor based arrangements source linoxide com q17 what is the function of ci continuous integration server answer ci server function is to continuously integrate all changes being made and committed to repository by different developers and check for compile errors it needs to build code several times a day preferably after every commit so it can detect which commit made the breakage if the breakage happens source linoxide com q18 what are the advantages of devops answer technical benefits continuous software delivery less complex problems to fix faster resolution of problems business benefits faster delivery of features more stable operating environments more time available to add value rather than fix maintain source edureka co q19 what is the role of a configuration management tool in devops answer configuration management tools purpose is to automatize deployment and configuration of software on big number of servers most cm tools usually use agent architecture which means that every machine being manged needs to have agent installed one tool that uses agentless architecture is ansible it only requires ssh and python and if raw module is being used not even python is required because it can run raw bash commands other available and popular cm tools are puppet chef saltstack source linoxide com q20 tell me about the worst run best run outage you ve been a part of what made it bad well run read answer on a href https www fullstack cafe fullstack cafe a q21 how would you make key aspects of a software system traceable read answer on a href https www fullstack cafe fullstack cafe a q22 if something breaks in production how do you know about it read answer on a href https www fullstack cafe fullstack cafe a q23 what is the difference between resource allocation and resource provisioning read answer on a href https www fullstack cafe fullstack cafe a q24 what is chef read answer on a href https www fullstack cafe fullstack cafe a q25 how do all devops tools work together read answer on a href https www fullstack cafe fullstack cafe a q26 what are the differences between continuous integration continuous delivery and continuous deployment read answer on a href https www fullstack cafe fullstack cafe a q27 explain a use case for docker read answer on a href https www fullstack cafe fullstack cafe a q28 explain blue green deployment technique read answer on a href https www fullstack cafe fullstack cafe a q29 how would you assess how deployable a system is read answer on a href https www fullstack cafe fullstack cafe a q30 how would you prepare for a migration from one platform to another read answer on a href https www fullstack cafe fullstack cafe a q31 classify cloud platforms by category read answer on a href https www fullstack cafe fullstack cafe a q32 what s the difference between a blue green deployment and a rolling deployment read answer on a href https www fullstack cafe fullstack cafe a q33 what do you know about serverless model read answer on a href https www fullstack cafe fullstack cafe a q34 what is vagrant and what is it used for read answer on a href https www fullstack cafe fullstack cafe a q35 how is container different from a virtual machine read answer on a href https www fullstack cafe fullstack cafe a q36 how would you deploy software to 5000 nodes read answer on a href https www fullstack cafe fullstack cafe a q37 what is continuous monitoring read answer on a href https www fullstack cafe fullstack cafe a q38 how would you introduce continuous delivery in a successful huge company for which the change from waterfall to continuous delivery would be not trivial because of the size and complexity of the business read answer on a href https www fullstack cafe fullstack cafe a q39 what is canary releasing read answer on a href https www fullstack cafe fullstack cafe a toc a name docker docker a interview questions q1 what is docker answer docker is a containerization platform which packages your application and all its dependencies together in the form of containers so as to ensure that your application works seamlessly in any environment be it development or test or production docker containers wrap a piece of software in a complete filesystem that contains everything needed to run code runtime system tools system libraries etc anything that can be installed on a server this guarantees that the software will always run the same regardless of its environment source edureka co q2 what is build cache in docker answer when we build an image docker will process each line in dockerfile it will execute the commands on each line in the order that is mentioned in the file but at each line before running any command docker will check if there is already an existing image in its cache that can be reused rather than creating a new image source mindmajix com q3 what s the difference between a repository and a registry answer docker registry is a service for hosting and distributing images the default one is the docker hub docker repository is a collection of related docker images the same name but with different tags source rafalgolarz com q4 what is the difference between docker run and docker create answer the primary difference is that using docker create creates a container in a stopped state bonus point you can use docker create and store an outputed container id for later use the best way to do it is to use docker run with cidfile file name as running it again won t allow to overwrite the file a good practice is to keep well ogranised directory structure containers web server1 ws cid containers web server3 ws cid source rafalgolarz com q5 can you remove docker rm a container that is paused answer no to remove a container it must be stopped first source rafalgolarz com q6 when would you use docker kill or docker rm f answer if you must stop the container really quickly someone pushed something to production on friday evening source rafalgolarz com q7 how to link containers answer the simplest way is to use network port mapping there s also the link flag which is deprecated source rafalgolarz com q8 what is the difference between a docker image and a container answer an instance of an image is called a container you have an image which is a set of layers if you start this image you have a running container of this image you can have many running containers of the same image you can see all your images with docker images whereas you can see your running containers with docker ps and you can see all containers with docker ps a so a running instance of an image is a container source stackoverflow com q9 what type of applications stateless or stateful are more suitable for docker container answer it is preferable to create stateless application for docker container we can create a container out of our application and take out the configurable state parameters from application now we can run same container in production as well as qa environments with different parameters this helps in reusing the same image in different scenarios also a stateless application is much easier to scale with docker containers than a stateful application source mindmajix com q10 what are the most common instructions in dockerfile answer some of the common instructions in dockerfile are as follows from we use from to set the base image for subsequent instructions in every valid dockerfile from is the first instruction label we use label to organize our images as per project module licensing etc we can also use label to help in automation in label we specify a key value pair that can be later used for programmatically handling the dockerfile run we use run command to execute any instructions in a new layer on top of the current image with each run command we add something on top of the image and use it in subsequent steps in dockerfile cmd we use cmd command to provide default values of an executing container in a dockerfile if we include multiple cmd commands then only the last instruction is used source knowledgepowerhouse com q11 how to build envrionment agnostic systems with docker answer there are three main features helping to achieve that volumes environment variable injection read only file systems source rafalgolarz com q12 what is the difference between the copy and add commands in a dockerfile answer although add and copy are functionally similar generally speaking copy is preferred that s because it s more transparent than add copy only supports the basic copying of local files into the container while add has some features like local only tar extraction and remote url support that are not immediately obvious consequently the best use for add is local tar file auto extraction into the image as in add rootfs tar xz source stackoverflow com q13 what is the difference between cmd and entrypoint in a dockerfile answer both cmd and entrypoint instructions define what command gets executed when running a container there are few rules that describe their co operation 1 dockerfile should specify at least one of cmd or entrypoint commands 2 entrypoint should be defined when using the container as an executable 3 cmd should be used as a way of defining default arguments for an entrypoint command or for executing an ad hoc command in a container 4 cmd will be overridden when running the container with alternative argumen source stackoverflow com q14 how do i transfer a docker image from one machine to another one without using a repository no matter private or public answer you will need to save the docker image as a tar file sh docker save o path for generated tar file image name then copy your image to a new system with regular file transfer tools such as cp or scp after that you will have to load the image into docker sh docker load i path to image tar file source stackoverflow com q15 is there a way to identify the status of a docker container answer we can identify the status of a docker container by running the command sh docker ps a which will in turn list down all the available docker containers with its corresponding statuses on the host from there we can easily identify the container of interest to check its status correspondingly source mindmajix com q16 what is docker image answer docker image is the source of docker container in other words docker images are used to create containers images are created with the build command and they ll produce a container when started with run images are stored in a docker registry such as registry hub docker com because they can become quite large images are designed to be composed of layers of other images allowing a minimal amount of data to be sent when transferring images over the network source edureka co q17 what is docker container answer docker containers include the application and all of its dependencies but share the kernel with other containers running as isolated processes in user space on the host operating system docker containers are not tied to any specific infrastructure they run on any computer on any infrastructure and in any cloud source edureka co q18 what is docker hub answer docker hub is a cloud based registry service which allows you to link to code repositories build your images and test them stores manually pushed images and links to docker cloud so you can deploy images to your hosts it provides a centralized resource for container image discovery distribution and change management user and team collaboration and workflow automation throughout the development pipeline source edureka co q19 do i lose my data when the docker container exits answer there is no loss of data when any of your docker containers exits as any of the data that your application writes to the disk in order to preserve it this will be done until the container is explicitly deleted the file system for the docker container persists even after the docker container is halted source mindmajix com q20 what are the various states that a docker container can be in at any given point in time answer there are four states that a docker container can be in at any given point in time those states are as given as follows running paused restarting exited source mindmajix com q21 what is the difference between expose and publish in docker read answer on a href https www fullstack cafe fullstack cafe a q22 explain basic docker usage workflow read answer on a href https www fullstack cafe fullstack cafe a q23 should i use vagrant or docker for creating an isolated environment read answer on a href https www fullstack cafe fullstack cafe a q24 what is the difference between docker image and layer read answer on a href https www fullstack cafe fullstack cafe a q25 what happens if you add more than one cmd instruction to a dockerfile read answer on a href https www fullstack cafe fullstack cafe a q26 what is virtualisation read answer on a href https www fullstack cafe fullstack cafe a q27 what is the difference between cmd and entrypoint in a dockerfile read answer on a href https www fullstack cafe fullstack cafe a q28 can you create containers wihout their own pid namespace read answer on a href https www fullstack cafe fullstack cafe a q29 docker compose vs dockerfile which is better read answer on a href https www fullstack cafe fullstack cafe a q30 what is hypervisor read answer on a href https www fullstack cafe fullstack cafe a q31 could you explain what is emulation read answer on a href https www fullstack cafe fullstack cafe a q32 what is the default cpu limit set for a container read answer on a href https www fullstack cafe fullstack cafe a q33 what is the purpose of expose command in dockerfile read answer on a href https www fullstack cafe fullstack cafe a q34 what is docker swarm read answer on a href https www fullstack cafe fullstack cafe a q35 how will you monitor docker in production read answer on a href https www fullstack cafe fullstack cafe a q36 what is the preferred way of removing containers docker rm f or docker stop then followed by a docker rm read answer on a href https www fullstack cafe fullstack cafe a q37 how can we control the startup order of services in docker compose read answer on a href https www fullstack cafe fullstack cafe a q38 what exactly do you mean by dockerized node can this node be on premises or in the cloud read answer on a href https www fullstack cafe fullstack cafe a q39 how is docker different from a virtual machine read answer on a href https www fullstack cafe fullstack cafe a q40 is it possible to generate a dockerfile from an image read answer on a href https www fullstack cafe fullstack cafe a q41 can you explain dockerfile onbuild instruction read answer on a href https www fullstack cafe fullstack cafe a q42 when you limit the memory for a container does it reserve guarantee the memory read answer on a href https www fullstack cafe fullstack cafe a q43 what is the difference between docker run cmd and entrypoint read answer on a href https www fullstack cafe fullstack cafe a q44 what is an orphant volume and how to remove it read answer on a href https www fullstack cafe fullstack cafe a q45 what are the different kinds of namespaces available in a container read answer on a href https www fullstack cafe fullstack cafe a q46 is it good practice to run stateful applications on docker what are the scenarios where docker best fits in read answer on a href https www fullstack cafe fullstack cafe a q47 how virtualization works at low level read answer on a href https www fullstack cafe fullstack cafe a q48 what is paravirtualization read answer on a href https www fullstack cafe fullstack cafe a q49 can you run docker containers natively on windows read answer on a href https www fullstack cafe fullstack cafe a q50 name some limitations of containers vs vm read answer on a href https www fullstack cafe fullstack cafe a q51 how does docker run containers in non linux systems read answer on a href https www fullstack cafe fullstack cafe a q52 how containers works at low level read answer on a href https www fullstack cafe fullstack cafe a q53 why did docker jump from version 1 13 to 17 03 read answer on a href https www fullstack cafe fullstack cafe a q54 why docker compose does not wait for a container to be ready before moving on to start next service in dependency order read answer on a href https www fullstack cafe fullstack cafe a q55 how to use docker with multiple environments read answer on a href https www fullstack cafe fullstack cafe a toc a name entityframework entity framework a interview questions q1 explain what is ado net entity framework answer ado net entity framework is an orm object relational mapping framework developed by microsoft it is an extension of ado net that provides an automated mechanism to access and store data in the database with the help of ado net database can be accessed without much required programming or code source career guru99 com q2 what are the benefits of using ef answer the main and the only benefit of ef is it auto generates code for the model middle layer data access layer and mapping code thus reducing a lot of development time source codeproject com q3 what is entity framework answer ado net ef is an orm object relational mapping which creates a higher abstract object model over ado net components so rather than getting into dataset datatables command and connection objects as shown in the below code you work on higher level domain objects like customers suppliers etc source codeproject com q4 what are scalar and navigation properties in entity framework answer scalar properties are those where actual values are contained in the entities normally a scalar property will map to a database field navigation properties help to navigate from one entity to another entity directly in the code source codeproject com q5 what are the different ways of creating these domain entity objects answer entity objects can be created in two ways from a database structure or by starting from scratch by creating a model source codeproject com q6 what is pluralize and singularize in the entity framework answer pluralize and singularize give meaningful naming conventions to objects in simple words it says do you want to represent your objects with the below naming convention one customer record means customer singular lot of customer records means customer s plural watch the s source codeproject com q7 what is migration in entity framework answer entity framework introduced a migration tool that automatically updates the database schema when your model changes without losing any existing data or other database objects there are two kinds of migration automated migration code based migration source entityframeworktutorial net q8 what is code first approach in entity framework answer in code first approach we avoid working with the visual designer of entity framework in other words the edmx file is excluded from the solution so you now have complete control over the context class as well as the entity classes source codeproject com q9 how can we read records using entity framework classes answer in order to browse through records you can create the object of the context class and inside the context class you will get the records for instance in the below code snippet we are looping through a customer object collection this customer collection is the output given by the context class customermytextentities csharp customermytestentities obj new customermytestentities foreach customer objcust in obj customers source codeproject com q10 what is the purpose of a dbcontext class answer you can think of dbcontext as the database connection and a set of tables and dbset as a representation of the tables themselves the dbcontext allows you to link your model properties presumably using the entity framework to your database with a connection string later when you wish to refer to a database in your controller to handle data you reference the dbcontext source stackoverflow com q11 what is mapping answer the mapping will have the information on how the conceptual models are mapped to storage models source a4academics com q12 what is conceptual model answer conceptual models are the model classes which contain the relationships these are independent of the database design source a4academics com q13 what is storage model answer storage models are our database design models which contains database tables views stored procs and keys with relationships source a4academics com q14 mention in what all scenarios entity framework can be applicable answer entity framework can be applicable in three scenarios if you have an existing database already or you want to build your database first than other parts of the application if your prime focus is your domain classes and then create the database from your domain classes if you want to design your database schema on the visual designer and create the classes and database source career guru99 com q15 mention what is code first approach and model first approach in entity framework answer in entity framework model first approach in this approach we create entities relationships directly on the design surface of edmx code approach for code approach we avoid working with the visual designer or entity framework source career guru99 com q16 what are the components of entity framework architecture read answer on a href https www fullstack cafe fullstack cafe a q17 what are the advantages of model first approach read answer on a href https www fullstack cafe fullstack cafe a q18 what are the advantages and disadvantages of database first approach read answer on a href https www fullstack cafe fullstack cafe a q19 how can we handle concurrency in entity framework read answer on a href https www fullstack cafe fullstack cafe a q20 what are the different approaches supported in the entity framework to create entity model read answer on a href https www fullstack cafe fullstack cafe a q21 what is ef data access architecture read answer on a href https www fullstack cafe fullstack cafe a q22 what is the importance of edmx file in entity framework read answer on a href https www fullstack cafe fullstack cafe a q23 can you explain lazy loading in a detailed manner read answer on a href https www fullstack cafe fullstack cafe a q24 what is the role of entity client data provider read answer on a href https www fullstack cafe fullstack cafe a q25 what is eager loading read answer on a href https www fullstack cafe fullstack cafe a q26 what are poco classes in entity framework read answer on a href https www fullstack cafe fullstack cafe a q27 how do i delete multiple rows in entity framework without foreach read answer on a href https www fullstack cafe fullstack cafe a q28 what are complex types in entity framework read answer on a href https www fullstack cafe fullstack cafe a q29 could you explain the difference between optimistic vs pessimistic locking read answer on a href https www fullstack cafe fullstack cafe a q30 what are the advantages disadvantages of code first approach read answer on a href https www fullstack cafe fullstack cafe a q31 explain lazy loading eager loading and explicit loading read answer on a href https www fullstack cafe fullstack cafe a q32 explain how you can load related entities in ef read answer on a href https www fullstack cafe fullstack cafe a q33 what is optimistic locking read answer on a href https www fullstack cafe fullstack cafe a q34 what s the difference between linq to sql and entity framework read answer on a href https www fullstack cafe fullstack cafe a q35 name some differences between express vs recoverable messages read answer on a href https www fullstack cafe fullstack cafe a q36 what is faster ado net or ado net entity framework read answer on a href https www fullstack cafe fullstack cafe a q37 is dbcontext thread safe read answer on a href https www fullstack cafe fullstack cafe a q38 what are the disadvantages of using static dbcontext read answer on a href https www fullstack cafe fullstack cafe a q39 can you explain csdl ssdl and msl sections in an edmx file read answer on a href https www fullstack cafe fullstack cafe a q40 what is the difference between objectcontext and dbcontext read answer on a href https www fullstack cafe fullstack cafe a q41 what is the difference between code first model first and database first read answer on a href https www fullstack cafe fullstack cafe a q42 how can you enhance the performance of entity framework read answer on a href https www fullstack cafe fullstack cafe a q43 which type of loading is good in which scenario read answer on a href https www fullstack cafe fullstack cafe a q44 when would you use ef6 vs ef core read answer on a href https www fullstack cafe fullstack cafe a q45 what is the difference between poco code first and simple ef approach read answer on a href https www fullstack cafe fullstack cafe a q46 what type of system generated messages do you know read answer on a href https www fullstack cafe fullstack cafe a q47 what are t4 templates read answer on a href https www fullstack cafe fullstack cafe a q48 could you explain pessimistic locking read answer on a href https www fullstack cafe fullstack cafe a q49 what is the difference between automatic migration vs code base migration read answer on a href https www fullstack cafe fullstack cafe a q50 how can we do pessimistic locking in entity framework read answer on a href https www fullstack cafe fullstack cafe a q51 how do i view the sql generated by the entity framework read answer on a href https www fullstack cafe fullstack cafe a q52 what difference does asnotracking make read answer on a href https www fullstack cafe fullstack cafe a q53 what s the difference between savechanges and acceptallchanges read answer on a href https www fullstack cafe fullstack cafe a q54 when would you use savechanges false acceptallchanges read answer on a href https www fullstack cafe fullstack cafe a q55 what are the advantages and disadvantages of creating a global entities context for the application i e one static instance read answer on a href https www fullstack cafe fullstack cafe a q56 what is client wins and store wins mode in entity framework concurrency read answer on a href https www fullstack cafe fullstack cafe a q57 can i use entity framework 6 not core in net core read answer on a href https www fullstack cafe fullstack cafe a toc a name flutter flutter a interview questions q1 when to use main axis alignment and cross axis alignment answer for row mainaxisalignment horizontal axis crossaxisalignment vertical axis enter image description here https i stack imgur com ayphr png for column mainaxisalignment vertical axis crossaxisalignment horizontal axis enter image description here https i stack imgur com esewf png image source https flutter dev docs development ui layout aligning widgets source stackoverflow com q2 what is flutter answer flutter is an open source ui toolkit from google for crafting beautiful natively compiled applications for desktop web and mobile from a single codebase flutter apps are built using the dart programming language source flutter dev q3 what is the pubspec yaml file and what does it do answer the pubspec yaml file allows you to define the packages your app relies on declare your assets like images audio video etc it allows you to set constraints for your app for android developers this is roughly similar to a build gradle file source medium com q4 when should you use widgetsbindingobserver answer widgetsbindingobserver should be used when we want to listen to the applifecyclestate and call stop start on our services source www filledstacks com q5 what is the difference between main and runapp functions in flutter answer main function came from java like languages so it s where all program started without it you can t write any program on flutter even without ui runapp function should return widget that would be attached to the screen as a root of the widget tree that will be rendered source stackoverflow com q6 what is the difference between expanded and flexible widgets answer expanded is just a shorthand for flexible using expanded this way dart expanded child foo is strictly equivalent to dart flexible fit flexfit tight child foo you may want to use flexible over expanded when you want a different fit useful in some responsive layouts the difference between flexfit tight and flexfit loose is that loose will allow its child to have a maximum size while tight forces that child to fill all the available space source stackoverflow com q7 how is flutter different from a webview based application answer code you write for a webview or an app that runs similarly has to go through multiple layers to finally get executed like cordova for ionic in essence flutter leapfrogs that by compiling down to native arm code to execute on both platforms hybrid apps are slow sluggish and look different from the platform they run on flutter apps run much much faster than their hybrid counterparts it s much easier to access native components and sensors using plugins rather than using webview which can t take full use of their platform source medium com q8 what is the pubspec yaml file and what does it do answer the pubspec yaml allows you to define the packages your app relies on declare your assets like images audio video etc it also allows you to set constraints for your app for android developers this is roughly similar to a build gradle file but the differences between the two are also evident source medium com q9 what is a widget and mention its importance in flutter answer widgets are basically the ui components in flutter it is a way to describe the configuration of an element they are inspired from components in react widgets are important in flutter because everything within a flutter application is a widget from a simple text to buttons to screen layouts source stackoverflow com q10 what is dart and why does flutter use it answer dart is an object oriented garbage collected programming language that you use to develop flutter apps it was also created by google but is open source and has community inside and outside google dart was chosen as the language of flutter for the following reason dart is aot ahead of time compiled to fast predictable native code which allows almost all of flutter to be written in dart this not only makes flutter fast virtually everything including all the widgets can be customized dart can also be jit just in time compiled for exceptionally fast development cycles and game changing workflow including flutter s popular sub second stateful hot reload dart allows flutter to avoid the need for a separate declarative layout language like jsx or xml or separate visual interface builders because dart s declarative programmatic layout is easy to read and visualize and with all the layout in one language and in one place it is easy for flutter to provide advanced tooling that makes layout a snap source hackernoon com q11 what is an app state answer state that is not ephemeral that you want to share across many parts of your app and that you want to keep between user sessions is what we call application state sometimes also called shared state examples of application state user preferences login info notifications in a social networking app the shopping cart in an e commerce app read unread state of articles in a news app source flutter dev q12 how many types of widgets are there in flutter answer there are two types of widgets 1 statelesswidget a widget that does not require mutable state 2 statefulwidget a widget that has mutable state source proandroiddev com q13 what are the different build modes in flutter answer the flutter tooling supports three modes when compiling your app and a headless mode for testing you choose a compilation mode depending on where you are in the development cycle the modes are debug profile release source flutter dev q14 what is fat arrow notation in dart and when do you use it answer the fat arrow syntax is simply a short hand for returning an expression and is similar to return expression the fat arrow is for returning a single line braces are for returning a code block only an expression not a statement can appear between the arrow and the semicolon for example you can t put an if statement there but you can use a conditional expression dart normal function void function1 int a if a 3 print arg was 3 else print arg was not 3 arrow function void function2 int a print arg was a 3 not 3 source stackoverflow com q15 does flutter work like a browser how is it different from a webview based application answer to answer this question simply code you write for a webview or an app that runs similarly has to go through multiple layers to finally get executed in essence flutter leapfrogs that by compiling down to native arm code to execute on both platforms hybrid apps are slow sluggish and look different from the platform they run on flutter apps run much much faster than their hybrid counterparts also it s much easier to access native components and sensors using plugins rather than using webviews which can t take full use of their platform source medium com q16 do you know what ephemeral state means read answer on a href https www fullstack cafe fullstack cafe a q17 what is streams in flutter dart read answer on a href https www fullstack cafe fullstack cafe a q18 explain the different types of streams read answer on a href https www fullstack cafe fullstack cafe a q19 why is the build method on state and not stateful widget read answer on a href https www fullstack cafe fullstack cafe a q20 differentiate statelesswidget and statefulwidget read answer on a href https www fullstack cafe fullstack cafe a q21 what are packages and plugins in flutter read answer on a href https www fullstack cafe fullstack cafe a q22 what are keys in flutter and when to use it read answer on a href https www fullstack cafe fullstack cafe a q23 explain navigator widget and its push pop functions in flutter read answer on a href https www fullstack cafe fullstack cafe a q24 when do we use double infinity read answer on a href https www fullstack cafe fullstack cafe a q25 how to get difference of lists in flutter dart read answer on a href https www fullstack cafe fullstack cafe a q26 differentiate between required and optional parameters in dart read answer on a href https www fullstack cafe fullstack cafe a q27 what are null aware operators read answer on a href https www fullstack cafe fullstack cafe a q28 what is debug mode and when do you use it read answer on a href https www fullstack cafe fullstack cafe a q29 what is profile mode and when do you use it read answer on a href https www fullstack cafe fullstack cafe a q30 what is release mode and when do you use it read answer on a href https www fullstack cafe fullstack cafe a q31 differentiate between named parameters and positional parameters in dart read answer on a href https www fullstack cafe fullstack cafe a q32 how would you execute code only in debug mode read answer on a href https www fullstack cafe fullstack cafe a q33 what is the difference between scaffold and container in flutter read answer on a href https www fullstack cafe fullstack cafe a q34 what is scopedmodel bloc pattern read answer on a href https www fullstack cafe fullstack cafe a q35 how is inheritedwidget different from provider read answer on a href https www fullstack cafe fullstack cafe a q36 what are some pros of flutter read answer on a href https www fullstack cafe fullstack cafe a q37 name some cons of using flutter read answer on a href https www fullstack cafe fullstack cafe a q38 where are the layout files why doesn t flutter have layout files read answer on a href https www fullstack cafe fullstack cafe a q39 why do we pass functions to widgets read answer on a href https www fullstack cafe fullstack cafe a q40 differentiate between hot restart and hot reload read answer on a href https www fullstack cafe fullstack cafe a q41 how do you check if an async void method is completed in dart read answer on a href https www fullstack cafe fullstack cafe a q42 how to declare async function as a variable in dart read answer on a href https www fullstack cafe fullstack cafe a q43 how to duplicate repeating items inside a dart list read answer on a href https www fullstack cafe fullstack cafe a q44 how is whencompleted different from then in future read answer on a href https www fullstack cafe fullstack cafe a q45 when would you use app state or ephemeral state over another read answer on a href https www fullstack cafe fullstack cafe a q46 what is future in flutter dart read answer on a href https www fullstack cafe fullstack cafe a q47 what is the purpose of safearea in flutter read answer on a href https www fullstack cafe fullstack cafe a q48 how do you convert a list into a map in dart read answer on a href https www fullstack cafe fullstack cafe a q49 what is a difference between these operators and read answer on a href https www fullstack cafe fullstack cafe a q50 what is the difference between react native and flutter in depth read answer on a href https www fullstack cafe fullstack cafe a q51 how does dart aot work read answer on a href https www fullstack cafe fullstack cafe a q52 what are some pros and cons of scoped model vs bloc and vice versa read answer on a href https www fullstack cafe fullstack cafe a q53 what are global keys read answer on a href https www fullstack cafe fullstack cafe a q54 what is a mediaquery in flutter and when do we use it read answer on a href https www fullstack cafe fullstack cafe a q55 why is exit 0 not preferred for closing an app read answer on a href https www fullstack cafe fullstack cafe a q56 what s the difference between async and async in dart read answer on a href https www fullstack cafe fullstack cafe a q57 what is the difference between double infinity and mediaquery read answer on a href https www fullstack cafe fullstack cafe a q58 what are the similarities and differences of future and stream read answer on a href https www fullstack cafe fullstack cafe a q59 explain async await in flutter dart read answer on a href https www fullstack cafe fullstack cafe a q60 how to compare two dates that are constructed differently in dart read answer on a href https www fullstack cafe fullstack cafe a q61 what does non nullable by default mean in dart read answer on a href https www fullstack cafe fullstack cafe a q62 what does a class with a method named mean in dart flutter read answer on a href https www fullstack cafe fullstack cafe a q63 why should you use kreleasemode instead of assert read answer on a href https www fullstack cafe fullstack cafe a q64 how is animationcontroller different from timer read answer on a href https www fullstack cafe fullstack cafe a q65 what is the difference between debug mode and profile mode read answer on a href https www fullstack cafe fullstack cafe a q66 why are statefulwidget and state separate classes read answer on a href https www fullstack cafe fullstack cafe a q67 list some approaches for state management in flutter read answer on a href https www fullstack cafe fullstack cafe a q68 explain stateful widget lifecycle in details read answer on a href https www fullstack cafe fullstack cafe a toc a name git git a interview questions q1 what is the command to write a commit message in git answer use sh git commit a a on the command line instructs git to commit the new content of all tracked files that have been modified you can use sh git add file or sh git add a before git commit a if new files need to be committed for the first time source edureka co q2 what is difference between git vs svn answer the main point in git vs svn debate boils down to this git is a distributed version control system dvcs whereas svn is a centralized version control system source medium com q3 what is git answer git is a distributed version control system dvcs it can track changes to a file and allows you to revert back to any particular change its distributed architecture provides many advantages over other version control systems vcs like svn one major advantage is that it does not rely on a central server to store all the versions of a project s files source edureka co q4 what s the difference between a pull request and a branch answer a branch is just a separate version of the code a pull request is when someone take the repository makes their own branch does some changes then tries to merge that branch in put their changes in the other person s code repository source stackoverflow com q5 what is git fork what is difference between fork branch and clone answer a fork is a remote server side copy of a repository distinct from the original a fork isn t a git concept really it s more a political social idea a clone is not a fork a clone is a local copy of some remote repository when you clone you are actually copying the entire source repository including all the history and branches a branch is a mechanism to handle the changes within a single repository in order to eventually merge them with the rest of code a branch is something that is within a repository conceptually it represents a thread of development source stackoverflow com q6 what is the difference between git pull and git fetch answer in the simplest terms git pull does a git fetch followed by a git merge when you use pull git tries to automatically do your work for you it is context sensitive so git will merge any pulled commits into the branch you are currently working in pull automatically merges the commits without letting you review them first if you don t closely manage your branches you may run into frequent conflicts when you fetch git gathers any commits from the target branch that do not exist in your current branch and stores them in your local repository however it does not merge them with your current branch this is particularly useful if you need to keep your repository up to date but are working on something that might break if you update your files to integrate the commits into your master branch you use merge source stackoverflow com q7 how does the centralized workflow work answer the centralized workflow uses a central repository to serve as the single point of entry for all changes to the project the default development branch is called master and all changes are committed into this branch developers start by cloning the central repository in their own local copies of the project they edit files and commit changes these new commits are stored locally to publish changes to the official project developers push their local master branch to the central repository before the developer can publish their feature they need to fetch the updated central commits and rebase their changes on top of them compared to other workflows the centralized workflow has no defined pull request or forking patterns source atlassian com q8 you need to update your local repos what git commands will you use answer it s a two steps process first you fetch the changes from a remote named origin sh git fetch origin then you merge a branch master to local sh git merge origin master or simply sh git pull origin master if origin is a default remote and master is default branch you can drop it eg git pull source samwize com q9 how to undo the most recent commits in git details you accidentally committed wrong files to git but haven t pushed the commit to the server yet how can you undo those commits from the local repository answer sh git commit m something terribly misguided git reset head copied the old head to git orig head edit files as necessary git add git commit c orig head will open an editor which initially contains the log message from the old commit and allows you to edit it source stackoverflow com q10 tell me the difference between head working tree and index in git read answer on a href https www fullstack cafe fullstack cafe a q11 when should i use git stash read answer on a href https www fullstack cafe fullstack cafe a q12 explain the advantages of forking workflow read answer on a href https www fullstack cafe fullstack cafe a q13 could you explain the gitflow workflow read answer on a href https www fullstack cafe fullstack cafe a q14 you need to rollback to a previous commit and don t care about recent changes what commands should you use read answer on a href https www fullstack cafe fullstack cafe a q15 how to revert previous commit in git read answer on a href https www fullstack cafe fullstack cafe a q16 what is git cherry pick read answer on a href https www fullstack cafe fullstack cafe a q17 what is a bare git repository read answer on a href https www fullstack cafe fullstack cafe a q18 when would you use git clone bare over git clone mirror read answer on a href https www fullstack cafe fullstack cafe a q19 what is the head in git read answer on a href https www fullstack cafe fullstack cafe a q20 how to remove a file from git without removing it from your file system read answer on a href https www fullstack cafe fullstack cafe a q21 can you explain what git reset does in plain english read answer on a href https www fullstack cafe fullstack cafe a q22 write down a sequence of git commands for a rebase workflow read answer on a href https www fullstack cafe fullstack cafe a q23 what is difference between git stash pop and git stash apply read answer on a href https www fullstack cafe fullstack cafe a q24 how do you make an existing repository bare read answer on a href https www fullstack cafe fullstack cafe a q25 what is the difference between git clone git clone bare and git clone mirror read answer on a href https www fullstack cafe fullstack cafe a q26 when would you use git clone over git clone bare read answer on a href https www fullstack cafe fullstack cafe a q27 when would you use git clone over git clone mirror read answer on a href https www fullstack cafe fullstack cafe a q28 write down a git command to check difference between two commits read answer on a href https www fullstack cafe fullstack cafe a q29 when do you use git rebase instead of git merge read answer on a href https www fullstack cafe fullstack cafe a q30 do you know how to easily undo a git rebase read answer on a href https www fullstack cafe fullstack cafe a q31 how to amend older git commit read answer on a href https www fullstack cafe fullstack cafe a q32 what git command do you need to use to know who changed certain lines in a specific file read answer on a href https www fullstack cafe fullstack cafe a q33 what are git hooks read answer on a href https www fullstack cafe fullstack cafe a q34 what are the type of git hooks read answer on a href https www fullstack cafe fullstack cafe a q35 what is git bisect how can you use it to determine the source of a regression bug read answer on a href https www fullstack cafe fullstack cafe a q36 how can you use git bisect to determine the source of a regression bug read answer on a href https www fullstack cafe fullstack cafe a toc a name golang golang a interview questions q1 what is go answer go is a general purpose language designed with systems programming in mind it was initially developed at google in year 2007 by robert griesemer rob pike and ken thompson it is strongly and statically typed provides inbuilt support for garbage collection and supports concurrent programming programs are constructed using packages for efficient management of dependencies go programming implementations use a traditional compile and link model to generate executable binaries source tutorialspoint com q2 is go a new language framework or library answer go isn t a library and not a framework it s a new language go is mostly in the c family basic syntax with significant input from the pascal modula oberon family declarations packages go does have an extensive library called the runtime that is part of every go program although it is more central to the language go s runtime is analogous to libc the c library it is important to understand however that go s runtime does not include a virtual machine such as is provided by the java runtime go programs are compiled ahead of time to native machine code source golang org q3 can you declared multiple types of variables in single declaration in go answer yes variables of different types can be declared in one go using type inference go var a b c 3 4 foo source tutorialspoint com q4 what is a pointer answer a pointer variable can hold the address of a variable consider go var x 5 var p int p x fmt printf x d p here x can be accessed by p source tutorialspoint com q5 can you return multiple values from a function answer a go function can return multiple values consider go package main import fmt func swap x y string string string return y x func main a b swap mahesh kumar fmt println a b source tutorialspoint com q6 what are some advantages of using go answer go is an attempt to introduce a new concurrent garbage collected language with fast compilation and the following benefits it is possible to compile a large go program in a few seconds on a single computer go provides a model for software construction that makes dependency analysis easy and avoids much of the overhead of c style include files and libraries go s type system has no hierarchy so no time is spent defining the relationships between types also although go has static types the language attempts to make types feel lighter weight than in typical oo languages go is fully garbage collected and provides fundamental support for concurrent execution and communication by its design go proposes an approach for the construction of system software on multicore machines source golang org q7 why the go language was created answer go was born out of frustration with existing languages and environments for systems programming go is an attempt to have an interpreted dynamically typed language with the efficiency and safety of a statically typed compiled language support for networked and multicore computing be fast in compilation to meet these goals required addressing a number of linguistic issues an expressive but lightweight type system concurrency and garbage collection rigid dependency specification and so on these cannot be addressed well by libraries or tools so a new language was born source golang org q8 explain this code details in go there are various ways to return a struct value or slice thereof could you explain the difference go type mystruct struct val int func myfunc mystruct return mystruct val 1 func myfunc mystruct return mystruct func myfunc s mystruct s val 1 answer shortly the first returns a copy of the struct the second a pointer to the struct value created within the function the third expects an existing struct to be passed in and overrides the value source stackoverflow com q9 what is dynamic type declaration of a variable in go answer a dynamic type variable declaration requires compiler to interpret the type of variable based on value passed to it compiler don t need a variable to have type statically as a necessary requirement source tutorialspoint com q10 what are goroutines answer goroutines are functions or methods that run concurrently with other functions or methods goroutines can be thought of as light weight threads the cost of creating a goroutine is tiny when compared to a thread its common for go applications to have thousands of goroutines running concurrently source golangbot com q11 let s talk variable declaration in go could you explain what is a variable zero value answer variable is the name given to a memory location to store a value of a specific type there are various syntaxes to declare variables in go go 1 variable declaration then assignment var age int age 29 2 variable declaration with initial value var age2 int 29 3 type inference var age3 29 4 declaring multiple variables var width height int 100 50 5 declare variables belonging to different types in a single statement var name1 initialvalue1 name2 initialvalue2 6 short hand declaration name age4 naveen 29 short hand declaration if a variable is not assigned any value go automatically initialises it with the zero value of the variable s type go is strongly typed so variables declared as belonging to one type cannot be assigned a value of another type source golangbot com q12 what kind of type conversion is supported by go answer go is very strict about explicit typing there is no automatic type promotion or conversion explicit type conversion is required to assign a variable of one type to another consider go i 55 int j 67 8 float64 sum i int j j is converted to int source golangbot com q13 what is static type declaration of a variable in go answer static type variable declaration provides assurance to the compiler that there is one variable existing with the given type and name so that compiler proceed for further compilation without needing complete detail about the variable a variable declaration has its meaning at the time of compilation only compiler needs actual variable declaration at the time of linking of the program source tutorialspoint com q14 how to efficiently concatenate strings in go details in go a string is a primitive type which means it is read only and every manipulation of it will create a new string so if i want to concatenate strings many times without knowing the length of the resulting string what s the best way to do it answer beginning with go 1 10 there is a strings builder a builder is used to efficiently build a string using write methods it minimizes memory copying the zero value is ready to use go package main import strings fmt func main var str strings builder for i 0 i 1000 i str writestring a fmt println str string source stackoverflow com q15 what are the benefits of using go programming answer following are the benefits of using go programming support for environment adopting patterns similar to dynamic languages for example type inference x 0 is valid declaration of a variable x of type int compilation time is fast in built concurrency support light weight processes via goroutines channels select statement conciseness simplicity and safety support for interfaces and type embedding the go compiler supports static linking all the go code can be statically linked into one big fat binary and it can be deployed in cloud servers easily without worrying about dependencies source tutorialspoint com q16 does go have exceptions answer no go takes a different approach for plain error handling go s multi value returns make it easy to report an error without overloading the return value go code uses error values to indicate an abnormal state consider go func open name string file file err error go f err os open filename ext if err nil log fatal err do something with the open file f source golang org q17 what is rune type in go read answer on a href https www fullstack cafe fullstack cafe a q18 name some advantages of goroutines over threads read answer on a href https www fullstack cafe fullstack cafe a q19 how to initialise a struct in go read answer on a href https www fullstack cafe fullstack cafe a q20 is go an object oriented language read answer on a href https www fullstack cafe fullstack cafe a q21 how to check if a map contains a key in go read answer on a href https www fullstack cafe fullstack cafe a q22 is there a foreach construct in the go language read answer on a href https www fullstack cafe fullstack cafe a q23 implement a function that reverses a slice of integers read answer on a href https www fullstack cafe fullstack cafe a q24 can go have optional parameters read answer on a href https www fullstack cafe fullstack cafe a q25 have you worked with go 2 read answer on a href https www fullstack cafe fullstack cafe a q26 what is the preferred way to handle configuration parameters for a go program read answer on a href https www fullstack cafe fullstack cafe a q27 what is the difference between the and operator read answer on a href https www fullstack cafe fullstack cafe a q28 what would you do if you need a hash displayed in a fixed order read answer on a href https www fullstack cafe fullstack cafe a q29 what is the difference between c sleep and time sleep read answer on a href https www fullstack cafe fullstack cafe a q30 what are the differences between unbuffered and buffered channels read answer on a href https www fullstack cafe fullstack cafe a q31 how to copy map in go read answer on a href https www fullstack cafe fullstack cafe a q32 why would you prefer to use an empty struct read answer on a href https www fullstack cafe fullstack cafe a q33 how do you swap two values provide a few examples read answer on a href https www fullstack cafe fullstack cafe a q34 what is so special about constants in go read answer on a href https www fullstack cafe fullstack cafe a q35 how does go compile so quickly read answer on a href https www fullstack cafe fullstack cafe a q36 what might be wrong with the following small program read answer on a href https www fullstack cafe fullstack cafe a q37 how to find a type of an object in go read answer on a href https www fullstack cafe fullstack cafe a q38 when is the init function run read answer on a href https www fullstack cafe fullstack cafe a q39 briefly describe how gc works in go read answer on a href https www fullstack cafe fullstack cafe a q40 what is the difference if any in the following two slice declarations and which one is more preferable read answer on a href https www fullstack cafe fullstack cafe a q41 list the functions can stop or suspend the execution of current goroutine and explain their differences read answer on a href https www fullstack cafe fullstack cafe a q42 what is goroot and gopath read answer on a href https www fullstack cafe fullstack cafe a q43 what is the idiomatic go equivalent of c s ternary operator read answer on a href https www fullstack cafe fullstack cafe a q44 what are the use s for tags in go read answer on a href https www fullstack cafe fullstack cafe a q45 how can i check if two slices are equal read answer on a href https www fullstack cafe fullstack cafe a q46 what is an idiomatic way of representing enums in go read answer on a href https www fullstack cafe fullstack cafe a q47 what is the malloc threshold of map object how to modify it read answer on a href https www fullstack cafe fullstack cafe a q48 how to compare two interfaces in go read answer on a href https www fullstack cafe fullstack cafe a q49 when go runtime allocates memory from heap and when from stack read answer on a href https www fullstack cafe fullstack cafe a toc a name graphql graphql a interview questions q1 is graphql a database technology answer no graphql is often confused with being a database technology this is a misconception graphql is a query language for apis not databases in that sense it s database agnostic and can be used with any kind of database or even no database at all source howtographql com q2 what is graphql answer graphql is a query language created by facebook http facebook github io in 2012 which provides a common interface between the client and the server for data fetching and manipulations the client asks for various data from the graphql server via queries the response format is described in the query and defined by the client instead of the server they are called client specified queries the structure of the data is not hardcoded as in traditional rest apis this makes retrieving data from the server more efficient for the client source howtographql com q3 is graphql only for react javascript developers answer no graphql is an api technology so it can be used in any context where an api is required on the backend a graphql server can be implemented in any programming language that can be used to build a web server next to javascript there are popular reference implementations for ruby python scala java clojure go and net since a graphql api is usually operated over http any client that can speak http is able to query data from a graphql server note graphql is actually transport layer agnostic so you could choose other protocols than http to implement your server source howtographql com q4 what is an exclamation point in graphql answer that means that the field is non nullable by default all types in graphql are nullable when non null is applied to the type of a field it means that if the server resolves that field to null the response will fail validation source stackoverflow com q5 how to do error handling answer a successful graphql query is supposed to return a json object with a root field called data if the request fails or partially fails e g because the user requesting the data doesn t have the right access permissions a second root field called errors is added to the response js data errors source howtographql com q6 where is graphql useful answer graphql helps where your client needs a flexible response format to avoid extra queries and or massive data transformation with the overhead of keeping them in sync using a graphql server makes it very easy for a client side developer to change the response format without any change on the backend with graphql you can describe the required data in a more natural way it can speed up development because in application structures like top down rendering in react the required data is more similar to your component structure source blog risingstack com q7 what is difference between mutation and query answer technically any graphql query could be implemented to cause a data write but there is a convention that any operations that cause writes should be sent explicitly via a mutation besides the difference in the semantic there is one important technical difference query fields can be executed in parallel by the graphql engine while mutation top level fields must execute serially according to the spec source stackoverflow com q8 what is graphql schema answer every graphql server has two core parts that determine how it works a schema and resolve functions the schema is a model of the data that can be fetched through the graphql server it defines what queries clients are allowed to make what types of data can be fetched from the server and what the relationships between these types are consider css type author id int name string posts post type post id int title string text string author author type query getauthor id int author getpostsbytitle titlecontains string post schema query query source dev blog apollodata com q9 how to do authentication and authorization read answer on a href https www fullstack cafe fullstack cafe a q10 what kind of operations could graphql schema have read answer on a href https www fullstack cafe fullstack cafe a q11 explain the main difference between rest and graphql read answer on a href https www fullstack cafe fullstack cafe a q12 does graphql support offline usage read answer on a href https www fullstack cafe fullstack cafe a q13 how to do server side caching read answer on a href https www fullstack cafe fullstack cafe a q14 how to query all the graphql type fields without writing a long query read answer on a href https www fullstack cafe fullstack cafe a q15 list the key concepts of the graphql query language read answer on a href https www fullstack cafe fullstack cafe a q16 can you make a graphql type both an input and output type read answer on a href https www fullstack cafe fullstack cafe a q17 are there any disadvantages to graphql read answer on a href https www fullstack cafe fullstack cafe a q18 how to implement a set of graphql mutations in single transaction read answer on a href https www fullstack cafe fullstack cafe a q19 how do you prevent nested attack on graphql server read answer on a href https www fullstack cafe fullstack cafe a q20 is it possible to use inheritance with graphql input types read answer on a href https www fullstack cafe fullstack cafe a q21 what is ast in graphql read answer on a href https www fullstack cafe fullstack cafe a q22 how to respond with different status code in graphql read answer on a href https www fullstack cafe fullstack cafe a q23 what the criteria set is for deciding when to use graphql vs hateoas read answer on a href https www fullstack cafe fullstack cafe a q24 how would you model recursive data structures in graphql read answer on a href https www fullstack cafe fullstack cafe a toc a name html5 html5 a interview questions q1 what is an iframe and how it works answer an iframe is an html document which can be embedded inside another html page example html iframe src https github com height 300px width 300px iframe source github com fuelfrontend q2 explain meta tags in html answer meta tags always go inside head tag of the html page meta tags is always passed as name value pairs meta tags are not displayed on the page but intended for the browser meta tags can contain information about character encoding description title of the document etc example html doctype html html head meta name description content i am a web page with description title home page title head body body html source github com fuelfrontend q3 what is the purpose of the alt attribute on images answer the alt attribute provides alternative information for an image if a user cannot view it the alt attribute should be used to describe any images except those which only serve a decorative purposes in which case it should be left empty source developer mozilla org q4 write a html table tag sequence that outputs the following answer write a html table tag sequence that outputs the following 50 pcs 100 500 10 pcs 5 50 answer html table tr td 50 pcs td td 100 td td 500 td tr tr td 10 pcs td td 5 td td 50 td tr table source toptal com q5 what were some of the key goals and motivations for the html5 specification answer html5 was designed to replace html 4 xhtml and the html dom level 2 the key goals and motivations behind the html5 specification were to deliver rich content graphics movies etc without the need for additional plugins such as flash provide better semantic support for web page structure through new structural element tags provide a stricter parsing standard to simplify error handling ensure more consistent cross browser behaviour and simplify compatibility with documents written to older standards provide better cross platform support whether running on a pc tablet or smartphone source toptal com q6 hat s the difference between an attribute and a property in html answer attributes are defined on the html markup but properties are defined on the dom to illustrate the difference imagine we have this text field in our html input type text value hello js const input document queryselector input console log input getattribute value hello console log input value hello but after you change the value of the text field by adding world to it this becomes js console log input getattribute value hello console log input value hello world source github com yangshun q7 briefly describe the correct usage of the following html5 semantic elements header article section footer answer header is used to contain introductory and navigational information about a section of the page this can include the section heading the author s name time and date of publication table of contents or other navigational information article is meant to house a self contained composition that can logically be independently recreated outside of the page without losing it s meaining individual blog posts or news stories are good examples section is a flexible container for holding content that shares a common informational theme or purpose footer is used to hold information that should appear at the end of a section of content and contain additional information about the section author s name copyright information and related links are typical examples of such content source w3schools com q8 how can i get indexed better by search engines answer it is possible to get indexed better by placing the following two statements in the head part of your documents html meta name keywords content keyword keyword keyword keyword meta name description content description of your site both may contain up to 1022 characters if a keyword is used more than 7 times the keywords tag will be ignored altogether also you cannot put markup other than entities in the description or keywords list source freejavaguide com q9 what is character encoding answer to display an html page correctly a web browser must know which character set character encoding to use this is specified in the meta tag html4 html meta http equiv content type content text html charset iso 8859 1 html5 html meta charset utf 8 source w3schools com q10 what is the difference between span and div answer div is a block element span is inline element for bonus points you could point out that it s illegal to place a block element inside an inline element and that while div can have a p tag and a p tag can have a span it is not possible for span to have a div or p tag inside source thatjsdude com q11 what is a self closing tag answer in html5 it is not strictly necessary to close certain html tags the tags that aren t required to have specific closing tags are called self closing tags an example of a self closing tag is something like a line break br or the meta tag meta this means that the following are both acceptable html meta charset utf 8 meta charset utf 8 source blog teamtreehouse com q12 how can you highlight text in html answer if you are working with an html5 page the mark tag can be a quick and easy way of highlighting or marking text on a page html mark highlighted text mark to highlight text with just html code and support for all browsers set the background color style as shown in the example below using the span html tag html span style background color ffff00 yellow text span source computerhope com q13 can a web page contain multiple header elements what about footer elements read answer on a href https www fullstack cafe fullstack cafe a q14 what are data attributes good for read answer on a href https www fullstack cafe fullstack cafe a q15 have you used different html templating languages before read answer on a href https www fullstack cafe fullstack cafe a q16 how do you change the direction of html text read answer on a href https www fullstack cafe fullstack cafe a q17 what is websql read answer on a href https www fullstack cafe fullstack cafe a q18 what is an optional tag read answer on a href https www fullstack cafe fullstack cafe a q19 how do you serve a page with content in multiple languages read answer on a href https www fullstack cafe fullstack cafe a q20 what is the difference between section and div read answer on a href https www fullstack cafe fullstack cafe a q21 what does a doctype do read answer on a href https www fullstack cafe fullstack cafe a q22 explain almost standard full standard and quirks mode read answer on a href https www fullstack cafe fullstack cafe a q23 when is it appropriate to use the small element read answer on a href https www fullstack cafe fullstack cafe a q24 what is the purpose of cache busting and how can you achieve it read answer on a href https www fullstack cafe fullstack cafe a q25 describe the difference between a cookie sessionstorage and localstorage read answer on a href https www fullstack cafe fullstack cafe a q26 what are defer and async attributes on a script tag read answer on a href https www fullstack cafe fullstack cafe a q27 what is the dom read answer on a href https www fullstack cafe fullstack cafe a q28 discuss the differences between an html specification and a browser s implementation thereof read answer on a href https www fullstack cafe fullstack cafe a q29 what are some differences that xhtml has compared to html read answer on a href https www fullstack cafe fullstack cafe a q30 where and why is the rel noopener attribute used read answer on a href https www fullstack cafe fullstack cafe a q31 what is html5 web storage explain localstorage and sessionstorage read answer on a href https www fullstack cafe fullstack cafe a q32 what is websql read answer on a href https www fullstack cafe fullstack cafe a q33 explain the difference between block elements and inline elements read answer on a href https www fullstack cafe fullstack cafe a q34 how do you set ie compatibility mode read answer on a href https www fullstack cafe fullstack cafe a q35 what s new in html 5 read answer on a href https www fullstack cafe fullstack cafe a q36 explain the difference between cookies session and local storage read answer on a href https www fullstack cafe fullstack cafe a q37 what are web workers read answer on a href https www fullstack cafe fullstack cafe a q38 describe the difference between script script async and script defer read answer on a href https www fullstack cafe fullstack cafe a q39 why to use html5 semantic tags read answer on a href https www fullstack cafe fullstack cafe a q40 what is webp read answer on a href https www fullstack cafe fullstack cafe a q41 what kind of things must you be wary of when designing or developing for multilingual sites read answer on a href https www fullstack cafe fullstack cafe a q42 what is progressive rendering read answer on a href https www fullstack cafe fullstack cafe a q43 what are the building blocks of html5 read answer on a href https www fullstack cafe fullstack cafe a q44 what s the difference between full standard almost standard and quirks mode read answer on a href https www fullstack cafe fullstack cafe a q45 why you would use a srcset attribute in an image tag explain the process the browser uses when evaluating the content of this attribute read answer on a href https www fullstack cafe fullstack cafe a q46 html markup validity read answer on a href https www fullstack cafe fullstack cafe a q47 how would you select svg or canvas for your site read answer on a href https www fullstack cafe fullstack cafe a q48 what is an html preprocessor and are you using it read answer on a href https www fullstack cafe fullstack cafe a q49 why do i need a doctype and what does it do read answer on a href https www fullstack cafe fullstack cafe a q50 what is the purpose of main element read answer on a href https www fullstack cafe fullstack cafe a q51 what are web components read answer on a href https www fullstack cafe fullstack cafe a q52 what is accessibility aria role means in a web application read answer on a href https www fullstack cafe fullstack cafe a q53 could you generate a public key in html read answer on a href https www fullstack cafe fullstack cafe a q54 why is it generally a good idea to position css link s between head head and js script s just before body do you know any exceptions read answer on a href https www fullstack cafe fullstack cafe a q55 what is an indexeddb read answer on a href https www fullstack cafe fullstack cafe a toc a name ionic ionic a interview questions q1 what is ionic framework answer ionic framework is an open source ui toolkit for building performant high quality mobile and desktop apps using web technologies html css and javascript ionic framework is focused on the frontend user experience or ui interaction of an app controls interactions gestures animations currently ionic framework has official integrations with angular and react and support for vue is in development source ionicframework com q2 how can you test ionic applications answer ionic v 1 applications are built using angularjs angular has a rich set of test libraries and frameworks such as jasmine and karma test runner these frameworks can be used to write unit tests for ionic applications also ionic cli provides live reload feature so the application can be tested in the browser for example the ionic serve command can be used to load the application in any browser thus we can use chrome developer tools or mozilla firefox with firebug to debug and inspect ionic applications source toptal com q3 what is hybrid app development answer hybrid apps are developed using web technologies like html css and javascript and then wrapped in a native application using platforms like cordova the apps are shown in its own embedded browser like uiwebview in ios and webview in android not safari or chrome this allows you to use any web native framework for mobile app development source netguru com q4 can we work with ionic 1 and angularjs answer unfortunately no ionic 1 at a very high level is essentially just a wrapper directive component library for angularjs 1 in that same regard ionic 2 is built in the same way utilizing all the benefits of angular 2 ionic 2 breaks away from being tied to the dom in the browser by using angular 2 which is the reason for the massive change between ionic 1 x and ionic 2 x angular 2 x architecture is not tied down to the dom unlike the angular 1 x source toptal com q5 how do you pass data from one view to another in ionic applications answer ionic v 1 uses angularjs and ui router it means you can use angular services or ui router s state resolve to pass data from one view to another since angular services are singletons data stored in services can be accessed across other angular controllers as mentioned ui router provides a resolve configuration for example js stateprovider state todos url todos controller todosctrl templateurl todos html resolve todos function todosservice return todosservice gettodos one advantage of resolve over stateful services is better testing as resolve injects dependencies in the controller it is easy to test them when using ionic v 4 you have 3 options 1 using query params bad 2 service and resolve function legit 3 using router extras state new since angular 7 2 js opendetailswithstate let navigationextras navigationextras state user this user this router navigate details navigationextras source toptal com q6 what is the difference between cordova and ionic read answer on a href https www fullstack cafe fullstack cafe a q7 how would you compare ionic vs flutter when would you choose one read answer on a href https www fullstack cafe fullstack cafe a q8 how do you persist data between application launches using ionic read answer on a href https www fullstack cafe fullstack cafe a q9 what are some possible security issues with ionic apps read answer on a href https www fullstack cafe fullstack cafe a q10 what is the advantage of caching the views in ionic apps read answer on a href https www fullstack cafe fullstack cafe a q11 how can you detect a platform android or ios at runtime in ionic application read answer on a href https www fullstack cafe fullstack cafe a q12 how can you access mobile phone native functionality in ionic applications for example the camera read answer on a href https www fullstack cafe fullstack cafe a q13 what is the difference between phonegap cordova and ionic read answer on a href https www fullstack cafe fullstack cafe a q14 what s the difference between ionic build and ionic prepare read answer on a href https www fullstack cafe fullstack cafe a q15 what are the most prominent advantages and disadvantages of building applications using the ionic framework read answer on a href https www fullstack cafe fullstack cafe a q16 how many types of storage available in ionic framework read answer on a href https www fullstack cafe fullstack cafe a q17 what is capacitor read answer on a href https www fullstack cafe fullstack cafe a q18 how to use observables in the ionic framework read answer on a href https www fullstack cafe fullstack cafe a q19 what is ionic native read answer on a href https www fullstack cafe fullstack cafe a q20 what is the difference between capacitor and cordova read answer on a href https www fullstack cafe fullstack cafe a q21 what does it mean that ionic became framework agnostic read answer on a href https www fullstack cafe fullstack cafe a q22 how can you render a 5000 item list in ionic without affecting scroll performance read answer on a href https www fullstack cafe fullstack cafe a q23 how is the ionic framework v4 different from v3 read answer on a href https www fullstack cafe fullstack cafe a q24 if more than one component is trying to make an http call to same url then how can you restrict making 2 network calls read answer on a href https www fullstack cafe fullstack cafe a q25 what are the new features in ionic 4 read answer on a href https www fullstack cafe fullstack cafe a q26 what are the ionic lifecycle events read answer on a href https www fullstack cafe fullstack cafe a q27 what aot and jit and which is used by ionic read answer on a href https www fullstack cafe fullstack cafe a q28 performance of ionic application is bad on older android devices why is this and what can be done to improve it read answer on a href https www fullstack cafe fullstack cafe a q29 what are some security measures should be made for ionic app read answer on a href https www fullstack cafe fullstack cafe a toc a name json json a interview questions q1 what is json and why would i use it answer json javascript object notation is a lightweight format that is used for data interchanging it is based on a subset of javascript language the way objects are built in javascript some javascript is not json and some json is not javascript source stackoverflow com q2 what is the correct json content type answer the mime media type for json text is application json the default encoding is utf 8 source rfc 4627 source stackoverflow com q3 how should i parse a json string in javascript answer the standard way to parse json in javascript is json parse the json api was introduced with es5 2011 and has since been implemented in 99 of browsers by market share and node js its usage is simple js const json fruit pineapple fingers 10 const obj json parse json console log obj fruit obj fingers source stackoverflow com q4 what are the limitations and uses of json read answer on a href https www fullstack cafe fullstack cafe a q5 can i use comments inside a json file if so how read answer on a href https www fullstack cafe fullstack cafe a q6 why must one use json over xml read answer on a href https www fullstack cafe fullstack cafe a q7 are javascript objects and json equivalent read answer on a href https www fullstack cafe fullstack cafe a q8 explain the structure of json read answer on a href https www fullstack cafe fullstack cafe a q9 what are the differences between json and jsonp read answer on a href https www fullstack cafe fullstack cafe a q10 explain the difference between json stringify and json parse read answer on a href https www fullstack cafe fullstack cafe a q11 what is the difference between yaml and json read answer on a href https www fullstack cafe fullstack cafe a q12 which data format is the right one for json read answer on a href https www fullstack cafe fullstack cafe a q13 is there a standard on json naming read answer on a href https www fullstack cafe fullstack cafe a q14 what is jsonp and why was it created read answer on a href https www fullstack cafe fullstack cafe a q15 how could i parse a json string in older browser read answer on a href https www fullstack cafe fullstack cafe a toc a name java java a interview questions q1 what is jvm why is java called the platform independent programming language answer a java virtual machine jvm is a process virtual machine that can execute java bytecode each java source file is compiled into a bytecode file which is executed by the jvm java was designed to allow application programs to be built that could be run on any platform without having to be rewritten or recompiled by the programmer for each separate platform a java virtual machine makes this possible because it is aware of the specific instruction lengths and other particularities of the underlying hardware platform source github com snowdream q2 what is a servlet answer the servlet is a java programming language class used to process client requests and generate dynamic web content servlets are mostly used to process or store data submitted by an html form provide dynamic content and manage state information that does not exist in the stateless http protocol source github com snowdream q3 what is the difference between jdk and jre answer the java runtime environment jre is basically the java virtual machine jvm where your java programs are being executed it also includes browser plugins for applet execution the java development kit jdk is the full featured software development kit for java including the jre the compilers and tools like javadoc and java debugger in order for a user to develop compile and execute java applications source github com snowdream q4 what is a jsp page answer a java server page jsp is a text document that contains two types of text static data and jsp elements static data can be expressed in any text based format such as html or xml jsp is a technology that mixes static content with dynamically generated content source github com snowdream q5 what is the difference between an applet and a java application answer applets are executed within a java enabled browser but a java application is a standalone java program that can be executed outside of a browser however they both require the existence of a java virtual machine jvm furthermore a java application requires a main method with a specific signature in order to start its execution java applets don t need such a method to start their execution finally java applets typically use a restrictive security policy while java applications usually use more relaxed security policies source github com snowdream q6 what are the two types of exceptions in java which are the differences between them answer java has two types of exceptions checked exceptions and unchecked exceptions 1 unchecked exceptions do not need to be declared in a method or a constructor s throws clause if they can be thrown by the execution of the method or the constructor and propagate outside the method or constructor boundary 2 on the other hand checked exceptions must be declared in a method or a constructor s throws clause source github com snowdream q7 how do i efficiently iterate over each entry in a java map answer consider java map string string map for map entry string string entry map entryset system out println entry getkey entry getvalue in java 8 you can do it clean and fast using the new lambdas features java final long i 0 map foreach k v i 0 k v source stackoverflow com q8 explain serialization and deserialization answer java provides a mechanism called object serialization where an object can be represented as a sequence of bytes and includes the object s data as well as information about the object s type and the types of data stored in the object thus serialization can be seen as a way of flattening objects in order to be stored on disk and later read back and reconstituted deserialisation is the reverse process of converting an object from its flattened state to a live object source github com snowdream q9 what is the difference between an interface and an abstract class answer java provides and supports the creation both of abstract classes and interfaces both implementations share some common characteristics but they differ in the following features all methods in an interface are implicitly abstract on the other hand an abstract class may contain both abstract and non abstract methods a class may implement a number of interfaces but can extend only one abstract class in order for a class to implement an interface it must implement all its declared methods however a class may not implement all declared methods of an abstract class though in this case the sub class must also be declared as abstract abstract classes can implement interfaces without even providing the implementation of interface methods variables declared in a java interface is by default final an abstract class may contain non final variables members of a java interface are public by default a member of an abstract class can either be private protected or public an interface is absolutely abstract and cannot be instantiated an abstract class also cannot be instantiated but can be invoked if it contains a main method source github com snowdream q10 what are pass by reference and pass by value answer when an object is passed by value this means that a copy of the object is passed thus even if changes are made to that object it doesn t affect the original value when an object is passed by reference this means that the actual object is not passed rather a reference of the object is passed thus any changes made by the external method are also reflected in all places source github com snowdream q11 what is the difference between processes and threads answer the main difference between them is that a process is a program which is executing some code and a thread is an independent path of execution in the process a process can have more than one thread for doing independent task e g a thread for reading data from disk a thread for processing that data and another thread for sending that data over the network source github com snowdream q12 what s the difference between sendredirect and forward methods answer the sendredirect method creates a new request while the forward method just forwards a request to a new target the previous request scope objects are not available after a redirect because it results in a new request on the other hand the previous request scope objects are available after forwarding finally in general the sendredirect method is considered to be slower compare to the forward method source github com snowdream q13 explain the architechure of a servlet answer the core abstraction that must be implemented by all servlets is the javax servlet servlet interface each servlet must implement it either directly or indirectly either by extending javax servlet genericservlet or javax servlet http httpservlet finally each servlet is able to serve multiple requests in parallel using multithreading source github com snowdream q14 what are jsp actions answer jsp actions use constructs in xml syntax to control the behavior of the servlet engine jsp actions are executed when a jsp page is requested they can be dynamically inserted into a file re use javabeans components forward the user to another page or generate html for the java plugin some of the available actions are listed below jsp include includes a file when the jsp page is requested jsp usebean finds or instantiates a javabean jsp setproperty sets the property of a javabean jsp getproperty gets the property of a javabean jsp forward forwards the requester to a new page jsp plugin generates browser specific code source github com snowdream q15 what are expressions answer a jsp expression is used to insert the value of a scripting language expression converted into a string into the data stream returned to the client by the web server expressions are defined between and tags source github com snowdream q16 what are decalarations answer declarations are similar to variable declarations in java declarations are used to declare variables for subsequent use in expressions or scriptlets to add a declaration you must use the sequences to enclose your declarations source github com snowdream q17 what does the static keyword mean can you override private or static method in java answer the static keyword denotes that a member variable or method can be accessed without requiring an instantiation of the class to which it belongs a user cannot override static methods in java because method overriding is based upon dynamic binding at runtime and static methods are statically binded at compile time a static method is not associated with any instance of a class so the concept is not applicable source github com snowdream q18 what are the basic interfaces of java collections framework answer java collections framework provides a well designed set of interfaces and classes that support operations on a collections of objects the most basic interfaces that reside in the java collections framework are collection which represents a group of objects known as its elements set which is a collection that cannot contain duplicate elements list which is an ordered collection and can contain duplicate elements map which is an object that maps keys to values and cannot contain duplicate keys source github com snowdream q19 what are directives answer what are the different types of directives available in jsp directives are instructions that are processed by the jsp engine when the page is compiled to a servlet directives are used to set page level instructions insert data from external files and specify custom tag libraries directives are defined between and the different types of directives are shown below include directive it is used to include a file and merges the content of the file with the current page page directive it is used to define specific attributes in the jsp page like error page and buffer taglib it is used to declare a custom tag library which is used in the page source github com snowdream q20 what is an iterator answer the iterator http docs oracle com javase 7 docs api java util iterator html interface provides a number of methods that are able to iterate over any collection http docs oracle com javase 7 docs api java util collection html each java collection http docs oracle com javase 7 docs api java util collection html contains the iterator http docs oracle com javase 7 docs api java util iterator html method that returns an iterator http docs oracle com javase 7 docs api java util iterator html instance iterators are capable of removing elements from the underlying collection during the iteration source github com snowdream q21 how are the jsp requests handled answer on the arrival of a jsp request the browser first requests a page with a jsp extension then the web server reads the request and using the jsp compiler the web server converts the jsp page into a servlet class notice that the jsp file is compiled only on the first request of the page or if the jsp file has changed the generated servlet class is invoked in order to handle the browser s request once the execution of the request is over the servlet sends a response back to the client see how to get request parameters in a jsp http examples javacodegeeks com enterprise java jsp get request parameter in jsp page source github com snowdream q22 what is function overriding and overloading in java answer method overloading in java occurs when two or more methods in the same class have the exact same name but different parameters java class dog public void bark system out println woof overloading method public void bark int num for int i 0 i num i system out println woof on the other hand method overriding is defined as the case when a child class redefines the same method as a parent class overridden methods must have the same name argument list and return type the overriding method may not limit the access of the method it overrides java class dog public void bark system out println woof class hound extends dog public void sniff system out println sniff public void bark system out println bowl public class overridingtest public static void main string args dog dog new hound dog bark source github com snowdream q23 how hashmap works in java answer a hashmap in java stores key value pairs http www javacodegeeks com 2014 03 how hashmap works in java html the hashmap http docs oracle com javase 7 docs api java util hashmap html requires a hash function and uses hashcode and equals methods in order to put and retrieve elements to and from the collection respectively when the put method is invoked the hashmap http docs oracle com javase 7 docs api java util hashmap html calculates the hash value of the key and stores the pair in the appropriate index inside the collection if the key exists its value is updated with the new value some important characteristics of a hashmap http docs oracle com javase 7 docs api java util hashmap html are its capacity its load factor and the threshold resizing source github com snowdream q24 what differences exist between hashmap and hashtable answer there are several differences between hashmap and hashtable in java 1 hashtable is synchronized whereas hashmap is not this makes hashmap better for non threaded applications as unsynchronized objects typically perform better than synchronized ones 2 hashtable does not allow null keys or values hashmap allows one null key and any number of null values 3 one of hashmap s subclasses is linkedhashmap so in the event that you d want predictable iteration order which is insertion order by default you could easily swap out the hashmap for a linkedhashmap this wouldn t be as easy if you were using hashtable source stackoverflow com q25 what is the purpose class forname method answer this method is used to method is used to load the driver that will establish a connection to the database source github com snowdream q26 what is jdbc answer jdbc is an abstraction layer that allows users to choose between databases jdbc enables developers to write database applications in java http www javacodegeeks com 2014 03 java 8 friday java 8 will revolutionize database access html without having to concern themselves with the underlying details of a particular database source github com snowdream q27 what is the design pattern that java uses for all swing components answer the design pattern used by java for all swing components is the model view controller mvc pattern source github com snowdream q28 how does garbage collection prevent a java application from going out of memory answer it doesn t garbage collection simply cleans up unused memory when an object goes out of scope and is no longer needed however an application could create a huge number of large objects that causes an outofmemoryerror source codementor io q29 what do you know about the big o notation and can you give some examples with respect to different data structures answer the big o notation simply describes how well an algorithm scales or performs in the worst case scenario as the number of elements in a data structure increases the big o notation can also be used to describe other behavior such as memory consumption since the collection classes are actually data structures we usually use the big o notation to chose the best implementation to use based on time memory and performance big o notation can give a good indication about performance for large amounts of data source github com snowdream q30 what are the data types supported by java what is autoboxing and unboxing answer the eight primitive data types supported by the java programming language are byte short int long float double boolean char autoboxing is the automatic conversion made by the java compiler between the primitive types and their corresponding object wrapper classes if the conversion goes the other way this operation is called unboxing source github com snowdream q31 what is an java applet answer a java applet is program that can be included in a html page and be executed in a java enabled client browser applets are used for creating dynamic and interactive web applications source github com snowdream q32 what will happen to the exception object after exception handling answer the exception http docs oracle com javase 7 docs api java lang exception html object will be garbage collected in the next garbage collection source github com snowdream q33 what is the importance of finally block in exception handling answer a finally block will always be executed whether or not an exception is actually thrown even in the case where the catch statement is missing and an exception is thrown the finally block will still be executed last thing to mention is that the finally block is used to release resources like i o buffers database connections etc source github com snowdream q34 what is the purpose of garbage collection in java and when is it used answer the purpose of garbage collection is to identify and discard those objects that are no longer needed by the application in order for the resources to be reclaimed and reused source github com snowdream q35 what does system gc and runtime gc methods do answer these methods can be used as a hint to the jvm in order to start a garbage collection however this it is up to the java virtual machine jvm to start the garbage collection immediately or later in time source github com snowdream q36 what is the difference between exception and error in java answer an error indicates serious problems that a reasonable application should not try to catch an exception indicates conditions that a reasonable application might want to catch source github com snowdream q37 what is reflection and why is it useful answer the name reflection is used to describe code which is able to inspect other code in the same system or itself and to make modifications at runtime for example say you have an object of an unknown type in java and you would like to call a dosomething method on it if one exists java s static typing system isn t really designed to support this unless the object conforms to a known interface but using reflection your code can look at the object and find out if it has a method called dosomething and then call it if you want to java method method foo getclass getmethod dosomething null method invoke foo null source stackoverflow com q38 when does an object becomes eligible for garbage collection in java answer a java object is subject to garbage collection when it becomes unreachable to the program in which it is currently used source github com snowdream q39 compare the sleep and wait methods in java read answer on a href https www fullstack cafe fullstack cafe a q40 is there anything like static class in java read answer on a href https www fullstack cafe fullstack cafe a q41 what is the importance of hashcode and equals methods read answer on a href https www fullstack cafe fullstack cafe a q42 if an object reference is set to null will the garbage collector immediately free the memory held by that object read answer on a href https www fullstack cafe fullstack cafe a q43 when is the finalize called what is the purpose of finalization read answer on a href https www fullstack cafe fullstack cafe a q44 what is the difference between throw and throws read answer on a href https www fullstack cafe fullstack cafe a q45 what is the java classloader read answer on a href https www fullstack cafe fullstack cafe a q46 what s the difference between enumeration and iterator interfaces read answer on a href https www fullstack cafe fullstack cafe a q47 how does finally block differ from finalize method read answer on a href https www fullstack cafe fullstack cafe a q48 explain the life cycle of an applet read answer on a href https www fullstack cafe fullstack cafe a q49 what happens when an applet is loaded read answer on a href https www fullstack cafe fullstack cafe a q50 what is the tradeoff between using an unordered array versus an ordered array read answer on a href https www fullstack cafe fullstack cafe a q51 what are the restrictions imposed on java applets read answer on a href https www fullstack cafe fullstack cafe a q52 what are untrusted applets read answer on a href https www fullstack cafe fullstack cafe a q53 what is the applet security manager and what does it provide read answer on a href https www fullstack cafe fullstack cafe a q54 can an enum be extended read answer on a href https www fullstack cafe fullstack cafe a q55 which swing methods are thread safe read answer on a href https www fullstack cafe fullstack cafe a q56 what is the relationship between an event listener interface and an event adapter class read answer on a href https www fullstack cafe fullstack cafe a q57 what s the difference between a classnotfoundexception and noclassdeffounderror read answer on a href https www fullstack cafe fullstack cafe a q58 what is java priority queue read answer on a href https www fullstack cafe fullstack cafe a q59 what is comparable and comparator interface list their differences read answer on a href https www fullstack cafe fullstack cafe a q60 what is difference between arraylist and linkedlist read answer on a href https www fullstack cafe fullstack cafe a q61 explain the role of driver in jdbc read answer on a href https www fullstack cafe fullstack cafe a q62 what is difference between array and arraylist when will you use array over arraylist read answer on a href https www fullstack cafe fullstack cafe a q63 what is the advantage of preparedstatement over statement read answer on a href https www fullstack cafe fullstack cafe a q64 what is the use of callablestatement name the method which is used to prepare a callablestatement read answer on a href https www fullstack cafe fullstack cafe a q65 what is difference between fail fast and fail safe read answer on a href https www fullstack cafe fullstack cafe a q66 what differences exist between iterator and listiterator read answer on a href https www fullstack cafe fullstack cafe a q67 what are the advantages of jsp read answer on a href https www fullstack cafe fullstack cafe a q68 why collection doesn t extend cloneable and serializable interfaces read answer on a href https www fullstack cafe fullstack cafe a q69 what are scriptlets read answer on a href https www fullstack cafe fullstack cafe a q70 what s a deadlock read answer on a href https www fullstack cafe fullstack cafe a q71 what is structure of java heap read answer on a href https www fullstack cafe fullstack cafe a q72 what is meant by jsp implicit objects and what are they read answer on a href https www fullstack cafe fullstack cafe a q73 what is the difference between an applet and a servlet read answer on a href https www fullstack cafe fullstack cafe a q74 what is the difference between genericservlet and httpservlet read answer on a href https www fullstack cafe fullstack cafe a q75 explain the life cycle of a servlet read answer on a href https www fullstack cafe fullstack cafe a q76 what is the difference between doget and dopost read answer on a href https www fullstack cafe fullstack cafe a q77 what is the difference between final finalize and finally read answer on a href https www fullstack cafe fullstack cafe a q78 what is a server side include ssi read answer on a href https www fullstack cafe fullstack cafe a q79 explain different ways of creating a thread which one would you prefer and why read answer on a href https www fullstack cafe fullstack cafe a q80 how and where are annotations used in java read answer on a href https www fullstack cafe fullstack cafe a q81 what are the steps involved to make work a rmi program read answer on a href https www fullstack cafe fullstack cafe a q82 what is the role of stub in rmi read answer on a href https www fullstack cafe fullstack cafe a q83 does java support multiple inheritance read answer on a href https www fullstack cafe fullstack cafe a q84 is java pass by reference or pass by value read answer on a href https www fullstack cafe fullstack cafe a q85 how do i read convert an inputstream into a string in java read answer on a href https www fullstack cafe fullstack cafe a q86 what is the volatile keyword useful for read answer on a href https www fullstack cafe fullstack cafe a q87 what is a constructor constructor overloading in java and copy constructor read answer on a href https www fullstack cafe fullstack cafe a q88 what is the difference between public protected package private and private in java read answer on a href https www fullstack cafe fullstack cafe a q89 how threadsafe is enum in java read answer on a href https www fullstack cafe fullstack cafe a q90 what is the jit read answer on a href https www fullstack cafe fullstack cafe a q91 can you access non static variable in static context read answer on a href https www fullstack cafe fullstack cafe a q92 what do the dots in the method parameters mean read answer on a href https www fullstack cafe fullstack cafe a q93 how can i synchornize two java processes read answer on a href https www fullstack cafe fullstack cafe a q94 how do i break out of nested loops in java read answer on a href https www fullstack cafe fullstack cafe a q95 what is a javabean exactly read answer on a href https www fullstack cafe fullstack cafe a q96 can be used on enum read answer on a href https www fullstack cafe fullstack cafe a q97 what are the differences between and equals read answer on a href https www fullstack cafe fullstack cafe a q98 what is the main difference between stringbuffer and stringbuilder read answer on a href https www fullstack cafe fullstack cafe a q99 what s the advantage of using getters and setters read answer on a href https www fullstack cafe fullstack cafe a q100 why does java have transient fields read answer on a href https www fullstack cafe fullstack cafe a q101 what is static initializer read answer on a href https www fullstack cafe fullstack cafe a q102 what is the difference between hashmap linkedhashmap and treemap in java read answer on a href https www fullstack cafe fullstack cafe a q103 what is the role of remote interface in rmi read answer on a href https www fullstack cafe fullstack cafe a q104 what is the difference between applets loaded over the internet and applets loaded via the file system read answer on a href https www fullstack cafe fullstack cafe a q105 what is the applet class loader and what does it provide read answer on a href https www fullstack cafe fullstack cafe a q106 what are the differences between a hashmap and a hashtable in java read answer on a href https www fullstack cafe fullstack cafe a q107 what are some of the best practices relating to the java collection framework read answer on a href https www fullstack cafe fullstack cafe a q108 what is servlet chaining read answer on a href https www fullstack cafe fullstack cafe a q109 how do you find out what client machine is making a request to your servlet read answer on a href https www fullstack cafe fullstack cafe a q110 when to use linkedlist over arraylist in java read answer on a href https www fullstack cafe fullstack cafe a q111 what is the difference between a synchronized method and a synchronized block read answer on a href https www fullstack cafe fullstack cafe a q112 what is double brace initialization in java read answer on a href https www fullstack cafe fullstack cafe a q113 what is rmi read answer on a href https www fullstack cafe fullstack cafe a q114 how do i test a private function or a class that has private methods fields or inner classes read answer on a href https www fullstack cafe fullstack cafe a q115 what is the basic principle of rmi architecture read answer on a href https www fullstack cafe fullstack cafe a q116 explain the available thread states in a high level read answer on a href https www fullstack cafe fullstack cafe a q117 is it possible to call one constructor from another in java read answer on a href https www fullstack cafe fullstack cafe a q118 what is the difference between serial and throughput garbage collector read answer on a href https www fullstack cafe fullstack cafe a q119 what is the role of the java rmi naming class read answer on a href https www fullstack cafe fullstack cafe a q120 what is the main difference between an inner class and a static nested class in java read answer on a href https www fullstack cafe fullstack cafe a q121 what is meant by binding in rmi read answer on a href https www fullstack cafe fullstack cafe a q122 given two double values d1 d2 what is the most reliable way to test their equality read answer on a href https www fullstack cafe fullstack cafe a q123 how do you ensure that n threads can access n resources without deadlock read answer on a href https www fullstack cafe fullstack cafe a q124 does java support default parameter values read answer on a href https www fullstack cafe fullstack cafe a q125 explain a use case for the builder design pattern read answer on a href https www fullstack cafe fullstack cafe a q126 what exactly is marker interface in java read answer on a href https www fullstack cafe fullstack cafe a q127 what is the purpose of using rmisecuritymanager in rmi read answer on a href https www fullstack cafe fullstack cafe a q128 explain marshalling and demarshalling read answer on a href https www fullstack cafe fullstack cafe a q129 is null check needed before calling instanceof read answer on a href https www fullstack cafe fullstack cafe a q130 what is perm gen space in heap read answer on a href https www fullstack cafe fullstack cafe a q131 why is spring mvc better than servlets jsp read answer on a href https www fullstack cafe fullstack cafe a q132 why is char preferred over string for passwords read answer on a href https www fullstack cafe fullstack cafe a q133 what does connection pooling mean read answer on a href https www fullstack cafe fullstack cafe a q134 what is an efficient way to implement a singleton pattern in java read answer on a href https www fullstack cafe fullstack cafe a q135 what s the difference between softreference and weakreference in java read answer on a href https www fullstack cafe fullstack cafe a q136 provide some examples when a finally block won t be executed in java read answer on a href https www fullstack cafe fullstack cafe a q137 why isn t string s length accurate read answer on a href https www fullstack cafe fullstack cafe a q138 what s wrong with double brace initialization in java read answer on a href https www fullstack cafe fullstack cafe a q139 why arraylist are preferable in many more use cases than linkedlist read answer on a href https www fullstack cafe fullstack cafe a q140 explain what will the code return read answer on a href https www fullstack cafe fullstack cafe a q141 compare volatile vs static variables in java read answer on a href https www fullstack cafe fullstack cafe a q142 what is dgc and how does it work read answer on a href https www fullstack cafe fullstack cafe a q143 what are the layers of rmi architecture read answer on a href https www fullstack cafe fullstack cafe a q144 how does thread synchronization occurs inside a monitor what levels of synchronization can you apply read answer on a href https www fullstack cafe fullstack cafe a q145 what is the difference between hashset and treeset read answer on a href https www fullstack cafe fullstack cafe a q146 does garbage collection occur in permanent generation space in jvm read answer on a href https www fullstack cafe fullstack cafe a q147 what does synchronized mean read answer on a href https www fullstack cafe fullstack cafe a toc a name javascript javascript a interview questions q1 what is coercion in javascript answer in javascript conversion between different two build in types called coercion coercion comes in two forms in javascript explicit and implicit here s an example of explicit coercion js var a 42 var b number a a 42 b 42 the number and here s an example of implicit coercion js var a 42 var b a 1 42 implicitly coerced to 42 here a 42 b 42 the number q2 explain equality in javascript answer javascript has both strict and type converting comparisons strict comparison e g checks for value equality without allowing coercion abstract comparison e g checks for value equality with coercion allowed js var a 42 var b 42 a b true a b false some simple equalityrules if either value aka side in a comparison could be the true or false value avoid and use if either value in a comparison could be of these specific values 0 or empty array avoid and use in all other cases you re safe to use not only is it safe but in many cases it simplifies your code in a way that improves readability q3 what is typeof operator answer javascript provides a typeof operator that can examine a value and tell you what type it is js var a typeof a undefined a hello world typeof a string a 42 typeof a number a true typeof a boolean a null typeof a object weird bug a undefined typeof a undefined a b c typeof a object q4 what is the object type answer the object type refers to a compound value where you can set properties named locations that each hold their own values of any type js var obj a hello world property b 42 c true obj a hello world accessed with doted notation obj b 42 obj c true obj a hello world accessed with bracket notation obj b 42 obj c true bracket notation is also useful if you want to access a property key but the name is stored in another variable such as js var obj a hello world b 42 var b a obj b hello world obj b 42 q5 explain arrays in javascript answer an array is an object that holds values of any type not particularly in named properties keys but rather in numerically indexed positions js var arr hello world 42 true arr 0 hello world arr 1 42 arr 2 true arr length 3 typeof arr object q6 what is scope in javascript answer in javascript each function gets its own scope scope is basically a collection of variables as well as the rules for how those variables are accessed by name only code inside that function can access that function s scoped variables a variable name has to be unique within the same scope a scope can be nested inside another scope if one scope is nested inside another code inside the innermost scope can access variables from either scope q7 what does use strict do answer the use strict literal is entered at the top of a javascript program or at the top of a function and it helps you write safer javascript code by throwing an error if a global variable is created by mistake for example the following program will throw an error js function dosomething val use strict x val 10 it will throw an error because x was not defined and it is being set to some value in the global scope which isn t allowed with use strict the small change below fixes the error being thrown js function dosomething val use strict var x val 10 source coderbyte com q8 explain null and undefined in javascript answer javascript and by extension typescript has two bottom types null and undefined they are intended to mean different things something hasn t been initialized undefined something is currently unavailable null q9 what s the difference between throw error msg vs throw new error msg details js var err1 error message var err2 new error message which one is correct and why answer both are fine the function call error is equivalent to the object creation expression new error with the same arguments source stackoverflow com q10 is there anyway to force using strict mode in node js answer you can place js use strict at the top of your file in node 0 10 7 but if you want your whole app to run in strict including external modules you can do this sh node use strict source stackoverflow com q11 what s the difference between host objects and native objects answer native objects are objects that are part of the javascript language defined by the ecmascript specification such as string math regexp object function etc host objects are provided by the runtime environment browser or node such as window xmlhttprequest etc source github com yangshun q12 what is strict mode answer strict mode is a new feature in ecmascript 5 that allows you to place a program or a function in a strict operating context this strict context prevents certain actions from being taken and throws more exceptions js non strict code function use strict define your library strictly non strict code q13 what is the difference between and answer is the abstract equality operator while is the strict equality operator the operator will compare for equality after doing any necessary type conversions the operator will not do type conversion so if two values are not the same type will simply return false when using funky things can happen such as js 1 1 true 1 1 true 1 true true 0 true 0 0 true 0 false true my advice is never to use the operator except for convenience when comparing against null or undefined where a null will return true if a is null or undefined js var a null console log a null true console log a undefined true source github com yangshun q14 explain the same origin policy with regards to javascript answer the same origin policy prevents javascript from making requests across domain boundaries an origin is defined as a combination of uri scheme hostname and port number this policy prevents a malicious script on one page from obtaining access to sensitive data on another web page through that page s document object model source github com yangshun q15 make this work details js duplicate 1 2 3 4 5 1 2 3 4 5 1 2 3 4 5 answer js function duplicate arr return arr concat arr duplicate 1 2 3 4 5 1 2 3 4 5 1 2 3 4 5 source github com yangshun q16 fizzbuzz challenge details create a for loop that iterates up to 100 while outputting fizz at multiples of 3 buzz at multiples of 5 and fizzbuzz at multiples of 3 and 5 answer check out this version of fizzbuzz js for let i 1 i 100 i let f i 3 0 b i 5 0 console log f b fizzbuzz fizz b buzz i source github com yangshun q17 what is a polyfill answer a polyfill is essentially the specific code or plugin that would allow you to have some specific functionality that you expect in current or modern browsers to also work in other browsers that do not have the support for that functionality built in polyfills are not part of the html5 standard polyfilling is not limited to javascript source programmerinterview com q18 why would you use something like the load event does this event have disadvantages do you know any alternatives and why would you use those answer the load event fires at the end of the document loading process at this point all of the objects in the document are in the dom and all the images scripts links and sub frames have finished loading the dom event domcontentloaded will fire after the dom for the page has been constructed but do not wait for other resources to finish loading this is preferred in certain cases when you do not need the full page to be loaded before initializing source github com yangshun q19 why is it in general a good idea to leave the global scope of a website as is and never touch it answer every script has access to the global scope and if everyone uses the global namespace to define their variables collisions will likely occur use the module pattern iifes to encapsulate your variables within a local namespace source github com yangshun q20 what are some of the advantages disadvantages of writing javascript code in a language that compiles to javascript answer some examples of languages that compile to javascript include coffeescript elm clojurescript purescript and typescript advantages fixes some of the longstanding problems in javascript and discourages javascript anti patterns enables you to write shorter code by providing some syntactic sugar on top of javascript which i think es5 lacks but es2015 is awesome static types are awesome in the case of typescript for large projects that need to be maintained over time disadvantages require a build compile process as browsers only run javascript and your code will need to be compiled into javascript before being served to browsers debugging can be a pain if your source maps do not map nicely to your pre compiled source most developers are not familiar with these languages and will need to learn it there s a ramp up cost involved for your team if you use it for your projects smaller community depends on the language which means resources tutorials libraries and tooling would be harder to find ide editor support might be lacking these languages will always be behind the latest javascript standard developers should be cognizant of what their code is being compiled to because that is what would actually be running and that is what matters in the end practically es2015 has vastly improved javascript and made it much nicer to write i don t really see the need for coffeescript these days source github com yangshun q21 what language constructions do you use for iterating over object properties and array items answer for objects for loops for var property in obj console log property however this will also iterate through its inherited properties and you will add an obj hasownproperty property check before using it object keys object keys obj foreach function property object keys is a static method that will lists all enumerable properties of the object that you pass it object getownpropertynames object getownpropertynames obj foreach function property object getownpropertynames is a static method that will lists all enumerable and non enumerable properties of the object that you pass it for arrays for loops for var i 0 i arr length i the common pitfall here is that var is in the function scope and not the block scope and most of the time you would want block scoped iterator variable es2015 introduces let which has block scope and it is recommended to use that instead so this becomes for let i 0 i arr length i foreach arr foreach function el index this construct can be more convenient at times because you do not have to use the index if all you need is the array elements there are also the every and some methods which will allow you to terminate the iteration early most of the time i would prefer the foreach method but it really depends on what you are trying to do for loops allow more flexibility such as prematurely terminate the loop using break or incrementing the iterator more than once per loop source github com yangshun q22 what is let keyword in javascript answer in addition to creating declarations for variables at the function level es6 lets you declare variables to belong to individual blocks pairs of using the let keyword source github com getify q23 explain what a callback function is and provide a simple example answer a callback function is a function that is passed to another function as an argument and is executed after some operation has been completed below is an example of a simple callback function that logs to the console after some operations have been completed js function modifyarray arr callback do something to arr here arr push 100 then execute the callback function that was passed callback var arr 1 2 3 4 5 modifyarray arr function console log array has been modified arr source coderbyte com q24 being told that an unsorted array contains n 1 of n consecutive numbers where the bounds are defined find the missing number in o n time answer js the output of the function should be 8 var arrayofintegers 2 5 1 4 9 6 3 7 var upperbound 9 var lowerbound 1 findmissingnumber arrayofintegers upperbound lowerbound 8 function findmissingnumber arrayofintegers upperbound lowerbound iterate through array to find the sum of the numbers var sumofintegers 0 for var i 0 i arrayofintegers length i sumofintegers arrayofintegers i find theoretical sum of the consecutive numbers using a variation of gauss sum formula n n 1 2 m m 1 2 n is the upper bound and m is the lower bound upperlimitsum upperbound upperbound 1 2 lowerlimitsum lowerbound lowerbound 1 2 theoreticalsum upperlimitsum lowerlimitsum return theoreticalsum sumofintegers source https github com kennymkchan q25 remove duplicates of an array and return an array of only unique elements answer js es6 implementation var array 1 2 3 5 1 5 9 1 2 8 array from new set array 1 2 3 5 9 8 es5 implementation var array 1 2 3 5 1 5 9 1 2 8 uniquearray array 1 2 3 5 9 8 function uniquearray array var hashmap var unique for var i 0 i array length i if key returns undefined unique it is evaluated as false if hashmap hasownproperty array i hashmap array i 1 unique push array i return unique source https github com kennymkchan q26 explain values and types in javascript answer javascript has typed values not typed variables the following built in types are available string number boolean null and undefined object symbol new to es6 q27 how would you check if a number is an integer answer a very simply way to check if a number is a decimal or integer is to see if there is a remainder left when you divide by 1 js function isint num return num 1 0 console log isint 4 true console log isint 12 2 false console log isint 0 3 false source coderbyte com q28 given a string reverse each word in the sentence details for example welcome to this javascript guide should be become emoclew ot siht tpircsavaj ediug answer js var string welcome to this javascript guide output becomes ediug tpircsavaj siht ot emoclew var reverseentiresentence reversebyseparator string output becomes emoclew ot siht tpircsavaj ediug var reverseeachword reversebyseparator reverseentiresentence function reversebyseparator string separator return string split separator reverse join separator source https github com kennymkchan q29 write a function that would allow you to do this details js var addsix createbase 6 addsix 10 returns 16 addsix 21 returns 27 answer you can create a closure to keep the value passed to the function createbase even after the inner function is returned the inner function that is being returned is created within an outer function making it a closure and it has access to the variables within the outer function in this case the variable basenumber js function createbase basenumber return function n we are referencing basenumber here even though it was declared outside of this function closures allow us to do this in javascript return basenumber n var addsix createbase 6 addsix 10 addsix 21 source coderbyte com q30 how would you use a closure to create a private counter answer you can create a function within an outer function a closure that allows you to update a private variable but the variable wouldn t be accessible from outside the function without the use of a helper function js function counter var counter 0 return an object with several functions that allow you to modify the private counter variable return add function increment counter increment retrieve function return the counter is currently at counter error if we try to access the private variable like below counter usage of our counter function var c counter c add 5 c add 9 now we can access the private variable in the following way c retrieve the counter is currently at 14 source coderbyte com q31 implement enqueue and dequeue using only two stacks answer enqueue means to add an element dequeue to remove an element js var inputstack first stack var outputstack second stack for enqueue just push the item into the first stack function enqueue stackinput item return stackinput push item function dequeue stackinput stackoutput reverse the stack such that the first element of the output stack is the last element of the input stack after that pop the top of the output to get the first element that was ever pushed into the input stack if stackoutput length 0 while stackinput length 0 var elementtooutput stackinput pop stackoutput push elementtooutput return stackoutput pop source https github com kennymkchan q32 how to check if an object is an array or not provide some code answer the best way to find whether an object is instance of a particular class or not using tostring method from object prototype javascript var arraylist 1 2 3 one of the best use cases of type checking of an object is when we do method overloading in javascript for understanding this let say we have a method called greet which take one single string and also a list of string so making our greet method workable in both situation we need to know what kind of parameter is being passed is it single value or list of value javascript function greet param if here have to check whether param is array or not else however in above implementation it might not necessary to check type for array we can check for single value string and put array logic code in else block let see below code for the same javascript function greet param if typeof param string else if param is of type array then this block of code would execute now it s fine we can go with above two implementations but when we have a situation like a parameter can be single value array and object type then we will be in trouble coming back to checking type of object as we mentioned that we can use object prototype tostring javascript if object prototype tostring call arraylist object array console log array if you are using jquery then you can also used jquery isarray method javascript if isarray arraylist console log array else console log not an array fyi jquery uses object prototype tostring call internally to check whether an object is an array or not in modern browser you can also use javascript array isarray arraylist array isarray is supported by chrome 5 firefox 4 0 ie 9 opera 10 5 and safari 5 source github com ganqqwerty q33 how to empty an array in javascript details js var arraylist a b c d e f how could we empty the array above answer method 1 javascript arraylist above code will set the variable arraylist to a new empty array this is recommended if you don t have references to the original array arraylist anywhere else because it will actually create a new empty array you should be careful with this way of empty the array because if you have referenced this array from another variable then the original reference array will remain unchanged only use this way if you have only referenced the array by its original variable arraylist for instance javascript var arraylist a b c d e f created array var anotherarraylist arraylist referenced arraylist by another variable arraylist empty the array console log anotherarraylist output a b c d e f method 2 javascript arraylist length 0 above code will clear the existing array by setting its length to 0 this way of empty the array also update all the reference variable which pointing to the original array this way of empty the array is useful when you want to update all the another reference variable which pointing to arraylist for instance javascript var arraylist a b c d e f created array var anotherarraylist arraylist referenced arraylist by another variable arraylist length 0 empty the array by setting length to 0 console log anotherarraylist output method 3 javascript arraylist splice 0 arraylist length above implementation will also work perfectly this way of empty the array will also update all the references of the original array javascript var arraylist a b c d e f created array var anotherarraylist arraylist referenced arraylist by another variable arraylist splice 0 arraylist length empty the array by setting length to 0 console log anotherarraylist output method 4 javascript while arraylist length arraylist pop above implementation can also empty the array but not recommended to use often source github com ganqqwerty q34 write a mul function which will properly when invoked as below syntax details javascript console log mul 2 3 4 output 24 console log mul 4 3 4 output 48 answer javascript function mul x return function y anonymous function return function z anonymous function return x y z here mul function accept the first argument and return anonymous function which take the second parameter and return anonymous function which take the third parameter and return multiplication of arguments which is being passed in successive in javascript function defined inside has access to outer function variable and function is the first class object so it can be returned by function as well and passed as argument in another function a function is an instance of the object type a function can have properties and has a link back to its constructor method function can be stored as variable function can be pass as a parameter to another function function can be returned from function source github com ganqqwerty q35 explain event bubbling and how one may prevent it answer event bubbling is the concept in which an event triggers at the deepest possible element and triggers on parent elements in nesting order as a result when clicking on a child element one may exhibit the handler of the parent activating one way to prevent event bubbling is using event stoppropagation or event cancelbubble on ie 9 source https github com kennymkchan q36 provide some examples of non bulean value coercion to a boolean one read answer on a href https www fullstack cafe fullstack cafe a q37 how to compare two objects in javascript read answer on a href https www fullstack cafe fullstack cafe a q38 what will be the output of the following code read answer on a href https www fullstack cafe fullstack cafe a q39 what is the drawback of creating true private in javascript read answer on a href https www fullstack cafe fullstack cafe a q40 write a recursive function that returns the binary string of a given decimal number read answer on a href https www fullstack cafe fullstack cafe a q41 what will be the output of the following code read answer on a href https www fullstack cafe fullstack cafe a q42 what will be the output of the following code read answer on a href https www fullstack cafe fullstack cafe a q43 when should we use generators in es6 read answer on a href https www fullstack cafe fullstack cafe a q44 what is iifes immediately invoked function expressions read answer on a href https www fullstack cafe fullstack cafe a q45 given two strings return true if they are anagrams of one another read answer on a href https www fullstack cafe fullstack cafe a q46 find the intersection of two arrays an intersection would be the common elements that exists within both arrays in this case these elements should be unique read answer on a href https www fullstack cafe fullstack cafe a q47 what will the following code output read answer on a href https www fullstack cafe fullstack cafe a q48 write a function that would allow you to do this read answer on a href https www fullstack cafe fullstack cafe a q49 given an array of integers find the largest difference between two elements such that the element of lesser value must come before the greater element read answer on a href https www fullstack cafe fullstack cafe a q50 given an array of integers find the largest product yielded from three of the integers read answer on a href https www fullstack cafe fullstack cafe a q51 check if a given string is a palindrome case sensitivity should be taken into account read answer on a href https www fullstack cafe fullstack cafe a q52 what s the difference between using let and var to declare a variable in es6 read answer on a href https www fullstack cafe fullstack cafe a q53 when should i use arrow functions in es6 read answer on a href https www fullstack cafe fullstack cafe a q54 what is the motivation for bringing symbols to es6 read answer on a href https www fullstack cafe fullstack cafe a q55 what is generator in js read answer on a href https www fullstack cafe fullstack cafe a q56 what are the benefits of using spread syntax in es6 and how is it different from rest syntax read answer on a href https www fullstack cafe fullstack cafe a q57 explain the difference between undefined and not defined in javascript read answer on a href https www fullstack cafe fullstack cafe a q58 what is currying read answer on a href https www fullstack cafe fullstack cafe a q59 what is the definition of a higher order function read answer on a href https www fullstack cafe fullstack cafe a q60 what are the differences between es6 class and es5 function constructors read answer on a href https www fullstack cafe fullstack cafe a q61 explain the differences on the usage of foo between function foo and var foo function read answer on a href https www fullstack cafe fullstack cafe a q62 could you explain the difference between es5 and es6 read answer on a href https www fullstack cafe fullstack cafe a q63 what is the difference between a shim and a polyfill read answer on a href https www fullstack cafe fullstack cafe a q64 what are the advantages and disadvantages of using use strict read answer on a href https www fullstack cafe fullstack cafe a q65 describe closure concept in javascript as best as you could read answer on a href https www fullstack cafe fullstack cafe a q66 what is the difference between anonymous and named functions read answer on a href https www fullstack cafe fullstack cafe a q67 what is the difference between document load event and document domcontentloaded event read answer on a href https www fullstack cafe fullstack cafe a q68 why is extending built in javascript objects not a good idea read answer on a href https www fullstack cafe fullstack cafe a q69 explain function prototype bind read answer on a href https www fullstack cafe fullstack cafe a q70 what s the difference between call and apply read answer on a href https www fullstack cafe fullstack cafe a q71 what s a typical use case for anonymous functions read answer on a href https www fullstack cafe fullstack cafe a q72 what is a closure and how why would you use one read answer on a href https www fullstack cafe fullstack cafe a q73 what do you think of amd vs commonjs read answer on a href https www fullstack cafe fullstack cafe a q74 suggest one simple way of removing duplicates from an array using es6 read answer on a href https www fullstack cafe fullstack cafe a q75 why should we use es6 classes read answer on a href https www fullstack cafe fullstack cafe a q76 what is the preferred syntax for defining enums in javascript read answer on a href https www fullstack cafe fullstack cafe a q77 explain the difference between object freeze vs const read answer on a href https www fullstack cafe fullstack cafe a q78 can you give an example for destructuring an object or an array in es6 read answer on a href https www fullstack cafe fullstack cafe a q79 explain what is hoisting in javascript read answer on a href https www fullstack cafe fullstack cafe a q80 explain prototype inheritance in javascript read answer on a href https www fullstack cafe fullstack cafe a q81 what will the following code output read answer on a href https www fullstack cafe fullstack cafe a q82 what does the term transpiling stand for read answer on a href https www fullstack cafe fullstack cafe a q83 how would you create a private variable in javascript read answer on a href https www fullstack cafe fullstack cafe a q84 what is the new keyword in javascript read answer on a href https www fullstack cafe fullstack cafe a q85 explain the prototype design pattern read answer on a href https www fullstack cafe fullstack cafe a q86 how does the this keyword work provide some code examples read answer on a href https www fullstack cafe fullstack cafe a q87 what is the temporal dead zone in es6 read answer on a href https www fullstack cafe fullstack cafe a q88 create a function that will evaluate if a given expression has balanced parentheses using stacks read answer on a href https www fullstack cafe fullstack cafe a q89 check if a given string is a isomorphic read answer on a href https www fullstack cafe fullstack cafe a q90 when should you not use arrow functions in es6 name three or more cases read answer on a href https www fullstack cafe fullstack cafe a q91 explain how jsonp works and how it s not really ajax read answer on a href https www fullstack cafe fullstack cafe a q92 what will be the output of the following code read answer on a href https www fullstack cafe fullstack cafe a q93 what are the actual uses of es6 weakmap read answer on a href https www fullstack cafe fullstack cafe a q94 explain difference between function person var person person and var person new person read answer on a href https www fullstack cafe fullstack cafe a q95 what is hoisting in javascript read answer on a href https www fullstack cafe fullstack cafe a q96 what is closure in javascript provide an example read answer on a href https www fullstack cafe fullstack cafe a q97 can you describe the main difference between a foreach loop and a map loop and why you would pick one versus the other read answer on a href https www fullstack cafe fullstack cafe a q98 what s the difference between a variable that is null undefined or undeclared how would you go about checking for any of these states read answer on a href https www fullstack cafe fullstack cafe a q99 how can you share code between files read answer on a href https www fullstack cafe fullstack cafe a q100 explain why the following doesn t work as an iife what needs to be changed to properly make it an iife read answer on a href https www fullstack cafe fullstack cafe a q101 write a recursive function that performs a binary search read answer on a href https www fullstack cafe fullstack cafe a q102 what will be the output of the following code read answer on a href https www fullstack cafe fullstack cafe a q103 could you compare usage of module pattern vs constructor prototype pattern read answer on a href https www fullstack cafe fullstack cafe a q104 when would you use the bind function read answer on a href https www fullstack cafe fullstack cafe a q105 given an integer determine if it is a power of 2 if so return that number else return 1 read answer on a href https www fullstack cafe fullstack cafe a q106 describe the js module design pattern read answer on a href https www fullstack cafe fullstack cafe a q107 how would you add your own method to the array object so the following code would work read answer on a href https www fullstack cafe fullstack cafe a q108 how to deep freeze object in javascript read answer on a href https www fullstack cafe fullstack cafe a q109 is javascript a pass by reference or pass by value language read answer on a href https www fullstack cafe fullstack cafe a q110 can you give an example of a curry function and why this syntax offers an advantage read answer on a href https www fullstack cafe fullstack cafe a q111 in javascript why is the this operator inconsistent read answer on a href https www fullstack cafe fullstack cafe a q112 what s the difference between es6 map and weakmap read answer on a href https www fullstack cafe fullstack cafe a q113 describe the revealing module pattern design pattern read answer on a href https www fullstack cafe fullstack cafe a q114 what is the difference between the await keyword and the yield keyword read answer on a href https www fullstack cafe fullstack cafe a q115 is it possible to reset an ecmascript 6 generator to its initial state read answer on a href https www fullstack cafe fullstack cafe a q116 compare async await and generators usage to achive same functionality read answer on a href https www fullstack cafe fullstack cafe a toc a name kotlin kotlin a interview questions q1 how to initialize an array in kotlin with values details in java an array can be initialized such as java int numbers new int 10 20 30 40 50 how does kotlin s array initialization look like answer kotlin val numbers intarray intarrayof 10 20 30 40 50 source stackoverflow com q2 how to correctly concatenate a string in kotlin answer in kotlin you can concatenate 1 using string interpolation templates kotlin val a hello val b world val c a b 2 using the plus operator kotlin val a hello val b world val c a b same as calling operator function a plus b val c a plus b print c 3 using the stringbuilder kotlin val a hello val b world val sb stringbuilder sb append a append b val c sb tostring print c source stackoverflow com q3 what is basic difference between fold and reduce in kotlin when to use which answer fold takes an initial value and the first invocation of the lambda you pass to it will receive that initial value and the first element of the collection as parameters kotlin listof 1 2 3 fold 0 sum element sum element the first call to the lambda will be with parameters 0 and 1 having the ability to pass in an initial value is useful if you have to provide some sort of default value or parameter for your operation reduce doesn t take an initial value but instead starts with the first element of the collection as the accumulator called sum in the following example kotlin listof 1 2 3 reduce sum element sum element the first call to the lambda here will be with parameters 1 and 2 source stackoverflow com q4 what is the idiomatic way to remove duplicate strings from array details how to remove duplicates from an array string in kotlin answer use the distinct extension function kotlin val a arrayof a a b c c val b a distinct a b c you can also use toset tomutableset tohashset if you don t need the original ordering to be preserved these functions produce a set instead of a list and should be a little bit more efficient than distinct source stackoverflow com q5 what is the difference between var and val in kotlin answer var is like general variable and it s known as a mutable variable in kotlin and can be assigned multiple times val is like final variable and it s known as immutable in kotlin and can be initialized only single time sh val var reference type immutable once initialized mutable can able to change can t be reassigned value example val n 20 var n 20 in java final int n 20 int n 20 source stackoverflow com q6 where should i use var and where val answer use var where value is changing frequently for example while getting location of android device kotlin var integervariable int null use val where there is no change in value in whole class for example you want set textview or button s text programmatically kotlin val stringvariables string button s constant or final text source stackoverflow com q7 what is a data class in kotlin answer we frequently create classes whose main purpose is to hold data in kotlin this is called a data class and is marked as data kotlin data class user val name string val age int to ensure consistency and meaningful behavior of the generated code data classes have to fulfill the following requirements the primary constructor needs to have at least one parameter all primary constructor parameters need to be marked as val or var data classes cannot be abstract open sealed or inner source kotlinlang org q8 what is a primary constructor in kotlin answer the primary constructor is part of the class header unlike java you don t need to declare a constructor in the body of the class here s an example kotlin class person val firstname string var age int class body the main idea is by removing the constructor keyword our code gets simplified and easy to understand source www programiz com q9 how to create singleton in kotlin answer just use object kotlin object somesingleton the above kotlin object will be compiled to the following equivalent java code java public final class somesingleton public static final somesingleton instance private somesingleton instance somesingleton this system out println init complete static new somesingleton this is the preferred way to implement singletons on a jvm because it enables thread safe lazy initialization without having to rely on a locking algorithm like the complex double checked locking source medium com q10 how to convert list to map in kotlin read answer on a href https www fullstack cafe fullstack cafe a q11 what will be result of the following code execution read answer on a href https www fullstack cafe fullstack cafe a q12 why would you use apply in kotlin read answer on a href https www fullstack cafe fullstack cafe a q13 explain what is wrong with that code read answer on a href https www fullstack cafe fullstack cafe a q14 how are extensions resolved in kotlin and what doest it mean read answer on a href https www fullstack cafe fullstack cafe a q15 what is a purpose of companion objects in kotlin read answer on a href https www fullstack cafe fullstack cafe a q16 what is lateinit in kotlin and when would you use it read answer on a href https www fullstack cafe fullstack cafe a q17 what are scope functions in kotlin read answer on a href https www fullstack cafe fullstack cafe a q18 when to use lateinit over lazy initialization in kotlin read answer on a href https www fullstack cafe fullstack cafe a q19 what is the purpose of unit returning in functions why is value there what is this value read answer on a href https www fullstack cafe fullstack cafe a q20 what is the kotlin double bang operator read answer on a href https www fullstack cafe fullstack cafe a q21 may you briefly compare kotlin vs java read answer on a href https www fullstack cafe fullstack cafe a q22 what are coroutines in kotlin read answer on a href https www fullstack cafe fullstack cafe a q23 what is the difference between suspending vs blocking read answer on a href https www fullstack cafe fullstack cafe a q24 what is suspending function in kotlin read answer on a href https www fullstack cafe fullstack cafe a q25 how would you create a singleton with parameter in kotlin read answer on a href https www fullstack cafe fullstack cafe a q26 what is the equivalent of java static methods in kotlin read answer on a href https www fullstack cafe fullstack cafe a q27 explain the null safety in kotlin read answer on a href https www fullstack cafe fullstack cafe a q28 may you use intarray and an array int is in kotlin interchangeably read answer on a href https www fullstack cafe fullstack cafe a q29 how is it recommended to create constants in kotlin read answer on a href https www fullstack cafe fullstack cafe a q30 explain advantages of when vs switch in kotlin read answer on a href https www fullstack cafe fullstack cafe a q31 what are the advantages of kotlin over java read answer on a href https www fullstack cafe fullstack cafe a q32 what are some disadvantages of kotlin read answer on a href https www fullstack cafe fullstack cafe a q33 what is the difference between open and public in kotlin read answer on a href https www fullstack cafe fullstack cafe a q34 what is the difference between const and val read answer on a href https www fullstack cafe fullstack cafe a q35 explain lazy initialization in kotlin read answer on a href https www fullstack cafe fullstack cafe a q36 val mutablelist vs var immutablelist when to use which in kotlin read answer on a href https www fullstack cafe fullstack cafe a q37 what is the difference between list and array types read answer on a href https www fullstack cafe fullstack cafe a q38 what is the idiomatic way to deal with nullable values referencing or converting them read answer on a href https www fullstack cafe fullstack cafe a q39 when would you use elvis operator in kotlin read answer on a href https www fullstack cafe fullstack cafe a q40 what is a difference between a class and object in kotlin read answer on a href https www fullstack cafe fullstack cafe a q41 rewrite this code in kotlin read answer on a href https www fullstack cafe fullstack cafe a q42 how would you refactor this code using apply read answer on a href https www fullstack cafe fullstack cafe a q43 explain the difference between inline classes vs type aliases read answer on a href https www fullstack cafe fullstack cafe a q44 rewrite this code using run extension function read answer on a href https www fullstack cafe fullstack cafe a q45 why is there no static keyword in kotlin read answer on a href https www fullstack cafe fullstack cafe a q46 what is inline class in kotlin and when do we need one provide an example read answer on a href https www fullstack cafe fullstack cafe a q47 provide a real use case when inline classes may be useful read answer on a href https www fullstack cafe fullstack cafe a q48 what is kotlin backing field is used for read answer on a href https www fullstack cafe fullstack cafe a q49 what are object expressions in kotlin and when to use them read answer on a href https www fullstack cafe fullstack cafe a q50 how can i create static method for enum in kotiln read answer on a href https www fullstack cafe fullstack cafe a q51 how to create an instance of anonymous class of abstract class in kotlin read answer on a href https www fullstack cafe fullstack cafe a q52 how to create empty constructor for data class in kotlin read answer on a href https www fullstack cafe fullstack cafe a q53 what is coroutine scope and how is that different from coroutine context read answer on a href https www fullstack cafe fullstack cafe a q54 how would you override default getter for kotlin data class read answer on a href https www fullstack cafe fullstack cafe a q55 how does the reified keyword in kotlin work read answer on a href https www fullstack cafe fullstack cafe a q56 imagine you moving your code from java to kotlin how would you rewrite this code in kotlin read answer on a href https www fullstack cafe fullstack cafe a q57 what is sam conversion in kotlin read answer on a href https www fullstack cafe fullstack cafe a q58 what is the billion dollar mistake read answer on a href https www fullstack cafe fullstack cafe a q59 what is the difference between and any in kotlin generics read answer on a href https www fullstack cafe fullstack cafe a q60 what is the difference between java field and kotlin property read answer on a href https www fullstack cafe fullstack cafe a q61 how to implement builder pattern in kotlin read answer on a href https www fullstack cafe fullstack cafe a q62 what s wrong with that code read answer on a href https www fullstack cafe fullstack cafe a q63 what is a motivation to make classes final by default in kotlin do you agree with that decision read answer on a href https www fullstack cafe fullstack cafe a q64 explain the difference between lateinit and lazy in details read answer on a href https www fullstack cafe fullstack cafe a q65 what is the difference between launch join and async await in kotlin coroutines read answer on a href https www fullstack cafe fullstack cafe a q66 when to use and do not use an inline function in kotlin read answer on a href https www fullstack cafe fullstack cafe a q67 how kotlin coroutines are better than rxkotlin rxjava read answer on a href https www fullstack cafe fullstack cafe a q68 why do we use companion object as a kind of replacement for java static fields in kotlin read answer on a href https www fullstack cafe fullstack cafe a toc a name linq linq a interview questions q1 what is linq answer linq stands for language integrated query linq allows us to write queries over local collection objects and remote data sources like sql xml documents etc we can write linq query on any collection class which implements the ienumerable interface source stackoverflow com q2 explain what is linq why is it required answer language integrated query or linq is the collection of standard query operators which provides query facilities into net framework language like c vb net linq is required as it bridges the gap between the world of data and the world of objects source career guru99 com q3 what are the types of linq answer linq to objects linq to xml linq to dataset linq to sql linq to entities source career guru99 com q4 list out the three main components of linq answer three main components of linq are standard query operators language extensions linq providers source career guru99 com q5 what are extension methods answer extension methods are static functions of a static class these methods can be invoked just like instance method syntax these methods are useful when we can not want to modify the class consider csharp public static class stringmethods public static bool isstartwithletterm this string s return s startswith m class program static void main string args string value malslfds console writeline value isstartwithletterm print true console readline source stackoverflow com q6 explain why select clause comes after from clause in linq answer with other programming language and c linq is used it requires all the variables to be declared first from clause of linq query defines the range or conditions to select records so from clause must appear before select in linq source career guru99 com q7 what is anonymous function answer an anonymous function is a special function which does not have any name we just define their parameters and define the code into the curly braces consider csharp delegate int func int a int b static void main string args func f1 delegate int a int b return a b console writeline f1 1 2 source stackoverflow com q8 what are anonymous types answer anonymous types are types that are generated by compiler at run time when we create a anonymous type we do not specify a name we just write properties names and their values compiler at runtime create these properties and assign values to them csharp var k new firstproperty value1 secondproperty value2 console writeline k firstproperty anonymous class is useful in linq queries to save our intermediate results there are some restrictions on anonymous types as well anonymous types can not implement interfaces anonymous types can not specify any methods we can not define static members all defined properties must be initialized we can only define public fields source stackoverflow com q9 explain how linq is useful than stored procedures answer debugging it is difficult to debug a stored procedure but as linq is part of net visual studio debugger can be used to debug the queries deployment for stored procedure additional script should be provided but with linq everything gets compiled into single dll hence deployment becomes easy type safety linq is type safe so queries errors are type checked at compile time source career guru99 com q10 in linq how will you find the index of the element using where with lambda expressions answer in order to find the index of the element use the overloaded version of where with the lambda expression csharp where i ix i ix source career guru99 com q11 mention what is the role of datacontext classes in linq answer datacontext class acts as a bridge between sql server database and the linq to sql for accessing the database and also for changing the data in the database it contains connections string and the functions essentially a datacontext class performs the following three tasks create connection to database it submits and retrieves object to database converts objects to sql queries and vice versa source career guru99 com q12 explain what is the purpose of linq providers in linq answer linq providers are set of classes that take an linq query which generates method that executes an equivalent query against a particular data source source career guru99 com q13 explain what is linq to objects answer when linq queries any ienumerable t collection or ienumerable directly without the use of an intermediate linq provider or api such as linq to sql or linq to xml is referred as linq to objects source career guru99 com q14 what is expression trees and how they used in linq read answer on a href https www fullstack cafe fullstack cafe a q15 using linq to remove elements from a list t read answer on a href https www fullstack cafe fullstack cafe a q16 when to use first and when to use firstordefault with linq read answer on a href https www fullstack cafe fullstack cafe a q17 explain what is the difference between skip and skipwhile extension method read answer on a href https www fullstack cafe fullstack cafe a q18 what is the difference between first and take 1 read answer on a href https www fullstack cafe fullstack cafe a q19 explain how standard query operators useful in linq read answer on a href https www fullstack cafe fullstack cafe a q20 explain what is lambda expressions in linq read answer on a href https www fullstack cafe fullstack cafe a q21 could you explian what is the exact deference between deferred execution and lazy evaluation in c read answer on a href https www fullstack cafe fullstack cafe a q22 explain what are linq compiled queries read answer on a href https www fullstack cafe fullstack cafe a q23 could you compare entity framework vs linq to sql vs ado net with stored procedures read answer on a href https www fullstack cafe fullstack cafe a q24 get the indexes of top n items where item value true read answer on a href https www fullstack cafe fullstack cafe a q25 define what is let clause read answer on a href https www fullstack cafe fullstack cafe a q26 when trying to decide between using the entity framework and linq to sql as an orm what s the difference read answer on a href https www fullstack cafe fullstack cafe a q27 what are the benefits of a deferred execution in linq read answer on a href https www fullstack cafe fullstack cafe a q28 what is an equivalent to the let keyword in chained linq extension method calls read answer on a href https www fullstack cafe fullstack cafe a q29 when should i use a compiledquery read answer on a href https www fullstack cafe fullstack cafe a q30 name some advantages of linq over stored procedures read answer on a href https www fullstack cafe fullstack cafe a q31 name some disadvantages of linq over sprocs read answer on a href https www fullstack cafe fullstack cafe a q32 what is the difference between returning iqueryable t vs ienumerable t read answer on a href https www fullstack cafe fullstack cafe a q33 can you provide a concise distinction between anonymous method and lambda expressions read answer on a href https www fullstack cafe fullstack cafe a q34 why use asenumerable rather than casting to ienumerable t read answer on a href https www fullstack cafe fullstack cafe a q35 what is the difference between select and selectmany read answer on a href https www fullstack cafe fullstack cafe a toc a name laravel laravel a interview questions q1 what is the laravel answer laravel is a free open source php web framework created by taylor otwell and intended for the development of web applications following the model view controller mvc architectural pattern source codingcompiler com q2 why do you prefer using laravel answer simple mvc that can be extended easily clean and secure routing powerful eloquent orm for database migrations third party plugins source linkedin com q3 is there any cli for laravel answer php artisan is the command line interface tool included with laravel it provides a number of helpful commands that can help you while you build your application easily here are the list of some artisian commands php artisan list php artisan help php artisan tinker php artisan make php artisan versian php artisan make modal modal name php artisan make controller controller name source mytectra com q4 what are some benefits of laravel over other php frameworks answer setup and customisation process is easy and fast as compared to others inbuilt authentication system supports multiple file systems pre loaded packages like laravel socialite laravel cashier laravel elixir passport laravel scout eloquent orm object relation mapping with php active record implementation built in command line tool artisan for creating a code skeleton database structure and build their migration source mytectra com q5 what is service container answer the laravel service container is a tool for managing class dependencies and performing dependency injection source laravel com q6 why are migrations necessary answer migrations are necessary because without migrations database consistency when sharing an app is almost impossible especially as more and more people collaborate on the web app your production database needs to be synced as well source linkedin com q7 what is the purpose of the eloquent cursor method in laravel answer the cursor method allows you to iterate through your database records using a cursor which will only execute a single query when processing large amounts of data the cursor method may be used to greatly reduce your memory usage js foreach product where name bar cursor as flight do some stuff source laravelinterviewquestions com q8 explain migrations in laravel answer laravel migrations are like version control for the database allowing a team to easily modify and share the application s database schema migrations are typically paired with laravel s schema builder to easily build the application s database schema source laravelinterviewquestions com q9 what is eloquent models answer the eloquent orm included with laravel provides a beautiful simple activerecord implementation for working with your database each database table has a corresponding model which is used to interact with that table models allow you to query for data in your tables as well as insert new records into the table source laravel com q10 list some official packages of laravel answer cashier laravel cashier provides an expressive fluent interface to stripe s and braintree s subscription billing services dusk laravel dusk provides an expressive easy to use browser automation and testing api envoy laravel envoy provides a clean minimal syntax for defining common tasks you run on your remote servers horizon horizon provides a dashboard and code driven configuration for your laravel powered redis queues passport provides a full oauth2 server implementation for your laravel application in a matter of minutes scout laravel scout provides a simple driver based solution for adding full text search to your eloquent models socialite a simple convenient way to authenticate with oauth providers using laravel socialite source laravel com q11 what are laravel events answer laravel event provides a simple observer pattern implementation that allow to subscribe and listen for events in the application an event is an incident or occurrence detected and handled by the program below are some events examples in laravel a new user has registered a new comment is posted user login logout new product is added source mytectra com q12 what is the facade pattern used for answer facades provide a static interface to classes that are available in the application s service container laravel facades serve as static proxies to underlying classes in the service container providing the benefit of a terse expressive syntax while maintaining more testability and flexibility than traditional static methods all of laravel s facades are defined in the illuminate support facades namespace consider js use illuminate support facades cache route get cache function return cache get key source laravel com q13 how do you generate migrations answer migrations are like version control for your database allowing your team to easily modify and share the application s database schema to create a migration use js php artisan make migration create users table source laravel com q14 which template engine does laravel use answer laravel uses blade templating engine blade is the simple yet powerful templating engine provided with laravel unlike other popular php templating engines blade does not restrict you from using plain php code in your views in fact all blade views are compiled into plain php code and cached until they are modified meaning blade adds essentially zero overhead to your application blade view files use the blade php file extension and are typically stored in the resources views directory source laravelinterviewquestions com q15 what are artisan commands answer artisan is the name of the command line interface included with laravel it provides a number of helpful commands for your use while developing your application for example php php artisan serve to start laravel project source laravel comv q16 how do you check if not null with eloquent read answer on a href https www fullstack cafe fullstack cafe a q17 what is laravel passport read answer on a href https www fullstack cafe fullstack cafe a q18 what is reverse routing in laravel read answer on a href https www fullstack cafe fullstack cafe a q19 list some aggregates methods provided by query builder in laravel read answer on a href https www fullstack cafe fullstack cafe a q20 list types of relationships available in laravel eloquent read answer on a href https www fullstack cafe fullstack cafe a q21 how to rollback one specific migration in laravel read answer on a href https www fullstack cafe fullstack cafe a q22 how do you mock a static facade methods read answer on a href https www fullstack cafe fullstack cafe a q23 what are queues and job workers read answer on a href https www fullstack cafe fullstack cafe a q24 what is the benefit of eager loading when do you use it read answer on a href https www fullstack cafe fullstack cafe a q25 how do you generate event and listeners read answer on a href https www fullstack cafe fullstack cafe a q26 how do you do soft deletes read answer on a href https www fullstack cafe fullstack cafe a q27 what do you know about query builder in laravel read answer on a href https www fullstack cafe fullstack cafe a q28 what are query scopes read answer on a href https www fullstack cafe fullstack cafe a q29 what are named routes in laravel read answer on a href https www fullstack cafe fullstack cafe a q30 what are the benefits of using vue js with laravel read answer on a href https www fullstack cafe fullstack cafe a q31 where can you easily hook on validation in laravel 5 x read answer on a href https www fullstack cafe fullstack cafe a q32 how do you generate migrations read answer on a href https www fullstack cafe fullstack cafe a q33 what is closure in laravel read answer on a href https www fullstack cafe fullstack cafe a q34 why do we need traits in laravel read answer on a href https www fullstack cafe fullstack cafe a q35 where can you inject authentication checks on an api request read answer on a href https www fullstack cafe fullstack cafe a q36 how do i get the query builder to output its raw sql query as a string read answer on a href https www fullstack cafe fullstack cafe a q37 what is autoloader in php read answer on a href https www fullstack cafe fullstack cafe a q38 explain the structure of the migration class read answer on a href https www fullstack cafe fullstack cafe a q39 how does laravel use ioc read answer on a href https www fullstack cafe fullstack cafe a q40 what are some differences and similarities between lumen and laravel read answer on a href https www fullstack cafe fullstack cafe a q41 what do you know about service providers read answer on a href https www fullstack cafe fullstack cafe a toc a name msmq msmq a interview questions q1 what is message in msmq answer messages are just envelopes that are used to send data through the queues they can be application generated or system generated application generated messages are sent by queued messaging applications source simpleorientedarchitecture com q2 why do we use msmq answer microsoft message queuing or msmq is technology for asynchronous messaging whenever there s need for two or more applications processes to send messages to each other without having to immediately know results msmq can be used msmq can communicate between remote machines even over internet it s free and comes with windows but is not installed by default this mainly addresses the common use case of asynchronous message processing you have a service service1 that communicates send messages with another part of your software architecture say service2 main problem what if service2 becomes suddenly unavailable will messages be lost if you use msmq it won t service1 will send messages into a queue and service2 will dequeue when it is available msmq will resolve following common issues temporary unavailability of a service messages are persisted on the disk and will be dequeued when the service becomes available again so no messages are lost as it s fully asynchronous it ll help a lot in case of punctual peak load your service2 won t die under the heavy load it ll just dequeue and process messages one after one source cogin com q3 what is queue in msmq answer the queue is just a container that stores messages decoupling the sender from the receiver msmq queues are not necessarily fifo first in first out because messages can be prioritized queues can be transactional or nontransactional transactional queues can only receive messages sent within a transactional context nontransactional queues can only receive messages sent outside of a transactional context messages sent in a transactional context are processed in the order in which they were sent source simpleorientedarchitecture com q4 how to use msmq in azure applications read answer on a href https www fullstack cafe fullstack cafe a q5 name different types of application queues in msmq read answer on a href https www fullstack cafe fullstack cafe a q6 name some benefits of msmq read answer on a href https www fullstack cafe fullstack cafe a q7 what are the benefits and tradeoffs of using msmq over a sql table in this situation and why should i choose one over the other read answer on a href https www fullstack cafe fullstack cafe a q8 when would we use msmq read answer on a href https www fullstack cafe fullstack cafe a q9 what types of timer provided by msmq read answer on a href https www fullstack cafe fullstack cafe a q10 how to publish messages asynchronously to msmq in net core read answer on a href https www fullstack cafe fullstack cafe a q11 is there any alternatives to msmq for azure read answer on a href https www fullstack cafe fullstack cafe a q12 what is the difference between windows service bus and msmq read answer on a href https www fullstack cafe fullstack cafe a q13 is it possible for server a to access a private queue from server b read answer on a href https www fullstack cafe fullstack cafe a q14 if i have an application on windows machine a that wants to write to a queue on windows machine b do i need to have msmq installed on machine a even though there is no queue there read answer on a href https www fullstack cafe fullstack cafe a q15 explain types of transaction in msmq read answer on a href https www fullstack cafe fullstack cafe a q16 would you choose msmq or service broker for mission critical applications read answer on a href https www fullstack cafe fullstack cafe a toc a name machinelearning machine learning a interview questions q1 what is machine learning answer machine learning is the study of algorithms and mathematical models that computer systems use to progressively improve their performance on a specific task the name machine learning was coined in 1959 by arthur samuel as the science of getting computers to act without being explicitly programmed tom m mitchell provided a widely quoted more formal definition of the algorithms studied in the machine learning field a computer program is said to learn from experience e with respect to some class of tasks t and performance measure p if its performance at tasks in t as measured by p improves with experience e source wikipedia org q2 what do you understand by machine learning answer machine learning is an application of artificial intelligence that provides systems the ability to automatically learn and improve from experience without being explicitly programmed machine learning focuses on the development of computer programs that can access data and use it learn for themselves source www educba com q3 give an example that explains machine leaning in industry answer robots are replacing humans in many areas it is because robots are programmed such that they can perform the task based on data they gather from sensors they learn from the data and behaves intelligently source www educba com q4 what are the different algorithm techniques in machine learning answer the different types of algorithm techniques in machine learning are as follows reinforcement learning supervised learning unsupervised learning semi supervised learning transduction learning to learn source www educba com q5 what are classification and regression in ml explain the difference answer classification classification algorithms are used when the desired output is a discrete label in other words they re helpful when the answer to your question about your business falls under a finite set of possible outcomes many use cases such as determining whether an email is spam or not have only two possible outcomes this is called binary classification multi label classification captures everything else and is useful for customer segmentation audio and image categorization and text analysis for mining customer sentiment if these are the questions you re hoping to answer with machine learning in your business consider algorithms like naive bayes decision trees logistic regression kernel approximation and k nearest neighbors regression on the other hand regression is useful for predicting outputs that are continuous that means the answer to your question is represented by a quantity that can be flexibly determined based on the inputs of the model rather than being confined to a set of possible labels regression problems with time ordered inputs are called time series forecasting problems like arima forecasting which allows data scientists to explain seasonal patterns in sales evaluate the impact of new marketing campaigns and more linear regression is by far the most popular example of a regression algorithm though it s often underrated because of its relative simplicity it s a versatile method that can be used to predict housing prices likelihood of customers to churn or the revenue a customer will generate for use cases like these regression trees and support vector regression are good algorithms to consider if you re looking for something more sophisticated than linear regression source www datascience com q6 what is overfitting in machine learning answer overfitting in machine learning is defined as when a statistical model describes random error or noise instead of underlying relationship or when a model is excessively complex source www educba com q7 what s classification in machine learning answer in machine learning and statistics classification is the problem of identifying to which of a set of categories sub populations a new observation belongs on the basis of a training set of data containing observations or instances whose category membership is known examples are assigning a given email to the spam or non spam class and assigning a diagnosis to a given patient based on observed characteristics of the patient sex blood pressure presence or absence of certain symptoms etc classification is an example of pattern recognition in the terminology of machine learning classification is considered an instance of supervised learning i e learning where a training set of correctly identified observations is available the corresponding unsupervised procedure is known as clustering and involves grouping data into categories based on some measure of inherent similarity or distance source wikipedia org q8 what is regression analysis answer in statistical modeling regression analysis is a set of statistical processes for estimating the relationships among variables it includes many techniques for modeling and analyzing several variables when the focus is on the relationship between a dependent variable and one or more independent variables or predictors more specifically regression analysis helps one understand how the typical value of the dependent variable or criterion variable changes when any one of the independent variables is varied while the other independent variables are held fixed source wikipedia org q9 what is the difference between supervised and unsupervised machine learning answer supervised learning is a process where it requires training labeled data while unsupervised learning it doesn t require data labeling source www educba com q10 what is the function of unsupervised learning answer the function of unsupervised learning are as below find clusters of the data find low dimensional representations of the data find interesting directions in data find interesting coordinates and correlations find novel observations source www educba com q11 what is the function of supervised learning answer the function of supervised learning are as below classifications speech recognition regression predict time series annotate strings source www educba com q12 what are the disadvantages of neural networks answer neural network requires a large amount of training data to converge it s also difficult to pick the right architecture and the internal hidden layers are incomprehensible source www educba com q13 what are the advantages of neural networks answer neural networks have led to performance breakthroughs for unstructured datasets such as images audio and video their incredible flexibility allows them to learn patterns that no other machine learning algorithm can learn source www educba com q14 what are the disadvantages of decision trees answer decision trees are prone to be overfit however this can be addressed by ensemble methods like random forests or boosted trees source www educba com q15 explain the difference between supervised learning and unsupervised learning answer supervised machine learning is the more commonly used between the two it includes such algorithms as linear and logistic regression multi class classification and support vector machines supervised learning is so named because the data scientist acts as a guide to teach the algorithm what conclusions it should come up with it s similar to the way a child might learn arithmetic from a teacher supervised learning requires that the algorithm s possible outputs are already known and that the data used to train the algorithm is already labeled with correct answers for example a classification algorithm will learn to identify animals after being trained on a dataset of images that are properly labeled with the species of the animal and some identifying characteristics on the other hand unsupervised machine learning is more closely aligned with what some call true artificial intelligence the idea that a computer can learn to identify complex processes and patterns without a human to provide guidance along the way although unsupervised learning is prohibitively complex for some simpler enterprise use cases it opens the doors to solving problems that humans normally would not tackle some examples of unsupervised machine learning algorithms include k means clustering principal and independent component analysis and association rules while a supervised classification algorithm learns to ascribe inputted labels to images of animals its unsupervised counterpart will look at inherent similarities between the images and separate them into groups accordingly assigning its own new label to each group in a practical example this type of algorithm is useful for customer segmentation because it will return groups based on parameters that a human may not consider due to pre existing biases about the company s demographic choosing to use either a supervised or unsupervised machine learning algorithm typically depends on factors related to the structure and volume of your data and the use case of the issue at hand a well rounded data science program will use both types of algorithms to build predictive data models that help stakeholders make decisions across a variety of business challenges source www datascience com q16 what are the conditions when overfitting happens answer one of the important reason and possibility of overfitting is because the criteria used for training the model is not the same as the criteria used to judge the efficacy of a model source www educba com q17 how can you avoid overfitting answer we can avoid overfitting by using lots of data cross validation source www educba com q18 what are the five popular algorithms for machine learning answer below is the list of five popular algorithms of machine learning decision trees probabilistic networks nearest neighbor support vector machines neural networks source www educba com q19 what are the different use cases where machine learning algorithms can be used answer the different use cases where machine learning algorithms can be used are as follows fraud detection face detection natural language processing market segmentation text categorization bioinformatics source www educba com q20 what are parametric models and non parametric models answer parametric models are those with a finite number of parameters and to predict new data you only need to know the parameters of the model non parametric models are those with an unbounded number of parameters allowing for more flexibility and to predict new data you need to know the parameters of the model and the state of the data that has been observed source www educba com q21 what are the three stages to build the hypotheses or model in machine learning answer the three stages to build the hypotheses or model in machine learning are 1 model building 2 model testing 3 applying the model source www educba com q22 what is inductive logic programming in machine learning ilp answer inductive logic programming ilp is a subfield of machine learning which uses logical programming representing background knowledge and examples source www educba com q23 what is the difference between classification and regression answer the difference between classification and regression are as follows classification is about identifying group membership while regression technique involves predicting a response classification and regression techniques are related to prediction classification predicts the belonging to a class whereas regression predicts the value from a continuous set classification technique is preferred over regression when the results of the model need to return the belongingness of data points in a dataset with specific explicit categories source www educba com q24 what are the difference between inductive machine learning and deductive machine learning answer the difference between inductive machine learning and deductive machine learning are as follows inductive machine learning is where the model learns by examples from a set of observed instances to draw a generalized conclusion whereas in deductive learning the model first draws the conclusion and then the conclusion is drawn source www educba com q25 what are the advantages of decision trees answer the advantages decision trees are decision trees are easy to interpret nonparametric there are relatively few parameters to tune source www educba com q26 why is naive bayes so naive read answer on a href https www fullstack cafe fullstack cafe a q27 what are the disadvantages of naive bayes read answer on a href https www fullstack cafe fullstack cafe a q28 what are the advantages of naive bayes read answer on a href https www fullstack cafe fullstack cafe a q29 what is the difference between l1 and l2 regularization read answer on a href https www fullstack cafe fullstack cafe a toc a name microservices microservices a interview questions q1 why would you opt for microservices architecture answer there are plenty of pros that are offered by microservices architecture here are a few of them microservices can adapt easily to other frameworks or technologies failure of a single process does not affect the entire system provides support to big enterprises as well as small teams can be deployed independently and in relatively less time source lambdatest com q2 list down the advantages of microservices architecture answer independent development all microservices can be easily developed based on their individual functionality independent deployment based on their services they can be individually deployed in any application fault isolation even if one service of the application does not work the system still continues to function mixed technology stack different languages and technologies can be used to build different services of the same application granular scaling individual components can scale as per need there is no need to scale all components together source lambdatest com q3 define microservice architecture answer microservices aka microservice architecture is an architectural style that structures an application as a collection of small autonomous services modeled around a business domain source lambdatest com q4 what is the difference between monolithic soa and microservices architecture read answer on a href https www fullstack cafe fullstack cafe a q5 what are the standard patterns of orchestrating microservices read answer on a href https www fullstack cafe fullstack cafe a q6 what are the features of microservices read answer on a href https www fullstack cafe fullstack cafe a q7 how does microservice architecture work read answer on a href https www fullstack cafe fullstack cafe a q8 what are the fundamentals of microservices design read answer on a href https www fullstack cafe fullstack cafe a q9 what are the challenges you face while working microservice architectures read answer on a href https www fullstack cafe fullstack cafe a q10 whether do you find graphql the right fit for designing microservice architecture read answer on a href https www fullstack cafe fullstack cafe a q11 what is the difference between a proxy server and a reverse proxy server read answer on a href https www fullstack cafe fullstack cafe a q12 how can we perform cross functional testing read answer on a href https www fullstack cafe fullstack cafe a q13 what are main differences between microservices and monolithic architecture read answer on a href https www fullstack cafe fullstack cafe a q14 what are smart endpoints and dumb pipes read answer on a href https www fullstack cafe fullstack cafe a q15 what is the role of an architect in microservices architecture read answer on a href https www fullstack cafe fullstack cafe a q16 what is materialized view pattern and when will you use it read answer on a href https www fullstack cafe fullstack cafe a q17 what are the pros and cons of microservice architecture read answer on a href https www fullstack cafe fullstack cafe a q18 mention some benefits and drawbacks of an api gateway read answer on a href https www fullstack cafe fullstack cafe a q19 can we create state machines out of microservices read answer on a href https www fullstack cafe fullstack cafe a q20 explain what is the api gateway pattern read answer on a href https www fullstack cafe fullstack cafe a q21 what is idempotence read answer on a href https www fullstack cafe fullstack cafe a q22 what do you understand by distributed transaction read answer on a href https www fullstack cafe fullstack cafe a q23 what do you understand by contract testing read answer on a href https www fullstack cafe fullstack cafe a q24 how should the various services share a common db schema and code read answer on a href https www fullstack cafe fullstack cafe a q25 what does it mean that shifting to microservices creates a run time problem read answer on a href https www fullstack cafe fullstack cafe a q26 what is the most accepted transaction strategy for microservices read answer on a href https www fullstack cafe fullstack cafe a q27 provide an example of smart pipes and dumb endpoint read answer on a href https www fullstack cafe fullstack cafe a q28 what are reactive extensions in microservices read answer on a href https www fullstack cafe fullstack cafe a q29 why would one use sagas over 2pc and vice versa read answer on a href https www fullstack cafe fullstack cafe a q30 what is a consumer driven contract cdc read answer on a href https www fullstack cafe fullstack cafe a q31 what is the difference between cohesion and coupling read answer on a href https www fullstack cafe fullstack cafe a q32 how would you implement sso for microservice architecture read answer on a href https www fullstack cafe fullstack cafe a q33 name the main differences between soa and microservices read answer on a href https www fullstack cafe fullstack cafe a q34 what did the law stated by melvin conway implied read answer on a href https www fullstack cafe fullstack cafe a toc a name mongodb mongodb a interview questions q1 does mongodb support foreign key constraints answer no mongodb does not support such relationships the database does not apply any constraints to the system i e foreign key constraints so there are no cascading deletes or cascading updates basically in a nosql database it is up to you to decide how to organise the data and its relations if there are any source interviewbubble com q2 which are the most important features of mongodb answer flexible data model in form of documents agile and highly scalable database faster than traditional databases expressive query language source tutorialspoint com q3 explain what is mongodb answer mongodb is an open source document database that provides high performance high availability and automatic scaling it s key features are document oriented and nosql database supports aggregation uses bson format sharding helps in horizontal scalability supports ad hoc queries schema less capped collection indexing any field in mongodb can be indexed mongodb replica set provides high availability supports multiple storage engines source mongodb com q4 how many indexes does mongodb create by default for a new collection answer by default mongodb created the id collection for every collection source tutorialspoint com q5 compare sql databases and mongodb at a high level answer sql databases store data in form of tables rows columns and records this data is stored in a pre defined data model which is not very much flexible for today s real world highly growing applications mongodb in contrast uses a flexible structure which can be easily modified and extended source tutorialspoint com q6 what is replication in mongodb answer replication is the process of synchronizing data across multiple servers replication provides redundancy and increases data availability with multiple copies of data on different database servers replication protects a database from the loss of a single server replication also allows you to recover from hardware failure and service interruptions source interviewbubble com q7 what is namespace in mongodb answer mongodb stores bson binary interchange and structure object notation objects in the collection the concatenation of the collection name and database name is called a namespace source medium com hub4tech q8 if you remove an object attribute is it deleted from the database answer yes it be remove the attribute and then re save the object source medium com hub4tech q9 why does profiler use in mongodb answer mongodb uses a database profiler to perform characteristics of each operation against the database you can use a profiler to find queries and write operations source medium com hub4tech q10 what is bson in mongodb answer bson is a binary serialization format used to store documents and make remote procedure calls in mongodb bson extends the json model to provide additional data types ordered fields and to be efficient for encoding and decoding within different languages source mongodb com q11 does mongodb need a lot space of random access memory ram answer no mongodb can be run on small free space of ram source medium com hub4tech q12 how is data stored in mongodb answer data in mongodb is stored in bson documents json style data structures documents contain one or more fields and each field contains a value of a specific data type including arrays binary data and sub documents documents that tend to share a similar structure are organized as collections it may be helpful to think of documents as analogous to rows in a relational database fields as similar to columns and collections as similar to tables the advantages of using documents are documents i e objects correspond to native data types in many programming languages embedded documents and arrays reduce need for expensive joins dynamic schema supports fluent polymorphism source mongodb com q13 mention the command to insert a document in a database called school and collection called persons answer js use school db persons insert name kadhir dept cse source tutorialspoint com q14 what are indexes in mongodb answer indexes support the efficient execution of queries in mongodb without indexes mongodb must perform a collection scan i e scan every document in a collection to select those documents that match the query statement if an appropriate index exists for a query mongodb can use the index to limit the number of documents it must inspect source tutorialspoint com q15 what is a replica set answer it is a group of mongo instances that maintain same data set replica sets provide redundancy and high availability and are the basis for all production deployments source interviewbubble com q16 can you create an index on an array field in mongodb if yes what happens in this case answer yes an array field can be indexed in mongodb in this case mongodb would index each value of the array so you can query for individual items js db col1 save colors red blue db col1 ensureindex colors 1 db col1 find colors red id objectid 4ccc78f97cf9bdc2a2e54ee9 colors red blue db col1 find colors blue id objectid 4ccc78f97cf9bdc2a2e54ee9 colors red blue source stackoverflow com q17 when should we embed one document within another in mongodb answer you should consider embedding documents for contains relationships between entities one to many relationships performance reasons source tutorialspoint com q18 how is mongodb better than other sql databases read answer on a href https www fullstack cafe fullstack cafe a q19 should i normalize my data before storing it in mongodb read answer on a href https www fullstack cafe fullstack cafe a q20 what is use of capped collection in mongodb read answer on a href https www fullstack cafe fullstack cafe a q21 what does mongodb not being acid compliant really mean read answer on a href https www fullstack cafe fullstack cafe a q22 how to query mongodb with like read answer on a href https www fullstack cafe fullstack cafe a q23 how do i perform the sql join equivalent in mongodb read answer on a href https www fullstack cafe fullstack cafe a q24 when to use mongodb or other document oriented database systems read answer on a href https www fullstack cafe fullstack cafe a q25 what is the difference between mongodb and mysql read answer on a href https www fullstack cafe fullstack cafe a q26 how can you achieve primary key foreign key relationships in mongodb read answer on a href https www fullstack cafe fullstack cafe a q27 does mongodb pushes the writes to disk immediately or lazily read answer on a href https www fullstack cafe fullstack cafe a q28 if you remove a document from database does mongodb remove it from disk read answer on a href https www fullstack cafe fullstack cafe a q29 what is the difference b w mongodb and couchdb read answer on a href https www fullstack cafe fullstack cafe a q30 what is sharding read answer on a href https www fullstack cafe fullstack cafe a q31 what are nosql databases what are the different types of nosql databases read answer on a href https www fullstack cafe fullstack cafe a q32 explain the structure of objectid in mongodb read answer on a href https www fullstack cafe fullstack cafe a q33 what is a covered query in mongodb read answer on a href https www fullstack cafe fullstack cafe a q34 how can i combine data from multiple collections into one collection read answer on a href https www fullstack cafe fullstack cafe a q35 find objects between two dates mongodb read answer on a href https www fullstack cafe fullstack cafe a q36 how to query mongodb with like read answer on a href https www fullstack cafe fullstack cafe a q37 is there an upsert option in the mongodb insert command read answer on a href https www fullstack cafe fullstack cafe a q38 what is oplog read answer on a href https www fullstack cafe fullstack cafe a q39 how can you achieve transaction and locking in mongodb read answer on a href https www fullstack cafe fullstack cafe a q40 what do you understand by nosql databases explain read answer on a href https www fullstack cafe fullstack cafe a q41 what is sharding in mongodb explain read answer on a href https www fullstack cafe fullstack cafe a q42 can one mongodb operation lock more than one databases if yes how read answer on a href https www fullstack cafe fullstack cafe a q43 mention the command to check whether you are on the master server or not read answer on a href https www fullstack cafe fullstack cafe a q44 why are mongodb data files large in size read answer on a href https www fullstack cafe fullstack cafe a q45 does mongodb support acid transaction management and locking functionalities read answer on a href https www fullstack cafe fullstack cafe a q46 why mongodb is not preferred over a 32 bit system read answer on a href https www fullstack cafe fullstack cafe a q47 what is aggregation in mongodb read answer on a href https www fullstack cafe fullstack cafe a q48 how replication works in mongodb read answer on a href https www fullstack cafe fullstack cafe a q49 by default mongodb writes and reads data from both primary and secondary replica sets true or false read answer on a href https www fullstack cafe fullstack cafe a q50 how does mongodb provide concurrency read answer on a href https www fullstack cafe fullstack cafe a q51 how can you isolate your cursors from intervening with the write operations read answer on a href https www fullstack cafe fullstack cafe a q52 what are primary and secondary replica sets read answer on a href https www fullstack cafe fullstack cafe a q53 at what interval does mongodb write updates to the disk read answer on a href https www fullstack cafe fullstack cafe a q54 mention the command to list all the indexes on a particular collection read answer on a href https www fullstack cafe fullstack cafe a q55 what happens if an index does not fit into ram read answer on a href https www fullstack cafe fullstack cafe a q56 does mongodb provide a facility to do text searches how read answer on a href https www fullstack cafe fullstack cafe a q57 update mongodb field using value of another field read answer on a href https www fullstack cafe fullstack cafe a q58 how does journaling work in mongodb read answer on a href https www fullstack cafe fullstack cafe a q59 why is a covered query important read answer on a href https www fullstack cafe fullstack cafe a q60 when to redis or mongodb read answer on a href https www fullstack cafe fullstack cafe a q61 mongodb relationships what to use embed or reference read answer on a href https www fullstack cafe fullstack cafe a q62 is mongodb schema less read answer on a href https www fullstack cafe fullstack cafe a q63 how to get the last n records from find read answer on a href https www fullstack cafe fullstack cafe a q64 how does mongodb ensure high availability read answer on a href https www fullstack cafe fullstack cafe a q65 how to find mongodb records where array field is not empty read answer on a href https www fullstack cafe fullstack cafe a q66 how to check if a field contains a substring read answer on a href https www fullstack cafe fullstack cafe a q67 where can i run mongodb read answer on a href https www fullstack cafe fullstack cafe a q68 what are alternatives to mongodb read answer on a href https www fullstack cafe fullstack cafe a q69 how to remove a field completely from a mongodb document read answer on a href https www fullstack cafe fullstack cafe a q70 what is a storage engine in mongodb read answer on a href https www fullstack cafe fullstack cafe a q71 how to find document with array that contains a specific value read answer on a href https www fullstack cafe fullstack cafe a q72 what is splitting in mongodb read answer on a href https www fullstack cafe fullstack cafe a q73 is it possible to update mongodb field using value of another field read answer on a href https www fullstack cafe fullstack cafe a q74 explain what is horizontal scalability read answer on a href https www fullstack cafe fullstack cafe a q75 what are the differences between mongodb and mysql read answer on a href https www fullstack cafe fullstack cafe a q76 how to condense large volumes of data in mongo read answer on a href https www fullstack cafe fullstack cafe a q77 which are the two storage engines used by mongodb read answer on a href https www fullstack cafe fullstack cafe a q78 what s the advantage of the backup features in ops manager versus traditional backup strategies read answer on a href https www fullstack cafe fullstack cafe a q79 what are three primary concerns when choosing a data management system read answer on a href https www fullstack cafe fullstack cafe a toc a name node js node js a interview questions q1 what is node js answer node js is a web application framework built on google chrome s javascript engine v8 engine node js comes with runtime environment on which a javascript based script can be interpreted and executed it is analogus to jvm to java byte code this runtime allows to execute a javascript code on any machine outside a browser because of this runtime of node js javascript is now can be executed on server as well node js runtime environment javascript library source tutorialspoint com q2 what is npm answer npm stands for node package manager npm provides following two main functionalities online repositories for node js packages modules which are searchable on search nodejs org http search nodejs org command line utility to install packages do version management and dependency management of node js packages source tutorialspoint com q3 what are the two types of api functions in node js answer the two types of api functions in node js are a asynchronous non blocking functions b synchronous blocking functions source lazyquestion com q4 what is the difference between returning a callback and just calling a callback answer js return callback some more lines of code won t be executed callback some more lines of code will be executed of course returning will help the context calling async function get the value returned by callback js function do2 callback log trace execute function do2 return callback do2 callback param var do2result do2 param log trace print param return return from callback param we could use that return log trace print do2result output sh c work node node use strict main js 0 execute function do2 0 print do2 callback param 0 print return from callback do2 callback param source stackoverflow com q5 what are event listeners answer event listeners are similar to call back functions but are associated with some event for example when a server listens to http request on a given port a event will be generated and to specify http server has received and will invoke corresponding event listener basically event listener s are also call backs for a corresponding event node js has built in event s and built in event listeners node js also provides functionality to create custom events and custom event listeners source lazyquestion com q6 what is global installation of dependencies answer globally installed packages dependencies are stored in user directory npm directory such dependencies can be used in cli command line interface function of any node js but can not be imported using require in node application directly to install a node project globally use g flag source tutorialspoint com q7 what is libuv answer libuv is a c library that is used to abstract non blocking i o operations to a consistent interface across all supported platforms it provides mechanisms to handle file system dns network child processes pipes signal handling polling and streaming it also includes a thread pool for offloading work for some things that can t be done asynchronously at the operating system level source nodejs org q8 what is v8 answer the v8 library provides node js with a javascript engine a program that converts javascript code into lower level or machine code that microprocessors can understand which node js controls via the v8 c api v8 is maintained by google for use in chrome the chrome v8 engine the v8 engine is written in c and used in chrome and nodejs it implements ecmascript as specified in ecma 262 the v8 engine can run standalone we can embed it with our own c program source nodejs org q9 what are the core modules of node js answer eventemitter stream fs net global objects source github com jimuyouyou q10 how you can monitor a file for modifications in node js answer we can take advantage of file system watch function which watches the changes of the file source codingdefined com q11 could we run an external process with node js answer yes child process module enables us to access operating system functionaries or other apps scalability is baked into node and child processes are the key factors to scale our application you can use child process to run system commands read large files without blocking event loop decompose the application into various nodes that s why it s called node child process module has following three major ways to create child processes spawn child process spawn launches a new process with a given command exec child process exec method runs a command in a shell console and buffers the output fork the child process fork method is a special case of the spawn to create child processes source codeforgeek com q12 list out the differences between angularjs and nodejs answer angularjs is a web application development framework it s a javascript and it is different from other web app frameworks written in javascript like jquery nodejs is a runtime environment used for building server side applications while angularjs is a javascript framework mainly useful in building developing client side part of applications which run inside a web browser source a4academics com q13 what do you mean by asynchronous api answer all apis of node js library are aynchronous that is non blocking it essentially means a node js based server never waits for a api to return data server moves to next api after calling it and a notification mechanism of events of node js helps server to get response from the previous api call source tutorialspoint com q14 what is callback hell answer the asynchronous function requires callbacks as a return parameter when multiple asynchronous functions are chained together then callback hell situation comes up source codeforgeek com q15 if node js is single threaded then how it handles concurrency answer node provides a single thread to programmers so that code can be written easily and without bottleneck node internally uses multiple posix threads for various i o operations such as file dns network calls etc when node gets i o request it creates or uses a thread to perform that i o operation and once the operation is done it pushes the result to the event queue on each such event event loop runs and checks the queue and if the execution stack of node is empty then it adds the queue result to execution stack this is how node manages concurrency source codeforgeek com q16 what are the benefits of using node js answer following are main benefits of using node js aynchronous and event driven all apis of node js library are aynchronous that is non blocking it essentially means a node js based server never waits for a api to return data server moves to next api after calling it and a notification mechanism of events of node js helps server to get response from the previous api call very fast being built on google chrome s v8 javascript engine node js library is very fast in code execution single threaded but highly scalable node js uses a single threaded model with event looping event mechanism helps server to respond in a non bloking ways and makes server highly scalable as opposed to traditional servers which create limited threads to handle requests node js uses a single threaded program and same program can services much larger number of requests than traditional server like apache http server no buffering node js applications never buffer any data these applications simply output the data in chunks source tutorialspoint com q17 is node a single threaded application answer yes node uses a single threaded model with event looping source tutorialspoint com q18 what is control flow function answer it is a generic piece of code which runs in between several asynchronous function calls is known as control flow function source lazyquestion com q19 what are the key features of node js answer let s look at some of the key features of node js asynchronous event driven io helps concurrent request handling all apis of node js are asynchronous this feature means that if a node receives a request for some input output operation it will execute that operation in the background and continue with the processing of other requests thus it will not wait for the response from the previous requests fast in code execution node js uses the v8 javascript runtime engine the one which is used by google chrome node has a wrapper over the javascript engine which makes the runtime engine much faster and hence processing of requests within node js also become faster single threaded but highly scalable node js uses a single thread model for event looping the response from these events may or may not reach the server immediately however this does not block other operations thus making node js highly scalable traditional servers create limited threads to handle requests while node js creates a single thread that provides service to much larger numbers of such requests node js library uses javascript this is another important aspect of node js from the developer s point of view the majority of developers are already well versed in javascript hence development in node js becomes easier for a developer who knows javascript there is an active and vibrant community for the node js framework the active community always keeps the framework updated with the latest trends in the web development no buffering node js applications never buffer any data they simply output the data in chunks source techbeamers com q20 what is an error first callback answer error first callbacks are used to pass errors and data the first argument is always an error object that the programmer has to check if something went wrong additional arguments are used to pass data js fs readfile filepath function err data if err handle the error use the data object source tutorialspoint com q21 how to make post request in node js answer following code snippet can be used to make a post request in node js js var request require request request post http www example com action form key value function error response body if error response statuscode 200 console log body source techbeamers com q22 what is the difference between nodejs ajax and jquery answer the one common trait between node js ajax and jquery is that all of them are the advanced implementation of javascript however they serve completely different purposes node js it is a server side platform for developing client server applications for example if we ve to build an online employee management system then we won t do it using client side js but the node js can certainly do it as it runs on a server similar to apache django not in a browser ajax aka asynchronous javascript and xml it is a client side scripting technique primarily designed for rendering the contents of a page without refreshing it there are a no of large companies utilizing ajax such as facebook and stack overflow to display dynamic content jquery it is a famous javascript module which complements ajax dom traversal looping and so on this library provides many useful functions to help in javascript development however it s not mandatory to use it but as it also manages cross browser compatibility so can help you produce highly maintainable web applications source techbeamers com q23 what s the difference between operational and programmer errors answer operation errors are not bugs but problems with the system like request timeout or hardware failure on the other hand programmer errors are actual bugs source blog risingstack com q24 what is event loop read answer on a href https www fullstack cafe fullstack cafe a q25 what are the use cases for the node js vm core module read answer on a href https www fullstack cafe fullstack cafe a q26 what is repl in context of node read answer on a href https www fullstack cafe fullstack cafe a q27 are you familiar with differences between node js nodules and es6 nodules read answer on a href https www fullstack cafe fullstack cafe a q28 explain the concept of domain in node js read answer on a href https www fullstack cafe fullstack cafe a q29 how to avoid callback hell in node js read answer on a href https www fullstack cafe fullstack cafe a q30 how can you avoid callback hells read answer on a href https www fullstack cafe fullstack cafe a q31 what is n api in node js read answer on a href https www fullstack cafe fullstack cafe a q32 what is callback read answer on a href https www fullstack cafe fullstack cafe a q33 explain how does node js work read answer on a href https www fullstack cafe fullstack cafe a q34 what is a blocking code read answer on a href https www fullstack cafe fullstack cafe a q35 when should we use node js read answer on a href https www fullstack cafe fullstack cafe a q36 what is the purpose of settimeout function read answer on a href https www fullstack cafe fullstack cafe a q37 what is the relationship between node js and v8 read answer on a href https www fullstack cafe fullstack cafe a q38 what is chaining in node read answer on a href https www fullstack cafe fullstack cafe a q39 rewrite promise based node js applications to async await read answer on a href https www fullstack cafe fullstack cafe a q40 how does node js handle child threads read answer on a href https www fullstack cafe fullstack cafe a q41 what is the preferred method of resolving unhandled exceptions in node js read answer on a href https www fullstack cafe fullstack cafe a q42 what are streams read answer on a href https www fullstack cafe fullstack cafe a q43 what is difference between synchronous and asynchronous method of fs module read answer on a href https www fullstack cafe fullstack cafe a q44 what is stream and what are types of streams available in node js read answer on a href https www fullstack cafe fullstack cafe a q45 how do you debug node js applications read answer on a href https www fullstack cafe fullstack cafe a q46 when should i use eventemitter read answer on a href https www fullstack cafe fullstack cafe a q47 what is purpose of buffer class in node read answer on a href https www fullstack cafe fullstack cafe a q48 what is event emmitter read answer on a href https www fullstack cafe fullstack cafe a q49 how to use buffer in node js read answer on a href https www fullstack cafe fullstack cafe a q50 what s the event loop read answer on a href https www fullstack cafe fullstack cafe a q51 how node prevents blocking code read answer on a href https www fullstack cafe fullstack cafe a q52 what are the global objects of node js read answer on a href https www fullstack cafe fullstack cafe a q53 what is the purpose of filename variable read answer on a href https www fullstack cafe fullstack cafe a q54 what are the timing features of node js read answer on a href https www fullstack cafe fullstack cafe a q55 why to use buffers instead of binary strings to handle binary data read answer on a href https www fullstack cafe fullstack cafe a q56 explain usage of node env read answer on a href https www fullstack cafe fullstack cafe a q57 what is lts releases of node js why should you care read answer on a href https www fullstack cafe fullstack cafe a q58 provide some example of config file separation for dev and prod environments read answer on a href https www fullstack cafe fullstack cafe a q59 how would you handle errors for async code in node js read answer on a href https www fullstack cafe fullstack cafe a q60 what s the difference between dependencies devdependencies and peerdependencies in npm package json file read answer on a href https www fullstack cafe fullstack cafe a q61 what is piping in node read answer on a href https www fullstack cafe fullstack cafe a q62 how do you convert an existing callback api to promises read answer on a href https www fullstack cafe fullstack cafe a q63 name some of the events fired by streams read answer on a href https www fullstack cafe fullstack cafe a q64 what are async functions in node provide some examples read answer on a href https www fullstack cafe fullstack cafe a q65 how to gracefully shutdown node js server read answer on a href https www fullstack cafe fullstack cafe a q66 can node js work without v8 read answer on a href https www fullstack cafe fullstack cafe a q67 when to not use node js read answer on a href https www fullstack cafe fullstack cafe a q68 how the v8 engine works read answer on a href https www fullstack cafe fullstack cafe a q69 is node js entirely based on a single thread read answer on a href https www fullstack cafe fullstack cafe a q70 how does the cluster module work what s the difference between it and a load balancer read answer on a href https www fullstack cafe fullstack cafe a q71 is node js entirely based on a single thread read answer on a href https www fullstack cafe fullstack cafe a q72 how can you listen on port 80 with node read answer on a href https www fullstack cafe fullstack cafe a q73 is it possible to use class in node js read answer on a href https www fullstack cafe fullstack cafe a q74 does node js support multi core platforms and is it capable of utilizing all the cores read answer on a href https www fullstack cafe fullstack cafe a q75 what s a stub name a use case read answer on a href https www fullstack cafe fullstack cafe a q76 what tools can be used to assure consistent code style read answer on a href https www fullstack cafe fullstack cafe a q77 explain what is reactor pattern in node js read answer on a href https www fullstack cafe fullstack cafe a q78 rewrite the code sample without try catch block read answer on a href https www fullstack cafe fullstack cafe a q79 what is the purpose of using hidden classes in v8 read answer on a href https www fullstack cafe fullstack cafe a q80 how v8 compiles javascript code read answer on a href https www fullstack cafe fullstack cafe a q81 can node js use other engines than v8 read answer on a href https www fullstack cafe fullstack cafe a q82 how does libuv work under the hood read answer on a href https www fullstack cafe fullstack cafe a q83 how to solve process out of memory exception in node js read answer on a href https www fullstack cafe fullstack cafe a q84 what is v8 templates read answer on a href https www fullstack cafe fullstack cafe a q85 why do we need c addons in node js read answer on a href https www fullstack cafe fullstack cafe a q86 explain some error handling approaches in node js you know about which one will you use read answer on a href https www fullstack cafe fullstack cafe a q87 what will happen when that code will be executed read answer on a href https www fullstack cafe fullstack cafe a q88 consider following code snippet read answer on a href https www fullstack cafe fullstack cafe a q89 how many threads does node actually create read answer on a href https www fullstack cafe fullstack cafe a q90 why should you separate express app and server read answer on a href https www fullstack cafe fullstack cafe a q91 why node js devs tend to lean towards the module requiring vs dependency injection read answer on a href https www fullstack cafe fullstack cafe a q92 what is the difference between process nexttick and setimmediate read answer on a href https www fullstack cafe fullstack cafe a q93 explain the result of this code execution read answer on a href https www fullstack cafe fullstack cafe a q94 explain the result of this code execution read answer on a href https www fullstack cafe fullstack cafe a q95 how would you scale node application read answer on a href https www fullstack cafe fullstack cafe a toc a name oop oop a interview questions q1 what is object oriented programming oop answer oop is a technique to develop logical modules such as classes that contain properties methods fields and events an object is created in the program to represent a class therefore an object encapsulates all the features such as data and behavior that are associated to a class oop allows developers to develop modular programs and assemble them as software objects are used to access data and behaviors of different software modules such as classes namespaces and sharable assemblies net framework supports only oop languages such as visual basic net visual c and visual c source indiabix com q2 what is inheritance answer inheritance allows us to define a class in terms of another class which makes it easier to create and maintain an application this also provides an opportunity to reuse the code functionality and speeds up implementation time when creating a class instead of writing completely new data members and member functions the programmer can designate that the new class should inherit the members of an existing class this existing class is called the base class and the new class is referred to as the derived class the idea of inheritance implements the is a relationship for example mammal is a animal dog is a mammal hence dog is a animal as well and so on source tutorialspoint com q3 what is the difference between procedural and object oriented programming answer procedural programming is based upon the modular approach in which the larger programs are broken into procedures each procedure is a set of instructions that are executed one after another on the other hand oop is based upon objects an object consists of various elements such as methods and variables access modifiers are not used in procedural programming which implies that the entire data can be accessed freely anywhere in the program in oop you can specify the scope of a particular data by using access modifiers public private internal protected and protected internal source indiabix com q4 what is encapsulation answer encapsulation is defined as the process of enclosing one or more items within a physical or logical package encapsulation in object oriented programming methodology prevents access to implementation details source tutorialspoint com q5 what is a class answer a class describes all the attributes of objects as well as the methods that implement the behavior of member objects it is a comprehensive data type which represents a blue print of objects it is a template of object a class can be defined as the primary building block of oop it also serves as a template that describes the properties state and behaviors common to a particular group of objects a class contains data and behavior of an entity for example the aircraft class can contain data such as model number category and color and behavior such as duration of flight speed and number of passengers a class inherits the data members and behaviors of other classes by extending from them source indiabix com q6 what is the relationship between a class and an object answer a class acts as a blue print that defines the properties states and behaviors that are common to a number of objects an object is an instance of the class for example you have a class called vehicle and car is the object of that class you can create any number of objects for the class named vehicle such as van truck and auto the new operator is used to create an object of a class when an object of a class is instantiated the system allocates memory for every data member that is present in the class source indiabix com q7 what is an object answer objeects are instance of classes it is a basic unit of a system an object is an entity that has attributes behavior and identity attributes and behavior of an object are defined by the class definition source indiabix com q8 explain the basic features of oops answer the following are the four basic features of oop abstraction refers to the process of exposing only the relevant and essential data to the users without showing unnecessary information polymorphism allows you to use an entity in multiple forms encapsulation prevents the data from unwanted access by binding of code and data in a single unit called object inheritance promotes the reusability of code and eliminates the use of redundant code it is the property through which a child class obtains all the features defined in its parent class when a class inherits the common properties of another class the class inheriting the properties is called a derived class and the class that allows inheritance of its common properties is called a base class source indiabix com q9 what is the difference between a class and a structure answer class a class is a reference type while instantiating a class clr allocates memory for its instance in heap classes support inheritance variables of a class can be assigned as null class can contain constructor destructor structure a structure is a value type in structure memory is allocated on stack structures do not support inheritance structure members cannot have null values structure does not require constructor destructor and members can be initialiazed automatically source indiabix com q10 why is the virtual keyword used in code answer the virtual keyword is used while defining a class to specify that the methods and the properties of that class can be overridden in derived classes source indiabix com q11 explain the concept of constructor answer constructor is a special method of a class which is called automatically when the instance of a class is created it is created with the same name as the class and initializes all class members whenever you access the class the main features of a constructor are as follows constructors do not have any return type constructors can be overloaded it is not mandatory to declare a constructor it is invoked automatically by net framework source indiabix com q12 can you inherit private members of a class answer no you cannot inherit private members of a class because private members are accessible only to that class and not outside that class source indiabix com q13 what is polymorphism answer the word polymorphism means having many forms in object oriented programming paradigm polymorphism is often expressed as one interface multiple functions source tutorialspoint com q14 interface or an abstract class which one to use read answer on a href https www fullstack cafe fullstack cafe a q15 is it possible for a class to inherit the constructor of its base class read answer on a href https www fullstack cafe fullstack cafe a q16 when should i use a struct instead of a class read answer on a href https www fullstack cafe fullstack cafe a q17 what is polymorphism what is it for and how is it used read answer on a href https www fullstack cafe fullstack cafe a q18 how could you defineabstraction in oop read answer on a href https www fullstack cafe fullstack cafe a q19 can you specify the accessibility modifier for methods inside the interface read answer on a href https www fullstack cafe fullstack cafe a q20 how is method overriding different from method overloading read answer on a href https www fullstack cafe fullstack cafe a q21 what are the different ways a method can be overloaded read answer on a href https www fullstack cafe fullstack cafe a q22 a structure in c can implement one or more interfaces is it true or false read answer on a href https www fullstack cafe fullstack cafe a q23 how can you prevent your class to be inherited further read answer on a href https www fullstack cafe fullstack cafe a q24 how can you prevent a class from overriding in c read answer on a href https www fullstack cafe fullstack cafe a q25 what do you mean by data encapsulation read answer on a href https www fullstack cafe fullstack cafe a q26 what are similarities between a class and a structure read answer on a href https www fullstack cafe fullstack cafe a q27 what are abstract classes what are the distinct characteristics of an abstract class read answer on a href https www fullstack cafe fullstack cafe a q28 can you allow a class to be inherited but prevent a method from being overridden in c read answer on a href https www fullstack cafe fullstack cafe a q29 state the features of an interface read answer on a href https www fullstack cafe fullstack cafe a q30 explain the concept of destructor read answer on a href https www fullstack cafe fullstack cafe a q31 what s the advantage of using getters and setters that only get and set instead of simply using public fields for those variables read answer on a href https www fullstack cafe fullstack cafe a q32 when should i use an interface and when should i use a base class read answer on a href https www fullstack cafe fullstack cafe a q33 explain different types of inheritance read answer on a href https www fullstack cafe fullstack cafe a q34 what is a static constructor read answer on a href https www fullstack cafe fullstack cafe a q35 differentiate between an abstract class and an interface read answer on a href https www fullstack cafe fullstack cafe a q36 can you declare an overridden method to be static if the original method is not static read answer on a href https www fullstack cafe fullstack cafe a q37 what is the difference between an abstract function and a virtual function read answer on a href https www fullstack cafe fullstack cafe a q38 what is cohesion in oop read answer on a href https www fullstack cafe fullstack cafe a q39 what is coupling in oop read answer on a href https www fullstack cafe fullstack cafe a q40 what is the difference between cohesion and coupling read answer on a href https www fullstack cafe fullstack cafe a q41 what exactly is the difference between an interface and abstract class read answer on a href https www fullstack cafe fullstack cafe a q42 does net support multiple inheritance read answer on a href https www fullstack cafe fullstack cafe a q43 in terms that an oop programmer would understand without any functional programming background what is a monad read answer on a href https www fullstack cafe fullstack cafe a q44 what is lsp liskov substitution principle and what are some examples of its use good and bad read answer on a href https www fullstack cafe fullstack cafe a q45 can you provide a simple explanation of methods vs functions in oop context read answer on a href https www fullstack cafe fullstack cafe a q46 you have defined a destructor in a class that you have developed by using the c programming language but the destructor never executed why did the destructor not execute read answer on a href https www fullstack cafe fullstack cafe a q47 what is the difference between a mixin and inheritance read answer on a href https www fullstack cafe fullstack cafe a q48 what does it mean to program to an interface read answer on a href https www fullstack cafe fullstack cafe a q49 why doesn t c allow static methods to implement an interface read answer on a href https www fullstack cafe fullstack cafe a q50 can you declare a private class in a namespace read answer on a href https www fullstack cafe fullstack cafe a q51 why prefer composition over inheritance what trade offs are there for each approach when should you choose inheritance over composition read answer on a href https www fullstack cafe fullstack cafe a q52 what is the difference between association aggregation and composition read answer on a href https www fullstack cafe fullstack cafe a q53 could you elaborate polymorphism vs overriding vs overloading read answer on a href https www fullstack cafe fullstack cafe a toc a name php php a interview questions q1 what is the return type of a function that doesn t return anything answer void which mean nothing source github com bootsity q2 what is the purpose of php ini file answer the php configuration file php ini is the final and most immediate way to affect php s functionality the php ini file is read each time php is initialized in other words whenever httpd is restarted for the module version or with each script execution for the cgi version source github com bootsity q3 what does globals mean answer globals is associative array including references to all variables which are currently defined in the global scope of the script source guru99 com q4 how can you pass a variable by reference answer to be able to pass a variable by reference we use an ampersand in front of it as follows php var1 var2 source guru99 com q5 what is the use of ini set answer php allows the user to modify some of its settings mentioned in php ini using ini set this function requires two string arguments first one is the name of the setting to be modified and the second one is the new value to be assigned to it given line of code will enable the display error setting for the script if it s disabled ini set display errors 1 we need to put the above statement at the top of the script so that the setting remains enabled till the end also the values set via ini set are applicable only to the current script thereafter php will start using the original values from php ini source github com bootsity q6 what are the keys values in an indexed array answer consider php array 0 hello 1 world 2 it s 3 a 4 beautiful 5 day the keys of an indexed array are 0 1 2 etc the index values and values are hello world it s beautiful day source github com bootsity q7 what is the difference between and answer the operator casts between two different types if they are different the operator performs a typesafe comparison that means that it will only return true if both operands have the same type and the same value php 1 1 true 1 1 true 1 1 false 1 is an integer 1 is a string 1 1 true 1 gets casted to an integer which is 1 foo foo true both operands are strings and have the same value source stackoverflow com q8 how can you enable error reporting in php answer check if display errors is equal on in the php ini or declare ini set display errors 1 in your script then include error reporting e all in your code to display all types of error messages during the script execution source codementor io q9 what are the main differences between const vs define answer the fundamental difference between const vs define is that const defines constants at compile time whereas define defines them at run time php const foo bar define foo bar but if const foo bar invalid if define foo bar valid also until php 5 3 const could not be used in the global scope you could only use this from within a class this should be used when you want to set some kind of constant option or setting that pertains to that class or maybe you want to create some kind of enum an example of good const usage is to get rid of magic numbers define can be used for the same purpose but it can only be used in the global scope it should only be used for global settings that affect the entire application unless you need any type of conditional or expressional definition use consts instead of define simply for the sake of readability source stackoverflow com q10 what are the differences between die and exit functions in php answer there s no difference they are the same the only advantage of choosing die over exit might be the time you spare on typing an extra letter source stackoverflow com q11 what does the var keyword mean in php answer it s for declaring class member variables in php4 and is no longer needed it will work in php5 but will raise an e strict warning in php from version 5 0 0 up to version 5 1 2 as of when it was deprecated since php 5 3 var has been un deprecated and is a synonym for public consider php class foo var x y or you can use public like public x y this is also a class member variables function bar source stackoverflow com q12 what s the difference between isset and array key exists answer array key exists will tell you if a key exists in an array and complains when a does not exist isset will only return true if the key variable exists and is not null isset doesn t complain when a does not exist consider js a array key1 foo bar key2 null isset a key1 true array key exists key1 a true isset a key2 false array key exists key2 a true source stackoverflow com q13 what are the different scopes of variables answer variable scope is known as its boundary within which it can be visible or accessed from code in other words it is the context within which a variable is defined there are only two scopes available in php namely local and global scopes local variables local scope global variables special global scope static variables local scope function parameters local scope when a variable is accessed outside its scope it will cause php error undefined variable source github com bootsity q14 what is the difference between single quoted and double quoted strings in php answer single quoted strings will display things almost completely as is double quote strings will display a host of escaped characters including some regexes and variables in the strings will be evaluated things get evaluated in double quotes but not in single php s dollars echo this costs a lot of s this costs a lot of s echo this costs a lot of s this costs a lot of dollars source stackoverflow com q15 what do we mean by keys and values answer in associative arrays we can use named keys that you assign to them there are two ways to create an associative array php first way age array peter 35 ben 37 joe 43 another method age peter 35 peter ben joe are keys age ben 37 35 37 43 are values age joe 43 source github com bootsity q16 php array delete by value not key details i have a php array as follows php messages 312 401 1599 3 i want to delete the element containing the value del val for example del val 401 but i don t know its key this might help each value can only be there once i m looking for the simplest function to perform this task please answer using array search and unset try the following js if key array search del val messages false unset messages key array search returns the key of the element it finds which can be used to remove that element from the original array using unset it will return false on failure however it can return a false y value on success your key may be 0 for example which is why the strict comparison operator is used the if statement will check whether array search returned a value and will only perform an action if it did source stackoverflow com q17 when should i use require vs include answer the require function is identical to include except that it handles errors differently if an error occurs the include function generates a warning but the script will continue execution the require generates a fatal error and the script will stop my suggestion is to just use require once 99 9 of the time using require or include instead implies that your code is not reusable elsewhere i e that the scripts you re pulling in actually execute code instead of making available a class or some function libraries source stackoverflow com q18 what is the difference between var dump and print r answer the var dump function displays structured information about variables expressions including its type and value arrays are explored recursively with values indented to show structure it also shows which array values and object properties are references the print r displays information about a variable in a way that s readable by humans array values will be presented in a format that shows keys and elements similar notation is used for objects consider php obj object array qualitypoint technologies india var dump obj will display below output in the screen object stdclass 1 3 0 string 12 qualitypoint 1 string 12 technologies 2 string 5 india and print r obj will display below output in the screen stdclass object 0 qualitypoint 1 technologies 2 india source stackoverflow com q19 is there a difference between isset and empty answer empty is more or less shorthand for isset foo foo and empty is analogous to isset foo foo empty is the same as foo but doesn t throw warnings if the variable doesn t exist that s the main point of this function do a boolean comparison without worrying about the variable being set source stackoverflow com q20 explain what the different php errors are answer a notice is a non critical error saying something went wrong in execution something minor like an undefined variable a warning is given when a more critical error like if an include command went to retrieve a non existent file in both this and the error above the script would continue a fatal error would terminate the code failure to satisfy a require would generate this type of error for example source pangara com q21 differentiate between echo and print answer echo and print are more or less the same they are both used to output data to the screen the differences are echo has no return value while print has a return value of 1 so it can be used in expressions echo can take multiple parameters although such usage is rare while print can take one argument echo is faster than print source github com bootsity q22 give me some real life examples when you had to use destruct in your classes answer we know that destruct is called when the object is destroyed logically what happens if the object is destroyed well it means it s no longer available so if it has resources open it makes sense to close those resources as it s being destroyed or cleaning up after itself also because php will close resources on termination for you doesn t mean that it s bad to explicitly close them when you no longer need them or good to not close them some real examples are closing custom database connector wrapper connection deletion of temporary folders cleaning up caching spooling the queue of logging messages to db file source stackoverflow com q23 declare some function with default parameter answer consider php function showmessage hello false echo hello hello bye source codementor io q24 what are psrs choose 1 and briefly describe it answer psrs are php standards recommendations that aim at standardising common aspects of php development an example of a psr is psr 2 which is a coding style guide source codementor io q25 explain how we handle exceptions in php answer when an exception is thrown code following the statement will not be executed and php will attempt to find the first matching catch block if an exception is not caught a php fatal error will be issued with an uncaught exception an exception can be thrown and caught within php to handle exceptions code may be surrounded in a try block each try must have at least one corresponding catch block multiple catch blocks can be used to catch different classes of exceptions exceptions can be thrown or re thrown within a catch block consider php try print this is our try block n throw new exception catch exception e print something went wrong caught yah n finally print this part is always executed n source github com bootsity q26 is multiple inheritance supported in php answer php supports only single inheritance it means that a class can be extended from only one single class using the keyword extended source guru99 com q27 how is it possible to set an infinite execution time for php script answer the set time limit 0 added at the beginning of a script sets to infinite the time of execution to not have the php error maximum execution time exceeded it is also possible to specify this in the php ini file source guru99 com q28 what is stdclass in php answer stdclass is just a generic empty class that s used when casting other types to objects stdclass is not the base class for objects in php this can be demonstrated fairly easily js class foo foo new foo echo foo instanceof stdclass y n outputs n it is useful for anonymous objects dynamic properties etc an easy way to consider the stdclass is as an alternative to associative array see this example below that shows how json decode allows to get an stdclass instance or an associative array also but not shown in this example soapclient soapcall returns an stdclass instance js example with stdclass json foo bar number 42 stdinstance json decode json echo stdinstance foo php eol bar echo stdinstance number php eol 42 example with associative array array json decode json true echo array foo php eol bar echo array number php eol 42 source stackoverflow com q29 in php objects are they passed by value or by reference answer in php objects passed by value source guru99 com q30 explain usage of enumerations in php answer php doesn t have native enumerations depending upon use case i would normally use something simple like the following php abstract class daysofweek const sunday 0 const monday 1 etc today daysofweek sunday there is a native extension too splenum gives the ability to emulate and create enumeration objects natively in php source stackoverflow com q31 what is the differences between a b and a b answer means inequality true if a is not equal to b and means non identity true if a is not identical to b source guru99 com q32 what is pdo in php answer pdo stands for php data object it is a set of php extensions that provide a core pdo class and database specific drivers it provides a vendor neutral lightweight data access abstraction layer thus no matter what database we use the function to issue queries and fetch data will be same it focuses on data access abstraction rather than database abstraction source github com bootsity q33 can you extend a final defined class answer no you cannot extend a final defined class a final class or method declaration prevents child class or method overriding source codementor io q34 explain function call by reference read answer on a href https www fullstack cafe fullstack cafe a q35 differentiate between parameterised and non parameterised functions read answer on a href https www fullstack cafe fullstack cafe a q36 does php support method overloading read answer on a href https www fullstack cafe fullstack cafe a q37 how would you create a singleton class using php read answer on a href https www fullstack cafe fullstack cafe a q38 how do i pass variables and data from php to javascript read answer on a href https www fullstack cafe fullstack cafe a q39 why do we use extract read answer on a href https www fullstack cafe fullstack cafe a q40 is there any reason to use strcmp for strings comparison read answer on a href https www fullstack cafe fullstack cafe a q41 what will be returned by this code explain the result read answer on a href https www fullstack cafe fullstack cafe a q42 what is the difference between using self and this read answer on a href https www fullstack cafe fullstack cafe a q43 let s create enumerations for php prove some code examples read answer on a href https www fullstack cafe fullstack cafe a q44 what is the difference between mysql mysqli and pdo read answer on a href https www fullstack cafe fullstack cafe a q45 what are the exception class functions read answer on a href https www fullstack cafe fullstack cafe a q46 differentiate between exception and error read answer on a href https www fullstack cafe fullstack cafe a q47 is there a function to make a copy of a php array to another read answer on a href https www fullstack cafe fullstack cafe a q48 what is the difference between pdo s query vs execute read answer on a href https www fullstack cafe fullstack cafe a q49 explain the difference between shell exec and exec read answer on a href https www fullstack cafe fullstack cafe a q50 check if php array is associative read answer on a href https www fullstack cafe fullstack cafe a q51 what will be returned by this code read answer on a href https www fullstack cafe fullstack cafe a q52 what exactly is the the difference between array map array walk and array filter read answer on a href https www fullstack cafe fullstack cafe a q53 are parent constructors called implicitly inside a class constructor read answer on a href https www fullstack cafe fullstack cafe a q54 explain the difference between exec vs system vs passthru read answer on a href https www fullstack cafe fullstack cafe a q55 when should i use require once vs require read answer on a href https www fullstack cafe fullstack cafe a q56 what are some of the big changes php has gone through in the past few years read answer on a href https www fullstack cafe fullstack cafe a q57 what is autoloading classes in php read answer on a href https www fullstack cafe fullstack cafe a q58 what is the difference between a php interpreter and a php handler read answer on a href https www fullstack cafe fullstack cafe a q59 what is use of null coalesce operator read answer on a href https www fullstack cafe fullstack cafe a q60 maximum how many arguments are allowed in a function in php read answer on a href https www fullstack cafe fullstack cafe a q61 what does the following code output read answer on a href https www fullstack cafe fullstack cafe a q62 what is use of spaceship operator read answer on a href https www fullstack cafe fullstack cafe a q63 is php single or multi threaded read answer on a href https www fullstack cafe fullstack cafe a q64 what does mean read answer on a href https www fullstack cafe fullstack cafe a q65 what are the disadvantages of using persistent connection in pdo read answer on a href https www fullstack cafe fullstack cafe a q66 compare mysqli or pdo what are the pros and cons read answer on a href https www fullstack cafe fullstack cafe a q67 does php have threading read answer on a href https www fullstack cafe fullstack cafe a q68 what does yield mean in php read answer on a href https www fullstack cafe fullstack cafe a q69 store an array as json or as a php serialized array read answer on a href https www fullstack cafe fullstack cafe a q70 what is the best method to merge two php objects read answer on a href https www fullstack cafe fullstack cafe a q71 what s better at freeing memory with php unset or var null read answer on a href https www fullstack cafe fullstack cafe a q72 explain the exception hierarchy introduced in php7 read answer on a href https www fullstack cafe fullstack cafe a q73 how to turn errors into exceptions in php read answer on a href https www fullstack cafe fullstack cafe a q74 explain what is a closure in php and why does it use the use identifier read answer on a href https www fullstack cafe fullstack cafe a q75 what exactly are late static bindings in php read answer on a href https www fullstack cafe fullstack cafe a q76 what is the crucial difference between using traits versus interfaces read answer on a href https www fullstack cafe fullstack cafe a q77 how to measure execution times of php scripts read answer on a href https www fullstack cafe fullstack cafe a q78 explain the order of precedence for traits in php read answer on a href https www fullstack cafe fullstack cafe a q79 provide some ways to mimic multiple constructors in php read answer on a href https www fullstack cafe fullstack cafe a q80 how could we implement method overloading in php read answer on a href https www fullstack cafe fullstack cafe a q81 are pdo prepared statements sufficient to prevent sql injection read answer on a href https www fullstack cafe fullstack cafe a q82 what does a mean in php read answer on a href https www fullstack cafe fullstack cafe a toc a name pwa pwa a interview questions q1 what is a progressive web app answer the concept of the progressive web app pwa was approached by google in late 2015 they are basically web applications website but have look and feel like other native mobile apps the progressive web app enabled websites can offer functionalities such as working offline push notifications and device hardware access source stackoverflow com q2 why do we need a web manifest for pwa answer a web manifest file lists all the information about the website in a json format having this file is one of the requirements to make the website installable it usually resides in the root folder of a web app it contains useful information such as the app s title paths to different sized icons that can be used to represent the app on a mobile os for example as the home screen icon and a background color to use in loading or splash screens this information is needed for the browser to present the web app properly when installing and on the home screen source developer mozilla org q3 what makes an app a pwa answer there are some key principles a web app should try to observe to be identified as a pwa it should be discoverable so the contents can be found through search engines installable so it s available on the device s home screen linkable so you can share it by simply sending a url network independent so it works offline or with a poor network connection progressive so it s still usable on a basic level on older browsers but fully functional on the latest ones re engageable so it s able to send notifications whenever there s new content available responsive so it s usable on any device with a screen and a browser mobile phones tablets laptops tvs fridges etc safe so the connection between you and the app is secured against any third parties trying to get access to your sensitive data source developer mozilla org q4 what are some benefits of pwa answer benefits of the progressive web app 1 smaller and faster the progressive web apps are much smaller in size than native apps they don t even need to install that s they are not wasting disc space and load very fast 2 responsive interface progressive web app pwa supported web pages are capable to fit in every screen sizes automatically it could be a smartphone tablet desktop or laptop 3 no updates required most of the mobile apps need regular weekly updates like the normal website progressive web apps pwa are always loaded latest updated version whenever the user interaction happens and no app or play store approval required 4 cost effective native mobile apps need to be developed for both android and ios devices separately and their development cost is very high on the other hand progressive web apps are had the same features but the fraction of the prior price 5 seo advantage progressive web apps are discoverable by search engines and load super fast just like other websites their links are sharable too this in other words gives good user experience and result in seo rank boost 5 offline capabilities due to the support of service worker api pwas are accessible in offline or low internet connections 6 security pwas are delivered over https connection and secure user data over each interaction 8 push notifications by the support of push notifications pwas can interact easily with the users and provide a really amazing user experience 9 bypass the app stores pwas don t need the app store or google play store support their updated version can be directly loaded from the web server without the requirement of app store approval on the other hand native apps need days of approval if any new update required there are possibilities of getting rejected or banned 10 zero installation during browsing progressive web app gets its own icon on phones and tablets just like a mobile application but without the need to go through the tedious and slow app store installation process source stackoverflow com q5 what is a service worker read answer on a href https www fullstack cafe fullstack cafe a q6 what is indexeddb and how is it used by pwa read answer on a href https www fullstack cafe fullstack cafe a q7 what are some requirements to make the website installable as pwa read answer on a href https www fullstack cafe fullstack cafe a q8 what is cachestorage read answer on a href https www fullstack cafe fullstack cafe a q9 what are some disadvantages of pwa read answer on a href https www fullstack cafe fullstack cafe a q10 what is the differences between a hybrid mobile app and a progressive web app read answer on a href https www fullstack cafe fullstack cafe a q11 what features do progressive web apps have that native apps lacks read answer on a href https www fullstack cafe fullstack cafe a q12 what is a fetch event read answer on a href https www fullstack cafe fullstack cafe a q13 what are some requirements to app shell read answer on a href https www fullstack cafe fullstack cafe a q14 explain the service worker lifecycle read answer on a href https www fullstack cafe fullstack cafe a q15 what is app shell read answer on a href https www fullstack cafe fullstack cafe a q16 how to update a service worker read answer on a href https www fullstack cafe fullstack cafe a q17 what are some service worker s caching strategies do you know read answer on a href https www fullstack cafe fullstack cafe a q18 what can service workers do that web workers cannot read answer on a href https www fullstack cafe fullstack cafe a q19 what are some benefits of an app shell architecture with a service worker read answer on a href https www fullstack cafe fullstack cafe a q20 what about pwa for ios read answer on a href https www fullstack cafe fullstack cafe a q21 is it possible to have truly persistent storage in a pwa and why may you want one read answer on a href https www fullstack cafe fullstack cafe a q22 is it possible to have multiple service workers read answer on a href https www fullstack cafe fullstack cafe a toc a name powershell powershell a interview questions q1 what is powershell answer powershell is a task based command line shell and scripting language built on net powershell helps system administrators and power users rapidly automate tasks that manage operating systems linux macos and windows and processes the consistency of powershell is one of its primary assets for example if you learn how to use the sort object cmdlet you can use that knowledge to sort the output of any cmdlet you don t have to learn the different sorting routines of each cmdlet powershell combines an interactive shell and a scripting environment powershell can access command line tools com objects and net class libraries powershell is based on object not text the output of a command is an object you can send the output object through the pipeline to another command as its input source docs microsoft com q2 what would be the powershell equivalent of echo answer there are several ways write host write directly to the console not included in function cmdlet output allows foreground and background colour to be set write debug write directly to the console if debugpreference set to continue or stop write verbose write directly to the console if verbosepreference set to continue or stop echo as an alias mapping to write output source stackoverflow com q3 what is a powershell session answer a session is an environment in which powershell runs each time you start powershell a session is created for you and you can run commands in the session you can also add items to your session such as modules and snap ins and you can create items such as variables functions and aliases these items exist only in the session and are deleted when the session ends source docs microsoft com q4 what is powershell execution policies answer the powershell execution policy is the setting that determines which type of powershell scripts if any can be run on the system powershell s execution policy is a safety feature that controls the conditions under which powershell loads configuration files and runs scripts source docs microsoft com q5 what does mean in powershell read answer on a href https www fullstack cafe fullstack cafe a q6 mention some types of execution policy read answer on a href https www fullstack cafe fullstack cafe a q7 what s the difference between write host write output or console writeline read answer on a href https www fullstack cafe fullstack cafe a q8 how powershell is object oriented read answer on a href https www fullstack cafe fullstack cafe a q9 what is the difference between start job vs start process read answer on a href https www fullstack cafe fullstack cafe a q10 what is powershell cmdlets read answer on a href https www fullstack cafe fullstack cafe a q11 whats is the difference between session and pssession read answer on a href https www fullstack cafe fullstack cafe a q12 how cmdlets differ from commands read answer on a href https www fullstack cafe fullstack cafe a q13 when should i use write error vs throw in powershell read answer on a href https www fullstack cafe fullstack cafe a q14 does powershell support oop read answer on a href https www fullstack cafe fullstack cafe a q15 is there an equivalent of bash ampersand for forking running background processes read answer on a href https www fullstack cafe fullstack cafe a toc a name python python a interview questions q1 name some characteristics of python answer here are a few key points python is an interpreted language that means that unlike languages like c and its variants python does not need to be compiled before it is run other interpreted languages include php and ruby python is dynamically typed this means that you don t need to state the types of variables when you declare them or anything like that you can do things like x 111 and then x i m a string without error python is well suited to object orientated programming in that it allows the definition of classes along with composition and inheritance python does not have access specifiers like c s public private the justification for this point is given as we are all adults here in python functions are first class objects this means that they can be assigned to variables returned from other functions and passed into functions classes are also first class objects writing python code is quick but running it is often slower than compiled languages fortunately python allows the inclusion of c based extensions so bottlenecks can be optimised away and often are the numpy package is a good example of this it s really quite quick because a lot of the number crunching it does isn t actually done by python source codementor io q2 what are the built in types available in python answer immutable built in datatypes of python numbers strings tuples mutable built in datatypes of python list dictionaries sets source techbeamers com q3 how do i modify a string answer you can t because strings are immutable in most situations you should simply construct a new string from the various parts you want to assemble it from source docs python org q4 why would you use the pass statement answer python has the syntactical requirement that code blocks cannot be empty empty code blocks are however useful in a variety of different contexts for example if you are designing a new class with some methods that you don t want to implement python class myclass object def meth a self pass def meth b self print i m meth b if you were to leave out the pass the code wouldn t run and you ll get an error python indentationerror expected an indented block other examples when we could use pass ignoring all or a certain type of exception deriving an exception class that does not add new behaviour testing that code runs properly for a few test values without caring about the results source stackoverflow com q5 what is pickling and unpickling answer the pickle module implements a fundamental but powerful algorithm for serializing and de serializing a python object structure pickling is the process whereby a python object hierarchy is converted into a byte stream unpickling is the inverse operation whereby a byte stream is converted back into an object hierarchy source stackoverflow com q6 what is negative index in python answer python sequences can be index in positive and negative numbers for positive index 0 is the first index 1 is the second index and so forth for negative index 1 is the last index and 2 is the second last index and so forth source guru99 com q7 name some benefits of python answer python is a dynamic typed language it means that you don t need to mention the data type of variables during their declaration python supports object orientated programming as you can define classes along with the composition and inheritance functions in python are like first class objects it suggests you can assign them to variables return from other methods and pass as arguments developing using python is quick but running it is often slower than compiled languages python has several usages like web based applications test automation data modeling big data analytics and much more source techbeamers com q8 what are local variables and global variables in python answer global variables variables declared outside a function or in global space are called global variables these variables can be accessed by any function in the program local variables any variable declared inside a function is known as a local variable this variable is present in the local space and not in the global space source edureka co q9 what are the rules for local and global variables in python answer in python variables that are only referenced inside a function are implicitly global if a variable is assigned a value anywhere within the function s body it s assumed to be a local unless explicitly declared as global requiring global for assigned variables provides a bar against unintended side effects source docs python org q10 what is lambda functions in python answer a lambda function is a small anonymous function a lambda function can take any number of arguments but can only have one expression consider python x lambda a a 10 print x 5 output 15 source stackoverflow com q11 when to use a tuple vs list vs dictionary in python answer use a tuple to store a sequence of items that will not change use a list to store a sequence of items that may change use a dictionary when you want to associate pairs of two items source stackoverflow com q12 what are some drawbacks of the python language answer the two most common valid answers to this question by no means intended as an exhaustive list are the global interpreter lock gil cpython the most common python implementation is not fully thread safe in order to support multi threaded python programs cpython provides a global lock that must be held by the current thread before it can safely access python objects as a result no matter how many threads or processors are present only one thread is ever being executed at any given time in comparison it is worth noting that the pypy implementation discussed earlier in this article provides a stackless mode that supports micro threads for massive concurrency execution speed python can be slower than compiled languages since it is interpreted well sort of see our earlier discussion on this topic source github com q13 does python have a switch case statement answer in python we do not have a switch case statement here you may write a switch function to use else you may use a set of if elif else statements to implement a function for this we may use a dictionary py def switch demo argument switcher 1 january 2 february 3 march 4 april 5 may 6 june 7 july 8 august 9 september 10 october 11 november 12 december print switcher get argument invalid month source github com q14 what is pep 8 answer pep 8 is the latest python coding standard a set of coding recommendations it guides to deliver more readable python code source techbeamers com q15 what is the benefit of using flask answer flask is part of the micro framework which means it will have little to no dependencies on external libraries it makes the framework light while there is little dependency to update and less security bugs source wisdomjobs com q16 suppose lst is 2 33 222 14 25 what is lst 1 details suppose lst is 2 33 222 14 25 what is lst 1 answer it s 25 negative numbers mean that you count from the right instead of the left so lst 1 refers to the last element lst 2 is the second last and so on source adevait com q17 given variables a and b switch their values so that b has the value of a and a has the value of b without using an intermediary variable answer py a b b a source adevait com q18 how do you list the functions in a module answer use the dir method to list the functions in a module py import some module print dir some module source toptal com q19 what are descriptors answer descriptors were introduced to python way back in version 2 2 they provide the developer with the ability to add managed attributes to objects the methods needed to create a descriptor are get set and delete if you define any of these methods then you have created a descriptor descriptors power a lot of the magic of python s internals they are what make properties methods and even the super function work they are also used to implement the new style classes that were also introduced in python 2 2 source blog pythonlibrary org q20 explain how does python memory management work read answer on a href https www fullstack cafe fullstack cafe a q21 what is monkey patching and is it ever a good idea read answer on a href https www fullstack cafe fullstack cafe a q22 what does this stuff mean args kwargs and why would we use it read answer on a href https www fullstack cafe fullstack cafe a q23 what s the difference between lists and tuples read answer on a href https www fullstack cafe fullstack cafe a q24 explain the unboundlocalerror exception and how to avoid it read answer on a href https www fullstack cafe fullstack cafe a q25 how to make a flat list out of list of lists read answer on a href https www fullstack cafe fullstack cafe a q26 what is a none value read answer on a href https www fullstack cafe fullstack cafe a q27 what s the difference between the list methods append and extend read answer on a href https www fullstack cafe fullstack cafe a q28 how do i check if a list is empty read answer on a href https www fullstack cafe fullstack cafe a q29 what is the most efficient way to concatenate many strings together read answer on a href https www fullstack cafe fullstack cafe a q30 after executing the above code what is the value of y read answer on a href https www fullstack cafe fullstack cafe a q31 what are the key differences between python 2 and 3 read answer on a href https www fullstack cafe fullstack cafe a q32 what is the difference between range and xrange how has this changed over time read answer on a href https www fullstack cafe fullstack cafe a q33 what are the wheels and eggs what is the difference read answer on a href https www fullstack cafe fullstack cafe a q34 is it possible to have static methods in python read answer on a href https www fullstack cafe fullstack cafe a q35 what is namespace in python read answer on a href https www fullstack cafe fullstack cafe a q36 what is flask wtf and what are their features read answer on a href https www fullstack cafe fullstack cafe a q37 what is a callable read answer on a href https www fullstack cafe fullstack cafe a q38 how can i create a copy of an object in python read answer on a href https www fullstack cafe fullstack cafe a q39 is this valid in python and why read answer on a href https www fullstack cafe fullstack cafe a q40 what are decorators in python read answer on a href https www fullstack cafe fullstack cafe a q41 what is introspection reflection and does python support it read answer on a href https www fullstack cafe fullstack cafe a q42 what are the dunder magic special methods in python name a few read answer on a href https www fullstack cafe fullstack cafe a q43 what are virtualenvs read answer on a href https www fullstack cafe fullstack cafe a q44 what is the python with statement designed for read answer on a href https www fullstack cafe fullstack cafe a q45 how the string does get converted to a number read answer on a href https www fullstack cafe fullstack cafe a q46 write a program to check whether the object is of a class or its subclass read answer on a href https www fullstack cafe fullstack cafe a q47 what is the function of self read answer on a href https www fullstack cafe fullstack cafe a q48 what is the process of compilation and linking in python read answer on a href https www fullstack cafe fullstack cafe a q49 what does the python nonlocal statement do in python 3 0 and later read answer on a href https www fullstack cafe fullstack cafe a q50 what is the difference between range and xrange functions in python 2 x read answer on a href https www fullstack cafe fullstack cafe a q51 how can you share global variables across modules read answer on a href https www fullstack cafe fullstack cafe a q52 what are immutable objects in python read answer on a href https www fullstack cafe fullstack cafe a q53 why are default values shared between objects read answer on a href https www fullstack cafe fullstack cafe a q54 how to make a chain of function decorators read answer on a href https www fullstack cafe fullstack cafe a q55 create function that similar to os walk read answer on a href https www fullstack cafe fullstack cafe a q56 how do i write a function with output parameters call by reference read answer on a href https www fullstack cafe fullstack cafe a q57 why are python s private methods not actually private read answer on a href https www fullstack cafe fullstack cafe a q58 what is gil read answer on a href https www fullstack cafe fullstack cafe a q59 is it a good idea to use multi thread to speed your python code read answer on a href https www fullstack cafe fullstack cafe a q60 what is an alternative to gil read answer on a href https www fullstack cafe fullstack cafe a q61 show me three different ways of fetching every third item in the list read answer on a href https www fullstack cafe fullstack cafe a q62 what is the difference between staticmethod and classmethod read answer on a href https www fullstack cafe fullstack cafe a q63 what is the difference between deep and shallow copy read answer on a href https www fullstack cafe fullstack cafe a q64 what are the advantages of numpy over regular python lists read answer on a href https www fullstack cafe fullstack cafe a q65 how to work with transitive dependencies read answer on a href https www fullstack cafe fullstack cafe a q66 what are metaclasses in python read answer on a href https www fullstack cafe fullstack cafe a q67 how is memory managed in python read answer on a href https www fullstack cafe fullstack cafe a q68 why python cpython and others uses the gil read answer on a href https www fullstack cafe fullstack cafe a q69 can you explain closures as they relate to python read answer on a href https www fullstack cafe fullstack cafe a q70 why aren t python nested functions called closures read answer on a href https www fullstack cafe fullstack cafe a q71 is there a tool to help find bugs or perform static analysis read answer on a href https www fullstack cafe fullstack cafe a q72 what s the difference between a python module and a python package read answer on a href https www fullstack cafe fullstack cafe a q73 what does an x y or z assignment do in python read answer on a href https www fullstack cafe fullstack cafe a q74 what is the difference between old style and new style classes in python read answer on a href https www fullstack cafe fullstack cafe a q75 what will be the output of the code below read answer on a href https www fullstack cafe fullstack cafe a q76 will the code below work why or why not read answer on a href https www fullstack cafe fullstack cafe a q77 what is cython read answer on a href https www fullstack cafe fullstack cafe a q78 what will be returned by this code read answer on a href https www fullstack cafe fullstack cafe a q79 what is the purpose of the single underscore variable in python read answer on a href https www fullstack cafe fullstack cafe a q80 explain how you reverse a generator read answer on a href https www fullstack cafe fullstack cafe a q81 what is monkey patching how to use it in python read answer on a href https www fullstack cafe fullstack cafe a q82 what is mro in python how does it work read answer on a href https www fullstack cafe fullstack cafe a q83 how is set implemented internally read answer on a href https www fullstack cafe fullstack cafe a q84 whenever you exit python is all memory de allocated read answer on a href https www fullstack cafe fullstack cafe a q85 why use else in try except construct in python read answer on a href https www fullstack cafe fullstack cafe a q86 what does python optimization o or pythonoptimize do read answer on a href https www fullstack cafe fullstack cafe a q87 why isn t all memory freed when python exits read answer on a href https www fullstack cafe fullstack cafe a q88 how should one access nonlocal variables in closures in python 2 x read answer on a href https www fullstack cafe fullstack cafe a q89 what is a global interpreter lock gil and why is it an issue read answer on a href https www fullstack cafe fullstack cafe a q90 is there any downside to the o flag apart from missing on the built in debugging information read answer on a href https www fullstack cafe fullstack cafe a q91 how to read a 8gb file in python read answer on a href https www fullstack cafe fullstack cafe a q92 describe python s garbage collection mechanism in brief read answer on a href https www fullstack cafe fullstack cafe a q93 what will this code return read answer on a href https www fullstack cafe fullstack cafe a q94 why would you use metaclasses read answer on a href https www fullstack cafe fullstack cafe a q95 how do i access a module written in python from c read answer on a href https www fullstack cafe fullstack cafe a q96 is there a simple elegant way to define singletons read answer on a href https www fullstack cafe fullstack cafe a toc a name questionstoask questions to ask a interview questions q1 what would you change around here if you could answer q2 how do you measure individual performance answer q3 how do your clients and customers define success answer q4 how do you evaluate new technologies who makes the final decisions answer q5 how do you know what to work on each day answer q6 what is the most important valuable thing you have learnt from working here answer q7 do you tend to roll your own solutions more often or rely on third party tools what s the rationale in a specific case answer q8 what is the most fulfilling exciting technically complex project that you ve worked on here so far answer q9 how do you train ramp up engineers who are new to the team answer q10 what does a typical day look like for you answer q11 what do you think the company can improve at answer q12 what is your policy on working from home remotely answer q13 what is your stack what is the rationale for story behind this specific stack answer q14 what are the engineering challenges that the company team is facing answer q15 what do you measure what are your most important product metrics answer q16 what does the company do to nurture and train its employees answer q17 if you hire person what do you have for him to study product you re working on and processes in general do you have specifications requirements documentation answer q18 tell me about the main products of your company answer q19 what are some weaknesses of the organization read answer on a href https www fullstack cafe fullstack cafe a q20 what is your team s biggest challenge right now read answer on a href https www fullstack cafe fullstack cafe a q21 why did you choose to come to this company read answer on a href https www fullstack cafe fullstack cafe a q22 how does the engineering team balance resources between feature requests and engineering maintenance read answer on a href https www fullstack cafe fullstack cafe a q23 what makes your product competitive read answer on a href https www fullstack cafe fullstack cafe a q24 what is the most frustrating part about working here read answer on a href https www fullstack cafe fullstack cafe a q25 is the team growing and what sort of opportunities will there be in the next year 3 years read answer on a href https www fullstack cafe fullstack cafe a q26 what is the current team composition like read answer on a href https www fullstack cafe fullstack cafe a q27 there s c or python swift or any other tech in the job description how will you estimate my proficiency in this tech in 3 months read answer on a href https www fullstack cafe fullstack cafe a q28 why have the last few people left read answer on a href https www fullstack cafe fullstack cafe a q29 when was the last time you interacted with a founder what was it regarding generally how involved are the founders in the day to day read answer on a href https www fullstack cafe fullstack cafe a q30 how much time do you spend on new project development versus maintenance read answer on a href https www fullstack cafe fullstack cafe a q31 what are your highest priorities right now for example new features new products solidifying existing code reducing operations overhead read answer on a href https www fullstack cafe fullstack cafe a q32 what has been the worst technical blunder that has happened in the recent past how did you guys deal with it what changes were implemented afterwards to make sure it didn t happen again read answer on a href https www fullstack cafe fullstack cafe a q33 what is unique about working at this company that you have not experienced elsewhere read answer on a href https www fullstack cafe fullstack cafe a q34 what is the most costly technical decision made early on that the company is living with now read answer on a href https www fullstack cafe fullstack cafe a q35 how are you funded read answer on a href https www fullstack cafe fullstack cafe a q36 does the company culture encourage entrepreneurship could you give me any specific examples read answer on a href https www fullstack cafe fullstack cafe a q37 what would i work on if i joined this team and who would i work most closely with read answer on a href https www fullstack cafe fullstack cafe a q38 are you profitable if no what s your plan for becoming profitable read answer on a href https www fullstack cafe fullstack cafe a q39 how long does the average engineer stay at the company read answer on a href https www fullstack cafe fullstack cafe a toc a name react react a interview questions q1 what is react answer react is an open source javascript library created by facebook for building complex interactive uis in web and mobile applications react s core purpose is to build ui components it is often referred to as just the v view in an mvc architecture source codementor io q2 how would you write an inline style in react answer for example html div style height 10 source github com webpredict q3 what is jest answer jest is a javascript unit testing framework made by facebook based on jasmine and provides automated mock creation and a jsdom environment it s often used for testing react components source github com sudheerj q4 what are the advantages of reactjs answer below are the advantages of reactjs 1 increases the application s performance with virtual dom 2 jsx makes code is easy to read and write 3 it renders both on client and server side 4 easy to integrate with other frameworks angular backbonejs since it is only a view library 5 easy to write ui test cases and integration with tools such as jest source github com sudheerj q5 how to write comments in reactjs answer the comments in reactjs jsx is similar to javascript multiline comments which are wrapped with curly braces single line comments js div single line comments welcome user let s play react div multi line comments js div multi line comments for more than one line welcome user let s play react div source github com sudheerj q6 what is context answer context provides a way to pass data through the component tree without having to pass props down manually at every level for example authenticated user locale preference ui theme need to be accessed in the application by many components js const provider consumer react createcontext defaultvalue source github com sudheerj q7 what is virtual dom answer the virtual dom vdom is an in memory representation of real dom the representation of a ui is kept in memory and synced with the real dom it s a step that happens between the render function being called and the displaying of elements on the screen this entire process is called reconciliation source github com sudheerj q8 how does react work answer react creates a virtual dom when state changes in a component it firstly runs a diffing algorithm which identifies what has changed in the virtual dom the second step is reconciliation where it updates the dom with the results of diff source github com pau1fitz q9 what is the use of refs answer the ref is used to return a reference to the element they should be avoided in most cases however they can be useful when we need direct access to dom element or an instance of a component source github com sudheerj q10 what is props in reactjs answer props are inputs to a react component they are single values or objects containing a set of values that are passed to react components on creation using a naming convention similar to html tag attributes i e they are data passed down from a parent component to a child component the primary purpose of props in react is to provide following component functionality 1 pass custom data to your react component 2 trigger state changes 3 use via this props reactprop inside component s render method for example let us create an element with reactprop property js element reactprop 1 this reactprop or whatever you came up with name then becomes a property attached to react s native props object which originally already exists on all components created using react library js props reactprop source https github com sudheerj q11 what are the major features of reactjs answer the major features of reactjs are as follows it uses virtualdom instead realdom considering that realdom manipulations are expensive supports server side rendering follows unidirectional data flow or data binding uses reusable composable ui components to develop the view source https github com sudheerj q12 what is reactjs answer reactjs is an open source frontend javascript library which is used for building user interfaces especifically for single page applications it is used for handling view layer for web and mobile apps react was created by jordan walke a software engineer working for facebook reactjs was first deployed on facebook s newsfeed in 2011 and on instagram com in 2012 source https github com sudheerj q13 what are props in react answer props are properties that are passed into a child component from its parent and are readonly source github com webpredict q14 what is flux answer unidrectional application flow paradigm popular a few years back in react mostly superceded by redux these days source github com webpredict q15 how error boundaries handled in react 15 answer react15 provided very basic support for error boundaries using the method name unstable handleerror later this has been renamed as componentdidcatch starting from react16 beta release source github com sudheerj q16 what are the limitations of reactjs answer below are the list of limitations 1 react is just a view library not a full blown framework 2 there is a learning curve for beginners who are new to web development 3 integrating react js into a traditional mvc framework requires some additional configuration 4 the code complexity increases with inline templating and jsx 5 too many smaller components leading to over engineering or boilerplate source github com sudheerj q17 what s the difference between an element and a component in react answer simply put a react element describes what you want to see on the screen not so simply put a react element is an object representation of some ui a react component is a function or a class which optionally accepts input and returns a react element typically via jsx which gets transpiled to a createelement invocation source medium freecodecamp org q18 what are stateful components answer if the behaviour of a component is dependent on the state of the component then it can be termed as stateful component these stateful components are always class components and have a state that gets initialized in the constructor js class app extends component constructor props super props this state count 0 render omitted for brevity source github com sudheerj q19 what are stateless components answer if the behaviour is independent of its state then it can be a stateless component you can use either a function or a class for creating stateless components but unless you need to use a lifecycle hook in your components you should go for stateless functional components there are a lot of benefits if you decide to use stateless functional components here they are easy to write understand and test and you can avoid the this keyword altogether source github com sudheerj q20 what are portals in reactjs answer portal is a recommended way to render children into a dom node that exists outside the dom hierarchy of the parent component js reactdom createportal child container the first argument child is any renderable react child such as an element string or fragment the second argument container is a dom element source github com sudheerj q21 what are fragments answer it s common pattern in react which is used for a component to return multiple elements fragments let you group a list of children without adding extra nodes to the dom js render return react fragment childa childb childc react fragment there is also a shorter syntax which is not supported in many tools js render return childa childb childc source github com sudheerj q22 why is it necessary to capitalize the components answer it is necessary because components are not the dom element but they are constructors if they are not capitalized they can cause various issues and can confuse developers with several elements source github com sudheerj q23 what is reconciliation answer when a component s props or state change react decides whether an actual dom update is necessary by comparing the newly returned element with the previously rendered one when they are not equal react will update the dom this process is called reconciliation source github com sudheerj q24 what is the purpose of using super constructor with props argument answer a child class constructor cannot make use of this reference until super method has been called the same applies for es6 sub classes as well the main reason of passing props parameter to super call is to access this props in your child constructors passing props js class mycomponent extends react component constructor props super props console log this props prints name sudheer age 30 not passing props js class mycomponent extends react component constructor props super console log this props prints undefined but props parameter is still available console log props prints name sudheer age 30 render no difference outside constructor console log this props prints name sudheer age 30 the above code snippets reveals that this props behavior is different only with in the constructor it would be same outside the constructor source github com sudheerj q25 when to use a class component over a functional component answer if the component need state or lifecycle methods then use class component otherwise use functional component source https github com sudheerj q26 what are the advantages of using react answer it is easy to know how a component is rendered you just need to look at the render function jsx makes it easy to read the code of your components it is also really easy to see the layout or how components are plugged combined with each other you can render react on the server side this enables improves seo and performance it is easy to test you can use react with any framework backbone js angular js as it is only a view layer source github com pau1fitz q27 what are higher order components answer a higher order component hoc is a function that takes a component and returns a new component basically it s a pattern that is derived from react s compositional nature we call them as pure components because they can accept any dynamically provided child component but they won t modify or copy any behavior from their input components js const enhancedcomponent higherordercomponent wrappedcomponent hoc can be used for many use cases as below 1 code reuse logic and bootstrap abstraction 2 render high jacking 3 state abstraction and manipulation 4 props manipulation source github com sudheerj q28 what are controlled components answer a reactjs component that controls the input elements within the forms on subsequent user input is called controlled component i e every state mutation will have an associated handler function for example to write all the names in uppercase letters we use handlechange as below js handlechange event this setstate value event target value touppercase source github com sudheerj q29 what is the difference between a presentational component and a container component answer presentational components are concerned with how things look they generally receive data and callbacks exclusively via props these components rarely have their own state but when they do it generally concerns ui state as opposed to data state container components are more concerned with how things work these components provide the data and behavior to presentational or other container components they call flux actions and provide these as callbacks to the presentational components they are also often stateful as they serve as data sources source github com pau1fitz q30 what do you like about react answer source github com pau1fitz q31 how to create refs answer refs are created using react createref method and attached to react elements via the ref attribute in order to use refs throughout the component just assign the ref to the instance property with in constructor js class mycomponent extends react component constructor props super props this myref react createref render return div ref this myref and js class userform extends component handlesubmit console log input value is this input value render return form onsubmit this handlesubmit input type text ref input this input input access dom input in handle submit button type submit submit button form we can also use it in functional components with the help of closures source github com sudheerj q32 what are the differences between a class component and functional component answer class components allows you to use additional features such as local state and lifecycle hooks also to enable your component to have direct access to your store and thus holds state when your component just receives props and renders them to the page this is a stateless component for which a pure function can be used these are also called dumb components or presentational components source github com pau1fitz q33 how is react different from angularjs 1 x answer for example angularjs 1 x approaches building an application by extending html markup and injecting various constructs e g directives controllers services at runtime as a result angularjs is very opinionated about the greater architecture of your application these abstractions are certainly useful in some cases but they come at the cost of flexibility by contrast react focuses exclusively on the creation of components and has few if any opinions about an application s architecture this allows a developer an incredible amount of flexibility in choosing the architecture they deem best though it also places the responsibility of choosing or building those parts on the developer source codementor io q34 what happens during the lifecycle of a react component answer at the highest level react components have lifecycle events that fall into three general categories 1 initialization 2 state property updates 3 destruction img class img fluid src https s3 amazonaws com codementor content 2016 jul reactjs qs1 png source codementor io q35 what is the difference between state and props answer the state is a data structure that starts with a default value when a component mounts it may be mutated across time mostly as a result of user events props short for properties are a component s configuration they are received from above and immutable as far as the component receiving them is concerned a component cannot change its props but it is responsible for putting together the props of its child components props do not have to just be data callback functions may be passed in as props source github com pau1fitz q36 what is inline conditional expressions answer you can use either if statements or ternary expressions which are available from js to conditionally render expressions apart from these approaches you can also embed any expressions in jsx by wrapping them in curly braces and then followed by js logical operator js h1 hello h1 messages length 0 h2 you have messages length unread messages h2 source github com sudheerj q37 how to pass a parameter to an event handler or callback answer you can use an arrow function to wrap around an event handler and pass parameters js button onclick this handleclick id this is equivalent to calling bind as below js button onclick this handleclick bind this id source github com sudheerj q38 what is the purpose of callback function as an argument of setstate answer the callback function is invoked when setstate finished and the component gets rendered since setstate is asynchronous the callback function is used for any post action note it is recommended to use lifecycle method rather this callback function js setstate name sudheer console log the name has updated and component re rendered source https github com sudheerj q39 what happens when you call setstate answer the first thing react will do when setstate is called is merge the object you passed into setstate into the current state of the component this will kick off a process called reconciliation the end goal of reconciliation is to in the most efficient way possible update the ui based on this new state to do this react will construct a new tree of react elements which you can think of as an object representation of your ui once it has this tree in order to figure out how the ui should change in response to the new state react will diff this new tree against the previous element tree by doing this react will then know the exact changes which occurred and by knowing exactly what changes occurred will able to minimize its footprint on the ui by only making updates where absolutely necessary source medium freecodecamp org q40 what is the difference between state and props answer both props and state are plain javascript objects while both of them hold information that influences the output of render they are different in their functionality with respect to component i e props get passed to the component similar to function parameters state is managed within the component similar to variables declared within a function source https github com sudheerj q41 what is state in reactjs answer state of a component is an object that holds some information that may change over the lifetime of the component we should always try to make our state as simple as possible and minimize the number of stateful components let s create user component with message state js class user extends react component constructor props super props this state message welcome to react world render return div h1 this state message h1 div source https github com sudheerj q42 what are refs used for in react answer refs are an escape hatch which allow you to get direct access to a dom element or an instance of a component in order to use them you add a ref attribute to your component whose value is a callback function which will receive the underlying dom element or the mounted instance of the component as its first argument js class uncontrolledform extends component handlesubmit console log input value this input value render return form onsubmit this handlesubmit input type text ref input this input input button type submit submit button form above notice that our input field has a ref attribute whose value is a function that function receives the actual dom element of input which we then put on the instance in order to have access to it inside of the handlesubmit function it s often misconstrued that you need to use a class component in order to use refs but refs can also be used with functional components by leveraging closures in javascript js function customform handlesubmit let inputelement return form onsubmit handlesubmit inputelement value input type text ref input inputelement input button type submit submit button form source github com pau1fitz q43 when rendering a list what is a key and what is it s purpose answer keys help react identify which items have changed are added or are removed keys should be given to the elements inside the array to give the elements a stable identity the best way to pick a key is to use a string that uniquely identifies a list item among its siblings js render return ul this state todoitems map task uid return li key uid task li ul most often you would use ids from your data as keys when you don t have stable ids for rendered items you may use the item index as a key as a last resort it is not recommend to use indexes for keys if the items can reorder as that would be slow source github com pau1fitz q44 how to create components in reactjs answer there are two possible ways to create reactjs components 1 functional components this is the simplest way to create reactjs components it accepts props as an object and returns reactjs elements we call it as functional because those are pure javascript functions js function greeting props return h1 hello props message h1 2 class components you can also use es6 class to define component the above functional component can be written as below js class greeting extends react component render return h1 hello this props message h1 source https github com sudheerj q45 what is the difference between element and component answer an element is a plain object describing what you want to appear on the screen in terms of the dom nodes or other components elements can contain other elements in their props creating a react element is cheap once an element is created it is never mutated the object representation of react element would be as follows js const element react createelement div id login btn login the above createelement returns as object as below js type div props children login id login btn and finally it renders to the dom using reactdom render as below js div id login btn login div whereas a component can be declared in several different ways it can be a class with a render method alternatively in simple cases it can be defined as a function in either case it takes props as an input and returns an element tree as the output jsx transpiled as createelement at the end js function button onlogin return react createelement div id login btn onclick onlogin login source https github com sudheerj q46 what is jsx answer jsx is a syntax notation for javascript xml xml like syntax extension to ecmascript it stands for javascript xml it provides expressiveness of javascript along with html like template syntax for example the below text inside h1 tag return as javascript function to the render function js render return div h1 welcome to react world h1 div source https github com sudheerj q47 describe how events are handled in react answer in order to solve cross browser compatibility issues your event handlers in react will be passed instances of syntheticevent which is react s cross browser wrapper around the browser s native event these synthetic events have the same interface as native events you re used to except they work identically across all browsers what s mildly interesting is that react doesn t actually attach events to the child nodes themselves react will listen to all events at the top level using a single event listener this is good for performance and it also means that react doesn t need to worry about keeping track of event listeners when updating the dom source tylermcginnis com q48 where in a react component should you make an ajax request answer componentdidmount is where an ajax request should be made in a react component this method will be executed when the component mounts is added to the dom for the first time this method is only executed once during the component s life importantly you can t guarantee the ajax request will have resolved before the component mounts if it doesn t that would mean that you d be trying to setstate on an unmounted component which would not work making your ajax request in componentdidmount will guarantee that there s a component to update source github com pau1fitz q49 what is the difference between component and container in react redux answer component is part of the react api a component is a class or function that describes part of a react ui container is an informal term for a react component that is connected to a redux store containers receive redux state updates and dispatch actions and they usually don t render dom elements they delegate rendering to presentational child components source github com sudheerj q50 where is the state kept in a react redux application answer in the store source github com webpredict q51 what is the difference between react native and react answer reactjs is a javascript library supporting both front end web and being run on the server for building user interfaces and web applications react native is a mobile framework that compiles to native app components allowing you to build native mobile applications ios android and windows in javascript that allows you to use reactjs to build your components and implements reactjs under the hood source github com sudheerj q52 how do we pass a property from a parent component props to a child component answer for example html childcomponent someprop props someproperty source github com webpredict q53 what is the point of redux answer application state management that is easy to reason about maintain and manage in an asynchronous web application environment source github com webpredict q54 what does it mean for a component to be mounted in react answer it has a corresponding element created in the dom and is connected to that source github com webpredict q55 what is flow answer flow is a static type checker designed to find type errors in javascript programs created by facebook flow types can express much more fine grained distinctions than traditional type systems for example flow helps you catch errors involving null unlike most type systems source github com sudheerj q56 what happens when you call setstate answer the state property is updated in a react component with the object passed into setstate and this is done asynchronously it tells react that this component and its children need to be re rendered but react may not do this immediately it may batch these state update requests for better performance source github com webpredict q57 what s the difference between a controlled component and an uncontrolled one in react answer a controlled component has its state completely driven by react uncontrolled components can maintain their own internal state e g a textarea s value source github com webpredict q58 how would you prevent a component from rendering in react answer return null from the render method source github com webpredict q59 how do you prevent the default behavior in an event callback in react answer you call e preventdefault on the event e passed into the callback source github com webpredict q60 what is the difference between createelement and cloneelement read answer on a href https www fullstack cafe fullstack cafe a q61 what s an alternative way to avoid having to bind to this in event callback methods read answer on a href https www fullstack cafe fullstack cafe a q62 what are some limitations of things you shouldn t do in the component s render method read answer on a href https www fullstack cafe fullstack cafe a q63 what is the point of using keys in react read answer on a href https www fullstack cafe fullstack cafe a q64 what s the typical pattern for rendering a list of components from an array of data read answer on a href https www fullstack cafe fullstack cafe a q65 what is the render method for read answer on a href https www fullstack cafe fullstack cafe a q66 why do class methods need to be bound to a class instance read answer on a href https www fullstack cafe fullstack cafe a q67 what is reconciliation in react read answer on a href https www fullstack cafe fullstack cafe a q68 what s the difference between an element and a component in react read answer on a href https www fullstack cafe fullstack cafe a q69 what is strictmode in react read answer on a href https www fullstack cafe fullstack cafe a q70 what is usestate in react read answer on a href https www fullstack cafe fullstack cafe a q71 what is the point of shouldcomponentupdate method read answer on a href https www fullstack cafe fullstack cafe a q72 what are proptypes in react read answer on a href https www fullstack cafe fullstack cafe a q73 what s the difference between useref and createref read answer on a href https www fullstack cafe fullstack cafe a q74 what are react hooks read answer on a href https www fullstack cafe fullstack cafe a q75 what is reactdom read answer on a href https www fullstack cafe fullstack cafe a q76 what are advantages of using react hooks read answer on a href https www fullstack cafe fullstack cafe a q77 what do these three dots in react do read answer on a href https www fullstack cafe fullstack cafe a q78 what are typical middleware choices for handling asynchronous calls in redux read answer on a href https www fullstack cafe fullstack cafe a q79 what s the difference between a smart component and a dumb component read answer on a href https www fullstack cafe fullstack cafe a q80 name the different lifecycle methods read answer on a href https www fullstack cafe fullstack cafe a q81 what s the typical flow of data like in a react redux app read answer on a href https www fullstack cafe fullstack cafe a q82 what are controlled components read answer on a href https www fullstack cafe fullstack cafe a q83 what is state in react read answer on a href https www fullstack cafe fullstack cafe a q84 how do you tell react to build in production mode and what will that do read answer on a href https www fullstack cafe fullstack cafe a q85 what is a higher order component read answer on a href https www fullstack cafe fullstack cafe a q86 what is the difference between createelement and cloneelement read answer on a href https www fullstack cafe fullstack cafe a q87 what are the advantages of react over vuejs read answer on a href https www fullstack cafe fullstack cafe a q88 what advantages are using arrow functions read answer on a href https www fullstack cafe fullstack cafe a q89 what are error boundaries in reactjs 16 read answer on a href https www fullstack cafe fullstack cafe a q90 what are pure components read answer on a href https www fullstack cafe fullstack cafe a q91 given the code defined above can you identify two problems read answer on a href https www fullstack cafe fullstack cafe a q92 what are stateless components read answer on | full-stack full-stack-development full-stack-web-developer angular react vuejs interview-questions interview-practice interview-preparation interview-test | os |
cit261 | cit261 mobile development | front_end |
|
materia-designer-public | materia designer https getmateria com logo https getmateria com assets img logo png materia is an easy to use backend to build all kinds of applications mobile web gaming and more materia tooling manages the entire development cycle for building enterprise class backends database relationships database synchronization api management static file hosting dockerization deployment materia is made to be simple and powerful as it has been since the beginning thought by developers for developers screenshot https getmateria com assets img screen entities png materia is under active development and we need your help to track bugs this is the main purpose of this repository if you catch one of them please report it on github com materiahq materia designer public issues https github com materiahq materia designer public issues website getmateria com https getmateria com documentation getmateria com docs https getmateria com docs | front_end |
|
DebugPurge | debugpurge debug purge enables you to remove the debug apps installed on your mobile uninstall removes from all users which is what you would ideally need a widget is also provided for easy access from the home screen you can find it on the play store https play google com store apps details id in eswarm debugpurge credits https github com sudhirkhanger for the idea | front_end |
|
opalang | opa opa is a functional programming language for the web that compiles to javascript there are real applications fully developed with opa such as the peps communication platform https github com mlstate peps riskybird https github com alokmenghrajani riskybird and many others https github com trending l opa since weekly opa is made of two parts a compiler from the opa language which features javascript like syntax but introduces many enhancements a javascript library which is used at runtime this repository contains all the sources of both the opa compiler and the opa library license opa is open source the compiler is released under the agpl license the library under the mit license applications written with opa only include the library part so you are free to release applications written with opa under any proprietary or open source license if you want to create an online cloud application platform that includes the opa compiler you need to release the sources under the agpl license as per the agpl license terms read both licenses https github com mlstate opalang tree master doc overview to learn more about opa please visit opalang org http opalang org and the take the tour https github com mlstate opalang wiki a tour of opa getting started check out the dedicated guide https github com mlstate opalang wiki getting started to install opa and start to code quick build instructions configure make sudo make install read more about building opa https github com mlstate opalang wiki building opa or the directory layout https github com mlstate opalang wiki directory layout contact all bug reports feedback comments contributions or remarks are welcome in particular users are welcome to subscribe on the mailing list at owasp https lists owasp org listinfo opa for more information please consult the opalang portal http opalang org | front_end |
|
hyde | what is hyde hyde is a utility that facilitates documenting c the tool is unique from existing documentation utilities in the following ways clang based in order to properly document your c hyde compiles it using clang s excellent libtooling https clang llvm org docs libtooling html library therefore as the c language evolves so too will hyde out of line many tools rely on documentation placed inline within source as long form comments while these seem appealing at first blush they suffer from two big drawbacks first there is nothing keeping the comments from falling out of sync from the elements they document secondly and ironically experienced users of these libraries eventually find inline documentation to be more of a distraction than a help cluttering code with comments they no longer read jekyll compatible hyde does not produce pretty printed output rather it produces well structured markdown files that contain yaml front matter these files can then be consumed by other tools like jekyll to customize the structure and layout of the final documentation schema enforcement because of the highly structured nature of the output hyde is able to compare pre existing documentation files against the current state of your c sources library developers can use hyde s update mode to facilitate updating documentation against the state of sources build engineers can use hyde s validate mode to make sure changes to a code base are accurately reflected in the latest documentation in the end the documentation stays true to the code with minimal effort adaptable while hyde s primary purpose at this point is to output and enforce documentation the tool can also be used to output ast based information about your code as a json based ir this makes room for additional tools to be build atop what hyde is able to produce or additional emitters can be added natively to the tool example output hyde produces intermediate documentation files that the developer then fills in with additional details as necessary the files are then fed through a static site generation tool like jekyll to produce output like this http stlab cc libraries stlab2fcopy on write hpp copy on write3ct3e requirements macos homebrew brew install cmake brew install ninja optional linux note only tested on ubuntu bionic so far apt sudo apt get install libyaml cpp dev how to build clone this repo cd hyde git submodule update init mkdir build cd build cmake gninja or gxcode etc ninja or whatever your ide does llvm clang are declared as a dependency in the project s cmakelists txt file and will be downloaded and made available to the project automatically using docker you may need to increase your docker resources to build the image sh docker build tag hyde docker run platform linux x86 64 mount type bind source pwd target mnt host tty interactive hyde bash parameters and flags there are several modes under which the tool can run hyde json default output an analysis dump of the input file as json hyde validate validate existing yaml documentation hyde update write updated yaml documentation hyde src root path the root path to the header file s being analyzed affects defined in file output values by taking out the root path hyde yaml dir path root directory for yaml validation update required for either hyde validate or hyde update modes use system clang autodetect and use necessary resource directories and include paths fixup hyde subfield as of hyde v0 1 5 all hyde fields are under a top level hyde subfield in yaml output this flag will update older hyde documentation that does not have this subfield by creating it then moving all top level fields except title and layout under it this flag is intended to be used only once during the migration of older documentation from the non subfield structure to the subfield structure this tool parses the passed header using clang to pass arguments to the compiler e g include directories append them after the token on the command line for example hyde input file hpp hyde json use system clang x c i path to includes alternatively if you have a compilation database and would like to pass that instead of command line compiler arguments you can pass that with p while compiling the source file the non function macro adobe tool hyde is defined to the value 1 this can be useful to explicitly omit code from the documentation examples to output json hyde use system clang test files classes cpp to validate pre existing yaml hyde use system clang hyde yaml dir path to output hyde validate test files classes cpp to output updated yaml hyde use system clang hyde yaml dir path to output hyde update test files classes cpp hyde 1 to hyde 2 format conversion as of the hyde 2 work all subfields in the yaml output except the jekyll required layout and title fields must go under a top level hyde subfield this allows for other tools to include additional possibly same named fields under their own top level subfields in the yaml here is an example of updating from hyde 1 to hyde 2 formatted docs by scanning a directory for markdown formatted files and passing them to hyde with the new hyde fixup subfield mode find name md xargs i l 1 path to hyde hyde fixup subfield sass updates sometimes it may be necessary to clean up or lint the sass files you can do so with bundle exec sass convert i path to file scss | cplusplus documentation-tool jekyll libtooling | front_end |
argon-rtos | argon rtos small embedded rtos with clean c and c apis for arm cortex m based microcontrollers version 1 3 0 br status actively under development mostly stable api well tested in several real applications overview argon is designed to be a very clean preemptive rtos kernel with a c api a plain c api upon which the c api is built is also available it is primarily targeted at microcontrollers with arm cortex m processors a primary goal is for the source code to be highly readable maintainable and well commented the kernel objects provided by argon are thread semaphore mutex queue channel timer run loop argon takes advantage of cortex m features to provide a kernel that never disables irqs except for cm0 a href fn1 sup 1 sup a timers run on runloops which lets you control the thread and priority of timers runloops enable very efficient use of threads including waiting on multiple queues mutexes are recursive and have priority inheritance a memory allocator is not provided as every standard c library includes malloc a href fn2 sup 2 sup a there are no limits on the number of kernel objects you may create as many objects as you need during runtime via dynamic allocation using new or malloc however dynamic memory is not required under any circumstance all kernel objects can be allocated statically which is often important for determining application memory requirements at link time documentation the argon documentation is available online https flit github io argon rtos doc you can also generate it locally with doxygen the config file is doc doxyfile example here s a simple example of the c api cpp ar threadwithstack 2048 mythread my thread fn 0 100 karsuspendthread ar semaphore thesem s void thread fn void param while thesem get karsuccess do something void main mythread resume and the same example using the plain c api c uint8 t stack 2048 ar thread t mythread ar semaphore t thesem void thread fn void param while ar semaphore get thesem karinfinitetimeout karsuccess do something void main ar thread create mythread my thread fn 0 stack sizeof stack 100 karsuspendthread ar semaphore create thesem s 1 ar thread resume mythread requirements requires a cortex m based microcontroller armv6 m armv7 m tested cores arm cortex m0 arm cortex m4 arm cortex m4f supported toolchains iar ewarm keil mdk armcc gnu tools for arm embedded processors gcc language requirements c99 c 98 portability the cortex m porting layer only accesses standard cortex m resources i e systick nvic and scb it should work without modification on any cortex m based mcu the kernel itself is fairly architecture agnostic and should be easily portable to other architectures all architecture specific code is isolated into a separate directory source code the code for the argon kernel is in the src directory in the repository public headers are in the include directory the argon rtos repository is intended to be usable as a submodule in other git repositories the kernel code is written in c but mostly uses a c like style to implement the c api directly the emphasis is on as little overhead as possible for both c and c apis contributions contributions are welcome please create a pull request in github licensing the argon rtos is open source software released with a bsd three clause license see the included license txt file for details the repository also includes code with other copyrights and licenses see the source file headers for licensing information of this code copyright 2007 2018 immo software br portions copyright 2014 2018 nxp hr width 30 align left size 1 div id fn1 sup 1 sup cortex m0 cores are an exception since they don t have the required ldrex strex instructions even so irqs are disabled for only a few cycles at a time div div id fn2 sup 2 sup even though it may not be the smallest code and doesn t support block allocation div | rtos cortex-m kernel embedded | os |
iota-java | h1 align center br a href https docs iota org docs client libraries 0 1 getting started java quickstart img src iota java png a h1 h2 align center the official java client library for interacting with the legacy tangle deprecated since chrysalis h2 p align center a href https docs iota org docs client libraries 0 1 getting started java quickstart style text decoration none img src https img shields io badge documentation 20portal blue svg style for the badge alt developer documentation portal p p align center a href https iotaledger github io iota java javadoc style text decoration none img src https img shields io badge javadoc reference informational svg alt auto generated docs a a href https discord iota org style text decoration none img src https img shields io badge discord 9cf svg logo discord alt discord a a href https iota stackexchange com style text decoration none img src https img shields io badge stackexchange 9cf svg logo stackexchange alt stackexchange a a href https github com iotaledger iota java blob dev license style text decoration none img src https img shields io github license iotaledger iota java svg alt apache 2 0 license a a href https docs iota org docs node software 0 1 iri references api reference style text decoration none img src https img shields io badge node 20api 20coverage 18 18 20commands green svg alt supported iri api endpoints a a href https www codacy com app kwek20 iota java utm source github com amp utm medium referral amp utm content iotaledger iota java amp utm campaign badge grade style text decoration none img src https api codacy com project badge grade 92feea51a15c4e589386c269475b8761 alt code quality a a href https jitpack io iotaledger iota java style text decoration none img src https jitpack io v iotaledger iota java svg alt latest release a a href https travis ci org iotaledger iota java style text decoration none img src https travis ci org iotaledger iota java svg branch dev alt build status a a href https sourcespy com github iotaledgeriotajava style text decoration none title sourcespy dashboard img src https img shields io badge sourcespy dashboard 165cc5 a p p align center a href about about a a href prerequisites prerequisites a a href installation installation a a href getting started getting started a a href api reference api reference a a href examples examples a a href change logs change logs a a href supporting the project supporting the project a a href joining the discussion joining the discussion a p deprecation warning this java client is no longer usable in the new chrysalis network please use the java bindings generated for iota rs they can be found here https github com iotaledger iota rs tree dev bindings java about this was the official java client library which allows you to do the following create transactions read transactions sign transactions generate addresses this is beta software so there may be performance and stability issues please report any issues in our issue tracker https github com iotaledger iota java issues new choose prerequisites to use the iota java client library your computer must have the following minimum requirement java 6 or higher installation the iota java client library is available on jitpack io jitpack to install the iota java client library and its dependencies you can use one of the following options download the library with gradle download the library with maven download the library manually gradle 1 add the following repository to your root build gradle file not your module build gradle file gradle allprojects repositories maven url https jitpack io 2 add the following dependency to your module build gradle file gradle dependencies compile com github iotaledger iota java 1 0 0 beta8 maven through maven central 1 add the following repository to your root pom xml file xml dependency groupid org iota groupid artifactid jota artifactid classifier jar with dependencies classifier version 1 0 0 beta9 version dependency through jitpack 1 add the following repository to your root pom xml file xml repositories repository id jitpack io id url https jitpack io url repository repositories 2 add the following dependency to your module pom xml file xml dependency groupid com github iotaledger iota java groupid artifactid jota artifactid classifier jar with dependencies classifier version version information version dependency 3 change the value of the version tag to either a release number or the first 10 characters of a git commit hash version b703ef3c05f05 version or version 1 0 0 beta9 version note find the latest version on the jitpack https jitpack io iotaledger iota java page manual installation 1 clone or download the github repository https github com iotaledger iota java inside the project you ll have the following directories jota jota parent 2 import and reference the jota directory in your project for example in eclipse right mouse on your project properties java build path projects add jota 3 in the jota directory run the following command mvn clean install you ll have a jar file called jota version jar with dependencies jar depending on your version of the library getting started after you ve installed the library installation you can connect to an iri node to send transactions to it and interact with the tangle an extended guide can be found on our documentation portal https docs iota org docs client libraries 0 1 getting started java quickstart we strongly recommend you to go here for starting off a quick start tutorial is shown below to connect to a local iri node on port 14265 do the following java iotaapi api new iotaapi builder build getnodeinforesponse response api getnodeinfo to connect to a remote iri node on port 14265 do the following java iotaapi api new iotaapi builder protocol http host url of the remote iri node port 14265 build getnodeinforesponse response api getnodeinfo note to separate your iri node configuration from the implementation you can also specify your iri node configuration in a java properties file https en wikipedia org wiki properties or as command line flags these options are useful if you develop an open source app which is deployed on a ci and don t want contributors to see the internal iri node configuration to make the api read from this file add the configuration to the builder like so config new fileconfig node config properties example properties files java iota node protocol http iota node host 127 0 0 1 iota node port 14265 most api calls are synchronous therefore we recommend that you call the api from a background thread or a worker thread to stop the api from blocking other threads such as the ui or the main thread api reference for a full list of api commands for the iota java client library go to the github page https iotaledger github io iota java javadoc jota iotaapicommands html enum constant summary here are some of the most commonly used api functions gettransactionsobjects https iotaledger github io iota java javadoc jota iotaapi html gettransactionsobjects java lang string a findtransactionobjects https iotaledger github io iota java javadoc jota iotaapi html findtransactionobjects java lang string a gettransactionsobjects https iotaledger github io iota java javadoc jota iotaapi html gettransactionsobjects java lang string a getlatestinclusion https iotaledger github io iota java javadoc jota iotaapi html getlatestinclusion java lang string a broadcastandstore https iotaledger github io iota java javadoc jota iotaapi html broadcastandstore java lang string getnewaddress https iotaledger github io iota java javadoc jota iotaapi html getnewaddress java lang string int int boolean int boolean getinputs https iotaledger github io iota java javadoc jota iotaapi html getinputs java lang string int int int long preparetransfers https iotaledger github io iota java javadoc jota iotaapi html preparetransfers java lang string int java util list java lang string java util list boolean sendtrytes https iotaledger github io iota java javadoc jota iotaapi html sendtrytes java lang string a int int sendtransfer https iotaledger github io iota java javadoc jota iotaapi html sendtransfer java lang string int int int java util list jota model input a java lang string replaybundle https iotaledger github io iota java javadoc jota iotaapi html replaybundle java lang string int int getbundle https iotaledger github io iota java javadoc jota iotaapi html getbundle java lang string gettransfers https iotaledger github io iota java javadoc jota iotaapi html gettransfers java lang string int java lang integer java lang integer java lang boolean initiatetransfer https iotaledger github io iota java javadoc jota iotaapi html initiatetransfer int java lang string java lang string java util list boolean getaccountdata https iotaledger github io iota java javadoc jota iotaapi html getaccountdata java lang string int int boolean int boolean int int boolean long examples we have a list of test cases in the src test java directory tests that you can use as a reference when developing apps with iota a good starter is the iotaapitest case https github com iotaledger iota java blob master jota src test java org iota jota iotaapitest java here s how you could send a zero value transaction using the library for the guide see the documentation portal https docs iota org docs client libraries 0 1 how to guides java send your first bundle java class senddata public static void main string args throws argumentexception connect to a node iotaapi api new iotaapi builder protocol https host nodes devnet thetangle org port 443 build int depth 3 int minimumweightmagnitude 9 even though a seed is not necessary because zero value transactions are not signed the library requires a seed to send a transaction this seed can be any random string of 81 trytes string myrandomseed seedrandomgenerator generatenewseed define any security level like the seed this is not used int securitylevel 2 define an address this does not need to belong to anyone or have iota tokens it must only contain a maximum of 81 trytes or 90 trytes with a valid checksum string address zlgveq9juzzwczxlwvnthbdx9g9kztjp9veeriifhy9siqkybvahimlhxpqve9ixfddxnhqinxjdrpfdxnyvaplzaw this is a zero value transaction int value 0 define a message to send this message must include only ascii characters string message trytesconverter asciitotrytes hello world string tag helloworld transfer zerovaluetransaction new transfer address value message tag arraylist transfer transfers new arraylist transfer transfers add zerovaluetransaction create a bundle from the transfers list and send the transaction to the node try since we don t send any value we can skip validation of inputs sendtransferresponse response api sendtransfer myrandomseed securitylevel depth minimumweightmagnitude transfers null null false false null system out println response gettransactions catch argumentexception e handle error e printstacktrace change logs changes in 1 0 0 beta9 https github com iotaledger iota java compare 1 0 0 beta8 1 0 0 beta9 changes in 1 0 0 beta8 https github com iotaledger iota java compare 1 0 0 beta7 1 0 0 beta8 changes in 1 0 0 beta7 https github com iotaledger iota java compare 1 0 0 beta6 1 0 0 beta7 changes in 1 0 0 beta6 https github com iotaledger iota java compare 1 0 0 beta5 1 0 0 beta6 changes in 1 0 0 beta5 https github com iotaledger iota java compare 1 0 0 beta4 1 0 0 beta5 changes in 1 0 0 beta4 https github com iotaledger iota java compare 1 0 0 beta3 1 0 0 beta4 changes in 1 0 0 beta3 https github com iotaledger iota java compare 1 0 0 beta2 1 0 0 beta3 changes in 1 0 0 beta2 https github com iotaledger iota java compare 1 0 0 beta1 1 0 0 beta2 changes in 1 0 0 beta1 https github com iotaledger iota java compare 0 9 10 1 0 0 beta1 changes in v0 9 10 https github com iotaledger iota java compare v0 9 6 0 9 10 changes in v0 9 6 https github com iotaledger iota java compare v0 9 5 v0 9 6 changes in v0 9 5 https github com iotaledger iota java compare v0 9 4 v0 9 5 changes in v0 9 4 https github com iotaledger iota java compare v0 9 3 v0 9 4 changes in v0 9 3 https github com iotaledger iota java compare v0 9 2 v0 9 3 changes in v0 9 2 https github com iotaledger iota java compare v0 9 1 v0 9 2 changes in v0 9 1 https github com iotaledger iota java commits v0 9 1 supporting the project if the iota java client library has been useful to you and you feel like contributing consider posting a bug report https github com iotaledger iota java issues new issue feature request or a pull request https github com iotaledger iota java pulls we have some basic contribution guidelines github contributing md to keep our code base stable and consistent joining the discussion if you want to get involved in the community need help with getting setup have any issues related with the library or just want to discuss blockchain distributed ledgers and iot with other people feel free to join our discord https discord iota org issues https github com iotaledger iota java issues new issue https github com iotaledger iota java issues new pull requests https github com iotaledger iota java pulls new pull request https github com iotaledger iota java compare contribution guidelines https github com iotaledger iota java blob master contributing md tests https github com iotaledger iota java tree master jota src test java org iota jota iota discord https discord iota org iota forum https forum iota org | iota iota-java-library iota-library api cryptocurrency java | server |
Blockchain-simulator-exe | blockchain simulator exe this is a little blockchain similar to bitcoin right now for educational purpose by dr pei yaoyao introduction hash algrithom double sha256 encryption ecdsa p2ksh p2sh might be possible later consensus rule proof of works wallet random wallet peer type all full peers spv might be possible later smart contract might be possible later basic rule firsty 12 peers join the game everyone got 1000 yuan at the beginning 1 yuan 10 jiao 100 fen fen is the minimum monetary unit the buttons are make random transaction reach one consusens make one specific transastions reach five consensus add one peer into network and quit try hover mouse on the buttons and heros u got tips source code the source codes will be open lattely plz wait a sec if you are interested let s get started chick the button below image https github com yaoyaobae blockchain simulator exe blob master pics begin png make random transaction button heros will make random transactions each other just like this image https github com yaoyaobae blockchain simulator exe blob master pics random png but we can see the transactions are unconfirmed before consensus reached image https github com yaoyaobae blockchain simulator exe blob master pics unconfirmed png consensus button click to let heros reach consensus image https github com yaoyaobae blockchain simulator exe blob master pics mining png we can see transactions are confirmed after consesus reached the winner got subsidy and transaction fees image https github com yaoyaobae blockchain simulator exe blob master pics reached png specific transaction button we can let heros make transactions with others but at most 1000 fen limited image https github com yaoyaobae blockchain simulator exe blob master pics one png after that we can see only one transactions in the net transactions will be written into blockchain after consensus reached image https github com yaoyaobae blockchain simulator exe blob master pics onedone png five consensus reached button five ramdom transactions making and consensus will conducted continuously image https github com yaoyaobae blockchain simulator exe blob master pics five png add new peer button four peers at most and they are peniless image https github com yaoyaobae blockchain simulator exe blob master pics add png image https github com yaoyaobae blockchain simulator exe blob master pics last png | blockchain |
|
PIC32-FreeRTOS-LWIP-MBEDTLS | pic32 freertos lwip mbedtls microchip curiosity pic32mz freertos lwip mbedtls hardware curiosity pic32mzef development board pic32mz2048efm mrf24wn0ma on board https www microchip com developmenttools productdetails dm320104 software compiler mplab x xc32 freertos v10 1 0 heap 4 c lwip v2 0 2 mbedtls mrf24wn driver at this stage just to work as client other cjson jsmn ril later ppp for quectel modules ping sntp httpclient mqtt client eclipse paho in progress aws later fatfs later sd card coap maybe porting before tests edit sys config h for wifi ssid name wifi driver is not tested with security screenshot https raw githubusercontent com wiz io pic32 freertos lwip mbedtls master https png board board run at 200 mips debug uart1 dma later freertos freertosconfig h porttick period ms is 1 msec lwip socket test app begin app socket app blink mrf mac 001ec03b2d2f mrf init done mrf wifi connecting mrf wifi connected to ap app wifi ready app ip 192 168 12 36 app gw 192 168 12 1 app ms 255 255 255 0 app d0 244 0 0 128 app d1 248 0 0 128 dns www wizio eu ip 228 24 2 128 http 1 1 200 ok date wed 29 aug 2018 10 18 16 gmt server apache x powered by php 5 2 17 cache control max age 0 expires wed 29 aug 2018 10 18 16 gmt connection close content type text html apache hello world 29 08 2018 13 18 16 app done http test app begin app http test app blink mrf mac 001ec03b2d2f mrf init done mrf wifi connecting mrf wifi connected to ap app wifi ready http data received apache hello world 29 08 2018 10 57 33 http data received apache hello world 29 08 2018 10 58 35 mbedtls soft crypto full hard crypto tested with this project alt md5 alt sha1 256 sha224 is not supported from pic32 hash message limit 8k pic32 crypto h define pic32 max memory limit 8 1024 alt aes ecb cbc alt des 3 ecb cbc enable engine from middleware mbedtls configs config pic32 basic h bottom at the file mrf init done mrf wifi connecting mrf wifi connected to ap app wifi ready http get http www wizio eu test php http elapsed 42 msec http received apache hello world 03 09 2018 15 04 37 https get https tlstest paypal com https elapsed 250 msec https received paypal connection ok https get https raw githubusercon lib master test https https elapsed 413 msec https received github https test url https get https os mbed com media bed official hello txt https elapsed 329 msec https received hello world project is in process if you want to help support contact me | os |
|
Chartbuilder | chartbuilder chart with upwards trend chartbuilder is a front end charting application that facilitates easy creation of simple beautiful charts chartbuilder is the user and export interface chartbuilder powers all chart creation on atlas http atlas qz com a charting platform developed by quartz what s new in chartbuilder 2 0 the chart grid type use it to create small multiples of bars lines dots or columns the app has been rewritten in react js making it easier to add new chart types or use third party rendering libraries chart edits are automatically saved to localstorage and a chart can be recovered by clicking the load previous chart button on loading the page data input now accepts csv formatted data as well as tsv formated data all ui elements belong to chartbuilder ui https github com quartz chartbuilder ui a framework of flexible react components that you can use in other projects what chartbuilder is not a replacement for excel a replacement for google spreadsheet a data analysis tool a data transformation tool what chartbuilder is chartbuilder is the final step in charting to create charts in a consistent predefined style paste data into it and export the code to draw a mobile friendly responsive chart or a static svg or png chart who is using chartbuilder other than quartz customized chartbuilder created charts have been seen in many publications npr http www npr org blogs parallels 2013 10 24 240493422 in most every european country bikes are outselling cars the wall street journal http blogs wsj com korearealtime 2014 03 07 for korean kids mobile chat rules cnbc http www cnbc com id 101009116 the new yorker http www newyorker com online blogs currency 2013 12 2013 the year in charts html the press enterprise http blog pe com political empire 2013 07 31 ppic poll global warming a concern for inland voters new hampshire public radio http nhpr org post water cleanup commences beede story shows superfund laws flaws cfo magazine http ww2 cfo com the economy 2013 11 retail sales growth stalls australian broadcasting corporation http www abc net au news 2013 10 11 nobel prize3a why 2001 was the best year to win 5016010 digiday http digiday com publishers 5 charts tell state digital publishing getting started with chartbuilder if you are not interested in customizing the styles of your charts use the hosted version http quartz github io chartbuilder to work on the chartbuilder code first download the project and install dependencies download via github 1 make sure you have a recent version of node js https github com joyent node wiki installation 0 12 or above or io js https iojs org en index html 2 download source https github com quartz chartbuilder archive master zip and unzip or clone using git 3 from the terminal navigate to the source folder on a mac cd downloads chartbuilder master 4 install the dependencies automatically by running npm install 5 start the included web server by running npm run dev 6 point your browser to http localhost 3000 http localhost 3000 7 when you re done developing build and deploy docs deploying md your chartbuilder making a chart with charbuilder how to make a line chart with time series data tutorials basic chart md how to make a bar chart with ranking data tutorials bar chart with ranking data md how to make a column chart with ordinal data tutorials column chart ordinal data md customizing your chartbuilder getting to know the chartbuilder code docs 01 introduction md customizing chartbuilder docs 02 customizing chartbuilder md test things out docs testing md when you re done developing build and deploy docs deploying md your chartbuilder keep your customized version in sync with the master docs git workflow forks md documentation the chartbuilder api docs http quartz github io chartbuilder api docs document most of the react components classes and utilities in the code base documentation for chartbuilder s dependencies d3 https github com mbostock d3 wiki react https facebook github io react docs getting started html | front_end |
|
mbed-os | mbed os mbed os logo mbed os link build status master mbed master svg mbed master tools coverage status mbed coveralls tools svg mbed coveralls tools mbed os logo logo png mbed os link https www mbed com en platform mbed os mbed master https github com armmbed mbed os actions workflows basic checks yml mbed master svg https github com armmbed mbed os actions workflows basic checks yml badge svg mbed coveralls tools https coveralls io github armmbed mbed os branch master mbed coveralls tools svg https coveralls io repos github armmbed mbed os badge svg branch master arm mbed os is an open source embedded operating system designed specifically for the things in the internet of things it includes all the features you need to develop a connected product based on an arm cortex m microcontroller including security connectivity an rtos and drivers for sensors and i o devices mbed os provides a platform that includes security foundations cloud management services drivers for sensors i o devices and connectivity release notes the release notes https os mbed com releases detail the current release you can also find information about previous versions license and contributions the software is provided under the apache 2 0 license license apache 2 0 txt contributions to this project are accepted under the same license please see contributing md contributing md for more information this project contains code from other projects the original license text is included in those source files they must comply with our license guide https os mbed com docs mbed os latest contributing license html folders containing files under different permissive license than apache 2 0 are listed in the license license md file getting started for developers we have a developer website https os mbed com for asking questions engaging with others finding information on boards and components using an online ide and compiler reading the documentation and learning about what s new and what s coming next in mbed os getting started for contributors we also have a contributing and publishing guide https os mbed com contributing that covers licensing contributor agreements and style guidelines documentation for more information about mbed os please see our published documentation https os mbed com docs latest it includes doxygen for our apis step by step tutorials porting information and background reference materials about our architecture and tools to contribute to this documentation please see the mbed os 5 docs repository https github com armmbed mbed os 5 docs security considerations for production application please note that if you intend to use mbed os in a real product then you should consider the security implications of your application mbed os provides user hooks functions prefixed with weak symbol that are intended to be overridden we recommend that you carefully consider the threat model of your application and override the default user hooks provided by mbed os to fit your application s security needs for example mbed os executes mbed die https github com armmbed mbed os blob master platform source mbed board c l26 when there is an error mbed die by default halts the system a production application should override weakly linked mbed die function and provide own implementation suitable for their needs taking care of any security vulnerabilities and production considerations | os |
|
BeliefSat | beliefsat beliefsat is a 2p pocketqube standard student nano satellite being developed by the undergraduate students of k j somaiya institute of engineering and information technology sion mumbai https kjsieit somaiya edu en the satellite itself is a sub part of team s proposal under ps4 orbital platform program https www isro gov in update 15 jun 2019 announcement of opportunity ao orbital platform of isro wherein team aims to demonstrate indegenously developed technologies for pocketqube standard nano satellites as a part of this demonstration beliefsat will be launched out of somaiyapod which is a pocketqube standard deployer being indegenously developed at the institute the unique construction technique combination of cots components for communication on board computer and power sub systems together constitute of somaiyapqbus around which the satellite is being made is also one of the technologies that the team wants to demonstrate and open source to enable use by future missions so what will beliefsat do in space and what results it will give 1 if it is successfully deployed out of the somaiyapod and completes startup procedure it will be dead inside the pod and will only get power after it is out of pod and then sends a beacon reliability of both deployer and the design of the satellite will be confirmed 2 every 30 seconds or 1 minute depending on which mode it is in currently it will send a telemetry packet which will have values from different cots sensors the team aims to project the activity of telemetry reception as a way of involving more students in to software defined radio and rf in general 3 it will have a functionality as of a amateur radio digipeater which means if you hold a proper amateur radio license then you can send a 42 character message including the spaces to the satellite and the satellite will repeat it after delay of upto 10 seconds depending on other important processes running on board making it a utility for amateur radio community 4 there is a cots 2mp colour camera onboards which can be activated either for single snapshot by a command or multiple snapshots once evey 10 min these captured snaps will be sent in ssdv i e slow scan digital video format which is a famous format used by amateur radio community for transmitting images thus will also contribute as a service to amateur radio community however anyone with cots radio receiver modules and software can recieve the images and thus they will also help attracting more young students towards amateur radio by giving a hint of exiting world of amateur radio 5 if the satellite is able to operate for more than 3 months while responding to the commands and sending the health data at proper intervals it will prove the reliablity of the unique design and set of cots hardware used thus future mission could use flight proven hardwares for communication and power generation 6 as the satellite doesn t have attitutde stabilization system apart from a magnet parallel to antennas to orient them in n s direction all the sensor readings taken and images captured will be the ones in random orientation for some this may look like useless thing but it may actually serve a very useful puspose the captured images could be analysed and a rough estimation of orientation of the satellite can be determined then this estimation could be feed along with sensor readings at the instant of capturing the images to a machine learning algo to develop a model of orientation w r t the sensor readings once a large no of data points are avaialble the generated model will be able to be used in future missions along with cots sensors to reduce complexity and cost involved in attitude determination and control subsystem what is it made of what does it look like what are its dimenssions and mass beliefsat s structure is made by interlocking fr4 plates pcbs this is a very novel approach in designing the structure of a satellite generally satellites are made from aluminium or its alloys but using our novel approach we were able to design a very sturdy but cost effective sateliite although this technique is generally limited to nano satellites the pcbs that make the structure of our satellite have the solar panels and other components embedded in itself so the complexity of assembly is minimized this is a concept render of our beliefsat satfolded https user images githubusercontent com 67508161 85923794 c3ac7880 b8ab 11ea 8a19 435cf76c867a jpg the dimension of the beliefsat is in accordance with the pocketqube standards this standard includes a base plate on which the satellite is mounted and then it slides out of the satellite deployer via rails as per the standards our beliefsat is 2p ie base plate is 58mm x 128mm x 1 6mm wxlxh whereas the satellite is 50mm x 50mm x 114mm wxlxh the estimated mass of beliefsat is around 400 grams how is it powered the satellite is powered by altadevices single juntion cells which unfortunately are out of buisness as of date of writing https pv magazine usa com 2019 12 31 shutdown continues at hanergy owned alta devices high efficiency pv pioneer each of these cell produce 0 25w power when illumniated at intensity of 1000w m 2 there are 4 such cells on long sides and 2 on shorter sides so when illuminated satellite may produce 0 5w watt 1watt 1w depending on the orientation the power remaining after being used is then stored in 2 parallely connected 2600mah samsung 18650 batteries https robokits co in batteries chargers samsung premium li ion battery 3 7v samsung li ion batteries samsung icr 18650 26j 2600mah li ion cell original gclid cjwkcajwlth3brb6eiwahj0iuhalyab d4shw phnjm4cjyqy68a7cgykcscms i6jljsgfchlp92boc6 4qavd bwe spv1040 https www st com en power management spv1040 html is used on every panel for maximum power point tracking and giving regulated voltage from the solar cells the choice of spv1040 was made based on flight history in fossasat 1 https github com fossasystems fossasat 1 now that altadevices cells won t be available in market team will also be making one prototype with sm141k06l by ixys https www digikey com product detail en ixys sm141k06l sm141k06l nd 9990462 and will be publishing test results for it too along with other things every solar panel has a ina219 https www ti com product ina219 current sensor and opt3001 https www ti com lit ds symlink opt3001 pdf ts 1593144788653 ref url https 253a 252f 252fwww google com 252f making a solar panel a complete module how does it communicate transciever specs name lora1268f30 https www nicerf com product 193 312 html frequency yet to be coordinated by iaru https www iaru org but will be in uhf ham band modulation msk fsk with fdev 0 25 data rate output power 1w in normal mode and 0 5w while in safe mode to save power reciever sensitivity 123 dbm 1 2kbps and bw 20khz as per datasheet observed sensititvity yet to be calculated antenna dipole made from measuring tape which is in folded state during launch once in orbit fishing cord which holds the antenna in folded position is burnt by heating a resistor around which it is tied link budget orbit height 500 km proposed may vary as per allocation by launch provider slant range at 15 degree elevation 1408 km approximately free space path loss at this distance 148 2 dbm received power neglecting mismatch connector atmospheric pointing and polarization losses and receiving and transmitting antenna gains 118 2 121 2 op 30 27dbm note a good directional antenna at receving groundstation e g a 6 element yagi plans for which will be released soon can ensure the above mentioned losses are made up for and the signals can be received at even lower angles however to ensure best performance circular polarized antennas copuled with a good lna e g lna4all http lna4all blogspot com mounted over a azimuth elevation antenna rotator e g satnogs rotator https wiki satnogs org satnogs rotator v3 sarcnet rotator https www sarcnet org rotator mk2 html rotatormk2a yaesu g5500 https www yaesu com indexvs cfm cmd displayproducts prodcatid 104 encprodid 79a89cec477aa3b819ee02831f3fd5b8 wraps portable antenna rotator https ukamsat files wordpress com 2013 12 wraps mark spencer wa8sme qst jan 2014 copyright arrl pdf is recommended data rates in bps telemetry downlink 1200 digipeater downlink 1200 ssdv image downlink 9600 command uplink 1200 digipeater uplink 1200 how the satellite complies with the requirment of turning off the transmitters when required all the uplinks and downlinks occur on same frequency reciever is disabled while transmitting to avoid interrupts to controller during the transmission however these transmissions last no more than 2 sec except when transmitting image when single transmission may last upto 120 sec but no more than that and there is gap of more than 300 secs between such long trsnmissions during automatic transmit mode this will ensure that one can relay a command during any pass also the transmitter is implemented to be active only when microcontroller is active so if the main computer fails the transmitter won t turn on if the spacecraft computer is hung up for more than 8 sec it resets along with the transciever the automatic image capture mode is automatically turned off if battery voltage falls thus adding extra layer of governance on the mode where long and continous transmission occurs the satellite is designed to automatically turn off the microcontroller and thus the transciever in case of any thermal or short circuit event it is also protected against latchup situations caused by brown outs or radiation flipping a bit by the means of internal watchdog which resets non responsive or improperly finctioning controller after 8 sec whenever required satellites transmitters can be turned off until next command to turn those on by uplinking a command to do so if the shut down request comes when there is no pass over parent groundstation the uplink packe format can be shared with a station which will have nearest pass what are different packet types and packet formats telemetry packet packet type indicator call sign resets packet no mode sensor data crc rs parity bytes 1 6 2 4 1 42 2 32 index 0 1 7 9 13 14 56 58 sensor data temperature sensor 1 temperature sensor 2 magnetometer x y z gyrosensor x y z ambient light solar panel power battery state of charge bytes 2 2 6 6 12 12 2 index 14 16 18 24 30 42 54 digipeater uplink packet packet type 0xf5 sender callsign sat callsign controll bytes 0x55 0x55 0x55 rs bytes message bytes 1 6 6 3 32 42 index 0 1 7 13 16 48 digipeater downlink packet packet type 0xff sat callsign sender callsign ligitimizer 0x47 message crc ccitt rs bytes bytes 1 6 6 1 42 2 32 index 0 1 7 13 14 56 58 ssdv image packet standard ssdv packet format specified by ukhas https ukhas org uk guides ssdv will be followed for sending the images captured however the first byte i e sync byte in the packet will be skipped so as to make the packet length 255 byte instead of 256 as 255 is the maximum length of packet that the used tranciever can accomodate the recievers must add the sync byte 0x55 before forwarding the packets to the ssdv servers or running the packets through ssdv decoders preamble and syncword 64 alternating bits as preamble and ccsds sync word 0x1acffc1d will be added before all of the above defined packets by the transciever while doing uplink one must either add these in the string being uplinked or should set the tranciever modules to accordingly to add these to the packets reed solomon fec the fec used to encode all the above mentioned packets is reed solomon fec implementation by philip heron https github com fsphil in ssdv project https github com fsphil ssdv and hadie project https github com fsphil hadie which itself is based on portable implementation by phil karn http www ka9q net available at http www ka9q net code fec the reciever implementers should take this into account and use the compatible decoder to avoid errors references for converting sensor data into readable format 1 ambient light sensor opt3001 datasheet https www ti com lit ds symlink opt3001 pdf ts 1593455018360 ref url https 253a 252f 252fwww google com 252f refer page 20 implementation code https cdn instructables com orig fci jgx9 jfbmpfvz fcijgx9jfbmpfvz ino refer lines 38 44 2 temperature sensor lm75 datasheet https datasheets maximintegrated com en ds lm75 pdf refer page 6 3 gyro sensor mpu 6050 datasheet https invensense tdk com wp content uploads 2015 02 mpu 6000 datasheet1 pdf 4 magnetometer hmc5883l datasheet https cdn shop adafruit com datasheets hmc5883l 3 axis digital compass ic pdf 5 current power sensor ina219 datasheet https www ti com lit ds symlink ina219 pdf ts 1593455980944 ref url https 253a 252f 252fwww google com 252f 6 battery voltage and state of charge sensor max17043g u datasheet https datasheets maximintegrated com en ds max17043 max17044 pdf | server |
|
RTX51 | rtx51 https github com os q rtx51 https github com os q rtx51 wiki rtx51 https github com os q rtx51 tiny full rtx51 tiny rtos 8051 rtos rtx51 tiny 8051 rtx51 tiny c keil c51 c rtx51tny lib rtx51bt lib keil c51 lib rtx51tny h keil c51 inc 16 16 900 7 3 1000 65535 20 100 700 os q http www os q com | os-q qitas rtos | os |
Microservices-project | udagram image filtering application build status https app travis ci com antoniodaria microservices project svg branch master https app travis ci com antoniodaria microservices project udagram is a simple cloud application developed alongside the udacity cloud engineering nanodegree it allows users to register and log into a web client post photos to the feed and process photos using an image filtering microservice the project is split into two parts 1 frontend angular web application built with ionic framework 2 backend restful api node express application getting started tip it s recommended that you start with getting the backend api running since the frontend web application depends on the api prerequisite 1 the depends on the node package manager npm you will need to download and install node from https nodejs com en download https nodejs org en download this will allow you to be able to run npm commands 2 environment variables will need to be set these environment variables include database connection details that should not be hard coded into the application code environment script a file named set env sh has been prepared as an optional tool to help you configure these variables on your local development environment we do not want your credentials to be stored in git after pulling this starter project run the following command to tell git to stop tracking the script in git but keep it stored locally this way you can use the script for your convenience and reduce risk of exposing your credentials git rm cached set env sh afterwards we can prevent the file from being included in your solution by adding the file to our gitignore file 1 database create a postgresql database either locally or on aws rds the database is used to store the application s metadata we will need to use password authentication for this project this means that a username and password is needed to authenticate and access the database the port number will need to be set as 5432 this is the typical port that is used by postgresql so it is usually set to this port by default once your database is set up set the config values for environment variables prefixed with postgres in set env sh if you set up a local database your postgres host is most likely localhost if you set up an rds database your postgres host is most likely in the following format us west 1 rds amazonaws com you can find this value in the aws console s rds dashboard 2 s3 create an aws s3 bucket the s3 bucket is used to store images that are displayed in udagram set the config values for environment variables prefixed with aws in set env sh 3 backend api launch the backend api locally the api is the application s interface to s3 and the database to download all the package dependencies run the command from the directory udagram api bash npm install to run the application locally run bash npm run dev you can visit http localhost 8080 api v0 feed in your web browser to verify that the application is running you should see a json payload feel free to play around with postman to test the api s 4 frontend app launch the frontend app locally to download all the package dependencies run the command from the directory udagram frontend bash npm install install ionic framework s command line tools for us to build and run the application bash npm install g ionic prepare your application by compiling them into static files bash ionic build run the application locally using files created from the ionic build command bash ionic serve you can visit http localhost 8100 in your web browser to verify that the application is running you should see a web interface tips 1 take a look at udagram api does it look like we can divide it into two modules to be deployed as separate microservices 2 the dockerignore file is included for your convenience to not copy node modules copying this over into a docker container might cause issues if your local environment is a different operating system than the docker image ex windows or macos vs linux 3 it s useful to lint your code so that changes in the codebase adhere to a coding standard this helps alleviate issues when developers use different styles of coding eslint has been set up for typescript in the codebase for you to lint your code run the following bash npx eslint ext js ts src to have your code fixed automatically run bash npx eslint ext js ts src fix 4 set env sh is really for your backend application frontend applications have a different notion of how to store configurations configurations for the application endpoints can be configured inside of the environments environment ts files 5 in set env sh environment variables are set with export var value setting it this way is not permanent every time you open a new terminal you will have to run set env sh to reconfigure your environment variables to verify if your environment variable is set you can check the variable with a command like echo postgres username | nodejs typescript docker docker-compose aws-eks-cluster aws-rds-postgres rest-api travis-ci | cloud |
NaturalLanguageProcessing_Spark | natural language processing introduce this is a natural language processing package it including machine learning utils and basic nlp utils machine learning natural language processing by using machine learning algorithms textclassification text classification by using bayesian svmwithsgd gaussiankernelsvm bayesian svmwithsgd gaussiankernelsvm correlationanalysis hotdegreecalculate the hot degree of keywords using bayes average and law of newton cooling textrank based on pagerank topicmodel lda util preprocessor tools shipment of gold damaged in a fire shipment of gold damaged in a fire delivery of silver arrived in a silver truck shipment of gold arrived in a truck | ai |
|
coolpress | coolpress tests https github com tuxskar coolpress actions workflows django yml badge svg coolpress project coolpress is an application to show the power of web development using django in order to create the project install django or all the requirements of the project and run bash django admin startproject coolpress create the superuser run the command python manage py createsuperuser fill the questions to create a user and password for the super user that can access all the system run the server execute the command bash python manage py runserver and enter into http localhost 8000 set it up in pycharm enter into the admin site at http localhost 8000 admin it will create the first scaffold of the project and then we can create the app running bash python manage py startapp press add the models to the press models py file and perform the migrations play with the shell to make sure the model is correctly designed register the application models into the admin site create the superuser to enter into the admin site after adding the models into the admin site you can run the migrations and everything else and perform bash python manage py makemigrations python manage py migrate python manage py sqlmigrate press 0001 sql begin create model category create table press category id integer not null primary key autoincrement label varchar 200 not null create model cooluser create table press cooluser id integer not null primary key autoincrement github profile varchar 150 null gh stars integer null gh repositories integer null gravatar link varchar 400 null user id integer not null unique references auth user id deferrable initially deferred create model post create table press post id integer not null primary key autoincrement title varchar 400 not null body text not null image link varchar 400 null chart link varchar 400 null word cloud link varchar 400 null source link varchar 400 null source label varchar 400 null status varchar 32 not null creation date datetime not null last update datetime not null author id bigint not null references press cooluser id deferrable initially deferred category id bigint not null references press category id deferrable initially deferred create index press post author id e18dcdbd on press post author id create index press post category id 1abbd97d on press post category id commit create manually the categories groups of permissions such editor viewer get api news in order to get more information from the api mediastack you need to provide the api key and run the command get api news bash export mediastack key api key python manage py get api news health sports general limit 30 dump and load information bash python manage py dumpdata all indent 4 output sample posts python manage py loaddata sample posts deploying on heroku setup on the repository and link it on the ui you can check the logs with bash heroku logs tail a coolpress once everything is setup we need to create the superuser such bash heroku run python coolpress manage py createsuperuser a coolpress remember to add the cooluser associated to the superuser otherwise there will be some surprised while adding some posts now you can check the information at https coolpress herokuapp com deploy on pythoneverywhere https help pythonanywhere com pages deployexistingdjangoproject testing and coverage in order to run the tests you can run the next command bash python manage py test and to run the coverage you can run bash coverage run manage py test coverage html or directly bash coverage run manage py test coverage html open htmlcov index html now you would have a a web page under the file coolpress htmlcov index html with the current coverage of the project troubleshooting error importing coolpress on pycharm you need to set the folder coolpress as source folder with the right click on the root folder or on a terminal using export pythonpath pwd | front_end |
|
dockerized-esp-rtos-sdk | this is a dockerized version of the install usage instructions of esp8266 rtos sdk https docs espressif com projects esp8266 rtos sdk en latest get started index html you can get the image from dockerhub at mbenabda esp8266 rtos sdk https hub docker com r mbenabda esp8266 rtos sdk its tags are aligned with versions of the sdk tag v3 3 of the image holds v3 3 of the sdk please refer to the esp8266 rtos sdk documentation https docs espressif com projects esp8266 rtos sdk en latest api guides build system html example project for more details on the build system usage given project root dir holds the absolute path to your project s codebase build your project docker run it rm v project root dir project w project mbenabda esp8266 rtos sdk make flash your esp chip docker run it rm v project root dir project privileged v dev dev w project mbenabda esp8266 rtos sdk make flash monitor the esp chip s serial output docker run it rm v project root dir project privileged v dev dev w project mbenabda esp8266 rtos sdk make monitor build the toolchain docker image clone this repository run sh docker build build arg esp8266 rtos sdk version v3 3 build arg xtensa lx106 release xtensa lx106 elf linux64 1 22 0 100 ge567ec7 5 2 0 build arg xtensa esp32 release xtensa esp32 elf linux64 1 22 0 80 g6c4433a 5 2 0 t esp8266 rtos sdk | esp8266 espressif esp esp8266-rtos docker esp8266-firmware esp8266-rtos-sdk espressif-rtos-sdk | os |
awesome-iota | awesome iota awesome https cdn rawgit com sindresorhus awesome d7305f38d29fed78fa85652e3a63e154dd8e8829 media badge svg https github com sindresorhus awesome a community driven list of useful iota blogs articles videos and tools this is not a catalog of all the content just a starting point for your explorations inspired by awesome scala https github com lauris awesome scala other amazingly awesome lists can be found in the awesome awesomeness https github com bayandin awesome awesomeness list awesome iota awesome iota about about blogs blogs sites articles articles videos videos wallets wallets tools tools developers developers contributing contributing about what is iota iota is a revolutionary new transactional settlement and data integrity layer for the internet of things it s based on a new distributed ledger architecture the tangle which overcomes the inefficiencies of current blockchain designs and introduces a new way of reaching consensus in a decentralized peer to peer system for the first time ever through iota people can transfer money without any fees this means that even infinitesimally small nanopayments can be made through iota iota is the missing puzzle piece for the machine economy to fully emerge and reach its desired potential we envision iota to be the public permissionless backbone for the internet of things that enables true interoperability between all devices iota https iota org next generation blockchain whitepaper https iota org iota whitepaper pdf the tangle wikipedia https en wikipedia org wiki iota distributed ledger technology https en wikipedia org wiki iota distributed ledger technology a primer on iota https blog iota org a primer on iota with presentation e0a6eb2cc621 a primer on iota with presentation iota china http iotachina com iota china iota italia http iotaitalia com iota italia iota korea http blog naver com iotakorea iota iota japan http lhj hatenablog jp entry iota iota iota on reddit https www reddit com r iota blogs sites blogs sites about iota iota blog https blog iota org official blog of iota all about iota https aboutiota info all about iota iota support http www iotasupport com iota support your guide to the world of iota the tangler http www tangleblog com no bells and whistles just information iota stack exchange https iota stackexchange com iota stack exchange iota steemit trending https steemit com trending iota iota steemit trustediotalliance https www trustediot org securing iot products with blockchain iota tips http www iota tips iota tips iota token http iotatoken io iota decentralised internet of things token iota news http iota news iota news blog http lhj hatenablog jp entry iota iota articles articles about iota iota development roadmap https blog iota org iota development roadmap 74741f37ed01 iota development roadmap insights ubuntu com https insights ubuntu com 2017 02 20 iota iot revolutionized with a ledger iota iot revolutionised with a ledger blog iota org https blog iota org automating machine transactions and building trust in the 4th industrial revolution d3219a157396 automating machine transactions and building trust in the 4th industrial revolution satoshiwatch com https satoshiwatch com coins iota in depth iota the winner takes the winner takes it all crypto judgement https medium com cryptojudgement iota promise of a bright crypto future 6b7517349e32 iota promise of a bright crypto future energycentral com https medium com ercwl iota is centralized 6289246e7b4d genuine peer to peer processing makes iota tangle what bitcoin blockchains should be constellationr com https www constellationr com blog news blockchain or distributed ledger defining requirement not technology 0 blockchain or distributed ledger defining the requirement not the technology iota ecosystem fund https blog iota org iota ecosystem fund 2 million f6ade6a4d8ba iota ecosystem fund 2 million videos videos about iota what is iota https www youtube com watch v yj9j a acb4 iota what is iota what is the tangle technology the bitcoin killer boxmining https www youtube com watch v uwep5cextje what is iota in a nutshell ivan on tech https www youtube com watch v c y4kykzcai iota and machine to machine economy programmer explains introducing iota https www youtube com watch v fbgfiqpzr6a introducing iota new crypto next generation blockchain https www youtube com watch v wbhkao9lobk iota next generation blockchain new crypto https www youtube com watch v pn64rets2gy new crypto iota discover iota https www youtube com watch v h09z2n0mtuq discover iota general overview for beginners https www youtube com watch v 2azqznkermy general overview for beginners this is iota https www youtube com watch v lyvlq13wfse this is iota iota the next level https www youtube com watch v cm xhh6n2zc iota the next level what is iot https www youtube com watch v s64s3grzlsm what is iot how it works the iot https www youtube com watch v qsipnhoimoe how it works the iot welcome to the iota universe https www youtube com watch v n5seevhbln8 welcome to the iota universe iota coin https www youtube com watch v sunkglqhc8y iota coin iota ecosystem fund https www youtube com watch v 7rliikr4cqy iota ecosystem fund wallets iota wallets trinity wallet https github com iotaledger trinity wallet iota trinity wallet desktop and mobile tools 3rd party tools on iota tangle blox https tangle blox pm iota tangle iota tools http iota tools iota tools iota price http iotaprice com iota price iota cool http iota cool iota cool tools iota balance lookup http iotabalance com minimalist iota balance lookup tangler org http tangler org iota tangle explorer codebuffet co https iota codebuffet co iota tangle explorer iotasear ch https iotasear ch iota tangle explorer thetangle org https thetangle org iota tangle explorer developers links to developing iota applications official by the iota foundation documentation https iota readme io v1 1 0 docs documentation of iota the iota developer hub https iota readme io the iota developer hub get started with iota https learn iota org the best way to learn more about iota through interactive developer tutorials the iota developer hub https dev iota org start developing with iota iota lib csharp https github com iotaledger iota lib csharp iota lib csharp iota lib py https github com iotaledger iota lib py pyota the iota python api library iota lib js https github com iotaledger iota lib js iota javascript library iota rs https github com iotaledger iota rs iota implementation rust iota lib go https github com iotaledger iota lib go giota the iota go api library iota lib java https github com iotaledger iota lib java jota library is a simple java wrapper around iota curl lib js https github com iotaledger curl lib js iota proof of work algorithm ported to javascript to work in webgl2 enabled browsers non official libraries net library https github com borlay borlay iota library net library written in c iota c library https github com thibault martinez iota lib cpp a iri client library in c for iri iota address utilities https github com prizz iota address utilities a library to working with iota addresses iota c library https github com th0br0 iota lib c a c library to generate seeds addresses etc managment iota peer manager https github com akashgoswami ipm a peer neighbors management webui for iri open iota https github com prizz open iota a open tangle explorer web app iota search https github com eukaryote31 iotasearch a web app for exploring addresses transactions etc iota dashboard https github com lsquires iota dashboard a tangle visualiser iota transaction spammer https github com prizz iota transaction spammer webapp a web app transaction spammer iota reattacher https github com normpad iota reattacher a app which finds valid transactions and reattach them iota full node cli https github com nazarimilad iota node a cli to manage a full node payment payiota https github com lacicloud payiota a iota pay gateway for php deployment docker iri full node https github com bluedigits iota node a dockerized full node iri playbook https github com nuriel77 iri playbook a ansible playbook to setup a iri full node other bolero https github com semkodev bolero fun a cross platform full node carriota nelson https github com semkodev nelson cli neighbor discovery for a iri full node iotatipbot https github com normpad iotatipbot a tip bot for reddit tanglestash https github com loehnertz tanglestash an algorithm to persist any file onto the tangle of iota iota auth https github com thedewpoint iotauth 2fa built on the iota tangle iota basic https github com thedewpoint iota basic basic implementation of iota api allowing easy interactions with the network in progress iota prom exporter https github com crholliday iota prom exporter prometheus exporter for iota metrics and associated grafana dashboard tangleid https github com tangleid tangleid secure self sovereign identity built on iota tangle contributing your contributions are always welcome please submit a pull request or create an issue to add a new blogs tutorials videos or libraries to the list | iota blockchain decentralized iot tangle | server |
Nomad | nomad a carpooling application developed in java as course project of software engineering followed agile model as a development life cycle model uml diagrams database design have been done before starting main development | java carpooling jsp | server |
mobile-dev | mobile development mobile development is one of the vocational at pondokprogrammer and here we share many codes for you you can use it for free to learn about programming especially in the field of mobile development happy coding and keep learning dev b mobiledev https farm9 staticflickr com 8676 16670307275 511e9b37d6 n jpg usage download all repository of md code git clone git github com pondokprogrammer mobile dev code download sub repository of md https github com creatorb subrepodownloader android library https github com creatorb android library tree master listoflibrary on the wild get it on google play https www gstatic com android market images web play logo x2 png https play google com store apps developer id jasa programmer contributing 1 fork it 2 create your feature branch git checkout b my new feature 3 commit your changes git commit am add some feature 4 push to the branch git push origin my new feature 5 submit a pull request license open sources http opensource org trademarks opensource osi approved license 100x137 png the mit license mit permission is hereby granted free of charge to any person obtaining a copy of this software and associated documentation files the software to deal in the software without restriction including without limitation the rights to use copy modify merge publish distribute sublicense and or sell copies of the software and to permit persons to whom the software is furnished to do so subject to the following conditions the above copyright notice and this permission notice shall be included in all copies or substantial portions of the software the software is provided as is without warranty of any kind express or implied including but not limited to the warranties of merchantability fitness for a particular purpose and noninfringement in no event shall the authors or copyright holders be liable for any claim damages or other liability whether in an action of contract tort or otherwise arising from out of or in connection with the software or the use or other dealings in the software | front_end |
|
base-eng-test | cloud systems engineering tests please fork this repo and begin your work locally scope of work deploy a simple python application to aws that responds to http post requests and returns a json response all resources need to be provisioned using terraform and state managed through terraform cloud high level objectives configure a pipeline in github actions and deploy the packaged python code circleci can be used if github actions is not preferred authenticate with aws applicants choice review and deploy the terraform configuration to provision the required resources display proper terraform state management through terraform cloud provide the api endpoint url to the deployed application prerequisites credentials to sandbox aws account will be provided to you github or other vcs provider supported by circleci account circleci account if github is not preferred python3 at least version 3 10 pipenv aws boto3 at least version 1 26 0 aws cli terraform at least version 1 5 0 terraform cloud account tfc provide a free tier deployment success criteria deployment is largely up to the applicant on how to execute this below are the basic rquirements the fundamental requirement is to successfully complete provisioning and deployment using terraform deployment should be achieved through a chosen pipeline using best practices test and validate terraform configuration before applying correctly package and deploy the code to a lambda function the type of lambda function is up to the applicant zip archive container etc the function should be able to respond to http post requests and return a json response deployment pipeline should be able to update the lambda function with new code changes references github actions documentation https docs github com en actions circleci signup https circleci com signup return to https 3a 2f 2fapp circleci com 2f documentation https circleci com docs getting started aws boto3 documentation https boto3 amazonaws com v1 documentation api latest index html aws lambda powertools for python documentation https awslabs github io aws lambda powertools python 2 9 0 terraform terraform source documentation https developer hashicorp com terraform docs terraform cloud signup https app terraform io public signup account product intent terraform documentation https developer hashicorp com terraform cloud docs license see license license txt | cloud |
|
Awesome-Multimodal-Large-Language-Models | awesome multimodal large language models img src images xmind png width 96 height 96 our mllm works a survey on multimodal large language models project page https github com bradyfu awesome multimodal large language models paper https arxiv org pdf 2306 13549 pdf a curated list of multimodal large language models mllms including datasets multimodal instruction tuning multimodal in context learning multimodal chain of thought llm aided visual reasoning foundation models and others this list will be updated in real time sparkles welcome to join our wechat group of mllm communication please add wechat id wmd ustc to join the group star2 mme a comprehensive evaluation benchmark for multimodal large language models project page leaderboards https github com bradyfu awesome multimodal large language models tree evaluation paper https arxiv org pdf 2306 13394 pdf leaderboards of 27 advanced mllms including blip 2 https arxiv org pdf 2301 12597 pdf instructblip https arxiv org pdf 2305 06500 pdf llava https arxiv org pdf 2304 08485 pdf minigpt 4 https arxiv org pdf 2304 10592 pdf mplug owl https arxiv org pdf 2304 14178 pdf llama adapter v2 https arxiv org pdf 2304 15010 pdf imagebind llm https github com opengvlab llama adapter tree main otter https arxiv org pdf 2305 03726 pdf visualglm 6b https github com thudm visualglm 6b multimodal gpt https arxiv org pdf 2305 04790 pdf pandagpt https arxiv org pdf 2305 16355 pdf vpgtrans https arxiv org pdf 2305 01278 pdf lavin https arxiv org pdf 2305 15023 pdf lynx https arxiv org pdf 2307 02469 pdf octopus https github com gray311 unifiedmultimodalinstructiontuning lrv instruction https arxiv org pdf 2306 14565 pdf cheetor https arxiv org pdf 2308 04152 pdf mmicl https github com haozhezhao mic git2 https arxiv org pdf 2205 14100 pdf bliva https arxiv org pdf 2308 09936 pdf skywork mm https github com will singularity skywork mm tree main qwen vl chat https arxiv org pdf 2308 12966 pdf internlm xcomposer vl https arxiv org pdf 2309 15112 pdf lion https github com mynameischaos lion muffin https github com thunlp muffin wemm https github com scenarios wemm and gpt 4v https cdn openai com papers gptv system card pdf if you want to add your model in our leaderboards please feel free to email bradyfu24 gmail com we will update the leaderboards in time sparkles details summary download mme star2 star2 summary the benchmark dataset is collected by xiamen university for academic research only you can email guilinli stu xmu edu cn to obtain the dataset according to the following requirement requirement a real name system is encouraged for better academic communication your email suffix needs to match your affiliation such as xx stu xmu edu cn and xiamen university otherwise you need to explain why please include the information below when sending your application email name tell us who you are affiliation the name url of your university or company job title e g professor phd and researcher email your email address how to use only for non commercial use details woodpecker hallucination correction for mllms p align center img src images woodpecker png width 50 height 50 p source code https github com bradyfu woodpecker online demo paused due to insufficient gpus https 42976740ac53ddbe7d gradio live paper coming soon https github com bradyfu woodpecker this is the first work to correct hallucination in multimodal large language models the code and online demo have been released and the paper will be coming soon br if you find our projects helpful to your research please consider citing br article yin2023survey title a survey on multimodal large language models author yin shukang and fu chaoyou and zhao sirui and li ke and sun xing and xu tong and chen enhong journal arxiv preprint arxiv 2306 13549 year 2023 article fu2023mme title mme a comprehensive evaluation benchmark for multimodal large language models author fu chaoyou and chen peixian and shen yunhang and qin yulei and zhang mengdan and lin xu and qiu zhenyu and lin wei and yang jinrui and zheng xiawu and li ke and sun xing and ji rongrong journal arxiv preprint arxiv 2306 13394 year 2023 font size 5 center b table of contents b center font awesome papers awesome papers multimodal instruction tuning multimodal instruction tuning multimodal in context learning multimodal in context learning multimodal chain of thought multimodal chain of thought llm aided visual reasoning llm aided visual reasoning foundation models foundation models evaluation evaluation others others awesome datasets awesome datasets datasets of pre training for alignment datasets of pre training for alignment datasets of multimodal instruction tuning datasets of multimodal instruction tuning datasets of in context learning datasets of in context learning datasets of multimodal chain of thought datasets of multimodal chain of thought benchmarks for evaluation benchmarks for evaluation others others 1 awesome papers multimodal instruction tuning title venue date code demo star https img shields io github stars vision cair minigpt 4 svg style social label star br minigpt v2 large language model as a unified interface for vision language multi task learning https arxiv org pdf 2310 09478 pdf br arxiv 2023 10 14 github https github com vision cair minigpt 4 local demo star https img shields io github stars apple ml ferret svg style social label star br ferret refer and ground anything anywhere at any granularity https arxiv org pdf 2310 07704 pdf br arxiv 2023 10 11 github https github com apple ml ferret star https img shields io github stars thudm cogvlm svg style social label star br cogvlm visual expert for large language models https github com thudm cogvlm blob main assets cogvlm paper pdf br github 2023 10 09 github https github com thudm cogvlm demo http 36 103 203 44 7861 improved baselines with visual instruction tuning https arxiv org pdf 2310 03744 pdf arxiv 2023 10 05 coming soon star https img shields io github stars thunlp muffin svg style social label star br reformulating vision language foundation models and datasets towards universal multimodal assistants https arxiv org pdf 2310 00653 pdf br arxiv 2023 10 01 github https github com thunlp muffin local demo anymal an efficient and scalable any modality augmented language model https arxiv org pdf 2309 16058 pdf arxiv 2023 09 27 star https img shields io github stars internlm internlm xcomposer svg style social label star br internlm xcomposer a vision language large model for advanced text image comprehension and composition https arxiv org pdf 2309 15112 pdf br arxiv 2023 09 26 github https github com internlm internlm xcomposer local demo star https img shields io github stars runpeidong dreamllm svg style social label star br dreamllm synergistic multimodal comprehension and creation https arxiv org pdf 2309 11499 pdf br arxiv 2023 09 20 github https github com runpeidong dreamllm coming soon an empirical study of scaling instruction tuned large multimodal models https arxiv org pdf 2309 09958 pdf arxiv 2023 09 18 coming soon star https img shields io github stars sihengli99 textbind svg style social label star br textbind multi turn interleaved multimodal instruction following https arxiv org pdf 2309 08637 pdf br arxiv 2023 09 14 github https github com sihengli99 textbind demo https ailabnlp tencent com research demos textbind star https img shields io github stars next gpt next gpt svg style social label star br next gpt any to any multimodal llm https arxiv org pdf 2309 05519 pdf br arxiv 2023 09 11 github https github com next gpt next gpt demo https fc7a82a1c76b336b6f gradio live star https img shields io github stars ucsc vlaa sight beyond text svg style social label star br sight beyond text multi modal training enhances llms in truthfulness and ethics https arxiv org pdf 2309 07120 pdf br arxiv 2023 09 13 github https github com ucsc vlaa sight beyond text star https img shields io github stars opengvlab llama adapter svg style social label star br imagebind llm multi modality instruction tuning https arxiv org pdf 2309 03905 pdf br arxiv 2023 09 07 github https github com opengvlab llama adapter demo http imagebind llm opengvlab com scaling autoregressive multi modal models pretraining and instruction tuning https arxiv org pdf 2309 02591 pdf arxiv 2023 09 05 ciem contrastive instruction evaluation method for better instruction tuning https arxiv org pdf 2309 02301 pdf arxiv 2023 09 05 star https img shields io github stars openrobotlab pointllm svg style social label star br pointllm empowering large language models to understand point clouds https arxiv org pdf 2308 16911 pdf br arxiv 2023 08 31 github https github com openrobotlab pointllm demo http 101 230 144 196 star https img shields io github stars hypjudy sparkles svg style social label star br sparkles unlocking chats across multiple images for multimodal instruction following models https arxiv org pdf 2308 16463 pdf br arxiv 2023 08 31 github https github com hypjudy sparkles local demo star https img shields io github stars opendatalab mllm dataengine svg style social label star br mllm dataengine an iterative refinement approach for mllm https arxiv org pdf 2308 13566 pdf br arxiv 2023 08 25 github https github com opendatalab mllm dataengine star https img shields io github stars pvit official pvit svg style social label star br position enhanced visual instruction tuning for multimodal large language models https arxiv org pdf 2308 13437 pdf br arxiv 2023 08 25 github https github com pvit official pvit demo https huggingface co spaces pvit pvit star https img shields io github stars opendatalab vigc svg style social label star br vigc visual instruction generation and correction https arxiv org pdf 2308 12714 pdf br arxiv 2023 08 24 github https github com opendatalab vigc demo https opendatalab github io vigc star https img shields io github stars qwenlm qwen vl svg style social label star br qwen vl a frontier large vision language model with versatile abilities https arxiv org pdf 2308 12966 pdf br arxiv 2023 08 24 github https github com qwenlm qwen vl demo https modelscope cn studios qwen qwen vl chat demo summary star https img shields io github stars openbmb viscpm svg style social label star br large multilingual models pivot zero shot multimodal learning across languages https arxiv org pdf 2308 12038 pdf br arxiv 2023 08 23 github https github com openbmb viscpm demo https huggingface co spaces openbmb viscpm chat star https img shields io github stars icoz69 stablellava svg style social label star br stablellava enhanced visual instruction tuning with synthesized image dialogue data https arxiv org pdf 2308 10253v1 pdf br arxiv 2023 08 20 github https github com icoz69 stablellava star https img shields io github stars mlpc ucsd bliva svg style social label star br bliva a simple multimodal llm for better handling of text rich visual questions https arxiv org pdf 2308 09936 pdf br arxiv 2023 08 19 github https github com mlpc ucsd bliva demo https huggingface co spaces mlpc lab bliva star https img shields io github stars dcdmllm cheetah svg style social label star br empowering vision language models to follow interleaved vision language instructions https arxiv org pdf 2308 04152 pdf br arxiv 2023 08 08 github https github com dcdmllm cheetah star https img shields io github stars opengvlab all seeing svg style social label star br the all seeing project towards panoptic visual recognition and understanding of the open world https arxiv org pdf 2308 01907 pdf br arxiv 2023 08 03 github https github com opengvlab all seeing demo https huggingface co spaces opengvlab all seeing star https img shields io github stars rese1f moviechat svg style social label star br moviechat from dense token to sparse memory for long video understanding https arxiv org pdf 2307 16449 pdf br arxiv 2023 07 31 github https github com rese1f moviechat local demo star https img shields io github stars umass foundation model 3d llm svg style social label star br 3d llm injecting the 3d world into large language models https arxiv org pdf 2307 12981 pdf br arxiv 2023 07 24 github https github com umass foundation model 3d llm chatspot bootstrapping multimodal llms via precise referring instruction tuning https arxiv org pdf 2307 09474 pdf br arxiv 2023 07 18 demo https chatspot streamlit app star https img shields io github stars magic research bubogpt svg style social label star br bubogpt enabling visual grounding in multi modal llms https arxiv org pdf 2307 08581 pdf br arxiv 2023 07 17 github https github com magic research bubogpt demo https huggingface co spaces magicr bubogpt star https img shields io github stars baai dcai visual instruction tuning svg style social label star br svit scaling up visual instruction tuning https arxiv org pdf 2307 04087 pdf br arxiv 2023 07 09 github https github com baai dcai visual instruction tuning star https img shields io github stars jshilong gpt4roi svg style social label star br gpt4roi instruction tuning large language model on region of interest https arxiv org pdf 2307 03601 pdf br arxiv 2023 07 07 github https github com jshilong gpt4roi demo http 139 196 83 164 7000 star https img shields io github stars bytedance lynx llm svg style social label star br what matters in training a gpt4 style language model with multimodal inputs https arxiv org pdf 2307 02469 pdf br arxiv 2023 07 05 github https github com bytedance lynx llm star https img shields io github stars x plug mplug docowl svg style social label star br mplug docowl modularized multimodal large language model for document understanding https arxiv org pdf 2307 02499 pdf br arxiv 2023 07 04 github https github com x plug mplug docowl demo https modelscope cn studios damo mplug docowl summary star https img shields io github stars chendelong1999 polite flamingo svg style social label star br visual instruction tuning with polite flamingo https arxiv org pdf 2307 01003 pdf br arxiv 2023 07 03 github https github com chendelong1999 polite flamingo demo http clever flamingo xiaoice com star https img shields io github stars salt nlp llavar svg style social label star br llavar enhanced visual instruction tuning for text rich image understanding https arxiv org pdf 2306 17107 pdf br arxiv 2023 06 29 github https github com salt nlp llavar demo https eba470c07c805702b8 gradio live star https img shields io github stars shikras shikra svg style social label star br shikra unleashing multimodal llm s referential dialogue magic https arxiv org pdf 2306 15195 pdf br arxiv 2023 06 27 github https github com shikras shikra demo http demo zhaozhang net 7860 star https img shields io github stars openmotionlab motiongpt svg style social label star br motiongpt human motion as a foreign language https arxiv org pdf 2306 14795 pdf br arxiv 2023 06 26 github https github com openmotionlab motiongpt star https img shields io github stars fuxiaoliu lrv instruction svg style social label star br mitigating hallucination in large multi modal models via robust instruction tuning https arxiv org pdf 2306 14565 pdf br arxiv 2023 06 26 github https github com fuxiaoliu lrv instruction demo https 7b6590ed039a06475d gradio live star https img shields io github stars lyuchenyang macaw llm svg style social label star br macaw llm multi modal language modeling with image audio video and text integration https arxiv org pdf 2306 09093 pdf br arxiv 2023 06 15 github https github com lyuchenyang macaw llm coming soon star https img shields io github stars openlamm lamm svg style social label star br lamm language assisted multi modal instruction tuning dataset framework and benchmark https arxiv org pdf 2306 06687 pdf br arxiv 2023 06 11 github https github com openlamm lamm demo https huggingface co spaces openlamm lamm star https img shields io github stars mbzuai oryx video chatgpt svg style social label star br video chatgpt towards detailed video understanding via large vision and language models https arxiv org pdf 2306 05424 pdf br arxiv 2023 06 08 github https github com mbzuai oryx video chatgpt demo https www ival mbzuai com video chatgpt star https img shields io github stars luodian otter svg style social label star br mi it multi modal in context instruction tuning https arxiv org pdf 2306 05425 pdf br arxiv 2023 06 08 github https github com luodian otter demo https otter cliangyu com m sup 3 sup it a large scale dataset towards multi modal multilingual instruction tuning https arxiv org pdf 2306 04387 pdf arxiv 2023 06 07 star https img shields io github stars damo nlp sg video llama svg style social label star br video llama an instruction tuned audio visual language model for video understanding https arxiv org pdf 2306 02858 pdf br arxiv 2023 06 05 github https github com damo nlp sg video llama demo https huggingface co spaces damo nlp sg video llama star https img shields io github stars microsoft llava med svg style social label star br llava med training a large language and vision assistant for biomedicine in one day https arxiv org pdf 2306 00890 pdf br arxiv 2023 06 01 github https github com microsoft llava med star https img shields io github stars stevengrove gpt4tools svg style social label star br gpt4tools teaching large language model to use tools via self instruction https arxiv org pdf 2305 18752 pdf br arxiv 2023 05 30 github https github com stevengrove gpt4tools demo https huggingface co spaces stevengrove gpt4tools star https img shields io github stars yxuansu pandagpt svg style social label star br pandagpt one model to instruction follow them all https arxiv org pdf 2305 16355 pdf br arxiv 2023 05 25 github https github com yxuansu pandagpt demo https huggingface co spaces gmftby pandagpt star https img shields io github stars joez17 chatbridge svg style social label star br chatbridge bridging modalities with large language model as a language catalyst https arxiv org pdf 2305 16103 pdf br arxiv 2023 05 25 github https github com joez17 chatbridge star https img shields io github stars luogen1996 lavin svg style social label star br cheap and quick efficient vision language instruction tuning for large language models https arxiv org pdf 2305 15023 pdf br arxiv 2023 05 24 github https github com luogen1996 lavin local demo star https img shields io github stars optimalscale detgpt svg style social label star br detgpt detect what you need via reasoning https arxiv org pdf 2305 14167 pdf br arxiv 2023 05 23 github https github com optimalscale detgpt demo https d3c431c0c77b1d9010 gradio live star https img shields io github stars microsoft pengi svg style social label star br pengi an audio language model for audio tasks https arxiv org pdf 2305 11834 pdf br arxiv 2023 05 19 github https github com microsoft pengi star https img shields io github stars opengvlab visionllm svg style social label star br visionllm large language model is also an open ended decoder for vision centric tasks https arxiv org pdf 2305 11175 pdf br arxiv 2023 05 18 github https github com opengvlab visionllm star https img shields io github stars yuangongnd ltu svg style social label star br listen think and understand https arxiv org pdf 2305 10790 pdf br arxiv 2023 05 18 github https github com yuangongnd ltu demo https github com yuangongnd ltu star https img shields io github stars thudm visualglm 6b svg style social label star br visualglm 6b br 2023 05 17 github https github com thudm visualglm 6b local demo star https img shields io github stars xiaoman zhang pmc vqa svg style social label star br pmc vqa visual instruction tuning for medical visual question answering https arxiv org pdf 2305 10415 pdf br arxiv 2023 05 17 github https github com xiaoman zhang pmc vqa star https img shields io github stars salesforce lavis svg style social label star br instructblip towards general purpose vision language models with instruction tuning https arxiv org pdf 2305 06500 pdf br arxiv 2023 05 11 github https github com salesforce lavis tree main projects instructblip local demo star https img shields io github stars opengvlab ask anything svg style social label star br videochat chat centric video understanding https arxiv org pdf 2305 06355 pdf br arxiv 2023 05 10 github https github com opengvlab ask anything demo https ask opengvlab com star https img shields io github stars open mmlab multimodal gpt svg style social label star br multimodal gpt a vision and language model for dialogue with humans https arxiv org pdf 2305 04790 pdf br arxiv 2023 05 08 github https github com open mmlab multimodal gpt demo https mmgpt openmmlab org cn star https img shields io github stars phellonchen x llm svg style social label star br x llm bootstrapping advanced large language models by treating multi modalities as foreign languages https arxiv org pdf 2305 04160 pdf br arxiv 2023 05 07 github https github com phellonchen x llm star https img shields io github stars yunxinli lingcloud svg style social label star br lmeye an interactive perception network for large language models https arxiv org pdf 2305 03701 pdf br arxiv 2023 05 05 github https github com yunxinli lingcloud local demo star https img shields io github stars opengvlab llama adapter svg style social label star br llama adapter v2 parameter efficient visual instruction model https arxiv org pdf 2304 15010 pdf br arxiv 2023 04 28 github https github com opengvlab llama adapter demo http llama adapter opengvlab com star https img shields io github stars x plug mplug owl svg style social label star br mplug owl modularization empowers large language models with multimodality https arxiv org pdf 2304 14178 pdf br arxiv 2023 04 27 github https github com x plug mplug owl demo https huggingface co spaces magaer13 mplug owl star https img shields io github stars vision cair minigpt 4 svg style social label star br minigpt 4 enhancing vision language understanding with advanced large language models https arxiv org pdf 2304 10592 pdf br arxiv 2023 04 20 github https github com vision cair minigpt 4 star https img shields io github stars haotian liu llava svg style social label star br visual instruction tuning https arxiv org pdf 2304 08485 pdf br neurips 2023 04 17 github https github com haotian liu llava demo https llava hliu cc star https img shields io github stars opengvlab llama adapter svg style social label star br llama adapter efficient fine tuning of language models with zero init attention https arxiv org pdf 2303 16199 pdf br arxiv 2023 03 28 github https github com opengvlab llama adapter demo https huggingface co spaces csuhan llama adapter star https img shields io github stars vt nlp multiinstruct svg style social label star br multiinstruct improving multi modal zero shot learning via instruction tuning https arxiv org pdf 2212 10773 pdf br acl 2022 12 21 github https github com vt nlp multiinstruct multimodal in context learning title venue date code demo star https img shields io github stars haozhezhao mic svg style social label star br mmicl empowering vision language model with multi modal in context learning https arxiv org pdf 2309 07915 pdf br arxiv 2023 09 14 github https github com haozhezhao mic demo https 8904cdd23621858859 gradio live star https img shields io github stars isekai portal link context learning svg style social label star br link context learning for multimodal llms https arxiv org pdf 2308 07891 pdf br arxiv 2023 08 15 github https github com isekai portal link context learning demo http 117 144 81 99 20488 star https img shields io github stars mlfoundations open flamingo svg style social label star br openflamingo an open source framework for training large autoregressive vision language models https arxiv org pdf 2308 01390 pdf br arxiv 2023 08 02 github https github com mlfoundations open flamingo demo https huggingface co spaces openflamingo openflamingo star https img shields io github stars snap stanford med flamingo svg style social label star br med flamingo a multimodal medical few shot learner https arxiv org pdf 2307 15189 pdf br arxiv 2023 07 27 github https github com snap stanford med flamingo local demo star https img shields io github stars baaivision emu svg style social label star br generative pretraining in multimodality https arxiv org pdf 2307 05222 pdf br arxiv 2023 07 11 github https github com baaivision emu demo http 218 91 113 230 9002 avis autonomous visual information seeking with large language models https arxiv org pdf 2306 08129 pdf arxiv 2023 06 13 star https img shields io github stars luodian otter svg style social label star br mimic it multi modal in context instruction tuning https arxiv org pdf 2306 05425 pdf br arxiv 2023 06 08 github https github com luodian otter demo https otter cliangyu com star https img shields io github stars lupantech chameleon llm svg style social label star br chameleon plug and play compositional reasoning with large language models https arxiv org pdf 2304 09842 pdf br arxiv 2023 04 19 github https github com lupantech chameleon llm demo https chameleon llm github io star https img shields io github stars microsoft jarvis svg style social label star br hugginggpt solving ai tasks with chatgpt and its friends in huggingface https arxiv org pdf 2303 17580 pdf br arxiv 2023 03 30 github https github com microsoft jarvis demo https huggingface co spaces microsoft hugginggpt star https img shields io github stars microsoft mm react svg style social label star br mm react prompting chatgpt for multimodal reasoning and action https arxiv org pdf 2303 11381 pdf br arxiv 2023 03 20 github https github com microsoft mm react demo https huggingface co spaces microsoft cognitive service mm react star https img shields io github stars maehcm icl d3ie svg style social label star br icl d3ie in context learning with diverse demonstrations updating for document information extraction https arxiv org pdf 2303 05063 pdf br iccv 2023 03 09 github https github com maehcm icl d3ie star https img shields io github stars milvlg prophet svg style social label star br prompting large language models with answer heuristics for knowledge based visual question answering https arxiv org pdf 2303 01903 pdf br cvpr 2023 03 03 github https github com milvlg prophet star https img shields io github stars allenai visprog svg style social label star br visual programming compositional visual reasoning without training https openaccess thecvf com content cvpr2023 papers gupta visual programming compositional visual reasoning without training cvpr 2023 paper pdf br cvpr 2022 11 18 github https github com allenai visprog local demo star https img shields io github stars microsoft pica svg style social label star br an empirical study of gpt 3 for few shot knowledge based vqa https ojs aaai org index php aaai article download 20215 19974 br aaai 2022 06 28 github https github com microsoft pica star https img shields io github stars mlfoundations open flamingo svg style social label star br flamingo a visual language model for few shot learning https arxiv org pdf 2204 14198 pdf br neurips 2022 04 29 github https github com mlfoundations open flamingo demo https huggingface co spaces dhansmair flamingo mini cap multimodal few shot learning with frozen language models https arxiv org pdf 2106 13884 pdf neurips 2021 06 25 multimodal chain of thought title venue date code demo star https img shields io github stars shikras shikra svg style social label star br shikra unleashing multimodal llm s referential dialogue magic https arxiv org pdf 2306 15195 pdf br arxiv 2023 06 27 github https github com shikras shikra demo http demo zhaozhang net 7860 star https img shields io github stars zeroqiaoba explainable multimodal emotion reasoning svg style social label star br explainable multimodal emotion reasoning https arxiv org pdf 2306 15401 pdf br arxiv 2023 06 27 github https github com zeroqiaoba explainable multimodal emotion reasoning star https img shields io github stars embodiedgpt embodiedgpt pytorch svg style social label star br embodiedgpt vision language pre training via embodied chain of thought https arxiv org pdf 2305 15021 pdf br arxiv 2023 05 24 github https github com embodiedgpt embodiedgpt pytorch let s think frame by frame evaluating video chain of thought with video infilling and prediction https arxiv org pdf 2305 13903 pdf arxiv 2023 05 23 t sciq teaching multimodal chain of thought reasoning via large language model signals for science question answering https arxiv org pdf 2305 03453 pdf arxiv 2023 05 05 star https img shields io github stars ttengwang caption anything svg style social label star br caption anything interactive image description with diverse multimodal controls https arxiv org pdf 2305 02677 pdf br arxiv 2023 05 04 github https github com ttengwang caption anything demo https huggingface co spaces tencentarc caption anything visual chain of thought bridging logical gaps with multimodal infillings https arxiv org pdf 2305 02317 pdf arxiv 2023 05 03 coming soon https github com dannyrose30 vcot star https img shields io github stars lupantech chameleon llm svg style social label star br chameleon plug and play compositional reasoning with large language models https arxiv org pdf 2304 09842 pdf br arxiv 2023 04 19 github https github com lupantech chameleon llm demo https chameleon llm github io chain of thought prompt tuning in vision language models https arxiv org pdf 2304 07919 pdf arxiv 2023 04 16 coming soon star https img shields io github stars microsoft mm react svg style social label star br mm react prompting chatgpt for multimodal reasoning and action https arxiv org pdf 2303 11381 pdf br arxiv 2023 03 20 github https github com microsoft mm react demo https huggingface co spaces microsoft cognitive service mm react star https img shields io github stars microsoft taskmatrix svg style social label star br visual chatgpt talking drawing and editing with visual foundation models https arxiv org pdf 2303 04671 pdf br arxiv 2023 03 08 github https github com microsoft taskmatrix demo https huggingface co spaces microsoft visual chatgpt star https img shields io github stars amazon science mm cot svg style social label star br multimodal chain of thought reasoning in language models https arxiv org pdf 2302 00923 pdf br arxiv 2023 02 02 github https github com amazon science mm cot star https img shields io github stars allenai visprog svg style social label star br visual programming compositional visual reasoning without training https openaccess thecvf com content cvpr2023 papers gupta visual programming compositional visual reasoning without training cvpr 2023 paper pdf br cvpr 2022 11 18 github https github com allenai visprog local demo star https img shields io github stars lupantech scienceqa svg style social label star br learn to explain multimodal reasoning via thought chains for science question answering https proceedings neurips cc paper files paper 2022 file 11332b6b6cf4485b84afadb1352d3a9a paper conference pdf br neurips 2022 09 20 github https github com lupantech scienceqa llm aided visual reasoning title venue date code demo star https img shields io github stars mindagent mindagent svg style social label star br mindagent emergent gaming interaction https arxiv org pdf 2309 09971 pdf br arxiv 2023 09 18 github https github com mindagent mindagent star https img shields io github stars dvlab research lisa svg style social label star br lisa reasoning segmentation via large language model https arxiv org pdf 2308 00692 pdf br arxiv 2023 08 01 github https github com dvlab research lisa demo http 103 170 5 190 7860 star https img shields io github stars contextualai lens svg style social label star br towards language models that can see computer vision through the lens of natural language https arxiv org pdf 2306 16410 pdf br arxiv 2023 06 28 github https github com contextualai lens demo https lens contextual ai retrieving to answer zero shot video question answering with frozen large language models https arxiv org pdf 2306 11732 pdf arxiv 2023 06 15 star https img shields io github stars showlab assistgpt svg style social label star br assistgpt a general multi modal assistant that can plan execute inspect and learn https arxiv org pdf 2306 08640 pdf br arxiv 2023 06 14 github https github com showlab assistgpt avis autonomous visual information seeking with large language models https arxiv org pdf 2306 08129 pdf arxiv 2023 06 13 star https img shields io github stars stevengrove gpt4tools svg style social label star br gpt4tools teaching large language model to use tools via self instruction https arxiv org pdf 2305 18752 pdf br arxiv 2023 05 30 github https github com stevengrove gpt4tools demo https c60eb7e9400930f31b gradio live mindstorms in natural language based societies of mind https arxiv org pdf 2305 17066 pdf arxiv 2023 05 26 star https img shields io github stars weixi feng layoutgpt svg style social label star br layoutgpt compositional visual planning and generation with large language models https arxiv org pdf 2305 15393 pdf br arxiv 2023 05 24 github https github com weixi feng layoutgpt star https img shields io github stars hxyou idealgpt svg style social label star br idealgpt iteratively decomposing vision and language reasoning via large language models https arxiv org pdf 2305 14985 pdf br arxiv 2023 05 24 github https github com hxyou idealgpt local demo star https img shields io github stars matrix alpha accountable textual visual chat svg style social label star br accountable textual visual chat learns to reject human instructions in image re creation https arxiv org pdf 2303 05983 pdf br arxiv 2023 05 10 github https github com matrix alpha accountable textual visual chat star https img shields io github stars ttengwang caption anything svg style social label star br caption anything interactive image description with diverse multimodal controls https arxiv org pdf 2305 02677 pdf br arxiv 2023 05 04 github https github com ttengwang caption anything demo https huggingface co spaces tencentarc caption anything star https img shields io github stars lupantech chameleon llm svg style social label star br chameleon plug and play compositional reasoning with large language models https arxiv org pdf 2304 09842 pdf br arxiv 2023 04 19 github https github com lupantech chameleon llm demo https chameleon llm github io star https img shields io github stars microsoft jarvis svg style social label star br hugginggpt solving ai tasks with chatgpt and its friends in huggingface https arxiv org pdf 2303 17580 pdf br arxiv 2023 03 30 github https github com microsoft jarvis demo https huggingface co spaces microsoft hugginggpt star https img shields io github stars microsoft mm react svg style social label star br mm react prompting chatgpt for multimodal reasoning and action https arxiv org pdf 2303 11381 pdf br arxiv 2023 03 20 github https github com microsoft mm react demo https huggingface co spaces microsoft cognitive service mm react star https img shields io github stars cvlab columbia viper svg style social label star br vipergpt visual inference via python execution for reasoning https arxiv org pdf 2303 08128 pdf br arxiv 2023 03 14 github https github com cvlab columbia viper local demo star https img shields io github stars vision cair chatcaptioner svg style social label star br chatgpt asks blip 2 answers automatic questioning towards enriched visual descriptions https arxiv org pdf 2303 06594 pdf br arxiv 2023 03 12 github https github com vision cair chatcaptioner local demo icl d3ie in context learning with diverse demonstrations updating for document information extraction https arxiv org pdf 2303 05063 pdf iccv 2023 03 09 star https img shields io github stars microsoft taskmatrix svg style social label star br visual chatgpt talking drawing and editing with visual foundation models https arxiv org pdf 2303 04671 pdf br arxiv 2023 03 08 github https github com microsoft taskmatrix demo https huggingface co spaces microsoft visual chatgpt star https img shields io github stars zrrskywalker cafo svg style social label star br prompt generate then cache cascade of foundation models makes strong few shot learners https arxiv org pdf 2303 02151 pdf br cvpr 2023 03 03 github https github com zrrskywalker cafo star https img shields io github stars vishaal27 sus x svg style social label star br sus x training free name only transfer of vision language models https arxiv org pdf 2211 16198 pdf br arxiv 2022 11 28 github https github com vishaal27 sus x star https img shields io github stars yangyangyang127 pointclip v2 svg style social label star br pointclip v2 adapting clip for powerful 3d open world learning https arxiv org pdf 2211 11682 pdf br cvpr 2022 11 21 github https github com yangyangyang127 pointclip v2 star https img shields io github stars allenai visprog svg style social label star br visual programming compositional visual reasoning without training https openaccess thecvf com content cvpr2023 papers gupta visual programming compositional visual reasoning without training cvpr 2023 paper pdf br cvpr 2022 11 18 github https github com allenai visprog local demo star https img shields io github stars google research google research svg style social label star br socratic models composing zero shot multimodal reasoning with language https arxiv org pdf 2204 00598 pdf br arxiv 2022 04 01 github https github com google research google research tree master socraticmodels foundation models title venue date code demo fuyu 8b a multimodal architecture for ai agents https www adept ai blog fuyu 8b blog 2023 10 17 huggingface https huggingface co adept fuyu 8b demo https huggingface co adept fuyu 8b star https img shields io github stars mshukor unival svg style social label star br unified model for image video audio and language tasks https arxiv org pdf 2307 16184 pdf br arxiv 2023 07 30 github https github com mshukor unival demo https huggingface co spaces mshukor unival pali 3 vision language models smaller faster stronger https arxiv org pdf 2310 09199 pdf arxiv 2023 10 13 gpt 4v ision system card https cdn openai com papers gptv system card pdf openai 2023 09 25 star https img shields io github stars jy0205 lavit svg style social label star br unified language vision pretraining in llm with dynamic discrete visual tokenization https arxiv org pdf 2309 04669 pdf br arxiv 2023 09 09 github https github com jy0205 lavit multimodal foundation models from specialists to general purpose assistants https browse arxiv org pdf 2309 10020 pdf arxiv 2023 09 18 star https img shields io github stars baaivision emu svg style social label star br generative pretraining in multimodality https arxiv org pdf 2307 05222 pdf br arxiv 2023 07 11 github https github com baaivision emu demo http 218 91 113 230 9002 star https img shields io github stars microsoft unilm svg style social label star br kosmos 2 grounding multimodal large language models to the world https arxiv org pdf 2306 14824 pdf br arxiv 2023 06 26 github https github com microsoft unilm tree master kosmos 2 demo https aka ms kosmos 2 demo star https img shields io github stars vpgtrans vpgtrans svg style social label star br transfer visual prompt generator across llms https arxiv org pdf 2305 01278 pdf br arxiv 2023 05 02 github https github com vpgtrans vpgtrans demo https 3fc7715dbc44234a7f gradio live gpt 4 technical report https arxiv org pdf 2303 08774 pdf arxiv 2023 03 15 palm e an embodied multimodal language model https arxiv org pdf 2303 03378 pdf arxiv 2023 03 06 demo https palm e github io demo star https img shields io github stars nvlabs prismer svg style social label star br prismer a vision language model with an ensemble of experts https arxiv org pdf 2303 02506 pdf br arxiv 2023 03 04 github https github com nvlabs prismer demo https huggingface co spaces lorenmt prismer star https img shields io github stars microsoft unilm svg style social label star br language is not all you need aligning perception with language models https arxiv org pdf 2302 14045 pdf br arxiv 2023 02 27 github https github com microsoft unilm star https img shields io github stars salesforce lavis svg style social label star br blip 2 bootstrapping language image pre training with frozen image encoders and large language models https arxiv org pdf 2301 12597 pdf br arxiv 2023 01 30 github https github com salesforce lavis tree main projects blip2 demo https colab research google com github salesforce lavis blob main examples blip2 instructed generation ipynb star https img shields io github stars vimalabs vima svg style social label star br vima general robot manipulation with multimodal prompts https arxiv org pdf 2210 03094 pdf br icml 2022 10 06 github https github com vimalabs vima local demo star https img shields io github stars minedojo minedojo svg style social label star br minedojo building open ended embodied agents with internet scale knowledge https arxiv org pdf 2206 08853 pdf br neurips 2022 06 17 github https github com minedojo minedojo star https img shields io github stars microsoft unilm svg style social label star br language models are general purpose interfaces https arxiv org pdf 2206 06336 pdf br arxiv 2022 06 13 github https github com microsoft unilm evaluation title venue date page star https img shields io github stars ys zong foolyourvllms svg style social label star br fool your vision and language model with embarrassingly simple permutations https arxiv org pdf 2310 01651 pdf br arxiv 2023 10 02 github https github com ys zong foolyourvllms star https img shields io github stars mshukor evalign icl svg style social label star br beyond task performance evaluating and reducing the flaws of large multimodal models with in context learning https arxiv org pdf 2310 00647 pdf br arxiv 2023 10 01 github https github com mshukor evalign icl star https img shields io github stars zjunlp easyedit svg style social label star br can we edit multimodal large language models https arxiv org pdf 2310 08475 pdf br arxiv 2023 10 12 github https github com zjunlp easyedit star https img shields io github stars liaoning97 revo lion svg style social label star br revo lion evaluating and refining vision language instruction tuning datasets https arxiv org pdf 2310 06594 pdf br arxiv 2023 10 10 github https github com liaoning97 revo lion the dawn of lmms preliminary explorations with gpt 4v vision https arxiv org pdf 2309 17421 pdf arxiv 2023 09 29 star https img shields io github stars ofa sys touchstone svg style social label star br touchstone evaluating vision language models by language models https arxiv org pdf 2308 16890 pdf br arxiv 2023 08 31 github https github com ofa sys touchstone star https img shields io github stars hypjudy sparkles svg style social label star br sparkles unlocking chats across multiple images for multimodal instruction following models https arxiv org pdf 2308 16463 pdf br arxiv 2023 08 31 github https github com hypjudy sparkles sparkleseval star https img shields io github stars findalexli scigraphqa svg style social label star br scigraphqa a large scale synthetic multi turn question answering dataset for scientific graphs https arxiv org pdf 2308 03349 pdf br arxiv 2023 08 07 github https github com findalexli scigraphqa star https img shields io github stars opengvlab multi modality arena svg style social label star br tiny lvlm ehub early multimodal experiments with bard https arxiv org pdf 2308 03729 pdf br arxiv 2023 08 07 github https github com opengvlab multi modality arena star https img shields io github stars yuweihao mm vet svg style social label star br mm vet evaluating large multimodal models for integrated capabilities https arxiv org pdf 2308 02490 pdf br arxiv 2023 08 04 github https github com yuweihao mm vet star https img shields io github stars ailab cvc seed bench svg style social label star br seed bench benchmarking multimodal llms with generative comprehension https arxiv org pdf 2307 16125 pdf br arxiv 2023 07 30 github https github com ailab cvc seed bench star https img shields io github stars internlm opencompass svg style social label star br mmbench is your multi modal model an all around player https arxiv org pdf 2307 06281 pdf br arxiv 2023 07 12 github https github com internlm opencompass star https img shields io github stars bradyfu awesome multimodal large language models svg style social label star br mme a comprehensive evaluation benchmark for multimodal large language models https arxiv org pdf 2306 13394 pdf br arxiv 2023 06 23 github https github com bradyfu awesome multimodal large language models tree evaluation star https img shields io github stars opengvlab multi modality arena svg style social label star br lvlm ehub a comprehensive evaluation benchmark for large vision language models https arxiv org pdf 2306 09265 pdf br arxiv 2023 06 15 github https github com opengvlab multi modality arena star https img shields io github stars openlamm lamm svg style social label star br lamm language assisted multi modal instruction tuning dataset framework and benchmark https arxiv org pdf 2306 06687 pdf br arxiv 2023 06 11 github https github com openlamm lamm lamm benchmark star https img shields io github stars damo nlp sg m3exam svg style social label star br m3exam a multilingual multimodal multilevel benchmark for examining large language models https arxiv org pdf 2306 05179 pdf br arxiv 2023 06 08 github https github com damo nlp sg m3exam others title venue date code demo evaluation and mitigation of agnosia in multimodal large language models https arxiv org pdf 2309 04041 pdf arxiv 2023 09 07 star https img shields io github stars ailab cvc seed svg style social label star br planting a seed of vision in large language model https arxiv org pdf 2307 08041 pdf br arxiv 2023 07 16 github https github com ailab cvc seed star https img shields io github stars huawei noah efficient computing svg style social label star br can large pre trained models help vision models on perception tasks https arxiv org pdf 2306 00693 pdf br arxiv 2023 06 01 github https github com huawei noah efficient computing tree master gpt4image star https img shields io github stars yuhangzang contextdet svg style social label star br contextual object detection with multimodal large language models https arxiv org pdf 2305 18279 pdf br arxiv 2023 05 29 github https github com yuhangzang contextdet demo https huggingface co spaces yuhangzang contextdet demo star https img shields io github stars kohjingyu gill svg style social label star br generating images with multimodal language models https arxiv org pdf 2305 17216 pdf br arxiv 2023 05 26 github https github com kohjingyu gill star https img shields io github stars yunqing me attackvlm svg style social label star br on evaluating adversarial robustness of large vision language models https arxiv org pdf 2305 16934 pdf br arxiv 2023 05 26 github https github com yunqing me attackvlm star https img shields io github stars rucaibox pope svg style social label star br evaluating object hallucination in large vision language models https arxiv org pdf 2305 10355 pdf br arxiv 2023 05 17 github https github com rucaibox pope star https img shields io github stars kohjingyu fromage svg style social label star br grounding language models to images for multimodal inputs and outputs https arxiv org pdf 2301 13823 pdf br icml 2023 01 31 github https github com kohjingyu fromage demo https huggingface co spaces jykoh fromage awesome datasets datasets of pre training for alignment name paper type modalities as 1b the all seeing project towards panoptic visual recognition and understanding of the open world https arxiv org pdf 2308 01907 pdf hybrid image text internvid internvid a large scale video text dataset for multimodal understanding and generation https arxiv org pdf 2307 06942 pdf caption video text ms coco microsoft coco common objects in context https arxiv org pdf 1405 0312 pdf caption image text sbu captions im2text describing images using 1 million captioned photographs https proceedings neurips cc paper 2011 file 5dd9db5e033da9c6fb5ba83c7a7ebea9 paper pdf caption image text conceptual captions conceptual captions a cleaned hypernymed image alt text dataset for automatic image captioning https aclanthology org p18 1238 pdf caption image text laion 400m laion 400m open dataset of clip filtered 400 million image text pairs https arxiv org pdf 2111 02114 pdf caption image text vg captions visual genome connecting language and vision using crowdsourced dense image annotations https link springer com content pdf 10 1007 s11263 016 0981 7 pdf caption image text flickr30k flickr30k entities collecting region to phrase correspondences for richer image to sentence models https openaccess thecvf com content iccv 2015 papers plummer flickr30k entities collecting iccv 2015 paper pdf caption image text ai caps ai challenger a large scale dataset for going deeper in image understanding https arxiv org pdf 1711 06475 pdf caption image text wukong captions wukong a 100 million large scale chinese cross modal pre training benchmark https proceedings neurips cc paper files paper 2022 file a90b9a09a6ee43d6631cf42e225d73b4 paper datasets and benchmarks pdf caption image text grit kosmos 2 grounding multimodal large language models to the world https arxiv org pdf 2306 14824 pdf caption image text bounding box youku mplug youku mplug a 10 million large scale chinese video language dataset for pre training and benchmarks https arxiv org pdf 2306 04362 pdf caption video text msr vtt msr vtt a large video description dataset for bridging video and language https openaccess thecvf com content cvpr 2016 papers xu msr vtt a large cvpr 2016 paper pdf caption video text webvid10m frozen in time a joint video and image encoder for end to end retrieval https arxiv org pdf 2104 00650 pdf caption video text wavcaps wavcaps a chatgpt assisted weakly labelled audio captioning dataset for audio language multimodal research https arxiv org pdf 2303 17395 pdf caption audio text aishell 1 aishell 1 an open source mandarin speech corpus and a speech recognition baseline https arxiv org pdf 1709 05522 pdf asr audio text aishell 2 aishell 2 transforming mandarin asr research into industrial scale https arxiv org pdf 1808 10583 pdf asr audio text vsdial cn x llm bootstrapping advanced large language models by treating multi modalities as foreign languages https arxiv org pdf 2305 04160 pdf asr image audio text datasets of multimodal instruction tuning name paper link notes sparklesdialogue sparkles unlocking chats across multiple images for multimodal instruction following models https arxiv org pdf 2308 16463 pdf link https github com hypjudy sparkles sparklesdialogue a machine generated dialogue dataset tailored for word level interleaved multi image and text interactions to augment the conversational competence of instruction following llms across multiple images and dialogue turns stablellava stablellava enhanced visual instruction tuning with synthesized image dialogue data https arxiv org pdf 2308 10253v1 pdf link https github com icoz69 stablellava a cheap and effective approach to collect visual instruction tuning data m haldetect detecting and preventing hallucinations in large vision language models https arxiv org pdf 2308 06394 pdf coming soon a dataset used to train and benchmark models for hallucination detection and prevention mgvlid chatspot bootstrapping multimodal llms via precise referring instruction tuning https arxiv org pdf 2307 09474 pdf a high quality instruction tuning dataset including image text and region text pairs bubogpt bubogpt enabling visual grounding in multi modal llms https arxiv org pdf 2307 08581 pdf link https huggingface co datasets magicr bubogpt a high quality instruction tuning dataset including audio text audio caption data and audio image text localization data svit svit scaling up visual instruction tuning https arxiv org pdf 2307 04087 pdf link https huggingface co datasets baai svit a large scale dataset with 4 2m informative visual instruction tuning data including conversations detailed descriptions complex reasoning and referring qas mplug docowl mplug docowl modularized multimodal large language model for document understanding https arxiv org pdf 2307 02499 pdf link https github com x plug mplug docowl tree main docllm an instruction tuning dataset featuring a wide range of visual text understanding tasks including ocr free document understanding pf 1m visual instruction tuning with polite flamingo https arxiv org pdf 2307 01003 pdf link https huggingface co datasets chendelong pf 1m tree main a collection of 37 vision language datasets with responses rewritten by polite flamingo llavar llavar enhanced visual instruction tuning for text rich image understanding https arxiv org pdf 2306 17107 pdf link https llavar github io data a visual instruction tuning dataset for text rich image understanding motiongpt motiongpt human motion as a foreign language https arxiv org pdf 2306 14795 pdf link https github com openmotionlab motiongpt a instruction tuning dataset including multiple human motion related tasks lrv instruction mitigating hallucination in large multi modal models via robust instruction tuning https arxiv org pdf 2306 14565 pdf link https github com fuxiaoliu lrv instruction visual instruction data lrv instruction visual instruction tuning dataset for addressing hallucination issue macaw llm macaw llm multi modal language modeling with image audio video and text integration https arxiv org pdf 2306 09093 pdf link https github com lyuchenyang macaw llm tree main data a large scale multi modal instruction dataset in terms of multi turn dialogue lamm dataset lamm language assisted multi modal instruction tuning dataset framework and benchmark https arxiv org pdf 2306 06687 pdf link https github com openlamm lamm lamm dataset a comprehensive multi modal instruction tuning dataset video chatgpt video chatgpt towards detailed video understanding via large vision and language models https arxiv org pdf 2306 05424 pdf link https github com mbzuai oryx video chatgpt video instruction dataset open file folder 100k high quality video instruction dataset mimic it mimic it multi modal in context instruction tuning https arxiv org pdf 2306 05425 pdf link https github com luodian otter blob main mimic it readme md multimodal in context instruction tuning m sup 3 sup it m sup 3 sup it a large scale dataset towards multi modal multilingual instruction tuning https arxiv org pdf 2306 04387 pdf link https huggingface co datasets mminstruction m3it large scale broad coverage multimodal instruction tuning dataset llava med llava med training a large language and vision assistant for biomedicine in one day https arxiv org pdf 2306 00890 pdf coming soon https github com microsoft llava med llava med dataset a large scale broad coverage biomedical instruction following dataset gpt4tools gpt4tools teaching large language model to use tools via self instruction https arxiv org pdf 2305 18752 pdf link https github com stevengrove gpt4tools dataset tool related instruction datasets multis chatbridge bridging modalities with large language model as a language catalyst https arxiv org pdf 2305 16103 pdf coming soon https iva chatbridge github io multimodal instruction tuning dataset covering 16 multimodal tasks detgpt detgpt detect what you need via reasoning https arxiv org pdf 2305 14167 pdf link https github com optimalscale detgpt tree main dataset instruction tuning dataset with 5000 images and around 30000 query answer pairs pmc vqa pmc vqa visual instruction tuning for medical visual question answering https arxiv org pdf 2305 10415 pdf coming soon https xiaoman zhang github io pmc vqa large scale medical visual question answering dataset videochat videochat chat centric video understanding https arxiv org pdf 2305 06355 pdf link https github com opengvlab internvideo tree main data instruction data video centric multimodal instruction dataset x llm x llm bootstrapping advanced large language models by treating multi modalities as foreign languages https arxiv org pdf 2305 04160 pdf link https github com phellonchen x llm chinese multimodal instruction dataset lmeye lmeye an interactive perception network for large language models https arxiv org pdf 2305 03701 pdf link https huggingface co datasets yunxinli multimodal insturction data v2 a multi modal instruction tuning dataset cc sbu align minigpt 4 enhancing vision language understanding with advanced large language models https arxiv org pdf 2304 10592 pdf link https huggingface co datasets vision cair cc sbu align multimodal aligned dataset for improving model s usability and generation s fluency llava instruct 150k visual instruction tuning https arxiv org pdf 2304 08485 pdf link https huggingface co datasets liuhaotian llava instruct 150k multimodal instruction following data generated by gpt multiinstruct multiinstruct improving multi modal zero shot learning via instruction tuning https arxiv org pdf 2212 10773 pdf link https github com vt nlp multiinstruct the first multimodal instruction tuning benchmark dataset datasets of in context learning name paper link notes mic mmicl empowering vision language model with multi modal in context learning https arxiv org pdf 2309 07915 pdf link https huggingface co datasets bleachnick mic full a manually constructed instruction tuning dataset including interleaved text image inputs inter related multiple image inputs and multimodal in context learning inputs mimic it mimic it multi modal in context instruction tuning https arxiv org pdf 2306 05425 pdf link https github com luodian otter blob main mimic it readme md multimodal in context instruction dataset datasets of multimodal chain of thought name paper link notes emer explainable multimodal emotion reasoning https arxiv org pdf 2306 15401 pdf coming soon https github com zeroqiaoba explainable multimodal emotion reasoning a benchmark dataset for explainable emotion reasoning task egocot embodiedgpt vision language pre training via embodied chain of thought https arxiv org pdf 2305 15021 pdf coming soon https github com embodiedgpt embodiedgpt pytorch large scale embodied planning dataset vip let s think frame by frame evaluating video chain of thought with video infilling and prediction https arxiv org pdf 2305 13903 pdf coming soon an inference time dataset that can be used to evaluate videocot scienceqa learn to explain multimodal reasoning via thought chains for science question answering https proceedings neurips cc paper files paper 2022 file 11332b6b6cf4485b84afadb1352d3a9a paper conference pdf link https github com lupantech scienceqa ghost download the dataset large scale multi choice dataset featuring multimodal science questions and diverse domains benchmarks for evaluation name paper link notes sparkleseval sparkles unlocking chats across multiple images for multimodal instruction following models https arxiv org pdf 2308 16463 pdf github https github com hypjudy sparkles sparkleseval a gpt assisted benchmark for quantitatively assessing a model s conversational competence across multiple images and dialogue turns based on three distinct criteria isekai link context learning for multimodal llms https arxiv org pdf 2308 07891 pdf link https huggingface co isekai portal a benchmark comprising exclusively of unseen generated image label pairs designed for link context learning m haldetect detecting and preventing hallucinations in large vision language models https arxiv org pdf 2308 06394 pdf coming soon a dataset used to train and benchmark models for hallucination detection and prevention i4 empowering vision language models to follow interleaved vision language instructions https arxiv org pdf 2308 04152 pdf link https github com dcdmllm cheetah a benchmark to comprehensively evaluate the instruction following ability on complicated interleaved vision language instructions scigraphqa scigraphqa a large scale synthetic multi turn question answering dataset for scientific graphs https arxiv org pdf 2308 03349 pdf link https github com findalexli scigraphqa data a large scale chart visual question answering dataset mm vet mm vet evaluating large multimodal models for integrated capabilities https arxiv org pdf 2308 02490 pdf link https github com yuweihao mm vet an evaluation benchmark that examines large multimodal models on complicated multimodal tasks seed bench seed bench benchmarking multimodal llms with generative comprehension https arxiv org pdf 2307 16125 pdf link https github com ailab cvc seed bench a benchmark for evaluation of generative comprehension in mllms mmbench mmbench is your multi modal model an all around player https arxiv org pdf 2307 06281 pdf link https github com internlm opencompass a systematically designed objective benchmark for robustly evaluating the various abilities of vision language models lynx what matters in training a gpt4 style language model with multimodal inputs https arxiv org pdf 2307 02469 pdf link https github com bytedance lynx llm prepare data a comprehensive evaluation benchmark including both image and video tasks gavie mitigating hallucination in large multi modal models via robust instruction tuning https arxiv org pdf 2306 14565 pdf link https github com fuxiaoliu lrv instruction evaluationgavie a benchmark to evaluate the hallucination and instruction following ability mme mme a comprehensive evaluation benchmark for multimodal large language models https arxiv org pdf 2306 13394 pdf link https github com bradyfu awesome multimodal large language models tree evaluation a comprehensive mllm evaluation benchmark lvlm ehub lvlm ehub a comprehensive evaluation benchmark for large vision language models https arxiv org pdf 2306 09265 pdf link https github com opengvlab multi modality arena an evaluation platform for mllms lamm benchmark lamm language assisted multi modal instruction tuning dataset framework and benchmark https arxiv org pdf 2306 06687 pdf link https github com openlamm lamm lamm benchmark a benchmark for evaluating the quantitative performance of mllms on various2d 3d vision tasks m3exam m3exam a multilingual multimodal multilevel benchmark for examining large language models https arxiv org pdf 2306 05179 pdf link https github com damo nlp sg m3exam a multilingual multimodal multilevel benchmark for evaluating mllm owleval mplug owl modularization empowers large language models with multimodality https arxiv org pdf 2304 14178 pdf link https github com x plug mplug owl tree main owleval dataset for evaluation on multiple capabilities others name paper link notes imad imad image augmented multi modal dialogue https arxiv org pdf 2305 10512 pdf link https github com vityavitalich imad multimodal dialogue dataset video chatgpt video chatgpt towards detailed video understanding via large vision and language models https arxiv org pdf 2306 05424 pdf link https github com mbzuai oryx video chatgpt quantitative evaluation bar chart a quantitative evaluation framework for video based dialogue models clevr atvc accountable textual visual chat learns to reject human instructions in image re creation https arxiv org pdf 2303 05983 pdf link https drive google com drive folders 1tqbzkyqxosg1hgcxf8jjpyiaurv uvft a synthetic multimodal fine tuning dataset for learning to reject instructions fruit atvc accountable textual visual chat learns to reject human instructions in image re creation https arxiv org pdf 2303 05983 pdf link https drive google com drive folders 1saaia2rrrb1nz5skdmpzyds4jhimdap0 a manually pictured multimodal fine tuning dataset for learning to reject instructions infoseek can pre trained vision and language models answer visual information seeking questions https arxiv org pdf 2302 11713 pdf link https open vision language github io infoseek a vqa dataset that focuses on asking information seeking questions oven open domain visual entity recognition towards recognizing millions of wikipedia entities https arxiv org pdf 2302 11154 pdf link https open vision language github io oven a dataset that focuses on recognizing the visual entity on the wikipedia from images in the wild | instruction-tuning instruction-following large-vision-language-model visual-instruction-tuning multi-modality in-context-learning large-language-models large-vision-language-models multimodal-chain-of-thought multimodal-in-context-learning multimodal-instruction-tuning multimodal-large-language-models visual-chain-of-thought visual-in-context-learning chain-of-thought | ai |
SQL_EmployeeDB | sql employee database project sql png figures sql png background this project s intent is to take a batch of csv s containing information on a compnay s employees and bring them into a sql database for ease of querying the project scope involves three main tasks data modeling data engineering and data analysis 1 data modeling inspect the csvs and sketch a database design for the tables 2 data engineering create a table schema for each of the six csv tables create the tables in postgresql 3 data analysis answer the provided research questions tools used postgresql python matplotlib excel data modeling db design figures dbd png database erd diagram was created using http www quickdatabasediagrams com http www quickdatabasediagrams com the modeling process is an intuitive process that helps us gain a better understanding of our database in this step we identify primary keys as well as foreign keys define datatypes and determine relationships for some tables like with the employees and departments tables this is simple since each record is unique and has a numeric id for other it is more nuanced and requires the creation of composite keys data engineering with our diagram complete we can move on the creating the tables in postgresql in the user interface we design queries that follow a general structure create table employees employee no int primary key birth date date first name varchar 255 last name varchar 255 gender varchar 255 hire date date with our tables created we can import the csv data data analysis research questions 1 list the following details of each employee employee number last name first name gender and salary select employees employee no employees last name employees first name employees gender salaries salary from employees inner join salaries on employees employee no salaries employee no 2 list employees who were hired in 1986 select first name last name hire date from employees where extract year from hire date 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 select deptmanagers dept no departments dept name deptmanagers employee no employees last name employees first name deptmanagers start date deptmanagers end date from deptmanagers left join departments on deptmanagers dept no departments dept no inner join employees on deptmanagers employee no employees employee no 4 list the department of each employee with the following information employee number last name first name and department name select deptemployees employee no employees last name employees first name departments dept name from deptemployees left join departments on deptemployees dept no departments dept no inner join employees on deptemployees employee no employees employee no 5 list all employees whose first name is hercules and last names begin with b select first name last name from employees where first name hercules and last name like b 6 list all employees in the sales department including their employee number last name first name and department name select deptemployees employee no employees last name employees first name departments dept name from deptemployees left join departments on deptemployees dept no departments dept no inner join employees on deptemployees employee no employees employee no where dept name sales 7 list all employees in the sales and development departments including their employee number last name first name and department name select deptemployees employee no employees last name employees first name departments dept name from deptemployees left join departments on deptemployees dept no departments dept no inner join employees on deptemployees employee no employees employee no where dept name in sales development 8 in descending order list the frequency count of employee last names i e how many employees share each last name select last name count last name as name count from employees group by last name order by name count desc bonus optional as you examine the data you are overcome with a creeping suspicion that the dataset is fake you surmise that your boss handed you spurious data in order to test the data engineering skills of a new employee to confirm your hunch you decide to take the following steps to generate a visualization of the data with which you will confront your boss 1 import the sql database into pandas yes you could read the csvs directly in pandas but you are after all trying to prove your technical mettle this step may require some research feel free to use the code below to get started be sure to make any necessary modifications for your username password host port and database name sql from sqlalchemy import create engine engine create engine postgresql localhost 5432 your db name connection engine connect consult sqlalchemy documentation https docs sqlalchemy org en latest core engines html postgresql for more information if using a password do not upload your password to your github repository see https www youtube com watch v 2uatpmnvh0i https www youtube com watch v 2uatpmnvh0i and https martin thoma com configuration files in python https martin thoma com configuration files in python for more information 2 create a histogram to visualize the most common salary ranges for employees db design figures salarydist png from the histogram we can see that the majority of salaries have fallen into the 40 000 45 000 range the upper bound for all salaries seems to be around 120 000 3 create a bar chart of average salary by title avgsals figures avgsaltitle png looking at average salary by title we see an even distribution that hovers around 50 000 for all titles except for senior staff and staff who are closer to 60 000 copyright trilogy education services 2019 all rights reserved | server |
|
WeatherAndroidApp | weatherandroidapp this is a mobile app version of weatherappangular repository which forecasts daily hourly and weekly weather the android weather app is built using java xml android sdk node js twitter api bootstrap and android studio for android app development the backend node js that uses ip api for current location and darksky net api for any location is hosted on amazon web services aws google api is used to achieve autocomplete functionality while entering the location you want to forecast the weather this app also capable of storing favorite locations using android local storage shared preferences third party libraries like volley picasso have also been used youtube preview https www youtube com watch v t icyor0n4c note build and gradle files have not been added copyright this android app was built as a part of csci 571 course at usc taught by professor marco papa | server |
|
stm32f4-FreeRTOS-uart-interrupt-queue | stm32f4 asynchronous interrupt both receive transmit free rtos queue application stm32f4 hal uart stm32cube stm32cubeide rtos freertos if you encounter the problem of using uart with hal of stm32 microcontrollers you should check out this small application i have tested it on macos so there might be some issue if you are using different os please let me know if it so basically you need to do 3 steps to make uart interrupt works 1 configure it correctly here are 2 functions needed to do it stm32cubeide will generate it automatically but check back once again is not redundant c static void mx nvic init void usart2 irqn interrupt configuration hal nvic setpriority usart2 irqn 5 0 hal nvic enableirq usart2 irqn static void mx usart2 uart init void user code begin usart2 init 0 user code end usart2 init 0 user code begin usart2 init 1 user code end usart2 init 1 huart2 instance usart2 huart2 init baudrate 115200 huart2 init wordlength uart wordlength 8b huart2 init stopbits uart stopbits 1 huart2 init parity uart parity none huart2 init mode uart mode tx rx huart2 init hwflowctl uart hwcontrol none huart2 init oversampling uart oversampling 16 if hal uart init huart2 hal ok error handler user code begin usart2 init 2 user code end usart2 init 2 static void mx gpio init void usart2 gpio configuration pa2 usart2 tx pa3 usart2 rx gpio initstruct uart2 pin gpio pin 2 gpio pin 3 gpio initstruct uart2 mode gpio mode af pp gpio initstruct uart2 pull gpio pullup gpio initstruct uart2 speed gpio speed low gpio initstruct uart2 alternate gpio af7 usart2 hal gpio init gpioa gpio initstruct uart2 1 write an interrupt handle in your main function if you don t do it uart interrupt wont work make sure the pattern you use in this function match with the one in the callback func c this is needed to wake up uart interrupt it s format has to be consistent with one in hal uart rxcpltcallback hal uart receive it huart2 byte 1 3 callback handler here the autogenerated code said that you can put some code here to handle the interrupt but it takes me too much time to figure out it does not work like using the spl may be i need to learn more please slap me in the face with knowledge if you know why and how thank you c void usart2 irqhandler void user code begin usart2 irqn 0 user code end usart2 irqn 0 hal uart irqhandler huart2 user code begin usart2 irqn 1 user code end usart2 irqn 1 user code begin 1 this callback is called by the hal uart irqhandler when the given number of bytes are received void hal uart rxcpltcallback uart handletypedef huart if huart instance usart2 basetype t xhigherprioritytaskwoken pdfalse transmit one byte with 100 ms timeout receive one byte in interrupt mode hal uart receive it huart2 byte 1 cmd buffer cmd len byte 0xff check for enter cmd finish input if byte r response to confirm message received char msg 50 ryour command is hal uart transmit huart2 msg sizeof msg 100 there is a n at cmd buffer 0 if cmd buffer 0 n hal uart transmit huart2 cmd buffer 1 cmd len 2 100 else hal uart transmit huart2 cmd buffer cmd len 1 100 char msg1 50 r n hal uart transmit huart2 msg1 sizeof msg1 100 cmd len 0 user finished entering data notify cmd handing task xtasknotifyfromisr menudisplaytaskhandle 0 enoaction xhigherprioritytaskwoken xtasknotifyfromisr cmdhandlingtaskhandle 0 enoaction xhigherprioritytaskwoken yield if xhigherprioritytaskwoken taskyield | os |
|
mars-tank-prototype | mars tank prototype welcome to the mars tank prototype project this document provides an overview of the project its objectives current status and future plans overview the primary aim of this project is to create a fully autonomous mars tank prototype it combines hardware and software components to enable autonomous navigation in a mars like environment key components include controlling the mars tank using a 2x7a roboclaw motor controller establishing a bluetooth connection to a ps4 controller for remote control implementing python code for precise control of the tank s movements developing a web server for remote control and monitoring incorporating obstacle avoidance using hrsc04 ultrasonic sensors by integrating these elements we aim to build a versatile tank prototype capable of autonomous exploration and navigation objectives and motivation this project was initiated during the 11th grade as a means to explore interests in electrical and computer engineering programming and embedded systems design the primary goals were to gain hands on experience with a raspberry pi improve python programming skills enhance technical capabilities and learn pcb design table of contents parts list parts list current build current build pcb addition pcb addition mobilizing the tank mobilizing the tank remote control via ps4 controller remote control via ps4 controller remote control via webservers remote control via webservers html based server html based server node red server node red server autonomous tank programs autonomous tank programs obstacle avoidance tank obstacle avoidance tank obstacle avoidance algorithm obstacle avoidance algorithm obstacle avoidance code obstacle avoidance code future plans future plans parts list here s the updated list of parts used in this project bogie runt rover kit from servocity https www servocity com bogie runt rover includes 6 140rpm motors 2 lithium polymer batteries rated at 3 7v 2000 mah 2x7a roboclaw motor controller https www servocity com roboclaw 2x7a motor controller raspberry pi 4 8gb ram half size breadboard 3 hd sr04 ultrasonic range sensors anker 20100 mah battery pack for raspberry pi ps4 controller jumper wires usb camera optional with vlc launched separately current build version 2 0 of the current tank design includes several significant improvements compared to the initial version these enhancements focus on streamlining functionality and include removal of non essential sensors for autonomous travel introduction of a new battery supply for the raspberry pi optimization of component layout to improve the center of mass addition of two ultrasonic sensors on the left and right sides pcb addition to optimize space within the tank a custom designed pcb using autodesk eagle was created to replace the breadboard circuit connecting the ultrasonic sensors and motors this transition enhances efficiency and allows the breadboard to be used for prototyping other circuits with different sensors updated design with pcb board https user images githubusercontent com 55263663 113646131 0b331280 963d 11eb 8094 8f6ab8cfa5e2 jpg img 0808 https user images githubusercontent com 55263663 109580868 2fd12300 7ab0 11eb 835c 0d006bbe778e jpg mobilizing the tank the tank can be mobilized using three methods remote control via ps4 controller this method requires specific python libraries including the roboclaw 3 library for python 3 and the pyps4controller https github com arturspirin pyps4controller for ps4 controller communication by combining these libraries the tank can be controlled with the ps4 controller enabling basic movements such as forward backward left rotation and right rotation the corresponding code for this component is named tank control algorithm remote control via webservers html based server an html based server was created using python s built in http server library it allows for remote control of the tank through hyperlinks on a web page additionally the server monitors the raspberry pi s cpu temperature and can initiate the obstacle avoidance program with a button click html based server screenshot img html web server png node red server node red a flow based programming tool was set up on the raspberry pi to serve as the control interface for the tank this interface enables the creation of custom user interfaces for controlling hardware devices within the local network setup node red can be installed on a raspberry pi using these instructions https nodered org docs getting started raspberrypi my node red user interface i used node red to control the raspberry pi on the ui tank i have set up different webpages on the server to monitor and control different aspects of the prototype tank homepage on the homepage i can perform essential tasks such as shutting down or rebooting the pi as needed additionally i can update the pi and trigger the html server program remotely initiating the web server homepage screenshot https user images githubusercontent com 55263663 114245029 74b86700 9944 11eb 9a33 cc7af4412ed1 png system monitoring another dedicated page monitors vital system parameters including the pi s cpu temperature and available memory this feature is particularly helpful if the pi experiences performance issues allowing me to identify potential overheating or memory saturation problems system monitoring screenshot https user images githubusercontent com 55263663 114245043 7d10a200 9944 11eb 8ca0 698f7407b925 png tank control to operate the tank i ve implemented switches that enable control of its movements forward backward left right and stop additionally i ve created a page that facilitates remote initiation of the obstacle avoidance program using a simple switch these pages streamline tank testing eliminating the need for a monitor or vnc server the raspberry pi is configured to automatically launch node red on startup ensuring quick accessibility tank control screenshot 1 https user images githubusercontent com 55263663 114245054 826dec80 9944 11eb 9798 3d0d927b39ec png tank control screenshot 2 https user images githubusercontent com 55263663 114245057 869a0a00 9944 11eb 8112 adffffc06441 png in forthcoming iterations i plan to expand the webserver s functionality by incorporating additional features and statistics enhancing its utility when the tank operates autonomously autonomous tank programs obstacle avoidance tank one of the key autonomous programs implemented in this project is obstacle avoidance using hrsc04 ultrasonic sensors this feature enhances the tank s capability to navigate and explore autonomously obstacle avoidance algorithm the obstacle avoidance algorithm works as follows the front sensors responsibility is to detect objects that may be less than 30 cm from the tank if there is an object detected the left and right sensors also check for obstacles within 15 cm from the tank if one side has a clearance of more than 15 cm the tank is instructed to rotate in the direction of least obstruction this loop continues indefinitely allowing the tank to navigate autonomously and avoid obstacles obstacle avoidance code the code for this obstacle avoidance program is listed as obstacle avoidance py in the github repository https github com kabirvirk51 mars tank prototype blob main python scripts obstacle avoidance py future plans currently work is underway to implement lane tracking algorithms using opencv functions as well as to master pcb design utilizing autodesk eagle additionally various components including an lcd display for real time data such as temperature and distance traveled are being integrated these enhancements aim to simulate a mars tank and updates are planned for the summer of 2024 disclaimer this project was completed over two months during the summer of 2023 and further developments are in progress thank you for your interest and stay tuned for updates | os |
|
praktikum-finale | praktikum finale this is a pong pong game created on lpcxpresso lpc1769 development board and ide you must import the following library to use this project lib cmsisv1p30 lpc17xx lib eabaseboard lib mcu freertos library this project is created to fulfill the requirement of the final task of embedded system design experiment | os |
|
Logger.js | logger js description logger js is a very simple tool that creates a small logging panel in the top left corner of the window it s purpose is to log data like mouse touch positions or other constantly changing values without having to go the console which i feel is really unconfortable on mobile devices also it provides a possibility to trace info without changing the height of the browser on idevices usage to use it simply add it in the header like any other libary and it provides simple methods such as logger log coordinates valuex valuey self explanatory it takes any amount of paramters and chains them using space logger hide hides the logging panel logger show guess what logger forcelog something in case the logger is currently hidden it shows the logger in addition to the normale logger log behavior logger inspect a 1 b 2 logs every element of an object in a tree structure in the console this is especially useful for debugging in ie to see the actual stateof an object | front_end |
|
AI-Resume-Analyzer | p small best view in a href https github com settings appearance light mode a and desktop site recommended small p br ai resume analyzer https socialify git ci deepakpadhi986 ai resume analyzer image description 1 descriptioneditable 5th 20sem 20final 20year 20project 20at 20kirti 20m 20doongursee 20college 20 2022 20 2023 font raleway language 1 pattern plus theme light div align center h1 ai resume analyzer h1 p a tool for resume analysis predictions and recommendations p badges p img src https img shields io github last commit deepakpadhi986 ai resume analyzer alt last update img src https badges frapsoft com os v2 open source svg v 103 alt open source img src https img shields io github languages top deepakpadhi986 ai resume analyzer color red alt language img src https img shields io github languages code size deepakpadhi986 ai resume analyzer color informational alt code size img src https visitor badge glitch me badge page id deepakpadhi986 ai resume analyzer left color grey right color blueviolet alt visitors count a href https github com deepakpadhi986 ai resume analyzer blob main license img src https img shields io github license deepakpadhi986 ai resume analyzer svg color yellow alt license a p links h4 a href preview view demo a span span a href setup installation installation a span span a href mailto dnoobnerd gmail com subject i 20want 20the 20project 20report 20of 20ai resume analyzer 20 2022 20 2023 body here 20are 20my 20details 20 f0 9f 98 89 0d 0a 0d 0aorganization 2fcollege 20name 3a 20 0d 0a 0d 0afull 20name 3a 20 0d 0a 0d 0agithub 20profile 20 3a 20 0d 0a 0d 0afrom 20where 20did 20you 20get 20to 20know 20about 20this 20project 3a 0d 0a 0d 0apurpose 20of 20asking 20project 20report 20 describe 3a 0d 0a 0d 0a 0d 0aif 20the 20above 20information 20satisfy 20your 20identity 20you 20will 20get 20the 20report 20to 20your 20email project report a h4 p small align justify built with by a href https dnoobnerd netlify app deepak padhi a through a href https www linkedin com in mrbriit dr bright data scientist a small p small align justify a project submitted for the partial fulfilment of the degree b sc cs at a href https kirticollege edu in kirti college a during academic year 2022 23 small div br br about the project div align center br img src https raw githubusercontent com deepakpadhi986 ai resume analyzer main screenshots resume png alt screenshot br br p align justify a tool which parses information from a resume using natural language processing and finds the keywords cluster them onto sectors based on their keywords and lastly show recommendations predictions analytics to the applicant recruiter based on keyword matching p div scope i it can be used for getting all the resume data into a structured tabular format and csv as well so that the organization can use those data for analytics purposes ii by providing recommendations predictions and overall score user can improve their resume and can keep on testing it on our tool iii and it can increase more traffic to our tool because of user section iv it can be used by colleges to get insight of students and their resume before placements v also to get analytics for roles which users are mostly looking for vi to improve this tool by getting feedbacks techstack tech stack details summary frontend summary ul li a href https streamlit io streamlit a li li a href https developer mozilla org en us docs learn html html a li li a href https developer mozilla org en us docs web css css a li li a href https developer mozilla org en us docs learn javascript javascript a li ul details details summary backend summary ul li a href https streamlit io streamlit a li li a href https www python org python a li ul details details summary database summary ul li a href https www mysql com mysql a li ul details details summary modules summary ul li a href https pandas pydata org pandas a li li a href https github com omkarpathak pyresparser pyresparser a li li a href https pypi org project pdfminer3 pdfminer3 a li li a href https plotly com plotly a li li a href https www nltk org nltk a li ul details features features client fetching location and miscellaneous data using parsing techniques to fetch basic info skills keywords using logical programs it will recommend skills that can be added predicted job role course and certificates resume tips and ideas overall score interview resume tip videos admin get all applicant s data into tabular format download user s data into csv file view all saved uploaded pdf in uploaded resume folder get user feedback and ratings pie charts for ratings predicted field roles experience level resume score user count city state country feedback form filling rating from 1 5 show overall ratings pie chart past user comments history requirements have these things installed to make your process smooth 1 python https www python org downloads 2 mysql https www mysql com downloads 3 visual studio code prefered code editor https code visualstudio com download 4 visual studio build tools for c https aka ms vs 17 release vs buildtools exe setup installation to run this project perform the following tasks download the code file manually or via git bash git clone https github com deepakpadhi986 ai resume analyzer git create a virtual environment and activate it recommended open your command prompt and change your project directory to ai resume analyzer and run the following command bash python m venv venvapp cd venvapp scripts activate downloading packages from requirements txt inside app folder bash cd cd app pip install r requirements txt python m spacy download en core web sm after installation is finished create a database cv and change user credentials inside app py https github com deepakpadhi986 ai resume analyzer blob 17e1cdb207fef62557dc394f4158bda515e541fd app app py l95 go to venvapp lib site packages pyresparser folder and replace the resume parser py with resume parser py which was provided by me inside pyresparser folder congratulations your set up and installation is finished i hope that your venvapp is activated and working directory is inside app run the app py file using bash streamlit run app py known error if geocoderunavailable error comes up then just check your internet connection and network speed issue while installation and set up check out installation video https youtu be wfruijlc1nc feel free to a href mailto dnoobnerd gmail com subject i 20have 20an 20issue 20while 20setup 2finstalling 20of 20ai 20resume 20analyzer body name 3a 20 0d 0a 0d 0adesignation 3a 20 0d 0a 0d 0aplease 20describe 20your 20problem 20in 20brief 20with 20attached 20photos 20of 20error send mail a usage after the setup it will do stuff s automatically you just need to upload a resume and see it s magic try first with my resume uploaded in uploaded resumes folder admin userid is admin and password is admin resume analyzer roadmap roadmap x predict user experience level x add resume scoring criteria for skills and projects x added fields and recommendations for web android ios data science add more fields for other roles and its recommendations respectively x fetch more details from users resume view individual user details contributing pull requests are welcome for major changes please open an issue first to discuss what you would like to change i ve attached the a href https github com deepakpadhi986 ai resume analyzer blob main resume 20analyser 20synopsis pdf synopsis a of the project if you want the full report of project a href mailto dnoobnerd gmail com subject i 20want 20the 20project 20report 20of 20ai resume analyzer 20 2022 20 2023 body here 20are 20my 20details 20 f0 9f 98 89 0d 0a 0d 0aorganization 2fcollege 20name 3a 20 0d 0a 0d 0afull 20name 3a 20 0d 0a 0d 0agithub 20profile 20 3a 20 0d 0a 0d 0afrom 20where 20did 20you 20get 20to 20know 20about 20this 20project 3a 0d 0a 0d 0apurpose 20of 20asking 20project 20report 20 describe 3a 0d 0a 0d 0a 0d 0aif 20the 20above 20information 20satisfy 20your 20identity 20you 20will 20get 20the 20report 20to 20your 20email email me a it s free acknowledgement a href https www linkedin com in mrbriit dr bright a a href https www udemy com course the full stack data scientist bootcamp the full stack data scientist bootcamp a a href https www academia edu 32543544 resume parser with natural language processing resume parser with natural language processing a a href https github com omkarpathak pyresparser pyresparser a preview client side main screen screenshot https github com deepakpadhi986 ai resume analyzer blob main screenshots user 1 main screen png raw true resume analysis screenshot https github com deepakpadhi986 ai resume analyzer blob main screenshots user 2 analysis jpg raw true skill recommendation screenshot https github com deepakpadhi986 ai resume analyzer blob main screenshots user 3 recom png raw true course recommendation screenshot https github com deepakpadhi986 ai resume analyzer blob main screenshots user 4 recom png raw true tips and overall score screenshot https github com deepakpadhi986 ai resume analyzer blob main screenshots user 5 tipsscore png raw true video recommendation screenshot https github com deepakpadhi986 ai resume analyzer blob main screenshots user 6 recom png raw true feedback feedback form screenshot https github com deepakpadhi986 ai resume analyzer blob main screenshots feedback 1 form png raw true overall rating analysis and comment history screenshot https github com deepakpadhi986 ai resume analyzer blob main screenshots feedback 2 analytics png raw true admin login screenshot https github com deepakpadhi986 ai resume analyzer blob main screenshots admin 1 main screen png raw true user count and it s data screenshot https github com deepakpadhi986 ai resume analyzer blob main screenshots admin 2 user data png raw true exported csv file screenshot https github com deepakpadhi986 ai resume analyzer blob main screenshots admin 3 user datacsv png raw true feedback data screenshot https github com deepakpadhi986 ai resume analyzer blob main screenshots admin 4 feed data png raw true pie chart analytical representation of clusters screenshot https github com deepakpadhi986 ai resume analyzer blob main screenshots admin 5 pieexp png raw true screenshot https github com deepakpadhi986 ai resume analyzer blob main screenshots admin 6 piescre jpg raw true screenshot https github com deepakpadhi986 ai resume analyzer blob main screenshots admin 7 pielocation png raw true built with ai resume analyzer by a href https dnoobnerd netlify app deepak padhi a | final-year-project resume-analyser resume-analysis ai-resume-analyser ai-resume-analyzer final-year-college-poject ai-resume-analyzer-github resume-analyses final-project final-year-project-idea final-year-projects mysql-database python3 streamlit dnoobnerd | ai |
Work-Showcase | my portfolio in this repo i share the demos of the projects i have worked on so far my tech stack include deep learning computer vision and vr i will be updating this repo as i proceed to learn and discover new technology you can check out all the nfts i created from here https github com pavankunchala work showcase tree master nfts i have also created some custom dataset for instant nerfs you can check it out from here https github com pavankunchala work showcase tree master instant nerfs i am generating a lot of new ai art which you can check from here https www behance net pavankunchala i also worked on creating a fitness tracker application you can know more about it from here https github com pavankunchala work showcase tree master gym trakcer you can also check some of my previous work from here https github com pavankunchala project showcase i have mostly used streamlit for creating the ui for my deep learning projects you can install streamlit using pip pip install upgrade streamlit i am always open for collabration or freelancing opportunites if you want to use any of these applications for your own use cases you can mail me at pavankunchalapk gmail com pavankunchalapk gmail com you can check out my resume from here https drive google com file d 1u2ktl8jru2hkv8ju56y76tikb582hops view usp sharing ai gym tracker https github com pavankunchala work showcase tree master gym trakcer pose mediapipe https github com pavankunchala streamlit applications blob master pose gif instant nerfs nvdia https github com pavankunchala streamlit applications tree master instant nerfs instant nerf https github com pavankunchala work showcase blob master extractedobj gif transfer style on nerfs tr https github com pavankunchala work showcase blob master render make gif face swapping https github com pavankunchala work showcase tree master face swap face swap https github com pavankunchala work showcase blob master pavan faceswap gif void art https opensea io collection void art 1 panda https github com pavankunchala work showcase blob master nfts butterfly nft gif full body tracking https www linkedin com posts pavan kumar reddy kunchala deeplearning computervision opencv activity 6904116600149045248 kc0a full body https github com pavankunchala streamlit applications blob master full 20body gif image inpainting https www linkedin com posts pavan kumar reddy kunchala computervision deeplearning freelancing activity 6929703369620029441 ooyi utm source linkedin share utm medium member desktop web lama https github com pavankunchala work showcase blob master lama 20gif gif 3d pose estimation 3d https github com pavankunchala work showcase blob master 3d poseestimation gif gif gesture control vr gesture https github com pavankunchala work showcase blob master gesture 20recog gif 3d avatar gif avatar https github com pavankunchala work showcase blob master 3d avatar 20pavan gif hand gesture recogntion hg https github com pavankunchala work showcase blob master gesture gif gif virtual makeup https share streamlit io pavankunchala virtual makeup streamlit main app py makeup https github com pavankunchala streamlit applications blob master makeup gif depth estimation https www linkedin com posts pavan kumar reddy kunchala streamlit openvino computervision ugcpost 6850394967794417664 bpmu s https github com pavankunchala streamlit applications blob master depth estim gif instance segmentation instance https github com pavankunchala streamlit applications blob master ezgif com gif maker 20 3 gif video to gif app https www linkedin com posts pavan kumar reddy kunchala coding streamlit computervision activity 6845398231380307968 zewe gif haha https github com pavankunchala streamlit applications blob master downloaded gif 20 1 gif face mesh mediapipe mediapipe https github com pavankunchala streamlit applications blob master mediapipe gif face recognition face recog https github com pavankunchala streamlit applications blob master face gif object detection obj gif https github com pavankunchala streamlit applications blob master newobj gif face averaging https github com pavankunchala face averaging app face averaging https github com pavankunchala streamlit applications blob master face average gif | streamlit streamlit-applications edge opencv computer-vision deep-learning yolov4 face-detection faceswap mediapipe vr workout-tracker | ai |
arduino-EventManager | arduino eventmanager using an event driven design is a common way to code arduino projects that interact with the environment around them eventmanager is a single c class that provides an event handling system for arduino with eventmanager you can register functions that listen for particular events and when things happen you can post events to eventmanager you then use the loop function to regularly tell eventmanager to process events and the appropriate listeners will be called eventmanger is designed to be interrupt safe so that you can post events from interrupt handlers the corresponding listeners will be called from outside the interrupt handler in your loop function when you tell eventmanager to process events in keeping with the limited resources of an arduino system eventmanager is light weight there is no dynamic memory allocation event queuing is very fast so you can be comfortable queuing events from interrupt handlers to keep the footprint minimal the event queue and the listener list are both small although you can make them bigger if needed note there are two versions of eventmanager the master branch has a version of eventmanager that uses functions as listeners also known as event handlers most users will find that this version meets their needs the genericlisteners branch contains a version of eventmanager that accepts more general types of listeners such as callable member functions and callable objects if you don t know what these are stick to the master branch installation copy the folder eventmanager into your arduino libraries folder as described in the arduino documentation http arduino cc en guide libraries usage at the top of your sketch you must include the eventmanager header file c include eventmanager h and then at global scope you should instantiate an eventmanager object c eventmanager gmyeventmanager you can safely instantiate more than one eventmanager object if so desired but the two objects will be completely independent this might be useful if perhaps you need to have separate event processes in different components of your code events eventmanager events consist of an event code and an event parameter both of these are integer values the event code identifies the type of event for your convenience eventmanager h provides a set of constants you can use to identify events c eventmanager keventkeypress eventmanager keventkeyrelease eventmanager keventchar eventmanager keventtime eventmanager keventtimer0 eventmanager keventtimer1 eventmanager keventtimer2 eventmanager keventtimer3 eventmanager keventanalog0 eventmanager keventanalog1 eventmanager keventanalog2 eventmanager keventanalog3 eventmanager keventanalog4 eventmanager keventanalog5 eventmanager keventmenu0 eventmanager keventmenu1 eventmanager keventmenu2 eventmanager keventmenu3 eventmanager keventmenu4 eventmanager keventmenu5 eventmanager keventmenu6 eventmanager keventmenu7 eventmanager keventmenu8 eventmanager keventmenu9 eventmanager keventserial eventmanager keventpaint eventmanager keventuser0 eventmanager keventuser1 eventmanager keventuser2 eventmanager keventuser3 eventmanager keventuser4 eventmanager keventuser5 eventmanager keventuser6 eventmanager keventuser7 eventmanager keventuser8 eventmanager keventuser9 these are purely for your convenience eventmanager only uses the value to match events to listeners so you are free to use any event codes you wish the event parameter is also whatever you want it to be for a key press event it could be the corresponding key code for an analog event it could be the value read from that analog pin or a pin number the event parameter will be passed to every listener that is associated with that event code you post events using the queueevent function c gmyeventmanager queueevent eventmanager keventuser0 1234 the queueevent function is lightweight and interrupt safe so you can call it from inside an interrupt handler by default the event queue holds 8 events but you can make the queue any size you want by defining the macro eventmanager event queue size to whatever value you desire see increase event queue size increase event queue size below listeners listeners are functions of type c typedef void eventlistener int eventcode int eventparam you add listeners using the addlistener function c void mylistener int eventcode int eventparam do something with the event void setup gmyeventmanager addlistener eventmanager keventuser0 mylistener do more set up do not add listeners from within an interrupt routine by default the list of listeners holds 8 listeners but you can make the list any size you want by defining the macro eventmanager listener list size to whatever value you desire see increase listener list size increase listener list size below processing events to actually process events in the event queue and dispatch them to listeners you call the processevent function c void loop gmyeventmanager processevent this call processes one event from the event queue every time it is called the standard usage is to call processevent once in your loop function so that one event is handled every time through the loop this is usually more than adequate to keep up with incoming events events are normally processed in a first in first out fashion but see the section on event priority below example here is a simple example illustrating how to blink the led on pin 13 using eventmanager c include arduino h include eventmanager h boolean pin13state unsigned long lasttoggled eventmanager gem our listener will simply toggle the state of pin 13 void listener int event int param event and param are not used in this example function pin13state pin13state false true digitalwrite 13 pin13state high low lasttoggled millis void setup setup pinmode 13 output digitalwrite 13 high pin13state true lasttoggled millis add our listener gem addlistener eventmanager keventuser0 listener void loop handle any events that are in the queue gem processevent add events into the queue addpinevents add events to toggle pin 13 every second note doesn t handle millis turnover void addpinevents if millis lasttoggled 1000 gem queueevent eventmanager keventuser0 0 the examples that come with the eventmanager library accessible via the arduino file examples menu provide more sophisticated illustrations of how you can use eventmanager advanced details event priority eventmanager recognizes high and low priority events you can specify the priority when you queue the event by default events are considered low priority you indicate an event is high priority by passing an additional constant to queueevent like so c gmyeventmanager queueevent eventmanager keventuser0 1234 eventmanager khighpriority the difference between high and low priority events is that processevent will process a high priority event ahead of any low priority events in effect high priority events jump to the front of the queue multiple high priority events are processed first in first out but all of them are processed before any low priority events note that if high priority events are queued faster than low priority events eventmanager may never get to processing any of the low priority events so use high priority events judiciously interrupt safety eventmanager was designed to be interrupt safe so that you can queue events both from within interrupt handlers and also from normal functions without having to worry about queue corruption however this safety comes at the price of slightly slower queueevent and processevent functions and the need to globally disable interrupts while certain small snippets of code are executing processing all events normally calling processevent once every time through the loop function is more than adequate to service incoming events however there may be times when you want to process all the events in the queue for this purpose you can call processallevents note that if you call this function at the same time that a series of events are being rapidly added to the queue asynchronously via interrupt handlers the processallevents function might not return until the series of additions to the event queue stops increase event queue size define eventmanager event queue size to whatever size you need at the very beginning of eventmanager h like so c ifndef eventmanager h define eventmanager h define eventmanager event queue size 16 include arduino h if you are using the arduino ide it is not enough to define this constant the usual c c way by defining the constant before including eventmanager h in your own files this is because the arduino ide has no way to pass the definition to the library code unless you actually edit eventmanager h the arduino ide lacks a way to pass precompile constants to all the files in the project given that the underlying compiler is gcc it would be nice if the arduino ide had a dialog to set things like d eventmanager event queue size 16 and have this constant definition passed directly to the compiler the event queue requires 4 sizeof int 8 bytes for each unit of size there is a factor of 4 instead of 2 because internally eventmanager maintains two separate queues a high priority queue and a low priority queue increase listener list size define eventmanager listener list size to whatever size you need at the very beginning of eventmanager h like so c ifndef eventmanager h define eventmanager h define eventmanager listener list size 16 include arduino h if you are using the arduino ide it is not enough to define this constant the usual c c way by defining the constant before including eventmanager h in your own files this is because the arduino ide has no way to pass the definition to the library code unless you actually edit eventmanager h the arduino ide lacks a way to pass precompile constants to all the files in the project given that the underlying compiler is gcc it would be nice if the arduino ide had a dialog to set things like d eventmanager listener list size 16 and have this constant definition passed directly to the compiler the listener list requires sizeof f sizeof int sizeof boolean 5 bytes for each unit of size additional features there are various class functions for managing the listeners you can remove listeners removelistener disable and enable specific listeners enablelistener set a default listener that will handle any events not handled by other listeners and manipulate the default listener just like any other listener setdefaultlistener removedefaultlistener and enabledefaultlistener check the status of the listener list islistenerlistempty islistenerlistfull there are various class functions that provide information about the event queue check the status of the event queue iseventqueueempty iseventqueuefull see how many events are in the queue getnumeventsinqueue for details on these functions you should review eventmanager h feedback if you find a bug or if you would like a specific feature please report it at https github com igormiktor arduino eventmanager issues if you would like to hack on this project don t hesitate to fork it on github if you would like me to incorporate changes you made don t hesitate to send me a pull request credits eventmanager was inspired by and adapted from the arduino event system library created by mromani ottotecnica com of ottotecnica italy which was kindly released under a lgpl 2 1 license license this library is free software you can redistribute it and or modify it under the terms of the gnu lesser general public license as published by the free software foundation either version 2 1 of the license or at your option any later version this library is distributed in the hope that it will be useful but without any warranty without even the implied warranty of merchantability or fitness for a particular purpose see the gnu lesser general public license for more details a copy of the license is included in the eventmanager package copyright copyright c 2016 igor mikolic torreira portions are copyright c 2010 ottotecnica italy | os |
|
photonvision | photon vision ci https github com photonvision photonvision workflows ci badge svg https github com photonvision photonvision actions query workflow 3aci codecov https codecov io gh photonvision photonvision branch master graph badge svg https codecov io gh photonvision photonvision discord https img shields io discord 725836368059826228 color 23738adb label join 20our 20discord logo discord logocolor white https discord gg wyxtwym photonvision is the free fast and easy to use computer vision solution for the first robotics competition you can read an overview of our features on our website https photonvision org you can find our comprehensive documentation here https docs photonvision org a copy of the latest raspberry pi image is available here https github com photonvision photon pi gen releases a copy of the latest standalone jar is available here https github com photonvision photonvision releases if you are a gloworm user you can find the latest gloworm image here https github com gloworm vision pi gen releases if you are interested in contributing code or documentation to the project please read our getting started page for contributors https docs photonvision org en latest docs contributing index html and join the discord https discord gg wyxtwym to introduce yourself we hope to provide a welcoming community to anyone who is interested in helping authors a href https github com photonvision photonvision graphs contributors img src https contrib rocks image repo photonvision photonvision a gradle arguments note that these are case sensitive parchoverride foobar builds for a target system other than your current architecture valid overrides are winx32 winx64 macx64 macarm64 linuxx64 linuxarm64 linuxarm32 and linuxathena ptgtip deploys builds and copies the jar to the coprocessor at the specified ip pprofile enables jvm profiling building gradle is used for all c and java code and npm is used for the web ui instructions to compile photonvision yourself can be found in our docs https docs photonvision org en latest docs contributing photonvision build instructions html highlight npm 20install compiling instructions you can run one of the many built in examples straight from the command line too they contain a fully featured robot project and some include simulation support the projects can be found inside the photonlib java examples and photonlib cpp examples subdirectories respectively the projects currently available include photonlib java examples aimandrange simulatejava aimattarget simulatejava getinrange simulatejava simaimandrange simulatejava simposeest simulatejava photonlib cpp examples aimandrange simulatenative getinrange simulatenative to run them use the commands listed below photonlib must first be published to your local maven repository then the copyphotonlib task will copy the generated vendordep json file into each example after that the simulatejava simulatenative task can be used like a normal robot project robot simulation with attached debugger is technically possible by using simulateexternaljava and modifying the launch script it exports though unsupported photonvision gradlew publishtomavenlocal photonvision cd photonlib java examples photonvision photonlib java examples gradlew copyphotonlib photonvision photonlib java examples gradlew example name simulatejava photonvision cd photonlib cpp examples photonvision photonlib cpp examples gradlew copyphotonlib photonvision photonlib cpp examples gradlew example name simulatenative acknowledgments photonvision was forked from chameleon vision https github com chameleon vision chameleon vision thank you to everyone who worked on the original project wpilib https github com wpilibsuite specifically cscore https github com wpilibsuite allwpilib tree master cscore cameraserver https github com wpilibsuite allwpilib tree master cameraserver ntcore https github com wpilibsuite allwpilib tree master ntcore and opencv https github com wpilibsuite thirdparty opencv apache commons https commons apache org specifically commons math https commons apache org proper commons math and commons lang https commons apache org proper commons lang javalin https javalin io json https json org fasterxml https github com fasterxml specifically jackson https github com fasterxml jackson license photonvision is licensed under the gnu general public license https www gnu org licenses gpl 3 0 html meeting notes our meeting notes can be found in the wiki section of this repository 2020 meeting notes https github com photonvision photonvision wiki 2020 meeting notes 2021 meeting notes https github com photonvision photonvision wiki 2021 meeting notes | frc vision java opencv wpilib vision-processing computer-vision | ai |
Exercise-tracker-app | exercise tracker this is the boilerplate for the exercise tracker project instructions for building your project can be found at https www freecodecamp org learn apis and microservices apis and microservices projects exercise tracker | server |
|
project-init | project init our starting point for front end development prerequisites 1 ruby http www ruby lang org en downloads 2 node http nodejs org download 3 grunt cli https github com gruntjs grunt cli npm install g grunt cli to get started 1 change the project name in ruby gemset close and reopen the terminal window 2 type npm install and bundle in the root of the project directory 3 change the project name in package json 4 run grunt watch 5 science https gimmebar assets s3 amazonaws com 4fafbdce48c48 jpg your project will compile to dist to do add minify source maps for minify add concat only on dist add livereload add bash script for easy install | front_end |
|
exp-delay-generation-and-effect-coep | introduction b discipline b fill your discipline name here b lab b fill your lab name here b experiment b fill your experiment name and number here about the experiment fill a brief description of this experiment here b name of developer b fill the name of experiment owner here b institute b b email id b b department contributors list srno name faculty or student department institute email id 1 2 | coep ext-ph3 | os |
intro_to_computer_vision | graphics computer vision cropped png 1 state of the art on your own data in this module we ll quite a few state of the art computer vision algorithms one of the really exciting things about computer vision right now is the amount of high quality publically available code for this part of your assignment your job is to run one publically avaialable algorithm on your own video or images your deliverable is a short video posted to youtube showing your results for example you could shoot your own video and use and mask rcnn https github com matterport mask rcnn to process each frame and stitch these results together into a short video a sample of the computer vision state of the art in 2019 problem paper code classification resnet deep residual learning for image recognition https arxiv org abs 1512 03385 implemented in keras pytorch fastai detection retinanet focal loss for dense object detection https arxiv org pdf 1708 02002 pdf br br br faster r cnn towards real time object detection with region proposal networks https arxiv org pdf 1506 01497 pdf br br br ssd single shot multibox detector https arxiv org pdf 1512 02325 pdf br br br yolov3 an incremental improvement https pjreddie com media files papers yolov3 pdf part of fair s detectron https github com facebookresearch detectron br br br part of tensorflow object detection api https github com tensorflow models tree master research object detection br br br part of tensorflow object detection api https github com tensorflow models tree master research object detection br br br code https pjreddie com darknet yolo semantic segmentation deeplab v3 rethinking atrous convolution for semantic image segmentation https arxiv org pdf 1708 02002 pdf code https github com tensorflow models tree master research deeplab instance segmentation mask r cnn https arxiv org pdf 1703 06870 pdf code https github com matterport mask rcnn human pose estimation openpose realtime multi person 2d pose estimation using part affinity fields https arxiv org pdf 1812 08008 pdf code https github com cmu perceptual computing lab openpose hand pose estimation ganerated hands for real time 3d hand tracking from monocular rgb https arxiv org pdf 1712 01057 pdf face detection selective refinement network for high performance face detection https arxiv org pdf 1809 02693v1 pdf code https github com chicheng123 srn face recognition facenet a unified embedding for face recognition and clustering https arxiv org pdf 1503 03832v3 pdf code https github com davidsandberg facenet tracking fast online object tracking and segmentation a unifying approach https arxiv org pdf 1812 05050 pdf code https github com foolwood siammask depth estimation digging into self supervised monocular depth estimation https arxiv org pdf 1806 01260v3 pdf code https github com nianticlabs monodepth2 structure from motion opensfm https github com mapillary opensfm image generation large scale gan training for high fidelity natural image synthesis https arxiv org pdf 1809 11096 pdf face generation stylegan a style based generator architecture for generative adversarial networks https arxiv org pdf 1812 04948 pdf code https github com nvlabs stylegan image to image unpaired image to image translation using cycle consistent adversarial networks https arxiv org pdf 1703 10593 pdf code https github com junyanz pytorch cyclegan and pix2pix style transfer a closed form solution to photorealistic image stylization https arxiv org pdf 1802 06474v5 pdf code https github com nvidia fastphotostyle keypoint detection and tracking superpoint self supervised interest point detection and description http openaccess thecvf com content cvpr 2018 workshops papers w9 detone superpoint self supervised interest cvpr 2018 paper pdf code https github com magicleapresearch superpointpretrainednetwork image captioning bottom up and top down attention for image captioning and visual question answering https arxiv org pdf 1707 07998v3 pdf code https github com facebookresearch pythia text to image stackgan realistic image synthesis with stacked generative adversarial networks https arxiv org pdf 1710 10916 pdf code https github com hanzhanggit stackgan setup the python 3 anaconda distribution https www anaconda com download is the easiest way to get going with the notebooks and code presented here optional you may want to create a virtual environment for this repository conda create n cv python 3 source activate cv you ll need to install the jupyter notebook to run the notebooks conda install jupyter you may also want to install nb conda enables some nice things like change virtual environments within the notebook conda install nb conda this repository requires the installation of a few extra packages you can install them with conda install c pytorch c fastai fastai conda install jupyter conda install c conda forge opencv optional jupyterthemes https github com dunovank jupyter themes can be nice when presenting notebooks as it offers some cleaner visual themes than the stock notebook and makes it easy to adjust the default font size for code markdown etc you can install with pip pip install jupyterthemes recommend jupyter them for presenting these notebook type into terminal before launching notebook jt t grade3 cellw 90 fs 20 tfs 20 ofs 20 dfs 20 recommend jupyter them for viewing these notebook type into terminal before launching notebook jt t grade3 cellw 90 fs 14 tfs 14 ofs 14 dfs 14 | ai |
|
mac-dev-setup | mac dev setup a macos setup guide specific to front end development guided setup for a guided setup open up terminal app and run the following command 1 save repo to downloads folder sh git clone https github com michaelschwobe mac dev setup git downloads mac dev setup cd downloads mac dev setup scripts 2 run the installer script sh sh install sh or run the installer scripts individually sh sh defaults sh sh tools sh sh casks sh sh optimizations sh sh summary sh the scripts auto skip prompts for items already installed recommended rerun as many times as needed and thats it for additional cli and ide customizations refer to the related manual setup section below manual setup for those who prefer la carte this section contains everything that the guided setup attempts to do including cli and ide customizations 1 if you haven t already save repo to downloads folder sh git clone https github com michaelschwobe mac dev setup git downloads mac dev setup cd downloads mac dev setup scripts 2 continue with setup below defaults defaults tools tools applications applications optimizations optimizations defaults create dock spacers sh defaults write com apple dock persistent apps array add tile type spacer tile defaults write com apple dock persistent apps array add tile type spacer tile defaults write com apple dock persistent apps array add tile type spacer tile killall dock autohide dock sh defaults write com apple dock autohide boolean true killall dock display hidden finder files folders sh defaults write com apple finder appleshowallfiles boolean true killall finder create developer folder sh mkdir p developer create sandbox folder sh mkdir p sandbox installing xcode select cli tools sh xcode select install installing brew homebrew https brew sh if apple silicon arm architecture sh bin bash c curl fssl https raw githubusercontent com homebrew install head install sh echo eval opt homebrew bin brew shellenv home zprofile eval opt homebrew bin brew shellenv brew doctor if intel architecture sh bin bash c curl fssl https raw githubusercontent com homebrew install head install sh brew doctor tools install watchman https facebook github io watchman sh brew install watchman install trash https hasseg org trash sh brew install trash install git https git scm com sh brew install git install zsh https www zsh org sh brew install zsh install oh my zsh https github com ohmyzsh ohmyzsh sh sh c curl fssl https raw githubusercontent com ohmyzsh ohmyzsh master tools install sh install powerlevel10k https github com romkatv powerlevel10k cli theming sh brew install powerlevel10k echo theme configuration powerlevel10k zshrc echo source brew prefix share powerlevel10k powerlevel10k zsh theme zshrc echo to customize prompt run p10k configure or edit p10k zsh zshrc echo f p10k zsh source p10k zsh zshrc restart your cli for this to take effect or run sh p10k configure install zsh autosuggestions https github com zsh users zsh autosuggestions sh brew install zsh autosuggestions echo fish shell like fast unobtrusive autosuggestions for zsh zshrc echo source brew prefix share zsh autosuggestions zsh autosuggestions zsh zshrc restart your cli for this to take effect install zsh syntax highlighting https github com zsh users zsh syntax highlighting sh brew install zsh syntax highlighting echo fish shell like syntax highlighting for zsh zshrc echo warning must be last sourced zshrc echo source brew prefix share zsh syntax highlighting zsh syntax highlighting zsh zshrc restart your cli for this to take effect note the source command must be at the end of zshrc install node https nodejs org node via homebrew https brew sh sh brew install node install n https github com tj n node via n sh brew install n install nvm https github com nvm sh nvm node via nvm sh curl o https raw githubusercontent com nvm sh nvm v0 39 3 install sh bash install yarn https yarnpkg com sh brew install yarn install pnpm https pnpm io sh brew install pnpm upgrade npm https www npmjs com globally via npm sh npm install g npm latest install upgrade serve https github com zeit serve globally via npm sh npm install g serve latest applications casks install jetbrains mono nerd font sh brew tap homebrew cask fonts you only need to do this once brew install font jetbrains mono nerd font install 1password sh brew install cask 1password install brave browser sh brew install cask brave browser install diffmerge if intel architecture sh brew install cask diffmerge install discord sh brew install cask discord install figma sh brew install cask figma install google chrome sh brew install cask google chrome install insomnia sh brew install cask insomnia install iterm sh brew install cask iterm2 1 copy my iterm settings sh cp downloads mac dev setup zshrc 2 set the theme by going to preferences rarr profiles rarr colors rarr color presets rarr import theme location downloads mac dev setup moonlight itermcolors 3 set the font by going to preferences rarr profiles rarr text rarr font font name jetbrainsmono nerd font mono 4 restart iterm and resolve any remaining issues install rectangle sh brew install cask rectangle install slack sh brew install cask slack install sourcetree sh brew install cask sourcetree 1 set the font by going to preferences rarr diff rarr internal diff visualization rarr diff view font font name jetbrainsmono nerd font mono 2 restart sourcetree and resolve any remaining issues install spotify sh brew install cask spotify update terminal 1 set the theme and font by going to preferences rarr profiles rarr import theme location downloads mac dev setup moonlight terminal font name jetbrainsmono nerd font mono 2 restart iterm and resolve any remaining issues install visual studio code sh brew install cask visual studio code 1 install my extensions sh code install extension alefragnani project manager code install extension atomiks moonlight code install extension bradlc vscode tailwindcss code install extension christian kohler npm intellisense code install extension christian kohler path intellisense code install extension codeforge remix forge code install extension dbaeumer vscode eslint code install extension dsznajder es7 react js snippets code install extension eamodio gitlens code install extension editorconfig editorconfig code install extension esbenp prettier vscode code install extension formulahendry auto rename tag code install extension github copilot code install extension gruntfuggly todo tree code install extension l13rary l13 diff code install extension mattpocock ts error translator code install extension mikestead dotenv code install extension ms vscode sublime keybindings code install extension orta vscode twoslash queries code install extension prisma prisma code install extension stylelint vscode stylelint code install extension tyriar sort lines code install extension unifiedjs vscode mdx code install extension vscode icons team vscode icons code install extension wallabyjs console ninja code install extension wix vscode import cost code install extension yoavbls pretty ts errors code install extension zenclabs previewjs code install extension zignd html css class completion 2 copy my visual studio code user settings sh cp downloads mac dev setup code library application support code user 3 restart visual studio code and resolve any remaining issues install warp sh brew install cask warp 1 copy the theme sh mkdir p warp themes cp downloads mac dev setup moonlight yaml warp themes 2 set the theme and font by going to settings rarr appearance rarr themes theme name moonlight font name jetbrainsmono nerd font mono install zoom us sh brew install cask zoom optimizations re sort launchpad applications sh defaults write com apple dock resetlaunchpad boolean true killall dock updating oh my zsh https github com ohmyzsh ohmyzsh sh omz update optimizing homebrew https brew sh sh brew update brew upgrade brew doctor brew cleanup | macos front-end setup config homebrew ohmyzsh node yarn iterm visual-studio-code | front_end |
Cloud_Engineering_Project | cloud engineering project this project is a way to showcase my cloud engineering skills | cloud |
|
LLMS | llms large language models | ai |
|
ObjectOriented-FSM-in-C | finitestatemachine in c this is how to implement the code in your project let us assume we are working on an embedded system for robotic arm movement and we wish to add a state moving state to our system the characteristics of state are the flowing it has an entering action and that action takes three entering parameters integers representing the direction of moving it has a looping action that check for multiples of condition to determine whether to enter a new sate or stay into the current state it has an exiting action a sound or something step 1 create state moving c and state moving h in which we define the four functions state moving enter state moving update state moving output and to be continued later | os |
|
khmer_segment | khmer segment for khmer natural language processing and nextspell com khmer spellchecker | ai |
|
rchain | rchain build status https github com rchain rchain workflows ci badge svg https github com rchain rchain actions query workflow 3aci branch 3astaging codecov https codecov io gh rchain rchain branch master graph badge svg https codecov io gh rchain rchain the open source rchain project is building a decentralized economic censorship resistant public compute infrastructure and blockchain it will host and execute programs popularly referred to as smart contracts it will be trustworthy scalable concurrent with proof of stake consensus and content delivery rchain developer https developer rchain coop features project related tutorials and documentation project planning information events calendar and information for how to engage with this project note on the use of this software this code has not yet completed a security review we strongly recommend that you do not use it in production or to transfer items of material value we take no responsibility for any loss you may incur through the use of this code use the public testnet the rchain cooperative maintains a public testnet running the latest version of rnode learn more at rchain public testnet information https rchain atlassian net wiki spaces core pages 678756429 rchain public testnet information installation docker docker pull rchain rnode latest debian ubuntu 1 download a deb package from the releases page https github com rchain rchain releases 2 sudo apt install rnode version deb where version is something like 0 9 18 redhat fedora 1 download a rpm package from the releases page https github com rchain rchain releases 2 sudo rpm u rnode version noarch rpm where version is something like 0 9 18 macos 1 install homebrew by following steps at the homebrew homepage https brew sh 2 brew install rchain rchain rnode running docker will be used in the examples port portability reasons but running the node as a standalone process is very similar to fetch the latest version of rnode from the remote docker hub and run it exit with c c sh docker run it p 40400 40400 rchain rnode latest with binding of rnode data directory to the host directory home rnode docker run v home rnode var lib rnode it p 40400 40400 rchain rnode latest in order to use both the peer to peer network and repl capabilities of the node you need to run more than one docker rnode on the same host the containers need to be connected to one user defined network bridge bash docker network create rnode net docker run dit name rnode0 network rnode net rchain rnode latest run s docker ps container id image command created status ports names ef770b4d4139 rchain rnode latest bin rnode profile 23 seconds ago up 22 seconds rnode0 to attach terminal to rnode logstream execute bash docker logs f rnode0 08 38 11 460 main info logger listening for traffic on rnode 137200d47b8bb0fff54a753aabddf9ee2bfea089 172 18 0 2 protocol 40400 discovery 40404 a repl instance can be invoked in a separate terminal using the following command bash docker run it rm name rnode repl network rnode net rchain rnode latest grpc host rnode0 grpc port 40402 repl rholang type 42 hello in repl console this command should result in rnode0 output bash evaluating 42 hello a peer node can be started with the following command note that bootstrap takes the listening address of rnode0 bash docker run it rm name rnode1 network rnode net rchain rnode latest run bootstrap rnode 8c775b2143b731a225f039838998ef0fac34ba25 rnode0 protocol 40400 discovery 40404 host rnode1 15 41 41 818 info node runner 39 coop rchain node noderuntime starting node that will bootstrap from rnode 8c775b2143b731a225f039838998ef0fac34ba25 rnode0 protocol 40400 discovery 40404 15 57 37 021 info node runner 32 coop rchain comm rp connect peers 1 15 57 46 495 info node runner 32 c r c util comm commutil successfully sent approvedblockrequest to rnode 8c775b2143b731a225f039838998ef0fac34ba25 rnode0 protocol 40400 discovery 40404 15 57 50 463 info node runner 40 c r c engine initializing rholang state received and saved to store 15 57 50 482 info node runner 34 c r casper engine engine making a transition to running state the above command should result in rnode0 output bash 15 57 37 021 info node runner 42 c r comm rp handlemessages responded to protocol handshake request from rnode e80faf589973c2c1b9b8441790d34a9a0ffdd3ce rnode1 protocol 40400 discovery 40404 15 57 37 023 info node runner 42 coop rchain comm rp connect peers 1 15 57 46 530 info node runner 43 c r casper engine running approvedblock sent to rnode e80faf589973c2c1b9b8441790d34a9a0ffdd3ce rnode1 protocol 40400 discovery 40404 15 57 48 283 info node runner 43 c r casper engine running store items sent to rnode e80faf589973c2c1b9b8441790d34a9a0ffdd3ce rnode1 protocol 40400 discovery 40404 to get a full list of options rnode accepts use the help option sh docker run it rm rchain rnode latest help configuration file most of the command line options can be specified in a configuration file the default location of the configuration file is the data directory an alternative location can be specified with the command line option config file path the format of the configuration file is hocon https github com lightbend config blob master hocon md the defaults conf node src main resources defaults conf configuration file shows all options and default values example configuration file yml standalone false protocol server network id testnet port 40400 protocol client network id testnet bootstrap rnode de6eed5d00cf080fc587eeb412cb31a75fd10358 52 119 8 109 protocol 40400 discovery 40404 peers discovery port 40404 api server host my rnode domain com port grpc external 40401 port grpc internal 40402 port http 40403 port admin http 40405 storage data dir my data dir casper shard name root metrics prometheus false influxdb false influxdb udp false zipkin false sigar false dev mode false development compile the project with bash sbt clean compile with executable and docker image sbt clean compile stage docker publishlocal run the resulting binary with bash node target universal stage bin rnode for more detailed instructions see the developer guide developer md caveats and filing issues caveats during this pre release phase of the rchain software there are some known issues https github com rchain rchain issues q is 3aopen is 3aissue label 3abug filing issues file issues in github repository issue tracker file a bug https github com rchain rchain issues new choose acknowledgements we use yourkit to profile rchain performance yourkit supports open source projects with its full featured java profiler yourkit llc is the creator of a href https www yourkit com java profiler yourkit java profiler a and a href https www yourkit com net profiler yourkit net profiler a innovative and intelligent tools for profiling java and net applications licence information to get summary of licenses being used by the rchain s dependencies simply run sbt node dumplicensereport the report will be available under node target license reports rnode licenses html | blockchain |
|
supinfo-3proj | project 3proj description a javascript progressive web app pwa made with nodejs reactjs for frontend and expressjs for backend supported by an azure cloud architecture made with infrastructure as code iac tools like terraform and az cli tools the whole solution is made to be continious delivred on development and production environments using azure devops pipelines are made to build artefact from this github repository for continious integration and releases are made to use those artefacts to execute terraform script to deploy infrastructure and setup both backend and frontend on the deployed cloud infrastructure topic x company hired you to develop a new solution to create display store and allow access to a storage solution you will need to design both the backend and the frontend but also the hardware or cloud architecture the solution is supposed to run on both web and mobile plateform you also need to explain the server architecture which support your solution based on prices performances and sustainability over scalability | server |
|
HatLab_IOT_Wiki | iot wiki docs img hatlab logo png iot iot wiki https dassecurity labs github io hatlab iot wiki iot 1 iot 2 iot 3 4 iot 5 iot 6 wiki 1 2 3 4 zigbee 1 iot iot iot docs img zsxq png 2 hatlab hack anything iot cisco juniper paloalto tp link goahead lua iot hitb zeronights geekpwn mail double jiang dbappsecurity com cn | server |
|
prompt-engine | prompt engine this repo contains an npm utility library for creating and maintaining prompts for large language models llms background llms like gpt 3 and codex have continued to push the bounds of what ai is capable of they can capably generate language and code but are also capable of emergent behavior like question answering summarization classification and dialog one of the best techniques for enabling specific behavior out of llms is called prompt engineering crafting inputs that coax the model to produce certain kinds of outputs few shot prompting is the discipline of giving examples of inputs and outputs such that the model has a reference for the type of output you re looking for prompt engineering can be as simple as formatting a question and passing it to the model but it can also get quite complex requiring substantial code to manipulate and update strings this library aims to make that easier it also aims to codify patterns and practices around prompt engineering see how to get codex to produce the code you want https microsoft github io prompt engineering article for an example of the prompt engineering patterns this library codifies installation npm install prompt engine usage the library currently supports a generic promptengine a codeengine and a chatengine all three facilitate a pattern of prompt engineering where the prompt is composed of a description examples of inputs and outputs and an ongoing dialog representing the ongoing input output pairs as the user and model communicate the dialog ensures that the model which is stateless has the context about what s happened in the conversation so far see architecture diagram representation img src https user images githubusercontent com 17247257 178334939 65e0e3ce 39b3 4abc a889 7f2c0fb75f60 png width 500 code engine code engine creates prompts for natural language to code scenarios see typescript syntax for importing codeengine js import codeengine from prompt engine nl code prompts should generally have a description which should give context about the programming language the model should generate and libraries it should be using the description should also give information about the task at hand js const description natural language commands to javascript math code the code should log the result of the command to the console nl code prompts should also have examples of nl code interactions exemplifying the kind of code you expect the model to produce in this case the inputs are math queries e g what is 2 2 and code that console logs the result of the query js const examples input what s 10 plus 18 response console log 10 18 input what s 10 times 18 response console log 10 18 by default codeengine uses javascript as the programming language but you can create prompts for different languages by passing a different codepromptconfig into the constructor if for example we wanted to produce python prompts we could have passed codeengine a pythonconfig specifying the comment operator it should be using js const pythonconfig commentoperator const codeengine new codeengine description examples flowresettext pythonconfig with our description and our examples we can go ahead and create our codeengine js const codeengine new codeengine description examples now that we have our codeengine we can use it to create prompts js const query what s 1018 times the ninth power of four const prompt codeengine buildprompt query the resulting prompt will be a string with the description examples and the latest query formatted with comment operators and line breaks js natural language commands to javascript math code the code should log the result of the command to the console what s 10 plus 18 console log 10 18 what s 10 times 18 console log 10 18 what s 1018 times the ninth power of four given the context a capable code generation model can take the above prompt and guess the next line console log 1018 math pow 4 9 for multi turn scenarios where past conversations influences the next turn code engine enables us to persist interactions in a prompt js assumes existence of code generation model let code model generatecode prompt adds interaction codeengine addinteraction query code now new prompts will include the latest nl code interaction js codeengine buildprompt how about the 8th power produces a prompt identical to the one above but with the nl code dialog history js what s 1018 times the ninth power of four console log 1018 math pow 4 9 how about the 8th power with this context the code generation model has the dialog context needed to understand what we mean by the query in this case the model would correctly generate console log 1018 math pow 4 8 chat engine just like code engine chat engine creates prompts with descriptions and examples the difference is that chat engine creates prompts for dialog scenarios where both the user and the model use natural language the chatengine constructor takes an optional chatconfig argument which allows you to define the name of a user and chatbot in a multi turn dialog js const chatengineconfig user ryan bot gordon chat prompts also benefit from a description that gives context this description helps the model determine how the bot should respond js const description a conversation with gordon the anxious robot gordon tends to reply nervously and asks a lot of follow up questions similarly chat engine prompts can have examples interactions js const examples input who made you response i don t know man that s an awfully existential question how would you answer it input good point do you at least know what you were made for response i m ok at riveting but that s not how i should answer a meaning of life question is it these examples help set the tone of the bot in this case gordon the anxious robot now we can create our chatengine and use it to create prompts js const chatengine new chatengine description examples flowresettext chatengineconfig const userquery what are you made of const prompt chatengine buildprompt userquery when passed to a large language model e g gpt 3 the context of the above prompt will help coax a good answer from the model like subatomic particles at some level but somehow i don t think that s what you were asking as with code engine we can persist this answer and continue the dialog such that the model is aware of the conversation context js chatengine addinteraction userquery subatomic particles at some level but somehow i don t think that s what you were asking managing prompt overflow prompts for large language models generally have limited size depending on the language model being used given that prompt engine can persist dialog history it is possible for dialogs to get so long that the prompt overflows the prompt engine pattern handles this situation by removing the oldest dialog interaction from the prompt effectively only remembering the most recent interactions you can specify the maximum tokens allowed in your prompt by passing a maxtokens parameter when constructing the config for any prompt engine js let promptengine new promptengine description examples flowresettext modelconfig maxtokens 1000 available functions the following are the functions available on the promptengine class and those that inherit from it command parameters description returns buildcontext none constructs and return the context with parameters provided to the prompt engine context string buildprompt prompt string combines the context from buildcontext with a query to create a prompt prompt string builddialog none builds a dialog based on all the past interactions added to the prompt engine dialog string addexample interaction interaction input string response string adds the given example to the examples none addinteraction interaction interaction input string response string adds the given interaction to the dialog none removefirstinteraction none removes and returns the first interaction in the dialog interaction string removelastinteraction none removes and returns the last interaction added to the dialog interaction string resetcontext none removes all interactions from the dialog returning the reset context context string for more examples and insights into using the prompt engine library have a look at the examples https github com microsoft prompt engine tree main examples folder yaml representation it can be useful to represent prompts as standalone files versus code this can allow easy swapping between different prompts prompt versioning and other advanced capabiliites with this in mind prompt engine offers a way to represent prompts as yaml and to load that yaml into a prompt engine class see examples yaml examples for examples of yaml prompts and how they re loaded into prompt engine contributing this project welcomes contributions and suggestions most contributions require you to agree to a contributor license agreement cla declaring that you have the right to and actually do grant us the rights to use your contribution for details visit https cla opensource microsoft com when you submit a pull request a cla bot will automatically determine whether you need to provide a cla and decorate the pr appropriately e g status check comment simply follow the instructions provided by the bot you will only need to do this once across all repos using our cla this project has adopted the microsoft open source code of conduct https opensource microsoft com codeofconduct for more information see the code of conduct faq https opensource microsoft com codeofconduct faq or contact opencode microsoft com mailto opencode microsoft com with any additional questions or comments statement of purpose this library aims to simplify use of large language models and to make it easy for developers to take advantage of existing patterns the package is released in conjunction with the build 2022 ai examples https github com microsoft build2022 ai examples as the first three use a multi turn llm pattern that this library simplifies this package works independently of any specific llm prompt generated by the package should be useable with various language and code generating models trademarks this project may contain trademarks or logos for projects products or services authorized use of microsoft trademarks or logos is subject to and must follow microsoft s trademark brand guidelines https www microsoft com en us legal intellectualproperty trademarks usage general use of microsoft trademarks or logos in modified versions of this project must not cause confusion or imply microsoft sponsorship any use of third party trademarks or logos are subject to those third party s policies | ai |
|
awesome-tutorials | start doctoc generated toc please keep comment here to allow auto update don t edit this section instead re run doctoc to update table of contents generated with doctoc https github com thlorenz doctoc awesome tutorials awesome tutorials angular 2 0 0 1 1 angular 20 e4 bb 8e0 e5 88 b01 1 end doctoc generated toc please keep comment here to allow auto update awesome tutorials i am going to write a series of tutorials about web android ios development angular material rxjs redux http coding imooc com class 123 html http t xiaomiquan com aiqb6eu 6 5 31 angular 2 x angular 2 0 0 1 1 spring boot spring boot 2 1 https github com wpcfan awesome tutorials blob master angular2 ng2 tut readme md 2 https github com wpcfan spring boot tut blob master readme md | angular angular2 typescript tutorial spring-boot | front_end |
device-simulation-dotnet | build build badge build url issues issues badge issues url gitter gitter badge gitter url repository archived this repository has been archived for device simulation issues and maintenance please see azure iot pcs device simulation https www github com azure azure iot pcs device simulation device simulation overview deploy to azure http azuredeploy net deploybutton png https www azureiotsolutions com accelerators solutions types ds this service allows management of a pool of simulated devices the service helps test the end to end flow of iot applications the service simulates devices that send device to cloud d2c telemetry and allows cloud to device c2d methods to be invoked by application connected iot hub the service provides a restful endpoint to configure the simulation details to start and stop the simulation to add and remove virtual devices the simulation is composed by a set of virtual devices of different models each sending telemetry and replying to method calls each device model defines a distinct behavior e g the data generated by virtual sensors frequency and format of the telemetry network protocols and which methods are supported img src https github com azure device simulation dotnet blob master docs overview png dependencies the service depends on azure iot hub iothub url used to store virtual devices to send telemetry and receive method calls storage adapter microservice storageadapter url used to store the simulation details configuration settings to connect to iot hub and the storage adapter these settings are stored in environment variables which are referenced by the service configuration see below for more information how to use the microservice quickstart running the service with docker 1 create an instance of azure iot hub iothub url 1 follow the storage quickstart instructions storageadapter url for setting up the storage used by storage adapter microservice 1 find your iot hub connection string see understanding iothub connection strings iothubconnstring url if you need help finding it 1 store the iot hub connection string in the env vars setup scripts script then run the script when using macos linux the environment variables need to be set in the same terminal session where docker is executed every time a new session is created 1 install docker compose docker compose install url 1 start the simulation service using docker compose cd scripts cd docker docker compose up 1 use an http client such as postman postman url to exercise the restful api wiki createsim url to create a simulation running the service locally e g for development tasks the service can be started from any c ide and from the command line the only difference you might notice is how environment variables are configured see the configuration and environment variables configuration and environment variables documentation below for more information 1 install net core sdk 2 1 607 dotnet install 1 install any recent edition of visual studio windows macos or visual studio code windows macos linux 1 create an instance of azure iot hub iothub url 1 follow the storage quickstart instructions storageadapter url for setting up and running the storage adapter microservice which should be listening at http 127 0 0 1 9022 1 open the solution in visual studio or vs code 1 define the following environment variables see configuration and environment variables configuration and environment variables for detailed information for setting these for your enviroment pcs iothub connstring your azure iot hub connection string 1 start the webservice project e g press f5 1 test if the service is running opening http 127 0 0 1 9003 v1 status 1 using an http client like postman postman url use the restful api wiki createsim url to create a simulation project structure the solution contains the following projects and folders webservice asp net web api exposing a restful api for simulation functionality e g start stop add devices etc this is also the service entry point starting all the main threads simulationagent library containing the logic that controls the simulation the logic is started by the webservice assembly services library containing common business logic for interacting with azure iot hub storage adapter and to run the simulation code webservice test unit tests for the asp net web api project simulationagent test unit tests for the simulationagent project services test unit tests for the services library scripts a folder containing scripts for the command line console to build and run the solution and other frequent tasks build and run from the command line the scripts scripts folder contains scripts for many frequent tasks build compile all the projects and run the tests compile compile all the projects run compile the projects and run the service this will prompt for elevated privileges in windows to run the web service building a customized docker image the scripts folder includes a docker scripts docker subfolder with the scripts required to package the service into a docker image dockerfile docker image specifications build build a docker image and store the image in the local registry run run the docker container from the image stored in the local registry content a folder with files copied into the image including the entry point script you can also start device simulation and its dependencies in one simple step using docker compose with the docker compose yml scripts docker docker compose yml file in the project cd scripts cd docker docker compose up the docker compose configuration requires the iothub and storageadapter web service url environment variables described previously configuration and environment variables the service configuration is accessed via asp net core configuration adapters and stored in appsettings ini webservice appsettings ini the ini format allows to store values in a readable format with comments the configuration also supports references to environment variables e g to import credentials and network details environment variables are not mandatory though you can for example edit appsettings ini and write credentials directly in the file just be careful not sharing the changes e g sending a pull request or checking in the changes in git the configuration file in the repository references some environment variables that need to be defined depending on the os and the ide used there are several ways to manage environment variables 1 if you re using visual studio or visual studio for mac the environment variables are loaded from the project settings right click on webservice and select options properties and find the section with the list of env vars see webservice properties launchsettings json webservice properties launchsettings json 1 visual studio code loads the environment variables from vscode launch json vscode launch json 1 when running the service with docker or from the command line the application will inherit environment variables values from the system this page windows envvars howto url describes how to setup env vars in windows we suggest to edit and execute once the env vars setup cmd scripts env vars setup cmd script included in the repository the settings will persist across terminal sessions and reboots for linux and macos we suggest to edit and execute env vars setup scripts env vars setup each time before starting the service depending on os and terminal there are ways to persist values globally for more information these pages should help https stackoverflow com questions 13046624 how to permanently export a variable in linux https stackoverflow com questions 135688 setting environment variables in os x https help ubuntu com community environmentvariables other resources device models specification device model wiki simulation service api specs simulation service api spec wiki device models api specs device models api spec wiki simulations api specs simulation api spec wiki contributing to the solution please follow our contribution guidelines docs contributing md we love prs too troubleshooting todo feedback please enter issues bugs or suggestions as github issues here https github com azure device simulation dotnet issues build badge https img shields io travis azure device simulation dotnet svg build url https travis ci org azure device simulation dotnet issues badge https img shields io github issues azure device simulation dotnet svg issues url https github com azure device simulation dotnet issues gitter badge https img shields io gitter room azure iot solutions js svg gitter url https gitter im azure iot solutions iothub url https azure microsoft com services iot hub storageadapter url https github com azure pcs storage adapter dotnet blob master readme md iothubconnstring url https blogs msdn microsoft com iotdev 2017 05 09 understand different connection strings in azure iot hub postman url https www getpostman com wiki createsim url https github com azure device simulation dotnet wiki 5bapi specifications 5d simulations create default simulation vs install url https www visualstudio com downloads dotnet install https dotnet microsoft com download dotnet core 2 1 windows envvars howto url https superuser com questions 949560 how do i set system environment variables in windows 10 docker compose install url https docs docker com compose install device model wiki https github com azure device simulation dotnet wiki device models simulation service api spec wiki https github com azure device simulation dotnet wiki 5bapi specifications 5d service device models api spec wiki https github com azure device simulation dotnet wiki 5bapi specifications 5d device models simulation api spec wiki https github com azure device simulation dotnet wiki 5bapi specifications 5d simulations | iot simulation simulation-modeling simulation-engine azure-iot azure azure-iothub iothub | server |
MML-Book | mathematics for machine learning mml book my self study by folder python code just play code i used to better understand various concepts mix of gaussians was tricky in particular chapter exercises solutions solutions to exercises for each chapter notebooks might take a bit of time to render all the latex chapter 2 solutions notebook https nbviewer jupyter org github ilmoi mml book blob master end 20of 20chapter 20exercises chapter 202 20exercises ipynb pdf https github com ilmoi mml book blob master end 20of 20chapter 20exercises chapter 202 20exercises 20 20pdf pdf chapter 3 solutions notebook https nbviewer jupyter org github ilmoi mml book blob master end 20of 20chapter 20exercises chapter 203 20exercises ipynb pdf https github com ilmoi mml book blob master end 20of 20chapter 20exercises chapter 203 20exercises 20 20pdf pdf chapter 4 solutions notebook https nbviewer jupyter org github ilmoi mml book blob master end 20of 20chapter 20exercises chapter 204 20exercises ipynb pdf https github com ilmoi mml book blob master end 20of 20chapter 20exercises chapter 204 20exercises 20 20pdf pdf chapter 5 solutions notebook https nbviewer jupyter org github ilmoi mml book blob master end 20of 20chapter 20exercises chapter 205 20exercises ipynb pdf https github com ilmoi mml book blob master end 20of 20chapter 20exercises chapter 205 20exercises 20 20pdf pdf chapter 6 solutions notebook https nbviewer jupyter org github ilmoi mml book blob master end 20of 20chapter 20exercises chapter 206 20exercises ipynb pdf https github com ilmoi mml book blob master end 20of 20chapter 20exercises chapter 206 20exercises 20 20pdf pdf chapter 7 solutions notebook https nbviewer jupyter org github ilmoi mml book blob master end 20of 20chapter 20exercises chapter 207 20exercises ipynb pdf https github com ilmoi mml book blob master end 20of 20chapter 20exercises chapter 207 20exercises 20 20pdf pdf misc misc knowledge is power share it | mml-book machine-learning self-study math-for-machine-learning | ai |
azure_openai_langchain_sample | langchain examples with azure openai service this repository contains various examples of how to use langchain https python langchain com en latest index html a way to use natural language to interact with llm a large language model from azure openai service https learn microsoft com en us azure cognitive services openai overview you can discover how to query llm using natural language commands how to generate content using llm and natural language inputs and how to integrate llm with other azure services using natural language connectors this repository is intended for developers who want to explore the possibilities of using natural language to access and control llm chat with csv ipynb https github com easonlai azure openai langchain sample blob main chat with csv ipynb example of using langchain https python langchain com en latest modules models llms integrations azure openai example html to interact with csv https python langchain com en latest modules agents toolkits examples csv html data via chat i leveraged a sample dataset of the sales performance dqlab store https www kaggle com datasets dhawyfarrasputra sales performance report dqlab store from kaggle https www kaggle com to chat with data to figure out valuable insight chat with csv verbose ipynb https github com easonlai azure openai langchain sample blob main chat with csv verbose ipynb example of using langchain to interact with csv data via chat containing a verbose switch to show the llm thinking process chat with multiple csv ipynb https github com easonlai azure openai langchain sample blob main chat with multiple csv ipynb example of langchain 0 0 181 or above to interact with multiple csv files data via chat i leveraged cnbc news data from data world https data world crawlfeeds cnbc news dataset date title only and nasdaq data from yahoo finance https finance yahoo com quote 5eixic history p 5eixic to chat with both datasets to figure out valuable insight chat with pdf ipynb https github com easonlai azure openai langchain sample blob main chat with pdf ipynb example of using langchain to interact with a pdf file via chat qa chain https python langchain com en latest use cases question answering html document question answering i leverage an awesome book machine learning yearning from andrew ng https info deeplearning ai machine learning yearning book to chat with the book enjoy | azure-openai azure-openai-api azure-openai-service csv data-analysis langchain langchain-python openai python python3 | ai |
MortgageBlockchainFabric | mortgage processing with blockchain and hyperledger fabric mortgage industry has been around for a long time but has not improved the processing times for end to end mortgage application processing this is due to the archaic technology and processes still followed by the parties involved in the mortgage food chain currently it takes on an average of 40 days from submitting home loan application to closing the loan or settlement of funds blockchain mortgages has a potential to disrupt the existing processes and could eliminate costs and inefficiencies thus improving closing time line and saving a lot of fees that are currently charged in each step of application processing mortgage consortium setup 1 a peer for each organization 2 pre created member service providers msp for authentication and identification 3 an orderer using solo 4 records channel this channel is public blockchain which is owned by city district for recording properties details ownership and title history for tax purposes everyone has read access to it but only registry city can create update it 5 lending channel is for lenders credit bureaus titel companies and insurers to share information about prospective buyer it is off limits to others for protecting sensitive information and data integrity lenders bureaus and insurers can update add transactions and auditors regulators title companies have read only access to it 6 books or appraiser title channel is for appraisers and title companies to add update transactions since these are third parties to lenders and to resolve conflict of interests with lenders lenders and registry have read access only which it needs for processing loan alt text img mrtgconsortium jpg records blockchain records blockchain img recordsblk jpg lending blockchain lending blockchain img lendingblk jpg books blockchain appraisal blockchain img appraiserblk jpg access control for channels access controls img accesscontrol jpg flowchart and 3 blockchains access controls img flow jpg directory structure chaincode mrtgexchg mrtgexchg go cli yaml configtx yaml crypto config yaml docker compose mrtgexchg yaml img peer yaml readme md scripts chaincodeinstallinstantiate sh cleanup sh createartifacts sh checkorgchannelssubscription sh creatchannels sh createledgerentries sh createloanrequest sh createloanrequest 2 sh createloanrequest 3 sh joinchannels sh query sh queryall sh setupnetwork sh start network sh stop network sh features fabric allows for channel and accesscontrol to limit read and write access to blockchains we have chaincode level as well as network level access controls 1 chaincode level access control is implemented with creatorbyte stub getcreator and then subsequently checking if c producer stub in invoke to allow instantiators of chaincode to create blocks this can be further improved as protobuf does not guarantee a deterministic serialisation the simplest solution is to use following packages import github com golang protobuf proto github com hyperledger fabric protos msp and use them to deserialise the signatureheader then decode the certificate the packages we need to import therefore are not included in the chaincode container so we have to vendor them you can get the govendor tool with go get u github com kardianos govendor e g in the chaincode container by using dev mode get serialised data serialised stub getcreator use protobuf to deserialise data var id msp serializedidentity proto unmarshal serialised id 2 network level is implemented with peer chaincode instantiate option to allow read and write access to orgs for e g in the following bank can create new blocks on lending blockchain and insurance fico orgs can update them the rest of the orgs have readonly access on lending chanel docker exec cli bank bash c peer chaincode instantiate c lending n lendingchaincode v 0 c args p or bankmsp member insurancemsp member ficomsp member requirements please resolve all issues and get the first network up and running before attempting to install and run this demo you can find ubuntu cheat sheet to get basic fabric running by following setting up fabric pdf document included in this repo and could be found at the root of the folder structure you can also take advantage of free courses from b9labacademy com at https academy b9lab com following are the software dependencies required to install and run hyperledger explorer docker 17 06 2 ce https www docker com community edition docker compose 1 14 0 https docs docker com compose go programming language 1 7 x git curl and other binaries needed to run on windows or os x optionals atom vscode for editing files kitematic for docker view clone repository clone this repository to get the latest using the following command 1 https github com archstrategy mortgageblockchainfabric git 2 rename top level folder to mrtgexchg for some reason the network chokes without this name 2 cd mrtgexchg setup network run the following command to kill any stale or active containers scripts cleanup sh create artifacts certs genesis block and channel info scripts createartifacts sh build chaincodes compile before you deploy this step is optional but is a must if you edit chaincodes and want to restart the network so as to make sure it does not fail to compile during deployment go get u tags nopkcs11 github com hyperledger fabric core chaincode shim go build tags nopkcs11 start network with start option scripts start network sh scripts setupnetwork sh this script creates channels join channels instantiates and installs chaincode populates ledger with initial entries realestates on records and realestates on books blockchains it will also dump the entire ledgers at the end you can check if we have correct entries in all the ledgers lending ledger should be empty as we have not submitted any loan application query result key 11111 record realestateid 11111 address 10 high strret la 75004 value 1 1e 06 details 6501 sq ft 7 beds 2 baths blah blah owner doug gates this shows audit trail for each record added to the ledger transactionhistory createrealestate wed 07 feb 2018 02 04 50 utc key 12131415 record realestateid 12131415 address 12 high strret la 75004 value 3 5e 06 details 6503 sq ft 7 beds 2 baths blah blah owner billy bob transactionhistory createrealestate wed 07 feb 2018 02 05 20 utc 2018 02 07 02 09 30 958 utc main main info 003 exiting this is for lending ledger which is empty as no buyers yet 2018 02 07 02 09 51 211 utc main main info 003 exiting query result and books ledger query result key 11111 record realestateid 11111 appraisal 0 newtitleowner transactionhistory initiatebooks wed 07 feb 2018 02 07 22 utc key 12131415 record realestateid 12131415 appraisal 0 newtitleowner transactionhistory initiatebooks wed 07 feb 2018 02 07 53 utc key 891011 record realestateid 891011 appraisal 0 newtitleowner transactionhistory initiatebooks wed 07 feb 2018 02 07 38 utc now run the loan origination to watch how different actors call chaincode to process loan application you can submit 3 loan requests with 3 scripts we have a requirement of title search for closing the loan that is randomized to produce true false so there is 50 50 chance that your loan will be funded hence we try 3 loan requests to get at least one to go through with funded status you can also edit these sripts and global replace realestateid and new owner input by picking a different property from createledgerentries sh file scripts createloanrequest sh scripts createloanrequest 2 sh scripts createloanrequest 3 sh you can monitor bank container which should output the outcome of loan status funded or rejected as shown below trying to close mortgage loan ficoscore 769 6071226805949 fico threshold 650 insurance quote 4429 811036785886 insurance threshold 0 loan amount 450000 appraised value 808260 2772959969 title status true loan funded trying to close mortgage loan ficoscore 746 867182473202 fico threshold 650 insurance quote 4150 906754866397 insurance threshold 0 loan amount 450000 appraised value 1 9166020083866343e 06 title status false loan rejected test access control 1 try to create a realestate record on records chain as a bank docker exec cli bank bash c peer chaincode invoke c records n mrtgexchg v 0 c args createrealestate 9999 995 high strret tx 795000 9250000 49000 sq ft 39 beds 2 baths blah blah test fail error error endorsing invoke rpc error code unknown desc chaincode error status 500 message no matching chain code function found create initiate close and record mortgage can only be invoked by chaincode instantiators which are bank registry and appraiser nil 2 try to create a records on books chain chain as a bank docker exec cli bank bash c peer chaincode invoke c books n mrtgexchg v 0 c args initiatebooks 9999 error error endorsing invoke rpc error code unknown desc chaincode error status 500 message no matching chain code function found create initiate close and record mortgage can only be invoked by chaincode instantiators which are bank registry and appraiser nil next steps 1 use vendor package for protobuf deterministic serialization as talked about in features section 2 node js frontend ui | blockchain blockchain-technology hyperledger fabric ibm mortgages processing applications payments fintech finance chaincode smart-contracts chaincodecallingchaincode protobuf interchannel chaincodeinvoke channels | blockchain |
Awesome-Deep-Vision-v2 | awesome deep vision v2 awesome https cdn rawgit com sindresorhus awesome d7305f38d29fed78fa85652e3a63e154dd8e8829 media badge svg https github com sindresorhus awesome maintainers eungbean lee https eungbean github io a curated list of deep learning resources for computer vision inspired by awesome deep vision https github com kjw0612 awesome deep vision it is no longer maintained since 2017 i am taking this list as a milestone for studying computer vision fields i would like to inform you that i have rewritten the latest papers and important papers useage 1 fork star this repo 2 after reading paper modify checkbox as checked unread awesome paper conf 2019 someone gineus paper read awesome paper conf 2019 someone gineus paper markdown unread awesome paper conf 2019 someone gineus paper read awesome paper conf 2019 someone gineus paper 3 if you want to display the day you read the paper add a badge next to the list i ll give you some useful badges just copy paste modify markdown https img shields io badge important red svg markdown https img shields io badge important red svg you can make your own badge here https shields io 4 enjoy references awesome deep learning https github com terryum awesome deep learning papers by terry um https www facebook com terryum io awesome deep vision https github com kjw0612 awesome deep vision by jiwon kim https github com kjw0612 heesoo myeong https github com hmyeong myungsub choi https github com myungsub jung kwon lee https github com deruci taeksoo kim https github com jazzsaxmafia awesome computer vision https github com jbhuang0604 awesome computer vision by jia bin huang http www jiabinhuang com research paper reading list https github com txizzle reading list by ted xiao http www tedxiao me table of contents general resources general resources paper lists paper lists courses courses lab blogs lab blogs personal blogs personal blogs books books videos videos papers papers computational photography computational photography filtering filtering imagenet classification imagenet classification object detection object detection video object segmentation video object segmentation object tracking object tracking low level vision low level vision super resolution super resolution matching matching other applications other applications edge detection edge detection semantic segmentation semantic segmentation visual attention and saliency visual attention and saliency object recognition object recognition human pose estimation human pose estimation understanding cnn understanding cnn image and language image and language image captioning image captioning video captioning video captioning question answering question answering image generation image generation gan gan 3d 3d other topics other topics software software framework framework applications applications tutorials tutorials more general resources paper lists awesome deep learning https github com terryum awesome deep learning papers deep learning papers reading roadmap https github com songrotek deep learning papers reading roadmap awesome deep vision https github com kjw0612 awesome deep vision deep reinforcement learning papers https github com junhyukoh deep reinforcement learning papers ml b summer reading list https docs google com spreadsheets d 1921snepdp5iqmqtfhic7fotcgaxh27xk9mbs993cqxg edit gid 0 courses machine learning uc berkeley cs 189 289a introduction to machine learning http www inst eecs berkeley edu cs189 fa15 fall 2015 uc berkeley login required ee 221a nonlinear systems https inst eecs berkeley edu ee222 sp17 uc berkeley fall 2016 deep learning udacity nd101 deep learning 999 https www udacity com course deep learning nanodegree nd101 oxford deep learning by prof nando de freitas https www cs ox ac uk people nando defreitas machinelearning nyu deep learning by prof yann lecun http cilvr cs nyu edu doku php id courses deeplearning2014 start ieor 265 learning and optimization http ieor berkeley edu aaswani teaching sp16 265 uc berkeley spring 2016 deep learning for everybody korean https hunkim github io ml by hun kim https github com hunkim deep vision udacity ud810 introduction to computer vision with georgia tech https www udacity com course introduction to computer vision ud810 udacity nd891 computer vision with deep learning 999 https www udacity com course computer vision nanodegree nd891 stanford cs231n convolutional neural networks for visual recognition http cs231n stanford edu cuhk eleg 5040 advanced topics in signal processing introduction to deep learning https piazza com cuhk edu hk spring2015 eleg5040 home more deep learning stanford cs224d deep learning for natural language processing http cs224d stanford edu cs 294 129 designing visualizing and understanding deep neural networks https bcourses berkeley edu courses 1453965 uc berkeley fall 2016 uc berkeley login required cs 294 112 deep reinforcement learning http rll berkeley edu deeprlcoursesp17 uc berkeley spring 2017 cs 294 131 special topics in deep learning https berkeley deep learning github io cs294 131 s17 uc berkeley spring 2017 lab blogs bair blog http bair berkeley edu blog deepmind blog https deepmind com blog openai blog https blog openai com google research blog https research googleblog com gbrain blog https research googleblog com search label google 20brain fair blog https research fb com blog nvidia blog https blogs nvidia com blog category deep learning msr blog https www microsoft com en us research blog facebook s ai painting wired http www wired com 2015 06 facebook googles fake brains spawn new visual reality personal blogs towards data science https towardsdatascience com lilian weng openai https lilianweng github io lil log eric jang robotics at google http evjang com articles html alex irpan robotics at google https www alexirpan com old but useful posts deep down the rabbit hole cvpr 2015 and beyond tombone s computer vision blog http www computervisionblog com 2015 06 deep down rabbit hole cvpr 2015 and html cvpr recap and where we re going zoya bylinskii mit phd student s blog http zoyathinks blogspot kr 2015 06 cvpr recap and where were going html inceptionism going deeper into neural networks google research http googleresearch blogspot kr 2015 06 inceptionism going deeper into neural html implementing neural networks http peterroelants github io books free online books deep learning by ian goodfellow yoshua bengio and aaron courville http www iro umontreal ca bengioy dlbook neural networks and deep learning by michael nielsen http neuralnetworksanddeeplearning com deep learning tutorial by lisa lab university of montreal http deeplearning net tutorial deeplearning pdf books pattern recognition and machine learning by c bishop http users isr ist utl pt wurmd livros school bishop 20 20pattern 20recognition 20and 20machine 20learning 20 20springer 20 202006 pdf grokking deep learning for computer vision by m elgendy https www manning com books grokking deep learning for computer vision videos talks deep learning self taught learning and unsupervised feature learning by andrew ng https www youtube com watch v n1vinewhc24 recent developments in deep learning by geoff hinton https www youtube com watch v vshmxxqtdds the unreasonable effectiveness of deep learning by yann lecun https www youtube com watch v sc kbuzqgki deep learning of representations by yoshua bengio https www youtube com watch v 4xsvflnhc 0 siraj raval https www youtube com channel ucwn3xxrkmtpmbkwht9fue5a terry s deep learning talk korean https www youtube com playlist list pl0ofi08o71gkexitq7og2sccxkrtid7fq by terry um https www facebook com deeplearningtalk video series deep learning crash course by leo isikdogan https www youtube com watch v nmnao6esc7c list plwkotbjtdolj3rxbl neiprn9v3a9cx07 hands on deep learning tensorflow coding sessions https www youtube com watch v 1kzjbifnvte list plwkotbjtdolhcczrktdyukfdu3bwxrnan papers computational photography sift ijcv 2004 dg lowe paper https www cs ubc ca lowe papers ijcv04 pdf post https bskyvision com 21 hog cvpr 2005 n dalal paper https lear inrialpes fr people triggs pubs dalal cvpr05 pdf recovering high dynamic range radiance maps from photographs siggraph 1997 pe debevec paper http www pauldebevec com research hdr debevec siggraph97 pdf poisson image editing siggraph 2003 p p rez paper http www irisa fr vista papers 2003 siggraph perez pdf single image haze removal using dark channel prior tpami 2011 kaiming he paper https www robots ox ac uk vgg rg papers hazeremoval pdf digital photography with flash and no flash image pairs 2004 georg petschnigg paper http hhoppe com flash pdf filtering bilateral filter 1998 c tomasi paper https www csie ntu edu tw cyy courses vfx 10spring lectures handouts lec14 bilateral 4up pdf guided filter eccv 2010 kaiming he paper http kaiminghe com publications eccv10guidedfilter pdf project http kaiminghe com eccv10 rolling guidance filter eccv 2014 q zhang paper rolling guidance filter https pdfs semanticscholar org c4000f5c71c22fb4a22fcf5dd0 project http www cse cuhk edu hk leojia projects rollguidance wls filter siggraph 2008 z farbman paper http evasion imag fr enseignement cours 2009 projetimage multiscale multiscale pdf projects http www cs huji ac il danix epd deep joint filtering eccv 2016 y li paper http faculty ucmerced edu mhyang papers eccv16 joint filter pdf deep multi scale convolutional neural network for dynamic scene deblurring arxiv 1612 02177 seungjun nah paper https arxiv org abs 1612 02177 colorization using optimization acmtog 2004 a levin paper http webee technion ac il people anat levin papers colorization siggraph04 pdf domain transform for edge aware image and video processing acmtog 2011 esl gastel paper https dl acm org citation cfm id 1964964 imagenet classification classification https cloud githubusercontent com assets 5226447 8451949 327b9566 2022 11e5 8b34 53b4a64c13ad png from alex krizhevsky ilya sutskever geoffrey e hinton imagenet classification with deep convolutional neural networks nips 2012 resnet arxiv 1512 03385 k he paper http arxiv org pdf 1512 03385v1 pdf slide http image net org challenges talks ilsvrc2015 deep residual learning kaiminghe pdf prelu weight initialization arxiv 1502 01852 kaiming he xiangyu zhang shaoqing ren jian sun paper http arxiv org pdf 1502 01852 googlenet cvpr 2015 christian szegedy wei liu yangqing jia pierre sermanet scott reed dragomir anguelov dumitru erhan vincent vanhoucke andrew rabinovich paper http arxiv org pdf 1409 4842 vgg net iclr 2015 karen simonyan and andrew zisserman web http www robots ox ac uk vgg research very deep paper http arxiv org pdf 1409 1556 alexnet nips 2012 alex krizhevsky ilya sutskever geoffrey e hinton paper http papers nips cc book advances in neural information processing systems 25 2012 object detection object detection https cloud githubusercontent com assets 5226447 8452063 f76ba500 2022 11e5 8db1 2cd5d490e3b3 png from shaoqing ren kaiming he ross girshick jian sun faster r cnn towards real time object detection with region proposal networks arxiv 1506 01497 object detection tree images objectdetection png pvanet arxiv 1608 08021 kye hyeon kim paper https arxiv org pdf 1608 08021 code https github com sanghoon pva faster rcnn overfeat iclr 2014 p sermanet paper http arxiv org pdf 1312 6229 pdf r cnn cvpr 2014 ross girshick paper cvpr14 http www cv foundation org openaccess content cvpr 2014 papers girshick rich feature hierarchies 2014 cvpr paper pdf paper arxiv14 http arxiv org pdf 1311 2524 spp spatial pyramid pooling eccv 2014 kaiming he paper http arxiv org pdf 1406 4729 fast r cnn arxiv 1504 08083 ross girshick paper http arxiv org pdf 1504 08083 faster r cnn arxiv 1506 01497 shaoqing ren paper http arxiv org pdf 1506 01497 r cnn minus r arxiv 1506 06981 karel lenc paper http arxiv org pdf 1506 06981 end to end people detection in crowded scenes arxiv 1506 04878 russell stewart paper http arxiv org abs 1506 04878 yolo real time object detection joseph redmon project https pjreddie com yolo c code https github com pjreddie darknet tf code https github com thtrieu darkflow yolo v1 arxiv 1506 02640 joseph redmon paper https arxiv org abs 1506 02640 yolo v2 arxiv 1612 08242 joseph redmon paper https arxiv org abs 1612 08242 yolo v3 1804 02767 joseph redmon paper https pjreddie com media files papers yolov3 pdf inside outside net arxiv 1512 04143 sean bell paper http arxiv org abs 1512 04143 deep residual network arxiv 1512 03385 kaiming he paper http arxiv org abs 1512 03385 weakly supervised object localization with multi fold multiple instance learning arxiv 1503 00949 paper http arxiv org pdf 1503 00949 pdf r fcn arxiv 1605 06409 jifeng dai paper https arxiv org abs 1605 06409 code https github com daijifeng001 r fcn ssd single shot multibox detector arxiv 1512 05325v2 paper https arxiv org pdf 1512 02325v2 pdf code https github com weiliu89 caffe tree ssd speed accuracy trade offs for modern convolutional object detectors arxiv 1611 10012 jonarhan nhuang paper https arxiv org pdf 1611 10012v1 pdf multispectral deep neural networks for pedestrian detection arxiv 1611 02644 j liu paper https arxiv org abs 1611 02644 r fcn nips 2016 paper https papers nips cc paper 6465 r fcn object detection via region based fully convolutional networks pdf r fpn cvpr 2017 ty lin paper https arxiv org abs 1612 03144 mask r cnn iccv 2017 k he paper https arxiv org abs 1703 06870 retinanet iccv 2017 ty lin paper https arxiv org abs 1708 02002 snip arxiv 1711 b singh paper https arxiv org abs 1711 08189 sniper arxiv 1805 b singh paper https arxiv org abs 1805 09300 video classification delving deeper into convolutional networks for learning video representations iclr 2016 nicolas ballas paper http arxiv org pdf 1511 06432v4 pdf deep multi scale video prediction beyond mean square error iclr 2016 michael mathieu paper http arxiv org pdf 1511 05440v6 pdf two stream convolutional networks for action recognition in videos arxiv 1406 2199 k simonyan paper https arxiv org abs 1406 2199 learning spatiotemporal features with 3d convolutional networks arxiv 1412 0767 d tran paper https arxiv org abs 1412 0767 video object segmentation 190904 vos https eungbean github io assets blog posts 2019 190904 vos png 1 unsupervised vos 190904 unsupervised https eungbean github io assets blog posts 2019 190904 unsupervised png cvpr2017 tokmakov et al learning motion patterns in videos mp net takes the optical flow field of two consecutive frames of a video sequence as input and produces per pixel motion labels arxiv2017 tokmakov et al learning video object segmentation with visual memory integrate one stream with appearance information and a visual memory module based on c gru cvpr2017 jain et al fusionseg learning to combine motion and appearance for fully automatic segmentation of generic objects in videos fseg design a two stream fully cnn to combine appearance and motion information arxiv2017 vijayanarasimahan et al sfm net learning of structure and motion from video geometry aware cnn to predict depth segmentation camera and rigid object motions eccv2018 song et al pyramid dilated deeper convlstm for video salient object detection pyramid dilated bidirectional convlstm architecture and crf based post process continued cvpr2018 li et al instance embedding transfer to unsupervised video object segmentation transfer transferring the knowledge encapsulated in image based instance embedding networks and adapt the instance networks to video object segmentation they propose a motion based bilateral network then a graph cut model is build to propagate the pixel wise labels nips2018 goel et al unsupervised video object segmentation for deep reinforcement learning deep reinforcement learning methods is proposed to automatically detect moving objects with the relevant information for action selection eccv2018 song et al pyramid dilated deeper convlstm for video salient object detection pyramid dilated bidirectional convlstm architecture and crf based post process continued cvpr2019 wang et al learning unsupervised video object segmentation through visual attention based on the cnn convlstm architecture visual attention driven unsupervised vos model 2 semi supervised cnn 190904 semisupervised https eungbean github io assets blog posts 2019 190904 semisupervised png 2 1 motion based methods i train network to incorporate optical flow 2 branch based papers color segmentation optical flow flownet iccv2017 cheng et al segflow joint learning for video object segmentation and optical flow cvpr2018 xiao et al monet deep motion exploitation for video object segmentation cvpr2018 luiten et al premvos proposal generation refinement and merging for the davis challenge on video object segmentation cvpr2017 khoreva et al lucidtrack lucid data dreaming for object tracking eccv2018 li et al vs reid video object segmentation with joint re identification and attention aware mask propagation cvpr2017 jampani et al video propagation networks temporal bilateral network to propagate video frames in an adaptive manner by using optical flow as additional feature cvpr2018 bao et al cnn in mrf video object segmentation via inference in a cnn based higher order spatio temporal mrf inference in cnn based spatio temporal mrf nips2017 hu et al motion guided cascaded refinement network for video object segmentation employ active contour on optical flow to segment moving object rnn based papers nips2017 hu et al maskrnn instance level video object segmentation build a rnn which fuses in each frame the output of a binary segmentation net and a localization net with optical flow eccv2018 li and loy video object segmentation with joint re identification and attention aware mask propagation combine temporal propagation and re identification functionalities into a single framework ii learn mask refinement of an object from current frame to the next one cvpr2017 perazzi et al learning video object segmentation from static images trains a refine the previous frame mask to create the current frame mask and directly infer the results from optical flow cvpr2018 yang et al efficient video object segmentation via network modulation use a very coarse location prior with visual and spatial modulation cvpr2018 oh et al fast video object segmentation by reference guided mask propagation use both the reference frame with annotation and the current frame with previous mask estimation to a deep network cvpr2018 han et al reinforcement cutting agent learning for video object segmentation a reinforcement cutting agent learning framework is to obtain the object box from the segmentation mask and propagates it to the next frame cvpr2019 paul et al feelvos fast end to end embedding learning for video object segmentation some methods leverage temporal information on the bounding boxes by tracking objects across frames arxiv2017 sharir et al video object segmentation using tracked object proposals present a temporal tracking method to enforce coherent segmentation throughout the video arxiv2018 cheng et al fast and accurate online video object segmentation via tracking parts utilize a part based tracking method on the bounding boxes and construct a region of interest segmentation network to generate part masks wacv2017 valipour et al recurrent fully convolutional networks for video segmentation introduce a combination of cnn and rnn for video object segmentation eccv2018 xu et al youtube vos sequence to sequence video object segmentation generate the initial states for our c lstm and use a ffnn to encode both the first frame and the segmentation mask cvpr2019 video object segmentation using space time memory networks cvpr2019 rvos end to end recurrent network for video object segmentation 2 2 detection based methods i without using temporal information some methods learn a appearance model to perform a pixel level detection and segmentation of the object at each frame cvpr2017 caelles et al osvos one shot video object segmentation post https eungbean github io 2019 07 03 osvos offline and online training process by a fcn on static image for one shot video object segmentation tpami2018 maninis et al voswti video object segmentation without temporal information extend the model of the object with explicit semantic information bmvc2017 voigtlaender et al online adaptation of convolutional neural networks for video object segmentation online adaptive video object segmentation arxiv2018 cheng et al fast and accurate online video object segmentation via tracking parts propose a method to propagate a coarse segmentation mask spatially based on the pairwise similarities in each frame ii other approaches formulate video object segmentation as a pixel wise matching problem to estimate an object of interest with subsequence images until the end of a sequence cvpr2017 yoon et al pixel level matching for video object segmentation using convolutional neural networks a pixel level matching net to distinguish the object from the background on the basis of the pixel level similarity btw two object units cvpr2018 chen et al pml blazingly fast video object segmentation with pixel wise metric learning formulate a pixel wise retrieval problem in an embedding space for video object segmentation eccv2017 hu et al videomatch matching based video object segmentation match extracted features to a provided template without memorizing the appearance of the objects cvpr2019 fast online object tracking and segmentation a unifying approach cvpr2019 bubblenets learning to select the guidance frame in video object segmentation by deep sorting frames 3 interactive vos 190904 interactive https eungbean github io assets blog posts 2019 190904 interactive png arxiv2017 benard et al interactive video object segmentation in the wild use osvos propose to refine the initial predictions with a fully connected crf arxiv2018 caelles et al the 2018 davis challenge on video object segmentation use osvos define a baseline method i e scribble osvos cvpr2018 chen et al blazingly fast video object segmentation with pixel wise metric learning formulate video object segmentation as a pixel wise retrieval problem and their method allow for a fast user interaction cvpr2016 xu et al deep interactive object selection ifcn guides a cnn from positive and negative points acquired from the ground truth masks cvpr2018 mannis et al deep extreme cut from extreme points to object segmentation build on ifcn to improve the results by using four points of an object as input to obtain precise object segmentation for images and videos 19cvpr fast user guided video object segmentation by interaction and propagation networks 4 weakly supervised vos 190904 weekly https eungbean github io assets blog posts 2019 190904 weekly png eccv2012 hartmann et al weakly supervised learning of object segmentations from web scale video training segment classifier formulate pixel level segmentations as multiple instance learning weakly supervised classifiers cvpr2013 tang et al discriminative segment annotation in weakly labeled video training segment classifier estimate the video in the positive sample with a large number of negative samples and regard those segments with a distinct appearance as the foreground cvpr2014 liu et al weakly supervised multiclass video segmentation performing label transfer weakly supervised multiclass video segmentation cvpr2015 zhang et al semantic object segmentation via detection in weakly labeled video using object detection without the need of training process eccv2016 tsai et al semantic co segmentation in videos does not require object proposal or video level annotations link objects btw different video and construct a graph for optimization accv2016 wang et al semi supervised domain adaptation for weakly labeled semantic video object segmentation combine the recognition and representation power of cnn with the intrinsic structure of unlabelled data arxiv2018 khoreva et al video object segmentation with language referring expressions employ natural language expressions to identify the target object in video their method integrate textual descriptions of interest as foreground into convnet based techniques 5 segment based tracking methods cvpr2019 wang et al fast online object tracking and segmentation a unifying approach siamese network to simultaneously estimate binary segmentation mask bounding box and the corresponding object background scores acmmcmc2018 zhang et al tracking assisted weakly supervised online visual object segmentation in unconstrained videos build a two branch network i e appearance network and contour network arxiv18 distractor aware siamese networks for visual object tracking cvpr2019 siamrpn evolution of siamese visual tracking with very deep networks 19sota object tracking online tracking by learning discriminative saliency map with convolutional neural network arxiv 1502 06796 seunghoon hong paper http arxiv org pdf 1502 06796 deeptrack learning discriminative feature representations by convolutional neural networks for visual tracking bmvc 2014 hanxi li paper http www bmva org bmvc 2014 files paper028 pdf learning a deep compact image representation for visual tracking nips 2013 n wang paper http winsty net papers dlt pdf hierarchical convolutional features for visual tracking iccv 2015 chao ma paper http www cv foundation org openaccess content iccv 2015 papers ma hierarchical convolutional features iccv 2015 paper pdf code https github com jbhuang0604 cf2 visual tracking with fully convolutional networks iccv 2015 lijun wang paper http 202 118 75 4 lu paper iccv2015 iccv15 lijun pdf code https github com scott89 fcnt learning multi domain convolutional neural networks for visual tracking arxiv 1510 07945 hyeonseob nam bohyung han paper http arxiv org pdf 1510 07945 pdf code https github com hyeonseobnam mdnet project page http cvlab postech ac kr research mdnet low level vision super resolution iterative image reconstruction ijcai 2001 sven behnke paper http www ais uni bonn de behnke papers ijcai01 pdf srcnn super resolution eccv 2014 chao dong web http mmlab ie cuhk edu hk projects srcnn html paper eccv14 http personal ie cuhk edu hk ccloy files eccv 2014 deepresolution pdf paper arxiv15 http arxiv org pdf 1501 00092 pdf very deep super resolution arxiv 1511 04587 jiwon kim paper http arxiv org abs 1511 04587 deeply recursive convolutional network arxiv 1511 04491 jiwon kim paper http arxiv org abs 1511 04491 casade sparse coding network iccv 2015 zhaowen wang paper http www ifp illinois edu dingliu2 iccv15 iccv15 pdf code http www ifp illinois edu dingliu2 iccv15 perceptual losses for super resolution arxiv 1603 08155 justin johnson paper http arxiv org abs 1603 08155 supplementary http cs stanford edu people jcjohns papers fast style fast style supp pdf srgan arxiv 1609 04802v3 christian ledig paper https arxiv org pdf 1609 04802v3 pdf image super resolution with fast approximate convolutional sparse coding iconip 2014 osendorfer paper 2014 http brml org uploads tx sibibtex 281 pdf matching convolutional neural network to compare image patches arxiv 1510 05970 s zagoruyko paper https arxiv org abs 1510 05970 discriminative learning of deep convolutional feature point descriptors iccv 2015 e simo serra paper https icwww epfl ch trulls pdf iccv 2015 deepdesc pdf 2015 matchnet cvpr 2015 x han paper https www cv foundation org openaccess content cvpr 2015 papers han matchnet unifying feature 2015 cvpr paper pdf computing the stereo matching cost with a convolutional neural network cvpr 2015 jure bontar paper http www cv foundation org openaccess content cvpr 2015 papers zbontar computing the stereo 2015 cvpr paper pdf colorful image colorization eccv 2016 richard zhang paper http arxiv org pdf 1603 08511 pdf code https github com richzhang colorization stereo matching adaptive support weight tpami 2006 kuk jin yoon paper http citeseerx ist psu edu viewdoc download doi 10 1 1 892 8572 rep rep1 type pdf fast cost volume filtering 2012 christoph rhemann paper http wwwpub zih tu dresden de cvweb publications papers 2012 fastcost volumefiltering pdf non rigid dense correspondence with applications for image enhancement tog 2011 y hacohen paper http www cs huji ac il yoavhacohen nrdc nrdc pdf multi modal and multi spectral registration for natural images eccv 2014 x shen paper https link springer com chapter 10 1007 978 3 319 10593 2 21 other applications flownet arxiv 1504 06852 p fischer paper https arxiv org abs 1504 06852 compression artifacts reduction arxiv 1504 06993 chao dong paper http arxiv org pdf 1504 06993 blur removal learning to deblur arxiv 1406 7444 christian j schuler paper http arxiv org pdf 1406 7444 pdf learning a convolutional neural network for non uniform motion blur removal cvpr 2015 jian sun paper http arxiv org pdf 1503 00593 image deconvolution nips 2014 li xu web http lxu me projects dcnn paper http lxu me mypapers dcnn nips14 pdf deep edge aware filter icmr 2015 li xu paper http jmlr org proceedings papers v37 xub15 pdf colorful image colorization eccv 2016 paper https arxiv org abs 1603 08511 project http richzhang github io colorization blog ryan dahl http tinyclouds org colorize feature learning by inpainting cvpr 2016 deepak pathak paper https arxiv org pdf 1604 07379v1 pdf code https github com pathak22 context encoder edge detection edge detection https cloud githubusercontent com assets 5226447 8452371 93ca6f7e 2025 11e5 90f2 d428fd5ff7ac png from gedas bertasius jianbo shi lorenzo torresani deepedge a multi scale bifurcated deep network for top down contour detection cvpr 2015 holistically nested edge detection arxiv 1504 06375 saining xie paper http arxiv org pdf 1504 06375 code https github com s9xie hed deepedge cvpr 2015 gedas bertasius paper http arxiv org pdf 1412 1123 deepcontour cvpr 2015 wei shen paper http mc eistar net uploadfiles papers deepcontour cvpr15 pdf semantic segmentation semantic segmantation https cloud githubusercontent com assets 5226447 8452076 0ba8340c 2023 11e5 88bc bebf4509b6bb png from jifeng dai kaiming he jian sun boxsup exploiting bounding boxes to supervise convolutional networks for semantic segmentation arxiv 1503 01640 pascal voc2012 challenge leaderboard 15 feb 2019 voc2012 top rankings images leaderboards2019 png from pascal voc2012 leaderboards http host robots ox ac uk 8080 leaderboard displaylb php challengeid 11 compid 6 deeplab semantic image segmentation with deep convolutional nets atrous convolution and fully connected crfs arxiv 1606 00915v2 liang chieh chen paper https arxiv org pdf 1606 00915 pdf fully convolutional networks for semantic segmentation cvpr 2015 jonathan long paper cvpr15 http www cv foundation org openaccess content cvpr 2015 papers long fully convolutional networks 2015 cvpr paper pdf paper arxiv15 http arxiv org pdf 1411 4038 learning deconvolution network for semantic segmentation arxiv 1505 04366 hyeonwoo noh paper http arxiv org pdf 1505 04366 7th ranked in voc2012 sec seed expand and constrain eccv 2016 alexander kolesnikov paper http pub ist ac at akolesnikov files eccv2016 main pdf code https github com kolesman sec adelaide guosheng lin efficient piecewise training of deep structured models for semantic segmentation arxiv 1504 01013 guosheng lin paper http arxiv org pdf 1504 01013 1st ranked in voc2012 deeply learning the messages in message passing inference arxiv 1508 02108 guosheng lin paper http arxiv org pdf 1506 02108 4th ranked in voc2012 deep parsing network dpn iccv 2015 ziwei liu paper http arxiv org pdf 1509 02634 pdf 2nd ranked in voc 2012 centralesuperboundaries arxiv 1511 07386 iasonas kokkinos paper http arxiv org pdf 1511 07386 4th ranked in voc 2012 boxsup arxiv 1503 01640 ifeng dai paper http arxiv org pdf 1503 01640 6th ranked in voc2012 postech decoupled deep neural network for semi supervised semantic segmentation arxiv 1506 04924 seunghoon hong paper http arxiv org pdf 1506 04924 learning transferrable knowledge for semantic segmentation with deep convolutional neural network arxiv 1512 07928 seunghoon hong paper http arxiv org pdf 1512 07928 pdf project page http cvlab postech ac kr research transfernet conditional random fields as recurrent neural networks arxiv 1502 03240 shuai zheng paper http arxiv org pdf 1502 03240 8th ranked in voc2012 deeplab arxiv 1502 02734 liang chieh chen paper http arxiv org pdf 1502 02734 9th ranked in voc2012 zoom out cvpr 2015 mohammadreza mostajabi paper http www cv foundation org openaccess content cvpr 2015 papers mostajabi feedforward semantic segmentation 2015 cvpr paper pdf joint calibration arxiv 1507 01581 holger caesar paper http arxiv org pdf 1507 01581 hypercolumn bharath hariharan cvpr 2015 paper http www cv foundation org openaccess content cvpr 2015 papers hariharan hypercolumns for object 2015 cvpr paper pdf deep hierarchical parsing cvpr 2015 abhishek sharma paper http www cv foundation org openaccess content cvpr 2015 papers sharma deep hierarchical parsing 2015 cvpr paper pdf learning hierarchical features for scene labeling clement farabet paper icml12 http yann lecun com exdb publis pdf farabet icml 12 pdf paper pami13 http yann lecun com exdb publis pdf farabet pami 13 pdf segnet web http mi eng cam ac uk projects segnet segnet arxiv 1511 00561 vijay badrinarayanan paper http arxiv org abs 1511 00561 bayesian segnet arxiv 1511 02680 alex kendall paper http arxiv org abs 1511 00561 multi scale context aggregation by dilated convolutions iclr 2016 fisher yu paper http arxiv org pdf 1511 07122v2 pdf segment phrase table for semantic segmentation visual entailment and paraphrasing iccv 2015 hamid izadinia paper http www cv foundation org openaccess content iccv 2015 papers izadinia segment phrase table for iccv 2015 paper pdf pusing the boundaries of boundary detection using deep learning iclr 2016 iasonas kokkinos paper http arxiv org pdf 1511 07386v2 pdf weakly supervised graph based semantic segmentation by learning communities of image parts iccv 2015 niloufar pourian paper http www cv foundation org openaccess content iccv 2015 papers pourian weakly supervised graph iccv 2015 paper pdf rich feature hierarchies for accurate object detection and semantic segmentation cvpr 2014 r girshick web https github com rbgirshick rcnn visual attention and saliency saliency https cloud githubusercontent com assets 5226447 8492362 7ec65b88 2183 11e5 978f 017e45ddba32 png from nian liu junwei han dingwen zhang shifeng wen tianming liu predicting eye fixations using convolutional neural networks cvpr 2015 mr cnn cvpr 2015 nian liu paper http www cv foundation org openaccess content cvpr 2015 papers liu predicting eye fixations 2015 cvpr paper pdf learning a sequential search for landmarks cvpr 2015 saurabh singh paper http www cv foundation org openaccess content cvpr 2015 papers singh learning a sequential 2015 cvpr paper pdf multiple object recognition with visual attention iclr 2015 jimmy lei ba paper http arxiv org pdf 1412 7755 pdf recurrent models of visual attention nips 2014 volodymyr mnih paper http papers nips cc paper 5542 recurrent models of visual attention pdf object recognition weakly supervised learning with convolutional neural networks cvpr 2015 maxime oquab paper http www cv foundation org openaccess content cvpr 2015 papers oquab is object localization 2015 cvpr paper pdf fv cnn cvpr 2015 mircea cimpoi paper http www cv foundation org openaccess content cvpr 2015 papers cimpoi deep filter banks 2015 cvpr paper pdf human pose estimation realtime multi person 2d pose estimation using part affinity fields cvpr 2017 zhe cao deepcut joint subset partition and labeling for multi person pose estimation cvpr 2016 leonid pishchulin convolutional pose machines cvpr 2016 shih en wei stacked hourglass networks for human pose estimation eccv 2016 alejandro newell flowing convnets for human pose estimation in videos iccv 2015 t pfister joint training of a convolutional network and a graphical model for human pose estimation nips 2014 jonathan j tompson understanding cnn understanding https cloud githubusercontent com assets 5226447 8452083 1aaa0066 2023 11e5 800b 2248ead51584 png from aravindh mahendran andrea vedaldi understanding deep image representations by inverting them cvpr 2015 understanding image representations by measuring their equivariance and equivalence cvpr 2015 karel lenc paper http www cv foundation org openaccess content cvpr 2015 papers lenc understanding image representations 2015 cvpr paper pdf deep neural networks are easily fooled high confidence predictions for unrecognizable images cvpr 2015 anh nguyen paper http www cv foundation org openaccess content cvpr 2015 papers nguyen deep neural networks 2015 cvpr paper pdf understanding deep image representations by inverting them cvpr 2015 aravindh mahendran paper http www cv foundation org openaccess content cvpr 2015 papers mahendran understanding deep image 2015 cvpr paper pdf object detectors emerge in deep scene cnns iclr 2015 bolei zhou arxiv paper http arxiv org abs 1412 6856 inverting visual representations with convolutional networks arxiv 1506 02753 alexey dosovitskiy paper http arxiv org abs 1506 02753 visualizing and understanding convolutional networks eccv 2014 matthrew zeiler paper https www cs nyu edu fergus papers zeilereccv2014 pdf image and language image captioning image captioning https cloud githubusercontent com assets 5226447 8452051 e8f81030 2022 11e5 85db c68e7d8251ce png from andrej karpathy li fei fei deep visual semantic alignments for generating image description cvpr 2015 ucla baidu paper http arxiv org pdf 1410 1090 junhua mao wei xu yi yang jiang wang alan l yuille explain images with multimodal recurrent neural networks arxiv 1410 1090 toronto paper http arxiv org pdf 1411 2539 ryan kiros ruslan salakhutdinov richard s zemel unifying visual semantic embeddings with multimodal neural language models arxiv 1411 2539 berkeley paper http arxiv org pdf 1411 4389 jeff donahue lisa anne hendricks sergio guadarrama marcus rohrbach subhashini venugopalan kate saenko trevor darrell long term recurrent convolutional networks for visual recognition and description arxiv 1411 4389 google paper http arxiv org pdf 1411 4555 oriol vinyals alexander toshev samy bengio dumitru erhan show and tell a neural image caption generator arxiv 1411 4555 stanford web http cs stanford edu people karpathy deepimagesent paper http cs stanford edu people karpathy cvpr2015 pdf andrej karpathy li fei fei deep visual semantic alignments for generating image description cvpr 2015 uml ut paper http arxiv org pdf 1412 4729 subhashini venugopalan huijuan xu jeff donahue marcus rohrbach raymond mooney kate saenko translating videos to natural language using deep recurrent neural networks naacl hlt 2015 cmu microsoft paper arxiv http arxiv org pdf 1411 5654 paper cvpr http www cs cmu edu xinleic papers cvpr15 rnn pdf xinlei chen c lawrence zitnick learning a recurrent visual representation for image caption generation arxiv 1411 5654 xinlei chen c lawrence zitnick mind s eye a recurrent visual representation for image caption generation cvpr 2015 microsoft paper http arxiv org pdf 1411 4952 hao fang saurabh gupta forrest iandola rupesh srivastava li deng piotr doll r jianfeng gao xiaodong he margaret mitchell john c platt c lawrence zitnick geoffrey zweig from captions to visual concepts and back cvpr 2015 univ montreal univ toronto web http kelvinxu github io projects capgen html paper http www cs toronto edu zemel documents captionattn pdf kelvin xu jimmy lei ba ryan kiros kyunghyun cho aaron courville ruslan salakhutdinov richard s zemel yoshua bengio show attend and tell neural image caption generation with visual attention arxiv 1502 03044 icml 2015 idiap epfl facebook paper http arxiv org pdf 1502 03671 remi lebret pedro o pinheiro ronan collobert phrase based image captioning arxiv 1502 03671 icml 2015 ucla baidu paper http arxiv org pdf 1504 06692 junhua mao wei xu yi yang jiang wang zhiheng huang alan l yuille learning like a child fast novel visual concept learning from sentence descriptions of images arxiv 1504 06692 ms berkeley jacob devlin saurabh gupta ross girshick margaret mitchell c lawrence zitnick exploring nearest neighbor approaches for image captioning arxiv 1505 04467 paper http arxiv org pdf 1505 04467 pdf jacob devlin hao cheng hao fang saurabh gupta li deng xiaodong he geoffrey zweig margaret mitchell language models for image captioning the quirks and what works arxiv 1505 01809 paper http arxiv org pdf 1505 01809 pdf adelaide paper http arxiv org pdf 1506 01144 pdf qi wu chunhua shen anton van den hengel lingqiao liu anthony dick image captioning with an intermediate attributes layer arxiv 1506 01144 tilburg paper http arxiv org pdf 1506 03694 pdf grzegorz chrupala akos kadar afra alishahi learning language through pictures arxiv 1506 03694 univ montreal paper http arxiv org pdf 1507 01053 pdf kyunghyun cho aaron courville yoshua bengio describing multimedia content using attention based encoder decoder networks arxiv 1507 01053 cornell paper http arxiv org pdf 1508 02091 pdf jack hessel nicolas savva michael j wilber image representations and new domains in neural image captioning arxiv 1508 02091 ms city univ of hongkong paper http www cv foundation org openaccess content iccv 2015 papers yao learning query and iccv 2015 paper pdf ting yao tao mei and chong wah ngo learning query and image similarities with ranking canonical correlation analysis iccv 2015 video captioning berkeley web http jeffdonahue com lrcn paper http arxiv org pdf 1411 4389 pdf jeff donahue lisa anne hendricks sergio guadarrama marcus rohrbach subhashini venugopalan kate saenko trevor darrell long term recurrent convolutional networks for visual recognition and description cvpr 2015 ut uml berkeley paper http arxiv org pdf 1412 4729 subhashini venugopalan huijuan xu jeff donahue marcus rohrbach raymond mooney kate saenko translating videos to natural language using deep recurrent neural networks arxiv 1412 4729 microsoft paper http arxiv org pdf 1505 01861 yingwei pan tao mei ting yao houqiang li yong rui joint modeling embedding and translation to bridge video and language arxiv 1505 01861 ut berkeley uml paper http arxiv org pdf 1505 00487 subhashini venugopalan marcus rohrbach jeff donahue raymond mooney trevor darrell kate saenko sequence to sequence video to text arxiv 1505 00487 univ montreal univ sherbrooke paper http arxiv org pdf 1502 08029 pdf li yao atousa torabi kyunghyun cho nicolas ballas christopher pal hugo larochelle aaron courville describing videos by exploiting temporal structure arxiv 1502 08029 mpi berkeley paper http arxiv org pdf 1506 01698 pdf anna rohrbach marcus rohrbach bernt schiele the long short story of movie description arxiv 1506 01698 univ toronto mit paper http arxiv org pdf 1506 06724 pdf yukun zhu ryan kiros richard zemel ruslan salakhutdinov raquel urtasun antonio torralba sanja fidler aligning books and movies towards story like visual explanations by watching movies and reading books arxiv 1506 06724 univ montreal paper http arxiv org pdf 1507 01053 pdf kyunghyun cho aaron courville yoshua bengio describing multimedia content using attention based encoder decoder networks arxiv 1507 01053 tau usc paper https arxiv org pdf 1612 06950 pdf dotan kaufman gil levi tal hassner lior wolf temporal tessellation for video annotation and summarization arxiv 1612 06950 question answering question answering https cloud githubusercontent com assets 5226447 8452068 ffe7b1f6 2022 11e5 87ab 4f6d4696c220 png from stanislaw antol aishwarya agrawal jiasen lu margaret mitchell dhruv batra c lawrence zitnick devi parikh vqa visual question answering cvpr 2015 sunw scene understanding workshop virginia tech msr web http www visualqa org paper http arxiv org pdf 1505 00468 stanislaw antol aishwarya agrawal jiasen lu margaret mitchell dhruv batra c lawrence zitnick devi parikh vqa visual question answering cvpr 2015 sunw scene understanding workshop mpi berkeley web https www mpi inf mpg de departments computer vision and multimodal computing research vision and language visual turing challenge paper http arxiv org pdf 1505 01121 mateusz malinowski marcus rohrbach mario fritz ask your neurons a neural based approach to answering questions about images arxiv 1505 01121 toronto paper http arxiv org pdf 1505 02074 dataset http www cs toronto edu mren imageqa data cocoqa mengye ren ryan kiros richard zemel image question answering a visual semantic embedding model and a new dataset arxiv 1505 02074 icml 2015 deep learning workshop baidu ucla paper http arxiv org pdf 1505 05612 dataset hauyuan gao junhua mao jie zhou zhiheng huang lei wang wei xu are you talking to a machine dataset and methods for multilingual image question answering arxiv 1505 05612 postech paper http arxiv org pdf 1511 05756 pdf project page http cvlab postech ac kr research dppnet hyeonwoo noh paul hongsuck seo and bohyung han image question answering using convolutional neural network with dynamic parameter prediction arxiv 1511 05765 cmu microsoft research paper http arxiv org pdf 1511 02274v2 pdf yang z he x gao j deng l smola a 2015 stacked attention networks for image question answering arxiv 1511 02274 metamind paper http arxiv org pdf 1603 01417v1 pdf xiong caiming stephen merity and richard socher dynamic memory networks for visual and textual question answering arxiv 1603 01417 2016 snu naver paper http arxiv org abs 1606 01455 jin hwa kim sang woo lee dong hyun kwak min oh heo jeonghee kim jung woo ha byoung tak zhang multimodal residual learning for visual qa arxiv 1606 01455 uc berkeley sony paper https arxiv org pdf 1606 01847 akira fukui dong huk park daylen yang anna rohrbach trevor darrell and marcus rohrbach multimodal compact bilinear pooling for visual question answering and visual grounding arxiv 1606 01847 postech paper http arxiv org pdf 1606 03647 pdf hyeonwoo noh and bohyung han recurrent answering units with joint loss minimization for vqa arxiv 1606 03647 snu naver paper http arxiv org abs 1610 04325 jin hwa kim kyoung woon on jeonghee kim jung woo ha byoung tak zhang hadamard product for low rank bilinear pooling arxiv 1610 04325 image generation convolutional recurrent networks conditional image generation with pixelcnn decoders arxiv 1606 05328v2 a ron van den oord paper https arxiv org pdf 1606 05328v2 pdf code https github com kundan2510 pixelcnn learning to generate chairs with convolutional neural networks cvpr 2015 alexey dosovitskiy paper http www cv foundation org openaccess content cvpr 2015 papers dosovitskiy learning to generate 2015 cvpr paper pdf draw a recurrent neural network for image generation icml 2015 karol gregor paper https arxiv org pdf 1502 04623v2 pdf adversarial networks vanila gan nips 2014 ian j goodfellow paper http arxiv org abs 1406 2661 deep generative image models using a laplacian pyramid of adversarial network nips 2015 emily denton paper http arxiv org abs 1506 05751 a note on the evaluation of generative models iclr 2016 lucas theis paper http arxiv org abs 1511 01844 variationally auto encoded deep gaussian processes iclr 2016 zhenwen dai paper http arxiv org pdf 1511 06455v2 pdf generating images from captions with attention iclr 2016 elman mansimov paper http arxiv org pdf 1511 02793v2 pdf unsupervised and semi supervised learning with categorical generative adversarial networks iclr 2016 jost tobias springenberg paper http arxiv org pdf 1511 06390v1 pdf censoring representations with an adversary iclr 2016 harrison edwards paper http arxiv org pdf 1511 05897v3 pdf distributional smoothing with virtual adversarial training iclr 2016 takeru miyato paper http arxiv org pdf 1507 00677v8 pdf generative visual manipulation on the natural image manifold eccv 2016 jun yan zhu paper https arxiv org pdf 1609 03552v2 pdf code https github com junyanz igan video https youtu be 9c4z6ysbgq0 mixing convolutional and adversarial networks iclr 2016 alec radford paper http arxiv org pdf 1511 06434 pdf 3d unsupervised monocular depth estimation with left right consistency arxiv 1609 03677 cl ment godard paper https arxiv org abs 1609 03677 depth map prediction from a single image using a multi scale deep network nips 2014 david eigen paper https papers nips cc paper 5539 depth map prediction from a single image using a multi scale deep network pdf 3d shape retrieval cvpr 2015 fang wang paper http www cv foundation org openaccess content cvpr 2015 papers wang sketch based 3d shape 2015 cvpr paper pdf gan generative adversarial networks vanilla gan nips2014 i goodfellow paper https arxiv org abs 1406 2661 conditional gan 2014 m mirza paper https arxiv org abs 1411 1784 infogan 2016 xi chen paper https arxiv org abs 1606 03657 wasserstein gan 2017 m arjovsky paper https arxiv org abs 1701 07875 mode regularized gan 2017 t che paper https arxiv org abs 1612 02136 coupled gan 2016 my liu paper https arxiv org abs 1606 07536 auxiliary classifier gan 2017 a odena paper https arxiv org abs 1610 09585 least squares gan 2017 x mao paper https arxiv org abs 1611 04076v2 boundary seeking gan 2017 rd hjelm paper https arxiv org abs 1702 08431 energy based gan 2016 j zhao paper https arxiv org abs 1609 03126 f gan 2016 s nowozin paper https arxiv org abs 1606 00709 generative adversarial parallelization 2016 dj im paper https arxiv org abs 1612 04021 discogan 2017 ts kim paper https arxiv org abs 1703 05192 adversarial feature learning 2016 j donahue paper https arxiv org abs 1605 09782 adversarially learned inference 2016 v dumoulin paper https arxiv org abs 1606 00704 boundary equilibrium gan 2017 d berthelot paper https arxiv org abs 1703 10717 improved training for wasserstein gan paper https arxiv org abs 1704 00028 dualgan 2017 z yi paper https arxiv org abs 1704 02510 magan margin adaptation for gan 2017 r wang paper https arxiv org abs 1704 03817 softmax gan 2017 m lin paper https arxiv org abs 1704 06191 gibbsnet nips2017 a lamb paper https papers nips cc paper 7094 gibbsnet iterative adversarial inference for deep graphical models pdf big gan 2018 a brock paper https arxiv org abs 1809 11096 moco gan 2018 s tulyakov paper https arxiv org abs 1707 04993 training batch normalization arxiv 1502 03167 s ioffe paper http arxiv org pdf 1502 03167 weight standardization arxiv1903 s qiao paper https arxiv org pdf 1903 10520 pdf code https github com joe siyuan qiao weightstandardization other topics visual analogy paper https web eecs umich edu honglak nips2015 analogy pdf scott reed yi zhang yuting zhang honglak lee deep visual analogy making nips 2015 surface normal estimation paper http www cv foundation org openaccess content cvpr 2015 papers wang designing deep networks 2015 cvpr paper pdf xiaolong wang david f fouhey abhinav gupta designing deep networks for surface normal estimation cvpr 2015 action detection paper http www cv foundation org openaccess content cvpr 2015 papers gkioxari finding action tubes 2015 cvpr paper pdf georgia gkioxari jitendra malik finding action tubes cvpr 2015 crowd counting paper http www cv foundation org openaccess content cvpr 2015 papers zhang cross scene crowd counting 2015 cvpr paper pdf cong zhang hongsheng li xiaogang wang xiaokang yang cross scene crowd counting via deep convolutional neural networks cvpr 2015 weakly supervised classification samaneh azadi jiashi feng stefanie jegelka trevor darrell auxiliary image regularization for deep cnns with noisy labels iclr 2016 paper http arxiv org pdf 1511 07069v2 pdf artistic style paper http arxiv org abs 1508 06576 code https github com jcjohnson neural style leon a gatys alexander s ecker matthias bethge a neural algorithm of artistic style human gaze estimation xucong zhang yusuke sugano mario fritz andreas bulling appearance based gaze estimation in the wild cvpr 2015 paper http www cv foundation org openaccess content cvpr 2015 papers zhang appearance based gaze estimation 2015 cvpr paper pdf website https www mpi inf mpg de departments computer vision and multimodal computing research gaze based human computer interaction appearance based gaze estimation in the wild mpiigaze face recognition yaniv taigman ming yang marc aurelio ranzato lior wolf deepface closing the gap to human level performance in face verification cvpr 2014 paper https www cs toronto edu ranzato publications taigman cvpr14 pdf yi sun ding liang xiaogang wang xiaoou tang deepid3 face recognition with very deep neural networks 2015 paper http arxiv org abs 1502 00873 florian schroff dmitry kalenichenko james philbin facenet a unified embedding for face recognition and clustering cvpr 2015 paper http arxiv org abs 1503 03832 facial landmark detection yue wu tal hassner kanggeon kim gerard medioni prem natarajan facial landmark detection with tweaked convolutional neural networks 2015 paper http arxiv org abs 1511 04031 project http www openu ac il home hassner projects tcnn landmarks software framework tensorflow an open source software library for numerical computation using data flow graph by google web https www tensorflow org torch7 deep learning library in lua used by facebook and google deepmind web http torch ch torch based deep learning libraries torchnet https github com torchnet torchnet caffe deep learning framework by the bvlc web http caffe berkeleyvision org theano mathematical library in python maintained by lisa lab web http deeplearning net software theano theano based deep learning libraries pylearn2 http deeplearning net software pylearn2 blocks https github com mila udem blocks keras http keras io lasagne https github com lasagne lasagne matconvnet cnns for matlab web http www vlfeat org matconvnet mxnet a flexible and efficient deep learning library for heterogeneous distributed systems with multi language support web http mxnet io deepgaze a computer vision library for human computer interaction based on cnns web https github com mpatacchiola deepgaze applications adversarial training code and hyperparameters for the paper generative adversarial networks web https github com goodfeli adversarial understanding and visualizing source code for understanding deep image representations by inverting them cvpr 2015 web https github com aravindhm deep goggle semantic segmentation source code for the paper fully convolutional networks for semantic segmentation cvpr 2015 web https github com longjon caffe tree future super resolution image super resolution for anime style art web https github com nagadomi waifu2x edge detection source code for the paper deepcontour a deep convolutional feature learned by positive sharing loss for contour detection cvpr 2015 web https github com shenwei1231 deepcontour source code for the paper holistically nested edge detection iccv 2015 web https github com s9xie hed tutorials cvpr 2014 tutorial on deep learning in computer vision https sites google com site deeplearningcvpr2014 cvpr 2015 applied deep learning for computer vision with torch https github com soumith cvpr2015 | ai |
|
FullstackReactCode | fullstackreactcode companion repo to a course on udemy com see here https www udemy com node with react fullstack web development | front_end |
|
Theme-Park | theme park this is my 3rd year engineering mini project in this we have created a platform for ticket booking of a theme park here we used netbeans and jdbc with sql database | server |
|
kmooc | kmooc domain model amp source code for k mooc software engineering on cloud | cloud |
|
advanced-express-application-development | advanced express web application development this module contains the source code for the above book please look at the readme for each individual chapter for further information chapter 1 foundations chapter 2 building a web api chapter 3 templating chapter 4 real time communication chapter 5 security chapter 6 scaling chapter 7 production in detail building an express application that is reliable robust maintainable testable and can scale beyond a single server requires a bit of extra thought and effort express applications that need to survive in a production environment will need to reach out to the node ecosystem and beyond for support you will start by laying the foundations of your software development journey as you drive out features under test you will move on quickly to expand on your existing knowledge learning how to create a web api and a consuming client you will then introduce a real time element in your application following on from this you will begin a process of incrementally improving your application and tackle security ssl support and security vulnerabilities next the book will take you through the process of scaling and then decoupling your application finally you will take a look at various methods to improve your application s performance and reliability what you will learn from this book develop a feature driven express web application build and consume a restful web api using client and server side templating secure and protect express with passport authentication and ssl via stud scale express beyond a single server with redis and hipache decouple express for improved scalability and maintainability support real time application development with socket io handle failures with a minimum impact to service availability using clusters and domains understand and cope with express limitations including when and where to go for help approach a practical book guiding the reader through the development of a single page application using a feature driven approach who this book is written for if you are an experienced javascript developer who wants to build highly scalable real world applications using express this book is ideal for you this book is an advanced title and assumes that the reader has some experience with node js javascript mvc web development frameworks and has heard of express before or is familiar with it you should also have a basic understanding of redis and mongodb | front_end |
|
bleve-explorer | bleve explorer an example app providing an http rest json front end to bleve it provides a rest api and an html interface to create list delete indexes view index document count view index mapping index delete documents query indexes monitor system performance watch a video introduction https www youtube com watch v dfbrtxe5n4y to bleve explorer building go build tags full the tags full is optional but includes all the optional components of bleve running mkdir data bleve explorer this will use the default data dir for storing indexes once started you can access the web ui at http localhost 8095 rest api bleve explorer uses the handlers provided by the bleve http package the handlers are attached to the following urls put api indexname create new index get api indexname get index details delete api indexname delete index get api list indexes put api indexname docid index document get api indexname count count documents in index get api indexname docid return stored fields of document delete api indexname docid delete document post api indexname search search index get api indexname fields list fields used by documents in index get api indexname docid debug return rows in index related to document script to load documents in the video introduction https www youtube com watch v dfbrtxe5n4y to bleve explorer i ran a script to load a directory of json documents here is that script bin bash for jsonfile in json do curl x put http localhost 8095 api beer search jsonfile d jsonfile done screenshots tabs showing operations available on an index docs index png the monitoring capabilities docs monitor png | front_end |
|
ethionlp.github.io | ethionlp s website there are efforts throughout the world to conduct nlp for ethiopian languages but without formal communication among researchers at coling 2018 santa fe usa three researchers from 1 the university of hamburg seid muhie yimam 2 addis ababa university binyam ephrem seyoum and 3 university of trento surafelm lakew took an initiative to create a formal nlp society for ethiopian language nlp research running locally this website is built on jekyll to run locally inside the ethionlp github io folder run bundle install then bundle exec jekyll serve jekyll theme original creative theme http startbootstrap com template overviews creative template by start bootstrap http startbootstrap com jekyll creative theme https jekyllthemes io theme creative theme jekyll by volny https github com volny creative theme jekyll | ai |
|
Ayoub-ETOULLALI | h1 align center img src gif earth gif width 24px i lt gt img src gif hi gif width 40px h1 div align center linkedin badge https img shields io badge ayoub etoullali 0e76a8 style flat labelcolor 0e76a8 logo linkedin logocolor white https www linkedin com in ayoub etoullali mail badge https img shields io badge ayoub etoullali c70000 style flat labelcolor c70000 logo gmail logocolor white https ayoub etoullali2002 gmail com facebook badge https img shields io badge ayoub etoullali 001890 style flat labelcolor 001890 logo facebook logocolor white https www facebook com ayoub etou mail badge https img shields io badge ayoub etoullali e84393 style flat labelcolor e84393 logo instagram logocolor white https www instagram com ayoub etoullali mail badge https img shields io badge ayoub etoullali 408ce2 style flat labelcolor 408ce2 logo twitter logocolor white https twitter com aetoullali div br img align right height 250 width 400 alt gif src gif code1 gif h3 align center data scientist software engineer business intelligence h3 i m strong ayoub etoullali strong a data enthusiast currently i am an engineering student at a href https www enset media ac ma enset mohammedia a in em big data and cloud computing em field br i m currently preparing my engineering degree br i love to meet new people br computer science mathematics here https www linkedin com in ayoub etoullali br br i m currently working on myself br i am the type of person who enjoys solving problems using technology tools in order to make human lives easier and valuable immensely passionate about the field of computer science mathematics and related technologies and i aim to use my skills to enhance and improve the lives of people br i am a coding enthusiast and i love to tinker with tech i believe in the power of knowledge sharing and exchanging this why i am contributing to this amazing community br div align center kbd me as a json object kbd div json name ayoub etoullali age 22 studies big data cloud computing engineering student profile data enthusiast interests chess problem solving design speak arabic french english gmail ayoub etoullali2002 gmail com linkedin https www linkedin com in ayoub etoullali github https github com ayoub etoullali portfolio https ayoub etoullali netlify app br img align left src https github readme stats vercel app api top langs username ayoub etoullali show icons true locale en layout compact theme vision friendly dark alt ayoub etoullali img align center src https github readme stats vercel app api username ayoub etoullali show icons true locale en alt ayoub etoullali img align center src https github readme stats vercel app api username ayoub etoullali alt ayoub etoullali img align center src https github readme stats vercel app api top langs username ayoub etoullali alt ayoub etoullali img align center src https github readme streak stats herokuapp com user ayoub etoullali alt ayoub etoullali p align center a href https github com ryo ma github profile trophy img src https github profile trophy vercel app username ayoub etoullali theme flat alt ayoub etoullali a p h1 align center top lt technologies gt img src https i gifer com origin a9 a9176696b8740c402d84b55374ea0107 w200 gif alt gif height 30 width 30 h1 language de programmation img height 30 width 30 src https cms informatic com wp content uploads 2020 01 logo langage c 300x300 png img height 30 width 30 src https www naveedashfaq me img c png img height 30 width 30 src https raw githubusercontent com github explore 80688e429a7d4ef2fca1e82350fe8e3517d3494d topics javascript javascript png img height 30 width 30 src https upload wikimedia org wikipedia commons thumb 2 27 php logo svg 800px php logo svg png img height 30 width 30 src https images vexels com media users 3 166401 isolated preview b82aa7ac3f736dd78570dd3fa3fa9e24 java programming language icon by vexels png img height 30 width 30 src https smartgraphe com wp content uploads 2017 02 java ee jpg img height 30 width 30 src https raw githubusercontent com github explore 80688e429a7d4ef2fca1e82350fe8e3517d3494d topics python python png img height 30 width 30 src https raw githubusercontent com github explore 80688e429a7d4ef2fca1e82350fe8e3517d3494d topics jupyter notebook jupyter notebook png img align right src https github readme stats vercel app api top langs username ayoub etoullali layout compact theme vision friendly dark alt ayoub etoullali xml et web s mantique img height 30 width 30 src https www ggctools com assets image img xml1 png technologie de front end img height 30 width 30 src https raw githubusercontent com github explore 80688e429a7d4ef2fca1e82350fe8e3517d3494d topics html html png img height 30 width 30 src https grafikart fr uploads icons css svg img height 30 width 30 src https raw githubusercontent com github explore 80688e429a7d4ef2fca1e82350fe8e3517d3494d topics bootstrap bootstrap png img height 30 width 30 src https blog octo com wp content uploads 2015 12 react logo 1000 transparent png img height 30 width 30 src https avatars githubusercontent com u 70142 s 280 v 4 technologie de back end img align right src https github readme stats vercel app api username ayoub etoullali show icons true locale en layout compact theme vision friendly dark alt ayoub etoullali img height 30 width 30 src https seeklogo com images n nodejs logo fbe122e377 seeklogo com png img height 30 width 30 src https encrypted tbn0 gstatic com images q tbn and9gct14u4j0xyambvs9bccaqyvdtsgbgtgfxupsxq84k7jon vbcfthfibip6wd jf5jsv5ow usqp cau img height 30 width 30 src https avatars githubusercontent com u 17219288 s 280 v 4 cms drupal img height 30 width 30 src https drupalize me sites default files page images wordmark2 blue rgb png gestion de base de donn es img height 30 width 30 src https kinsta com wp content uploads 2019 04 mysql logo 1 svg img height 30 width 30 src https res cloudinary com crunchbase production image upload c lpad f auto q auto eco dpr 1 erkxwhl1gd48xfhe2yld img height 30 width 30 src https www liblogo com img logo re310r405 redis logo redis original wordmark logo free icon of devicon png administration syst mes img height 30 width 30 src https upload wikimedia org wikipedia commons thumb 5 5f windows logo 2012 svg 1024px windows logo 2012 svg png img align right height 75 width 75 src https github readme activity graph vercel app graph username ayoub etoullali theme github compact alt ayoub etoullali img height 30 width 30 src https logos world net wp content uploads 2020 09 linux logo 1996 present png img height 30 width 30 src https raw githubusercontent com github explore 80688e429a7d4ef2fca1e82350fe8e3517d3494d topics ubuntu ubuntu png d veloppement mobile img height 30 width 30 src https raw githubusercontent com github explore 80688e429a7d4ef2fca1e82350fe8e3517d3494d topics android android png d veloppement desktop img height 30 width 30 src https i0 wp com gluonhq com wp content uploads 2015 09 javafx logo1 jpg fit 404 2c375 ssl 1 br img height 20 width 20 src https upload wikimedia org wikipedia commons thumb 3 3f git icon svg 1024px git icon svg png img height 20 width 20 src https raw githubusercontent com github explore 80688e429a7d4ef2fca1e82350fe8e3517d3494d topics github api github api png br first solve the problem then write the code john johnson em b i love connecting with different people b so if you want to say b hi i ll be happy to meet you more b em | github readme readme-profile readme-template | cloud |
MobileDev | 18 9 2 1 10 2 10 80 100 3 internal external storage hig ios material design android api sdk ui hardware e d issue ui 1 c hardware 100 20 1 2 1 8 3 2 15 1 3 c c github readme permissions https github com kpimobiledev mobiledev issues 4 2 ios android 1 invision https www invisionapp com ninjamock https ninjamock com sketch https www sketchapp com android material design for android https developer android com design material index html material design guidelines https material io guidelines material design principles udacity course https www udacity com course material design for android developers ud862 ux for mobile developers udacity course https www udacity com course ux design for mobile developers ud849 materialup the best examples of material design https material uplabs com ios ios human interface guidelines https developer apple com ios human interface guidelines overview design principles iosup the best examples of ios design https ios uplabs com sketch sketch https www youtube com watch v mlgi4u x8su 3 mvc mvp mvvm viper 4 sdk android basics tutorial https developer android com guide android jetpack https developer android com jetpack android basics user interface udacity course https www udacity com course android development for beginners ud837 android basics multi screen applications udacity course https www udacity com course android basics multi screen apps ud839 5 6 api sdk api sdk sdk google maps firebase analytics admob performing network operations https developer android com training basics network ops index html android basics networking udacity course https www udacity com course android basics networking ud843 api sdk api sdk 7 gps bluetooth fingerprint nfc https developer android com guide topics manifest uses feature element html 8 saving data in android https developer android com training basics data storage index html android basics data storage udacity course https www udacity com course android basics data storage ud845 9 unit ui 1 https docs google com presentation d 1bt68ird6ycuw ozpzwimyw7wazezxspkwia uguluhg edit usp sharing 2 3 https docs google com presentation d 1gcosj qyn4jexr5 2tdbov3ghcil kfjm59cautvi8w edit usp sharing 4 https docs google com presentation d 1bvoismyq51qeyryyv7tmyvaevtsq48tqo7t5fzgzdje edit usp sharing 5 https docs google com presentation d 19n5pkxltmx ffpzhbcadmxnrq5rl8ddp pmgmyr i o edit usp sharing 6 https docs google com presentation d 1h27pw4fqvhxq5aqyjowqjtcribm0duzx3azayb4zqc0 edit usp sharing 7 https docs google com presentation d 1cducsvccpo7ie9cgjeg6rk6vnntco z3vqfiy4y gle edit usp sharing 8 1 9 https docs google com presentation d 1zf0xmmnbwovas19vpcrd75dqlr j6zljlh5fijfiicq edit usp sharing 10 https docs google com presentation d 1vbmkxhscmd7qfi3o9wspepnwxv2bp4gpht9qikxzyaa edit usp sharing 11 https docs google com presentation d 1rr km104dmu2ozmvpcsuvikmgaovokqzj2knmfcuc s edit usp sharing 12 13 https docs google com presentation d 1bqnbdejek 5wb4upswgh19vr ctdj5kpncx9rfc72pe edit usp sharing 14 https docs google com presentation d 14uk qecutmysnekbwwg3ufa8ss vmp6ptumobamunfa edit usp sharing 15 https docs google com presentation d 1v2tsfumuwgh7ykfqf4rpw2290 fuwwzvwtgrdxg3mby edit usp sharing 16 https docs google com presentation d 1 llpkufnbimo244knuexaqkgtcgtwemfa2zrj tdk 0 edit usp sharing 17 https docs google com presentation d 1iueg311zqzsds1uhv84zvfqmbgxmnptezwfguy lo6w edit usp sharing android android developers tutorials and reference https developer android com index html android udacity courses list https www udacity com courses android kotlin language reference https kotlinlang org android codelabs from google https codelabs developers google com cat android intermediate material design principles https www udacity com course material design for android developers ud862 developing android apps for java developers https www udacity com course new android fundamentals ud851 developing android apps for kotlin developers https www udacity com course developing android apps with kotlin ud9012 advanced android performance https www udacity com course android performance ud825 advanced android app development https www udacity com course advanced android app development ud855 ios beginner swift syntax https www udacity com course learn swift programming syntax ud902 objective c syntax https www udacity com course objective c for swift developers ud1009 intermediate autolayout https www udacity com course auto layout ud1026 networking https www udacity com course ios networking with swift ud421 uikit fundamentals https www udacity com course uikit fundamentals ud788 advanced gcd https www udacity com course grand central dispatch gcd ud576 xcode debugging https www udacity com course xcode debugging ud774 persistent storage and core data https www udacity com course ios persistence and core data ud325 artem chernenkiy https telegram me gy fk in telegram lidiya ivanova https telegram me lidaamber in telegram | ios android mobile | front_end |
Auto-Dashboard | auto dashboard the automobile dashboard embeded systems design project integrates the guage cluster of a honda accord and the ti msp432 br contributors corey moura xue hua br description embedded systems project integrating an msp432 microprocessor with the gauge cluster of an automobile with 3 stepper motors and motor drivers rtc hall effect sensor ultrasonic sensor rotary encoder oled display 7 segment lcd 5 position switch 4 momentary switches and 1 toggle switch system with peripherals was enclosed in a polycarbonate backed stainless steel enclosure written in c programming in eclipse ide to impliment the texas instruments msp432 32 bit micorcontroller inputs recieved by the msp432 include find me on linkedin https www linkedin com in corey moura https www linkedin com in corey moura br br br p align center img src https user images githubusercontent com 37875517 93637646 e8545000 f9c3 11ea 8ea6 f13463e080b5 jpeg br img src https user images githubusercontent com 37875517 93640508 b2659a80 f9c8 11ea 826f 02784ce7845a jpeg p | arduino msp432p401r solidworks wiring cprogramming | os |
MLSNews | mlsnews dailynews august 2019 22 august 2019 mlsnews miniscript merkle tree dailynews august 2019 08 22 mlsnews 20190822 md 21 august 2019 mlsnews eth dailynews august 2019 08 21 mlsnews 20190821 md dailynews july 2019 30 july 2019 mlsnews github lightning dailynews july 2019 07 30 mlsnews 20190730 md 22 july 2019 mlsnews gavin wood eth web3j dailynews july 2019 07 22 mlsnews 20190722 md 18 july 2019 mlsnews polkadot eth phase0 dailynews july 2019 07 18 mlsnews 20190718 md 15 july 2019 mlsnews geth 1 9 0 eth 2 0 lrc 3 0 zkp dailynews july 2019 07 15 mlsnews 20190715 md 12 july 2019 mlsnews ethercluster scriptless dailynews july 2019 07 12 mlsnews 20190712 md 09 july 2019 mlsnews eth roll up multiformats dailynews july 2019 07 09 mlsnews 20190709 md 08 july 2019 mlsnews electrum cosmos dailynews july 2019 07 08 mlsnews 20190708 md 04 july 2019 mlsnews heiswap getdescriptorinfo blake2b eips dailynews july 2019 07 04 mlsnews 20190704 md 03 july 2019 mlsnews cosmo hotstuff eth dailynews july 2019 07 03 mlsnews 20190703 md 02 july 2019 mlsnews bch v 3 dailynews july 2019 07 02 mlsnews 20190702 md 01 july 2019 mlsnews ont vitalik blockstack clarity dailynews july 2019 07 01 mlsnews 20190701 md dailynews june 2019 28 june 2019 mlsnews bitrefill platon brave dailynews june 2019 06 28 mlsnews 20190628 md 26 june 2019 mlsnews yubikey ipfs ens facebook dailynews june 2019 06 26 mlsnews 20190626 md 25 june 2019 mlsnews create2 eth swift dailynews june 2019 06 25 mlsnews 20190625 md 24 june 2019 mlsnews 2 eth hopper mxnet dailynews june 2019 06 24 mlsnews 20190624 md 21 june 2019 mlsnews ltc go dailynews june 2019 06 21 mlsnews 20190621 md 20 june 2019 mlsnews watchtowers lightning cloudflare dailynews june 2019 06 20 mlsnews 20190620 md 19 june 2019 mlsnews eth bftree dailynews june 2019 06 19 mlsnews 20190619 md 17 june 2019 mlsnews facebook vitalik dfinity dailynews june 2019 06 17 mlsnews 20190617 md 13 june 2019 mlsnews btc irisnet watchtowers dailynews june 2019 06 13 mlsnews 20190613 md 12 june 2019 mlsnews gotenna eth aztec dailynews june 2019 06 12 mlsnews 20190612 md 10 june 2019 mlsnews pow dag blockchain fees are broken dailynews june 2019 06 10 mlsnews 20190610 md 06 june 2019 mlsnews defi eth work token dailynews june 2019 06 06 mlsnews 20190606 md 05 june 2019 mlsnews vdf fairswap dailynews june 2019 06 05 mlsnews 20190605 md dailynews may 2019 31 may 2019 mlsnews 2019 05 31 dailynews may 20190531 md 29 may 2019 mlsnews 2019 05 29 dailynews may 20190529 md 28 may 2019 mlsnews 2019 05 28 dailynews may 20190528 md 27 may 2019 mlsnews 2019 05 27 dailynews may 20190527 md 24 may 2019 mlsnews 2019 05 24 dailynews may 20190524 md 23 may 2019 mlsnews 2019 05 23 dailynews may 20190523 md 21 may 2019 mlsnews 2019 05 21 dailynews may 20190521 md 20 may 2019 mlsnews 2019 05 20 dailynews may 20190520 md 17 may 2019 mlsnews 2019 05 17 dailynews may 20190517 md 16 may 2019 mlsnews 2019 05 16 dailynews may 20190516 md 15 may 2019 mlsnews 2019 05 15 dailynews may 20190515 md 14 may 2019 mlsnews 2019 05 14 dailynews may 20190514 md 13 may 2019 mlsnews 2019 05 13 dailynews may 20190513 md 10 may 2019 mlsnews 2019 05 10 dailynews may 20190510 md 09 may 2019 mlsnews 2019 05 09 dailynews may 20190509 md 08 may 2019 mlsnews 2019 05 08 dailynews may 20190508 md 07 may 2019 mlsnews 2019 05 07 dailynews may 20190507 md 06 may 2019 mlsnews 2019 05 06 dailynews may 20190506 md 05 may 2019 mlsnews 2019 05 05 dailynews may 20190505 md dailynews apr 2019 30 apr 2019 mlsnews 2019 04 30 dailynews april 20190430 md 29 apr 2019 mlsnews 2019 04 29 dailynews april 20190429 md 28 apr 2019 mlsnews 2019 04 28 dailynews april 20190428 md 27 apr 2019 mlsnews 2019 04 27 dailynews april 20190427 md 26 apr 2019 mlsnews 2019 04 26 dailynews april 20190426 md 25 apr 2019 mlsnews 2019 04 25 dailynews april 20190425 md 24 apr 2019 mlsnews 2019 04 24 dailynews april 20190424 md 23 apr 2019 mlsnews 2019 04 23 dailynews april 20190423 md 22 apr 2019 mlsnews 2019 04 22 dailynews april 20190422 md 21 apr 2019 mlsnews 2019 04 21 dailynews april 20190421 md | server |
|
ZeroTier-GUI | zerotier gui img src img zerotier gui png align bottom license gpl v3 https img shields io badge license gpl 20v3 blue svg style flat square https github com tralph3 zerotier gui blob master license donate https img shields io badge donate paypal blue svg style flat square https paypal me tralph3 a linux front end for zerotier manage networks img src img managenetworks1 png width 1000 img src img managenetworks2 png width 1000 manage peers img src img managepeers png width 1000 installation you can download the software from the aur https aur archlinux org packages zerotier gui git paru s zerotier gui git if you are in an ubuntu debian based distribution you can download the source code and run the make deb sh script make deb sh you may need to mark it as executable first chmod x make deb sh the script must be ran on the project s root folder make sure to cd into it the script will generate a zerotier gui deb package in the root directory simply install it with sudo apt install zerotier gui deb building binaries with docker objective this alternative aims to make zerotier gui available for multiple platforms using immutable infrastructure benefits to avoid unexpected results depending where you are running these commands above setup install docker install make if not available how to with docker and makefile available you just need to run the following command make run the expected result both rpm and deb files in project root if you don t have make available you can run these commands line by line as follows docker build t zero tier platforms build latest docker create ti rm name zero tier platforms build zero tier platforms build bash docker cp zero tier platforms build tmp zerotier gui deb zerotier gui deb docker cp zero tier platforms build tmp zerotier gui rpm zerotier gui rpm docker rm f zero tier platforms build dependencies none of the packages contains the back end zerotier one arch has it in the community repo for ubuntu based distributions you ll need to install it manually from their website https www zerotier com download on top of that you ll need python3 6 or greater and the tkinter module this however should be handled by the packaging software service management depends on systemd you will not be able to enable or disable the zerotier service without it | front_end |
|
socketio-flask-react-chat | le chat a simple chat application that features a flask back end react front end and socket io easy start 1 verify that you have npm python3 and pip installed 2 execute the run sh script bash run sh from the root of the project this will install all dependencies and startup the flask server once the server is running visit http localhost 5000 in your browser to view the application the react front end will be served from client build if you want to work on the source code see the development instructions below development setup 1 install client side dependencies bash cd client from the root of the project npm install 2 install server side dependencies bash cd server from the root of the project pip install editable editing 1 start the flask server in another terminal window tab bash cd server export flask debug true export flask app server flask run this will start up a flask server at http localhost 5000 2 start the react development server bash cd client yarn start this will startup a react development server at http localhost 3000 3 visit http localhost 3000 in your browser to view the application 4 edit away the app will automatically reload as you make changes attributions happy cat icon by erika jasso from her cat collection https thenounproject com kikajasso collection cat the noun project | front_end |
|
react-ecommerce | react e commerce this project is being restructured this project is created using x monorepo x lerna x design system x nextjs ssr hooks redux hooks x storybook x nestjs x graphql future features home list products detail products recommended products cart login register admin seller profile buyer contact us message between seller and buyer ratings about the seller dashboard for sellers notifications favorites pwa firebase or storage socket io app ssr sitemap home social media links twitter instagram facebook shop categories mens t shirts caps womans news any about us out story contact info form terms faq account profile payment methods saved address order history password forms login register forgot password contact cart checkout cart overview shipping address billing details payment method order summary run the project yarn yarn start install dependencies in package cd packages name yarn add w dependencie name storybook for design system yarn story tests yarn test to run all packages test at the same time or cd packages package name yarn test lerna commands https lerna js org api https github com viniarruda elixir ecommerce api elixir enjoy | react redux ecommerce shop shopping-cart monorepo design-system hooks lerna storybook jest enzyme tests provider typescript react-native hacktoberfest graphql nestjs nextjs | os |
ton | div align center a href https ton org picture source media prefers color scheme dark srcset https ton org download ton logo dark background svg img alt ton logo src https ton org download ton logo light background svg picture a h3 reference implementation of ton node and tools h3 hr div ton overflow group ton overflow badge ton overflow url stack overflow group stack overflow badge stack overflow url telegram community chat telegram tondev badge telegram tondev url telegram community group telegram community badge telegram community url telegram foundation group telegram foundation badge telegram foundation url twitter group twitter badge twitter url telegram foundation badge https img shields io badge ton 20foundation 2ca5e0 logo telegram logocolor white style flat telegram community badge https img shields io badge ton 20community 2ca5e0 logo telegram logocolor white style flat telegram tondev badge https img shields io badge chat tondev 2ca5e0 logo telegram logocolor white style flat telegram foundation url https t me tonblockchain telegram community url https t me toncoin telegram tondev url https t me tondev eng twitter badge https img shields io twitter follow ton blockchain twitter url https twitter com ton blockchain stack overflow badge https img shields io badge stack 20overflow fe7a16 style flat logo stack overflow logocolor white stack overflow url https stackoverflow com questions tagged ton ton overflow badge https img shields io badge ton 20overflow fe7a16 style flat logo stack overflow logocolor white ton overflow url https answers ton org main ton monorepo which includes the code of the node validator lite client tonlib func compiler etc the open network the open network ton is a fast secure scalable blockchain focused on handling millions of transactions per second tps with the goal of reaching hundreds of millions of blockchain users to learn more about different aspects of ton blockchain and its underlying ecosystem check documentation https ton org docs to run node validator or lite server check participate section https ton org docs participate nodes run node to develop decentralised apps check tutorials https ton org docs develop smart contracts func docs https ton org docs develop func overview and dapp tutorials https ton org docs develop dapps to work on ton check wallets https ton app wallets explorers https ton app explorers dexes https ton app dex and utilities https ton app utilities to interact with ton check apis https ton org docs develop dapps apis updates flow master branch mainnet is running on this stable branch only emergency updates urgent updates or updates that do not affect the main codebase github workflows docker images documentation are committed directly to this branch testnet branch testnet is running on this branch the branch contains a set of new updates after testing the testnet branch is merged into the master branch and then a new set of updates is added to testnet branch backlog other branches that are candidates to getting into the testnet branch in the next iteration usually the response to your pull request will indicate which section it falls into soft pull request rules thou shall not merge your own prs at least one person should review the pr and merge it 4 eyes rule thou shall make sure that workflows are cleanly completed for your pr before considering merge workflows responsibility if a ci workflow fails not because of your changes but workflow issues try to fix it yourself or contact one of the persons listed below via telegram messenger c c ci ccpp linux yml tbd c c ci win64 compile ccpp win64 yml tbd | blockchain cryptocurrency ton infinite-sharding | blockchain |
Apollo | assessment of pre trained observational large longitudinal models in ohdsi apollo build status https github com ohdsi apollo workflows build and test badge svg https github com ohdsi apollo actions query workflow 3abuild and test introduction this python package is for building and evaluating large general pre trained models on data in the omop common data model cdm format the models are fitted on the structured data concepts in the cdm not any natural language we aim to evaluate these models on various tasks such as patient level prediction either zero shot or fine tuned overview this package assumes the generalpretrainedmodeltools https github com ohdsi generalpretrainedmodeltools r package has been executed to retrieve a sample of the cdm data to local parquet files after this a cdm processor must be run to convert the data to sequence data suitable for a large language model todo how to go from here getting started pre requisite the project is built in python 3 10 and project dependency needs to be installed create a new python virtual environment console python m venv venv source venv bin activate install the packages in requirements txt console pip install r requirements txt simulate cdm data in real world applications the cdm data can be retrieved from a database using the generalpretrainedmodeltools r package https github com ohdsi generalpretrainedmodeltools for testing purposes we can simulate cdm data using a built in simulator 1 edit simulator ini so the root folder argument points to a folder on the local file system 2 run python python simulating simulator py simulator ini by default the simulation script will generate pretraining data in a subfolder called pretraining in addition data will be generated for a patient level prediction task where patient data up to an index date is used to predict whether a patient will have a certain condition in the prediction window default 365 days after the index date training data for fine tuning the pretrained model will be generated in a subfolder called train test data for evaluating the fine tuned model will be generated in a subfolder called test in both train and test folders subfolders will be generated for each simulated concept id with labels indicating whether the concept was observed in the prediction window procesing cdm data for cehr bert pre training 1 edit cdm processor ini to point to folders on the local file system e g the pretraining folder generated by the simulation script 2 run python python cdm processing cdm processor py cdm processor ini pre train model 1 edit model trainer ini to point to folder on the local file system e g the patient sequence folder generated by the cdm processing script 2 run python python training train model py model trainer ini license apollo is licensed under apache license 2 0 development status under development do not use | ai |
|
nlp-n-grams | natural language processing n grams statistics ngrams ci https github com pprzetacznik nlp n grams workflows ngrams 20ci badge svg run pip install r requirements txt python m ngrams train dir train corpus n gram 3 test file test corpus thewire txt processing file train corpus 2momm10 txt processing file train corpus 4momm10 txt processing file train corpus 54 txt processing file train corpus 5momm10 txt processing file train corpus 8momm10 txt processing file train corpus finnish txt processing file train corpus finnish1 txt processing file train corpus harry potter 1 sorcerer s stone txt processing file train corpus harry potter 2 chamber of secrets txt processing file train corpus harry potter 3 prisoner of azkaban txt processing file train corpus harry potter 4 and the goblet of fire txt processing file train corpus polski txt processing file train corpus polski2 txt processing file train corpus polski3 txt processing file train corpus q txt processing file train corpus spanish txt processing file train corpus spanish1 txt recommendations harry potter 1 sorcerer s stone txt 0 8516218202150778 harry potter 4 and the goblet of fire txt 0 8382954018753523 harry potter 3 prisoner of azkaban txt 0 8297737283348564 harry potter 2 chamber of secrets txt 0 8286664546220112 q txt 0 2687367480112696 54 txt 0 2654665173972638 spanish1 txt 0 2157763828702334 8momm10 txt 0 20948116826277266 5momm10 txt 0 20088947556841405 4momm10 txt 0 20052011673047865 2momm10 txt 0 1900199333318412 spanish txt 0 18425240798457684 finnish txt 0 1749251467750644 finnish1 txt 0 17453271188273536 polski txt 0 12179996712775056 polski3 txt 0 09870171027877826 polski2 txt 0 09401455065003979 tests pytest | nlp ngrams | ai |
levin-openData | levin open data levin vehicle telematics data current version v1 1 owner yu solutions data updated 10th feb 2018 what is it yu solutions is an india based start up with its head office in pune we are into iot domain where we collect data about driving and vehicle using our flagship product levin at yu solutions we are committed to democratizing technology and make information accessible to all the data is collected using various sensors the accelerometer sensor gives us insights on acceleration and deceleration magnetometer tells us about the direction w r t earth s magnetic field and gyroscope gives us insight about rotation what is obd on board diagnostics https en wikipedia org wiki on board diagnostics obd is an automotive term referring to a vehicle s self diagnostic and reporting capability obd systems give the vehicle owner or repair technician access to the status of the various vehicle subsystems obd ii is an improvement over obd i in both capability and standardization the obd ii standard specifies the type of diagnostic connector and its pinout the electrical signalling protocols available and the messaging format about dataset the dataset provided here is a sample data for data we collect real time this dataset is collected for over a 4 month period on approximately 30 4 wheelers we collect obd data at 1hz frequency 1 record per second while accelerometer data is collected at 25 hz 25 data points per second this metadata includes device id timestamp trip id accelerometer data speed gathered from gps battery voltage coolant temperature diagnostic trouble codes engine load intake air temperature manifold absolute pressure calculated mileage mass airflow engine rpm speed collected from obd timing advance throttle position and magnetometer data the full data set is available as 1 a single csv https mega nz pjxlckdb and another single csv with more obd parameters https mega nz cv5lqbbz 2 a single sqlite3 database https drive google com open id 1tjd8oosfpy l2dpxiafrobobhca2gfc 3 a single compressed zip with individual csvs https drive google com open id 1t0m 7585gl8h wccyfbddqvatxkbvdw8 4 individual csvs https mega nz f te50hryk vtgi u9khss jjhbrzkkwa this link will be updated monthly from now onwards how to use the dataset can help in various kind of analysis including 1 driving patterns 2 gear detection https github com yunsolutions levin opendata tree master gear detection 3 events like hard brakes hard acceleration sharp turns and lane changes 4 impact detection since dataset contains data collected at different frequencies it can a task to combine them and use them together the dataset contains accelerometer data in raw format to make sense of the data and convert it to usable format please refer to data extract ipynb file more about yun website www yun buzz www yun buzz more about levin webpage levin yun buzz levin yun buzz levin vehicle telematics data by yun solutions is licensed under creative commons by nc sa license | accelerometer-data magnetometer gyroscope obd2 driving-behavior car automotive automobiles digital-signal-processing iot iot-device | server |
oryx | summary the oryx open source project provides simple real time large scale machine learning infrastructure it implements a few classes of algorithm commonly used in business applications collaborative filtering recommendation classification regression and clustering it can continuously build models from a stream of data at large scale using apache hadoop http hadoop apache org s mapreduce http en wikipedia org wiki mapreduce it also serves queries of those models in real time via an http rest http en wikipedia org wiki representational state transfer api and can update models approximately in response to new data models are exchanged in pmml http www dmg org v4 1 generalstructure html format it is not a library visualization tool exploratory analytics tool or environment oryx represents a unified continuation of the myrrix http myrrix com and cloudera ml https github com cloudera ml projects oryx should be considered alpha software it may have bugs and will change in incompatible ways architecture oryx does two things at heart builds models and serves models these are the responsibilities of two separate components the computation layer and serving layer respectively computation layer the computation layer is an offline batch process that builds a machine learning model from input data its operation proceeds in generations where a model is built from a snapshot of input at a point in time the result is a succession of model outputs over time built from a cumulative succession of inputs the computation layer is a long running java based server process it can be used independently of the serving layer to just build models or even score models offline e g produce recommendations for users offline input arrives on hdfs and models are written to hdfs as pmml files input data can be collected by the serving layer which records input into hdfs or can be added by other processes directly to hdfs the serving layer automatically loads new models from hdfs as they become available distributed the computation layer is primarily intended to use hadoop s computation environment for computation which for the moment means mapreduce in this distributed context the computation layer process is minding a series of jobs that execute on the cluster the server process configures launches and monitors the jobs input intermediate outputs and model output are all on hdfs local the computation layer can also be configured to run the computations locally rather than on hadoop and to read and write data to the local file system it will simply use a multi threaded in memory non hadoop implementation this is useful for small or non critical problems or for simple testing directory layout all data is stored under one configured root directory model instance dir example user oryx iris under this directory are a series of numbered generation directories 00000 00001 each of these contains files for one generation the exact contents of these directories varies by algorithm but in all cases input arrives into an inbound subdirectory and the model file is generated at model pmml gz in the generation directory serving layer the serving layer is also a long running java based server process which exposes a rest api it can be accessed from a browser or any language or tool that can make http requests the endpoints that it exposes vary by algorithm for example the collaborative filtering implementation will expose endpoints like recommend which respond to a get request with particular url path parameters and returns recommended items input and output formats vary by endpoint but are generally simple text or delimited text many serving layer instances can be run at once they act and serve independently of one another in a cluster configuration it is typically most effective to front these serving layer instances with a load balancer with session stickiness enabled algorithms collaborative filtering recommendation oryx implements a matrix factorization based approach baesd on a variant of als alternating least squares http www2 research att com yifanhu pub cf pdf for collaborative filtering recommendation recommender engines are most popularly used to suggest items like books and movies to people but can in general be used to guess unobserved associations between entities given many observed associations classification and regression oryx supports random decision forests http en wikipedia org wiki random forest for classification and regression tasks this is a form of supervised learning where a value is predicted for new inputs based on known values for previous inputs this includes classification tasks predicting a category like spam and regression tasks predicting a numeric value like salary clustering oryx implements k means http en wikipedia org wiki k means for clustering this is a type of unsupervised learning which seeks to find structure in its input in the form of natural groupings availability collaborative filtering classification regression clustering serving layer beta alpha alpha computation layer dist beta alpha alpha computation layer local beta alpha alpha building from source clone the repository from github com run mvn dskiptests clean install from the top level this will build the following binaries serving layer serving target oryx serving x y z jar computation layer computation target oryx computation x y z jar installation requirements java 6 or later hadoop 2 0 or later distribution such as cdh 4 x http www cloudera com content cloudera en products cdh html note that mr2 is required installing the serving layer and computation layer are single self contained runnable java jar files at this point there is no package provided or package installation required the oryx serving x y z jar and or oryx computation x y z jar files must simply be present on the machine that is to run the serving and or computation layer respectively ensure that the java command is executable on the command line note that these are not the type of jar file that is run with the hadoop jar command these are also not command line utilities but rather long running server processes setting up cdh a cdh 4 3 cluster with the hdfs service enabled is required to run the computation layer the distributed computation layer further requires the yarn service which enables mapreduce v2 that is it requires the normal mr2 version of cdh and not the mr1 version if a cluster is not available a simple single node cluster can be set up installing cdh4 with yarn on a single linux node in pseudo distributed mode http www cloudera com content cloudera content cloudera docs cdh4 latest cdh4 quick start cdh4qs topic 3 3 html hadoop configuration should be available on the machine s used to run oryx binaries it should be at the standard location etc hadoop conf or another location defined by hadoop conf dir choose a directory to work in on hdfs like user oryx make sure this directory exists and is readable writable to the user that will run the computation and serving layer binaries running configuring to run the serving layer or the computation layer you must point to a configuration file the complete set of configuration options is defined and documented in common src main resources reference conf a configuration file is simply a text file using hocon https github com typesafehub config blob master hocon md syntax roughly a combination of json and simple properties file syntax oryx obtains its configuration from four top level objects model required specifies the type of model e g als or k means inbound optional specifies how to read input optional computation layer optional specifies server settings for the computation layer serving layer optional specifies server settings for the serving layer a simple sound oryx conf file model als model model local false model instance dir user oryx example serving layer api port 8091 computation layer api port 8092 ports 8091 8092 are desirable instead of defaults of 80 and 8080 since these require root acces and yarn daemons use 8080 respectively running java dconfig file oryx conf jar computation target oryx computation x y z jar sudo java dconfig file oryx conf jar serving target oryx serving x y z jar note that the serving layer does not need to be run as root with sudo if it is configured to not use the standard privileged http port 80 examples normally input is ingested from the api or imported from external sources for simplicity in the following examples it is simplest to manually supply input directly into the file system if using the normal distribution computation layer and data is located under user oryx example hadoop fs mkdir p user oryx example 00000 inbound hadoop fs copyfromlocal data file user oryx example 00000 inbound for local use using for example a temp directory tmp oryx example for testing mkdir p tmp oryx example 00000 inbound cp data file tmp oryx example 00000 inbound collaborative filtering recommender example to demonstrate a recommender data of the form user item or user item strength is required identifiers in the first two columns can be numeric or non numeric and represent any kind of entity a numeric strength value is optional and can be for example simple rating information user and item ids must be escaped using csv conventions if necessary double quote a field containing comma and use two double quotes to escape a double quote within a quoted value for a demo try downloading a sample of the audioscrobbler data set http s3 amazonaws com srowen oryx audioscrobbler sample csv gz example configuration which will run computation locally model als model model local true model instance dir tmp oryx example the computation layer and serving layer consoles are available at http host 8080 and http host respectively copy the data in manually and start the servers as above the computation layer should start computing immediately the serving layer will load its output shortly after it finishes use the endpoint interface in the console input your own preferences next to pref type your name e g sean and type the name of a band in the data set like bad religion then recommend to yourself if you input this band you should see recommendations like this punk band like nofx or green day classification regression example a classification or regression example takes as input csv data where one of the columns the target is to be predicted from values of the others to use it the input s columns must be named their types given numeric or categorical and the target indicated for demonstration purposes obtain a copy of the covtype data set download covtype data gz from the ucl repository http archive ics uci edu ml machine learning databases covtype the following example configuration file works with this input model rdf model model local true model instance dir tmp oryx example inbound numeric columns 0 1 2 3 4 5 6 7 8 9 inbound target column 54 inbound column names elevation aspect slope horizontal distance to hydrology vertical distance to hydrology horizontal distance to roadways hillshade 9am hillshade noon hillshade 3pm horizontal distance to fire points wilderness area1 wilderness area2 wilderness area3 wilderness area4 soil type1 soil type2 soil type3 soil type4 soil type5 soil type6 soil type7 soil type8 soil type9 soil type10 soil type11 soil type12 soil type13 soil type14 soil type15 soil type16 soil type17 soil type18 soil type19 soil type20 soil type21 soil type22 soil type23 soil type24 soil type25 soil type26 soil type27 soil type28 soil type29 soil type30 soil type31 soil type32 soil type33 soil type34 soil type35 soil type36 soil type37 soil type38 soil type39 soil type40 cover type copy the data in manually and start the servers as above the computation layer should start computing immediately the serving layer will load its output shortly after it finishes use the endpoint interface in the console to test by calling classify with a new line of csv data that does not contain a target value here that means a missing final column for example send 2500 51 3 258 0 510 221 232 148 6279 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 and the result should be 2 but will depend a bit on the way the trees build clustering example coming later api reference collaborative filtering recommendation coming soon classification regression coming soon clustering coming later | ai |
|
RTOS-Docs | vuepress next github check https github com vuepress vuepress next workflows check badge svg https github com vuepress vuepress next actions query workflow 3acheck github docs https github com vuepress vuepress next workflows docs badge svg https github com vuepress vuepress next actions query workflow 3adocs npm https badgen net npm v vuepress next https www npmjs com package vuepress coverage https coveralls io repos github vuepress vuepress next badge svg branch main https coveralls io github vuepress vuepress next branch main license https badgen net github license vuepress vuepress next https github com vuepress vuepress next blob main license discord https badgen net discord online members ptfjefy6h5 icon discord label discord https discord gg ptfjefy6h5 status beta for users from vuepress v1 please check out the migration guide https v2 vuepress vuejs org guide migration html for users who want to follow our progress or contribute to this project please check out the roadmap https github com vuepress vuepress next discussions 68 documentation https v2 vuepress vuejs org contribution see contributing guide https github com vuepress vuepress next blob main docs contributing md license mit https github com vuepress vuepress next blob main license | freertos rtos stm32 stm32f103 | os |
FreeRTOS-ESP-IDF-MQTT | mqtt esp idf esp idf mqtt publish and subscribe via mosquitto broker for esp32 | os |
|
Android-Controlled-RoboCar | android controlled robocar the system will work on the control commands sent by the app the commands could either be in the form of touch on the app screen or by the speech these commands will be received by the bluetooth module attached to the robot the received data would then be passed on to arduino which will further send instructions to the motor driver the motor driver will amplify the low current control signal to high current control signal for the purpose of driving the motors ultimately the motors will make the robot move in desired directions in return the robot also sends back information regarding the distance from the closest obstacle to the phone and if it reaches very close to a certain obstacle it will automatically stop | os |
|
jumpstart-webdev | jumpstart web development workshop 2022 this is the base repo for the jumpstart web development workshop 2022 here s the link to the workshop materials https jumpstart webdev 2022 netlify app previous iterations of this workshop for the 2021 version of the workshop guide see https jumpstart webdev 2021 netlify app for the 2021 version of this repository see https github com kbeswick jumpstart webdev tree 2021 jumpstart | front_end |
|
Mobile-UXSDK-Android | dji ux sdk for android latest version 4 16 2 what is this the ux sdk is a suite of product agnostic ui objects that fast tracks the development of android applications using the dji mobile sdk http developer dji com mobile sdk also check out the new open source version of ux sdk beta https github com dji sdk mobile uxsdk beta android integration declare dependency via maven xml dependency groupid com dji groupid artifactid dji uxsdk artifactid version 4 16 2 version dependency dependency groupid com dji groupid artifactid dji sdk provided artifactid version 4 16 2 version dependency or gradle groovy implementation com dji dji uxsdk 4 16 2 comment the library anti distortion if your app does need anti distortion for mavic 2 pro and mavic 2 zoom comment the fly safe database if you do not need database for release or we will download it when djisdkmanager getinstance registerapp is called both will greatly reduce the size of the apk exclude module library anti distortion exclude module fly safe database uncomment the following line to exclude amap from the app note that google play store does not allow apks that include this library exclude group com amap api compileonly com dji dji sdk provided 4 16 2 for further detail on how to integrate the dji ux sdk into your android studio project please check the getting started with ux sdk http developer dji com mobile sdk documentation android tutorials uxsdkdemo html import maven dependency tutorial get started with dji ux sdk please check this getting started with dji ux sdk http developer dji com mobile sdk documentation android tutorials uxsdkdemo html tutorial to learn how to use dji android ux sdk and dji android sdk to create a fully functioning mini dji go app easily with standard dji go uis and functionalities learn more about dji ux sdk please visit ux sdk introduction http developer dji com mobile sdk documentation introduction ux sdk introduction html for more details development workflow from registering as a developer to deploying an application the following will take you through the full mobile sdk application development process prerequisites https developer dji com mobile sdk documentation application development workflow workflow prerequisits html register as dji developer download sdk https developer dji com mobile sdk documentation application development workflow workflow register html integrate sdk into application https developer dji com mobile sdk documentation application development workflow workflow integrate html run application https developer dji com mobile sdk documentation application development workflow workflow run html testing profiling debugging https developer dji com mobile sdk documentation application development workflow workflow testing html deploy https developer dji com mobile sdk documentation application development workflow workflow deploy html feedback we d love to have your feedback as soon as possible reach out to us when you hit roadblocks or want to talk through something at a minimum please let us know what improvements would you like to see what is hard to use or inconsistent with your expectations what is good any bugs you come across support you can get support from dji with the following methods post questions in stackoverflow http stackoverflow com using dji sdk http stackoverflow com questions tagged dji sdk tag dev dji com join us dji is looking for all kinds of software engineers to continue building the future of possible available positions in shenzhen china and around the world if you are interested please send your resume to software sz dji com for more details and list of all our global offices please check https we dji com jobs en html dji based dji software sz dji com https we dji com zh cn recruitment | front_end |
|
LB-TodoApp | created during lb internship this project was bootstrapped with create react app https github com facebook create react app todo app requirements tier 1 user creates a list with a name after creation user is presented with a field and button that lets the user add a todo item to the list tier 2 user has ability to delete todo items from the list tier 3 user can create multiple lists users can add a name to the list react router allows user to switch between lists tier 4 lists persist between page reloads stored in localstorage tier 5 style app using styled components tier 6 signup login form to allow for multiple users and their personal lists frontend florence backend albert henry demo img src project demo gif height 400 width 600 setup in the root directory lb todoapp and the backend directory lb todoapp backend run bash npm install running to run app concurrently backend and frontend together in either the root or backend directory run bash npm run dev running frontend only in the root directory run bash npm start running backend only in the backend directory run bash npm run local this web page uses the following technologies javascript icon https api iconify design logos javascript svg height 60 https www javascript com nodejs icon https api iconify design logos nodejs svg height 60 https nodejs org en react icon https api iconify design logos react svg height 60 https reactjs org jsonwebtoken icon https api iconify design simple icons jsonwebtokens svg height 60 https www npmjs com package jsonwebtoken mongodb icon https api iconify design logos mongodb svg height 60 https www mongodb com img src http mongodb tools com img mongoose png height 60 https mongoosejs com img src https 1 bp blogspot com qupvdnpnuo0 xq8en wdlri aaaaaaaajpc biom6dwh50y3gl2cetwgt4ak77bvlci7gclcbgas s1600 bcrypt logo jpg height 60 https www npmjs com package bcryptjs express icon https api iconify design logos express svg height 60 https expressjs com npm icon https api iconify design logos npm 2 svg height 60 https www npmjs com | mongodb nodejs reactjs | server |
prova-frontend | hiplatform desafio de frontend no nosso exerc cio de frontend pedimos que voc implemente uma simples rvore de itens na qual cada item pode ter v rios itens encadeados itens filhos conforme o exemplo abaixo tree https user images githubusercontent com 13091635 129045214 81f3f1c8 8c56 4b32 8200 7734a413da98 gif voc n o precisa seguir fielmente a interface do gif acima apenas um exemplo aproveite para nos mostrar o quanto voc pode melhorar a usabilidade do componente junto com este reposit rio h um arquivo data json contendo os dados para renderizar a rvore a estrutura de um nico item esta 1 id a853dddc b639 41e6 a876 958b1e7f65d1 name harald svante august children https github com hiplatform prova frontend behaviour comportamento cada item deve ter um checkbox que pode ser marcado desmarcado quando o usu rio marcar desmarcar o checkbox de um item que tenha filhos o estado deve ser cascateado a todos os seus descendentes quando o usu rio marcar um ou mais filhos e at que marque todos o estado do checkbox pai deve ser alterado para indeterminate quando o usu rio marcar desmarcar todos os filhos o estado do checkbox pai deve replicar o dos filhos o usu rio deve ser capaz de mostrar e esconder os itens internos de um item pai https github com hiplatform prova frontend freedom liberdade voc pode usar qualquer tecnologia que melhor lhe servir na hi usamos majoritariamente react isso n o significa que vamos priorizar testes em react em detrimento de outros frameworks vanilla mas se estiver na d vida de qual escolher sugerimos react voc livre para estruturar o projeto da maneira que achar mais organizada voc livre para implementar o c digo em qualquer padr o que achar mais adequado voc pode adicionar funcionalidades ao componente como desejar mas n o fuja da simplicidade https github com hiplatform prova frontend nice to have n s valorizamos aten o para os seguintes pontos acoplamento e coes o testes performance recupera o de estado por exemplo recuperar estado dos checkboxes ap s um page refresh experi ncia do usu rio rea de clique scroll jump etc dica de amigo entendemos que no dia a dia podemos usar implementa es prontas para os problemas que aparecem por m queremos avaliar sua tomada de decis o racioc nio l gico e resolu o de problemas o core deste teste a rvore de elementos e os estados do checkbox portanto pedimos que n o use componentes prontos que implementem essas funcionalidades atente se aos requisitos funcionais comportamento e aos diferenciais que ser o valorizados nem sempre a gente consegue fazer tudo no prazo combinado se voc precisar de mais tempo converse com a pessoa respons vel pela vaga e evite entregar o teste inacabado divirta se office https media giphy com media bcftz4rtzrohiavh4v giphy gif | front_end |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.