Posts

  • py-mysql-elasticsearch-sync

    MySQL to Elasticsearch sync tool, written in Python.

    Simple and fast MySQL to Elasticsearch sync tool, written in Python.

    中文文档

    Tags: #python

  • php-bignumbers

    A robust library to handle immutable big numbers inside PHP applications

    You can install this library using Composer.

    To install it via Composer, just write in the require block of your composer.json file the following text:

    {
        "require": {
            "litipk/php-bignumbers": "^0.8"
        }
    }
    

    Tags: #php

  • jsweet

    A Java to JavaScript transpiler.

    JSweet leverages TypeScript to write rich and responsive Web applications in Java through the use of JavaScript libraries and frameworks. With JSweet, Java programs are transpiled (source-to-source compiled) to TypeScript and JavaScript for being run in browsers, mobile Web views, or in Node.js.

    • JSweet is safe and reliable. It provides web applications with type-checking and generates fully type-checked JavaScript programs. It stands on Oracle’s Java Compiler (javac) and on Microsoft’s TypeScript (tsc).
    • JSweet allows you to use your favorite JS library (JSweet+Angular2, JSweet+threejs, IONIC/Cordova, …).
    • JSweet enables code sharing between server-side Java and client-side JavaScript. JSweet provides implementations for the core Java libraries for code sharing and legacy Java migration purpose.
    • JSweet is fast, lightweight and fully JavaScript-interoperable. The generated code is regular JavaScript code, which implies no overhead compared to JavaScript, and can directly interoperate with existing JavaScript programs and libraries.

    How does it work? JSweet depends on well-typed descriptions of JavaScript APIs, so-called “candies”, most of them being automatically generated from TypeScript definition files. These API descriptions in Java can be seen as headers (similarly to *.h header files in C) to bridge JavaSript libraries from Java. There are several sources of candies for existing libraries and you can easily build a candy for any library out there (see more details).

    With JSweet, you take advantage of all the Java tooling (IDE’s, Maven, …) to program real JavaScript applications using the latest JavaScript libraries.

    Tags: #java • jsweet • javascript-transpiler

  • belongs-to-through

    Laravel Eloquent BelongsToThrough relationships

    This inverse version of HasManyThrough allows BelongsToThrough relationships with unlimited intermediate models.

    Supports Laravel 5.0+.

    Tags: #php

  • sketchup-stl

    A SketchUp Ruby Extension that adds STL (STereoLithography) file format import and export.

    A SketchUp Ruby Extension that adds STL (STereoLithography) file format import and export.

    3D printing is awesome, and the STL format has emerged as a standard way to share printable 3D models. To support this community, SketchUp has gathered a couple of Ruby plugins and packaged them into a single Extension. Stay tuned! This is our first foray into Open Source, an experiment we hope to repeat.

    Tags: #ruby • sketchup • extension

  • artipie

    Binary Artifact Management Tool

    Tags: #java • artifact-management • artifact-repository-manager

  • storytime

    Storytime is a Rails 4+ CMS and blogging engine, with a core focus on content. It is built and maintained by @cultivatelabs

    Tags: #ruby

  • BiSeNet

    Add bisenetv2. My implementation of BiSeNet

    My implementation of BiSeNetV1 and BiSeNetV2.

    The mIOU evaluation result of the models trained and evaluated on cityscapes train/val set is: | none | ss | ssc | msf | mscf | fps(fp16/fp32) | link | |——|:–:|:—:|:—:|:—-:|:—:|:—-:| | bisenetv1 | 75.55 | 76.90 | 77.40 | 78.91 | 60/19 | download | | bisenetv2 | 74.12 | 74.18 | 75.89 | 75.87 | 50/16 | download |

    Where ss means single scale evaluation, ssc means single scale crop evaluation, msf means multi-scale evaluation with flip augment, and mscf means multi-scale crop evaluation with flip evaluation. The eval scales of multi-scales evaluation are [0.5, 0.75, 1.0, 1.25, 1.5, 1.75], and the crop size of crop evaluation is [1024, 1024].

    The fps is tested in different way from the paper. For more information, please see here.

    Note that the model has a big variance, which means that the results of training for many times would vary within a relatively big margin. For example, if you train bisenetv2 for many times, you will observe that the result of ss evaluation of bisenetv2 varies between 72.1-74.4.

    Tags: #python • bisenet • cityscapes

  • console.message

    Console messages for cool kids

    Console messages for cool kids

    Tags: #javascript

  • tomcat-cluster-redis-session-manager

    Tomcat clustering redis session manager java client.

    The Redis session manager is pluggable one. It stores session into Redis for easy distribution of HTTP Requests across a cluster of Tomcat servers.

    Here the Sessions are implemented as non-sticky (means, each request can able to go to any server in the cluster, unlike the Apache provided Tomcat clustering setup.)

    Request Sessions will be stored into Redis immediately (Session attributes must be Serializable), for the use of other servers. When tomcat receives a request from the client, Sessions are loaded directly from Redis.

    Supports Redis default, sentinel and cluster mode, based on the configuration.

    Going forward, we no need to enable sticky session (JSESSIONID) in Load Balancer.

    Tags: #java • tomcat-clustering • tomcat-session-manager

subscribe via RSS