Posts

  • geared_pagination

    Paginate Active Record sets at variable speeds

    Most pagination schemes use a fixed page size. Page 1 returns as many elements as page 2. But that’s frequently not the most sensible way to page through a large recordset when you care about serving the initial request as quickly as possible. This is particularly the case when using the pagination scheme in combination with an infinite scrolling UI.

    Geared Pagination allows you to define different ratios. By default, we will return 15 elements on page 1, 30 on page 2, 50 on page 3, and 100 from page 4 and forward. This has proven to be a very sensible set of ratios for much of the Basecamp UIs. But you can of course tweak the ratios, use fewer, or even none at all, if a certain page calls for a fixed-rate scheme.

    On JSON actions that set a page, we’ll also automatically set Link and X-Total-Count headers for APIs to be able to page through a recordset.

    Tags: #ruby

  • ui

    React Styled Components with bootstrap grid system

    Pal.js UI is a set of essential modules for your next React application.

    The purpose of the modules is to solve generic tasks faster and more efficient so that you can focus on business logic and leave routine behind.

    Tags: #typescript • reactjs • styled-components

  • activejob-traffic_control

    Rate limiting/job enabling for ActiveJob using distributed locks in Redis or Memcached.

    Rate controls for your ActiveJobs, powered by Suo, a distributed semaphore library backed by Redis or Memcached.

    Tags: #ruby

  • crossplane

    Quick and reliable way to convert NGINX configurations into JSON and back.

    You can install both the Command Line Interface and Python Module via:

    pip install crossplane
    

    Tags: #python • nginx-configs • nginx-configuration

  • player.js

    Interact with and control an embedded Vimeo Player.

    The Vimeo Player API allows you to interact with and control an embedded Vimeo Player.

    Tags: #javascript • vimeo-player • player

  • MonitoRSS

    Discord RSS bot (formerly known as Discord.RSS) with customizable feeds. https://monitorss.xyz

    This is the core repository of the MonitoRSS bot (formerly known as Discord.RSS) for development and programmatic use. For the web interface development and programmatic use, see https://github.com/synzen/MonitoRSS-Web.

    For users who want to deploy MonitoRSS for personal use, see https://github.com/synzen/MonitoRSS-Clone.


    Driven by the lack of comprehensive RSS bots available, I have decided to try my hand at creating one of my own. Designed with as much customization as possible for both users and bot hosters, while also (or should be) easy to understand.

    All documentation can be found at https://docs.monitorss.xyz.

    Tags: #typescript • discord • rss

  • Bitcoin-Games

    Open source loginless cryptocurrency games

    🇬🇷 ελληνικά 🇫🇷 Français 🇰🇷 한국어 🇨🇳 普通話 🇹🇼 台灣話 🇲🇽 Español 🇹🇷 Türkçe 🇩🇪 Deutsch 🇮🇹 Italiano 🇮🇳 हिन्दी Arabic 🇵🇹 Português 🇷🇺 Русский язык 🇯🇵 日本語 🇻🇳 tiếng việt

    Tags: #php • bitcoin • casino

  • zent

    A collection of essential UI components written with React.

    • High quality React components
    • Builtin TypeScript support
    • Supports custom themes
    • Import JavaScript and styles only if they are used
    • Handmade icon font

    Tags: #typescript • react • ui-components

  • Implementation of Angular 1.x $cookies service to Angular 2

    Implementation of Angular 1.x $cookies service to Angular

    Tags: #typescript • angular • cookie

  • rapping-neural-network

    Rap song writing recurrent neural network trained on Kanye West’s entire discography

    This is a generative art project I made for my high school’s programming club - which ~I’m the president/founder of~ I was the president/founder of until I graduated.

    It’s a neural network that has been trained on Kanye West’s discography, and can use any lyrics you feed it and write a new song word by word that rhymes and has a flow (to an extent).

    Quartz did a really nice profile on me and the program here; https://qz.com/920091/a-west-virginia-teen-taught-himself-how-to-build-a-rapping-ai-using-kanye-west-lyrics/

    Tags: #python • neural-network • lyrics

subscribe via RSS