Streamlit component to display topics from Streamlit’s community forum related to any exception

Streamlit component to display topics from Streamlit’s community forum related to any exception. Installation pip install streamlit-forum Usage import streamlit as st from streamlit_forum import forum with forum(): import streamlit as st # Your code that may raise an exception here. E.g. 0/0 Docs To view the docstring, import Streamlit and the component and call st.help(forum). streamlit_forum.forum(top=5, criteria=’broad’, sortby=’relevance’, status=’any’) Use in a `with` block to execute some code and display topics from Streamlit’s community forum related to any exception. […]

Read more

Learning Efficient Online 3D Bin Packing on Packing Configuration Trees

This repository is being continuously updated, please stay tuned! Any code contribution is welcome! I am also looking for high-quality academic cooperation. If you are interested or have any problems, please contact me at [email protected]. We propose to enhance the practical applicability of online 3D-BPP via learning on a hierarchical packing configuration tree which makes the DRL model easy to deal with practical constraints and well-performing even with continuous solution space. Paper For more details, please see our paper Learning […]

Read more

Twayback: Automate downloading archived deleted Tweets

Finding and downloading deleted Tweets takes a lot of time. Thankfully, with this tool, it becomes a piece of cake! 🎂 Twayback is a portmanteau of Twitter and the Wayback Machine. Enter your desired Twitter username, and let Twayback do the rest! Requirements Python 3 waybackpack Install: pip install waybackpack or pip3 install waybackpack Link to repo Features Can download some or all of a user’s archived deleted Tweets. Allows custom time range to narrow search for deleted Tweets archived […]

Read more

QGIS plugin to download DEMs from OpenTopography.org

QGIS plugin to dwonload DEMs from OpenTopography.org This plug-in allows you to download DEMs from OpenTopgraphy.org by specifying area extent in QGIS. The downloaded DEM wil just cover the defined extent. Extent can be defined with 1 . a Layer in the content 2 . current canvas extent 3 . user specified extent drawn on the canvas DEMs availables to donwload: SRTM 90m SRTM 30m ALOS World 3D 30m SRTM GL1 Ellipsoidal 30m Global Bathymetry SRTM15+ V2.1 Copernicus Global DSM […]

Read more

A Slack bot for playing Texas Hold ‘Em where the currency is various workout tasks e.g. pushups

A Slack app/bot for playing Texas Hold ‘Em where the currency is various workout tasks e.g. pushups. The intent is to make the workday more fun & active for remote teams. The app is ready to run on Heroku (Python+Postgres). However, it was coded with a minimalist mindset and should be easy to run outside of Heroku. The game always consists of 4 players. One player initiates via /game and the first three people in the channel to react to […]

Read more

An implementation of John Conway’s Game of Life

This is an implementation of John Conway’s Game of Life in Python, and a very basic and straightforward one at that. Installation Run the following to install the required packages: pip install -r requirements.txt Then, launch the game using: Note Feel free to play with the game window dimensions and cell scale: it might yield interesting results. GitHub View Github    

Read more

Experimental Deep Learning Video De-interlacer

Work in progress deep de-interlacer filter. It is based on the architecture proposed by Bernasconi et al. from Disney Research | Studios. Original publication Differences While the publication appears to voluntarily omit some implementation details, the implementation presented here may not match exactly the one initially thought by the authors. First, the RDB does not add the convoluted input feature maps to the output of the network. In image denoising, we add back the input as we expect the RDB […]

Read more

A flexible CTF contest platform for coming PKU GeekGame events

A flexible CTF contest platform for coming PKU GeekGame events Still in early development Highlights Not configurable is most customizable. Every contest has its unique rule, which is unlikely to be fully covered by a text file or SQL table. Our experience shows that these static configurations often disturb contest organizers when they want more customization. Instead, we trust them as decent programmers, leaving the customization to the logic in the source code that is easy to maintain and extend. […]

Read more

Binary++: An esoteric programming language for binary

Binary++ is an esoteric programming language based on* binary. * It’s meant to be based on binary, but you can write Binary++ code using different means. Features Stack and heap(?) based. I don’t think this is actually a heap but I don’t have a better term for it. Full STDIN/OUT access A free, unlimited use “I code in Binary” pass Examples To clarify, the examples shown here are in the binary representations of each character. The code itself usually contains […]

Read more

Oblique: Shows koans from Oblique Strategies

You can get the official as well. ❯ pip install oblique ❯ python -m oblique –help Usage: python -m oblique [OPTIONS] Options: –edition TEXT Which OS editions to include? [default: 1,2,3,4] –extra Include additional koans found online [default: False] –python Include Monty Python quotes [default: False] –count INTEGER How many koans to show [default: 3]    

Read more
1 265 266 267 268 269 977