Posts

  • seafox

    A blazing fast 100% spec compliant, self-hosted javascript parser written in Typescript

    • Conforms to the standard ECMAScript® 2021 (ECMA-262 11th Edition) language specification
    • Support for additional ECMAScript features for Web Browsers
    • Optionally track syntactic node locations
    • Emits an ESTree-compatible abstract syntax tree
    • Lexical analysis
    • No backtracking
    • Low memory usage
    • Insane performance both on desktop computers and handheld devices
    • Twice as fast as other Javascript parsers
    • Very well tested (~33 000 unit tests with full code coverage)
    • Lightweight - ~84 KB minified

    Tags: #typescript • javascript • parser

  • riteway

    Simple, readable, helpful unit tests.

    Simple, readable, helpful unit tests.

    • Readable
    • Isolated/Integrated
    • Thorough
    • Explicit

    RITEway forces you to write Readable, Isolated, and Explicit tests, because that’s the only way you can use the API. It also makes it easier to be thorough by making test assertions so simple that you’ll want to write more of them.

    There are 5 questions every unit test must answer. RITEWay forces you to answer them.

    1. What is the unit under test (module, function, class, whatever)?
    2. What should it do? (Prose description)
    3. What was the actual output?
    4. What was the expected output?
    5. How do you reproduce the failure?

    Tags: #javascript

  • quantum

    Hybrid Quantum-Classical Machine Learning in TensorFlow

    Quantum computing at Google has hit an exciting milestone with the achievement of Quantum Supremacy. In the wake of this demonstration, Google is now turning its attention to developing and implementing new algorithms to run on its Quantum Computer that have real world applications.

    To provide users with the tools they need to program and simulate a quantum computer, Google is working on Cirq. Cirq is designed for quantum computing researchers who are interested in running and designing algorithms that leverage existing (imperfect) quantum computers.

    TensorFlow Quantum provides users with the tools they need to interleave quantum algorithms and logic designed in Cirq with the powerful and performant ML tools from TensorFlow. With this connection we hope to unlock new and exciting paths for Quantum Computing research that would not have otherwise been possible.

    Tags: #python

  • XmlToJson

    Android Library for converting XML to JSON and JSON to XML

    XML to JSON is an Android Studio Library which converts easily XML to JSON and JSON to XML.

    It is fully configurable so that you can change for example attribute names.

    It is easy to integrate with gradle.

    Tags: #java

  • material-refresh

    Google Material Design swipe(pull) to refresh by using JavaScript and CSS3.

    High Performance

    Mobile only

    Google Material Design swipe (pull) to refresh.

    It uses CSS3 and JavaScript depend on Zepto or jQuery.

    Actually, it’s easy to convert the dependent js library or just use the vanilla JavaScript.

    It’s high performancenot which not impact the structure of sites.

    Tags: #javascript

  • resque-scheduler

    A light-weight job scheduling system built on top of Resque

    Resque-scheduler is an extension to Resque that adds support for queueing items in the future.

    Job scheduling is supported in two different ways: Recurring (scheduled) and Delayed.

    Scheduled jobs are like cron jobs, recurring on a regular basis. Delayed jobs are resque jobs that you want to run at some point in the future. The syntax is pretty explanatory:

    Resque.enqueue_in(5.days, SendFollowupEmail, argument) # runs a job in 5 days, calling SendFollowupEmail.perform(argument)
    # or
    Resque.enqueue_at(5.days.from_now, SomeJob, argument) # runs a job at a specific time, calling SomeJob.perform(argument)
    

    Tags: #ruby

  • loghouse

    Ready to use log management solution for Kubernetes storing data in ClickHouse and providing web UI.

    • Collecting and storing logs from all Kubernetes pods efficiently:
      • Fluentd processes upto 10,000 log entries per second consuming 300 MB of RAM (installed at each K8s node).
      • ClickHouse makes disk space usage minimal. Examples of logs stored in our production deployments: 3.7 million entries require 1.2 GB, 300m — 13 GB, 5,35 billion — 54 GB.
    • Simple query language: Easy to select entries by exact keys values or regular expressions, multiple conditions are supported with AND/OR. Learn more in query language docs.
    • Selecting entries based on additional containers’ data available in Kubernetes API (pod’s and container’s names, host, namespace, labels, etc).
    • Quickly & straightforward deployable to Kubernetes via Dockerfiles and Helm chart.
    • Web UI made cosy and powerful:
      • Papertrail-like user experience.
      • Customizable time frames: from date to date / from now till given period (last hour, last day, etc) / seek to specific time and show logs around it.
      • Infinite scrolling of older log entries.
      • Save your queries to use in future.
      • Basic permissions (limiting entries shown for users by specifying Kubernetes namespaces).
      • Exporting current query’s results to CSV (more formats will be supported).
    • fluentd monitoring via Prometheus with Grafana dashboards for ClickHouse and fluentd.

    Tags: #ruby • kubernetes • clickhouse

  • rabl-rails

    Rails 4.2 & 5 templating system with JSON, XML and Plist support.

    rabl-rails is a ruby templating system for rendering your objects in different format (JSON, XML, PLIST).

    This gem aims for speed and little memory footprint while letting you build complex response with a very intuitive DSL.

    rabl-rails targets Rails 4.2/5/6 application and have been testing with MRI and jRuby.

    Tags: #ruby • rabl-template • rails

  • resium

    React components for 🌏 Cesium

    If you want to contribute, see documentation.

    Tags: #typescript • react • cesium

  • aiosql

    Simple SQL in Python

    Simple SQL in Python

    SQL is code, you should be able to write it, version control it, comment it, and run it using files. Writing your SQL code in Python programs as strings doesn’t allow you to easily reuse your SQL in database GUI tools or CLI tools like psql. With aiosql you can organize your SQL statements in .sql files, load them into your python application as methods to call without losing the ability to use them as you would any other SQL file.

    This project supports standard and asyncio based drivers for SQLite and PostgreSQL out of the box (sqlite3, aiosqlite, psycopg2, asyncpg). Extensions to support other database drivers can be written by you!

    If you are using python versions <3.6 please see the related anosql package which this project is based on.

    Tags: #python

subscribe via RSS