Posts

  • best-ruby

    Ruby Tricks, Idiomatic Ruby, Refactoring and Best Practices

    Do you know why experienced Ruby programmers tend to reach for basic collections and hashes while programmers from other languages go for more specialized classes? Do you know the difference between strip, chop, and chomp; and why there are three such similar methods when apparently one might suffice (Not to mention lstrip and rstrip!)? Do you know the downsides of dynamic typing? Do you know why the differences between strings and symbols get so blurry, even to experienced Ruby developers? How about metaprogramming? What the heck is an eigenclass? How about protected methods? Do you know what they’re really about? Really? Are you sure? Eloquent Ruby

    Absolutely the best way to learn to write idiomatic Ruby code is to read idiomatic Ruby code. Eloquent Ruby

    This repository aims to help everyone write more idiomatic, clean, and tricky ruby code and also document good refactoring techniques. You can add your own technique or paste it from some website. Do not forget the source, of course. All the tricks are in the /tricks folder.

    For the sake of clarity, you should paste in the markdown format. At the end, if the code is not your own, paste a reference to the author and source of the technique.

    Tags: #ruby

  • pybroker

    Algorithmic Trading in Python with Machine Learning

    Are you looking to enhance your trading strategies with the power of Python and machine learning? Then you need to check out PyBroker! This Python framework is designed for developing algorithmic trading strategies, with a focus on strategies that use machine learning. With PyBroker, you can easily create and fine-tune trading rules, build powerful models, and gain valuable insights into your strategy’s performance.

    Tags: #python • algotrading • backtesting

  • light-reid

    [ECCV2020] a toolbox of light-reid learning for faster inference, speed both feature extraction and retrieval stages up to >30x

    a toolbox of light reid for fast feature extraction and search

    • light-model: model distillation (3x faster feature extraction)
    • light-feature: binary code learning (6x faster retrieval)
    • light-search: coarse2fine search (2x faster retrieval)

    it features

    • easy switch between light and non-light reid
    • simple modules for reid implementation
    • implementations of state-of-the-art deep reid models

    Tags: #python • person-reidentification • pytorch

  • react-insta-stories

    A React component for Instagram like stories

    npm install --save react-insta-stories
    

    Tags: #typescript • instagram • stories

  • oksse

    An extension library for OkHttp to create a Server-Sent Event (SSE) client.

    OkSse is an extension library for OkHttp to create a Server-Sent Event (SSE) client

    Server-sent events is a standard describing how servers can initiate data transmission towards clients once an initial client connection has been established. They are commonly used to send message updates or continuous data streams to a client.

    Tags: #java

  • soundcloud-javascript

    Official SoundCloud Javascript SDK

    This repository is no longer maintained by the SoundCloud team due to capacity constraints. We’re instead focusing our efforts on improving the API & the developer platform. Please note, at the time of updating this, the repo is already not in sync with the latest API changes.

    We recommend the community to fork this repo in order to maintain the SDK. We’d be more than happy to make a reference on our developer that the developers can use different SDKs build by the community. In case you need to reach out to us, please head over to https://github.com/soundcloud/api/issues


    Tags: #javascript

  • best-ruby

    Ruby Tricks, Idiomatic Ruby, Refactoring and Best Practices

    Do you know why experienced Ruby programmers tend to reach for basic collections and hashes while programmers from other languages go for more specialized classes? Do you know the difference between strip, chop, and chomp; and why there are three such similar methods when apparently one might suffice (Not to mention lstrip and rstrip!)? Do you know the downsides of dynamic typing? Do you know why the differences between strings and symbols get so blurry, even to experienced Ruby developers? How about metaprogramming? What the heck is an eigenclass? How about protected methods? Do you know what they’re really about? Really? Are you sure? Eloquent Ruby

    Absolutely the best way to learn to write idiomatic Ruby code is to read idiomatic Ruby code. Eloquent Ruby

    This repository aims to help everyone write more idiomatic, clean, and tricky ruby code and also document good refactoring techniques. You can add your own technique or paste it from some website. Do not forget the source, of course. All the tricks are in the /tricks folder.

    For the sake of clarity, you should paste in the markdown format. At the end, if the code is not your own, paste a reference to the author and source of the technique.

    Tags: #ruby

  • sengi

    Mastodon & Pleroma Multi-account Desktop Client

    Sengi is a Mastodon and Pleroma desktop focused client. It takes inspiration from the old Tweetdeck client, the new Tweetdeck webapp and Mastodon UI.

    It is strongly focused on the following points:

    • Heavily oriented on multi-accounts usage
    • Desktop based interactions (right click, left click, etc)
    • One column at a time display (leave it on the side of your screen, and keep an eye on it while doing your other stuff)

    It is released as a browser webapp and also packaged as an cross-platform desktop application (Mac, Windows, and Linux).

    The Electron code isn’t hosted here anymore, and you’ll find it here.

    Tags: #typescript • mastodon • client

  • php-mysql-engine

    A MySQL engine written in pure PHP

    PHP MySQL Engine is a library for PHP that allows you to test database-driven applications with an in-memory simulation of MySQL 5.6. This project extends the PDO class and allows you to call common PDO MySQL methods. It supports a wide variety of queries, and some PDO-specific functionality like transactions and different fetch modes.

    PHP MySQL Engine is based on Slack’s Hack SQL Fake created by Scott Sandler.

    You can read an article about this tool here.

    Tags: #php

  • loopback4-microservice-catalog

    A Catalog of Microservices Created by SourceFuse for the Community

    From v5 onwards our cli now supports workspaces, transfering the responsibility of managing dependencies from lerna to npm. We will be providing support for our older version v4 till 30th June 2024. For more details on how to migrate from older versions of lerna to latest lerna v7 click here.

    Tags: #typescript • loopback4 • microservices

subscribe via RSS