Ruby China
  • 社区
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • 注册
  • 登录
Hooopo
@hooopo
管理员
第 8 位会员 / 2011-10-28

[email protected]
nil
北京
160 篇帖子 / 3013 条回帖
360 关注者
0 正在关注
74 收藏
聪明的妖怪录下了唐僧的紧箍咒
打赏作者
GitHub Public Repos
  • oh-my-github-circles 47

    GitHub User Circle Generator Using GitHub Actions

  • hackernews-insight 21

    Hackernews Insight using TiDB Cloud

  • repo-track-pipeline 6

    🔄 A flexible open-source data pipeline for seamlessly syncing data from any repository to your da...

  • oh-my-github-pipeline 6

    🔄 A flexible open-source data pipeline for seamlessly syncing data from any github user to your d...

  • chatgpt-xiaoai 3

    小爱音箱集成LLM,SaaS 服务

  • repo-contributor-circles 1

    GitHub repo contributor circles generator.

  • ossinsight-x 1

    Automatically post trending repos to Twitter every day.

  • mi-service 1

    XiaoMi Cloud Service for mi.com

  • hooopo 0

  • streamlit-echarts-demo 0

    Demo for Streamlit ECharts component

More on GitHub
  • 概况
  • 话题
  • 回帖
  • 收藏
  • 正在关注
  • 关注者
  • 如何从 Webpacker 切换到 CSS/JS bundling at 2022年01月28日

    引入 javascript 库还是用 yarn add 吗 需要额外设置吗

  • 💡一个轮子 idea,有没有感兴趣的 at 2022年01月27日

    cubejs 用过 体验不是很好 但灵活性确实挺高 plotly dash 看起来和上面发的 link https://observablehq.com/ 有点像 不过我对 pandas 不感兴趣 对于报表类分析需求 SQL 速度快还方便 pandas 大数据处理并不太行

  • 💡一个轮子 idea,有没有感兴趣的 at 2022年01月26日

    🎉

  • 💡一个轮子 idea,有没有感兴趣的 at 2022年01月26日

    看自己需求啦 日常使用都够用

    但稍微有点追求的话,可能又不太够用

  • Rails 容器化部署 master.key 的处理 at 2021年12月26日

    开源项目不能用 credentials.yml

  • 解决问题的套路:数据库高写入挑战 at 2021年12月26日

    感觉楼主是在一个 TP 库上造一个 AP 的轮子。

    榜单明显是一个 OLAP 场景,第一要选合适的工具,看楼主的描述都是在 OLTP 库上来解决这个问题,所以才要自己解决写入问题。

    如果你的架构上允许,同步一份 TP 库到 AP 库。榜单其实就是一个读的问题,和写完全没有关系,所以上面的问题都不存在。

    所以问题就变成了:

    • 实时榜单,那么选择流处理工具:flink、ksqlDB、materialize 之类
    • 非实时榜单,那么选 clickhouse、tiflash、bigquery 之类,加缓存或者异步刷新
  • Rails 7.0 正式版发布啦! at 2021年12月16日

    slogan 牛逼 from hello world to ipo

  • github 开源了一个新的 mysql 驱动 at 2021年12月16日

    shopify 和 github 都用的 mysql

  • github 开源了一个新的 mysql 驱动 at 2021年12月16日

    用户基数大

  • PostgreSQL 有没有能定时镜像线上数据到测试数据库的工具 at 2021年11月09日

    https://gitlab.com/postgres-ai/database-lab 据说 10T 2s clone

  • PostgreSQL 有没有能定时镜像线上数据到测试数据库的工具 at 2021年11月09日

    pg sync

  • 最好用的 10 款 MySQL 管理工具横向测评 - 免费和付费到底怎么选? at 2021年11月03日

    楼主发的这些,看界面都是古董级的

  • Foreman 是干什么的? 为什么不用 systemd ? at 2021年10月15日

    本地用 foreman 的目的不是起守护进程,好处是 1.声明项目所有服务,是一个可执行的文档 2.统一 start stop 项目依赖的服务 3.开发环境和生产环境兼容

  • null at 2021年09月30日

    买了本打印版 看不下去 还是参考开源项目和用真实项目来实践直接一些

  • Build a Rails App with TiDB and the ActiveRecord TiDB Adapter at 2021年09月01日

    再上 k8s?

  • 我们开发了一套面向后端程序员的生产力工具,正在内测中,欢迎试用 at 2021年08月18日

    retool?

  • Getting Started with Rails & TiDB at 2021年08月18日

    ✌

  • 我想知道 rails 怎麽區分大小寫查找 at 2021年08月17日

    like BINARY xx

  • activerecord-tidb-adapter released at 2021年08月15日

    增加了 sequence 支持:

    Sequence

    Sequence as primary key

    class TestSeq < ActiveRecord::Migration[6.1]
      def up
        # more options: increment, min_value, cycle, cache
        create_sequence :orders_seq, start: 1024
        create_table :orders, id: false do |t|
          t.primary_key :id, default: -> { "nextval(orders_seq)" }
          t.string :name
        end
      end
    
      def down
        drop_table :orders
        drop_sequence :orders_seq
      end
    end
    

    Generated DDL

    mysql> show create table orders_seq\G;
    *************************** 1. row ***************************
           Sequence: orders_seq
    Create Sequence: CREATE SEQUENCE `orders_seq` start with 1024 minvalue 1 maxvalue 9223372036854775806 increment by 1 nocache nocycle ENGINE=InnoDB
    
    mysql> show create table orders\G;
    *************************** 1. row ***************************
           Table: orders
    Create Table: CREATE TABLE `orders` (
      `id` bigint(20) NOT NULL DEFAULT nextval(`activerecord_tidb_adapter_demo_development`.`orders_seq`),
      `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL,
      PRIMARY KEY (`id`) /*T![clustered_index] CLUSTERED */
    ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci
    
    

    This gem also adds a few helpers to interact with SEQUENCE

    # Advance sequence and return new value
    ActiveRecord::Base.nextval("numbers")
    
    # Return value most recently obtained with nextval for specified sequence.
    ActiveRecord::Base.lastval("numbers")
    
    # Set sequence's current value
    ActiveRecord::Base.setval("numbers", 1234)
    
  • activerecord-tidb-adapter released at 2021年08月12日

    cool

  • activerecord-tidb-adapter released at 2021年08月12日

    🐮 和 github1s 有什么区别?

  • Petri Net workflow for Rails at 2021年08月07日

    域名过期了

  • 如何实现一个信息架构友好的标签系统 at 2021年08月06日

    https://pgdash.io/blog/postgres-12-generated-columns.html

  • 如何实现一个信息架构友好的标签系统 at 2021年08月06日

    自动更新的

  • 如何实现一个信息架构友好的标签系统 at 2021年08月06日

    没看懂

  • 记录一下 dashboard 性能优化 (10s->1ms) at 2021年08月06日

    没用 docker 部署,是 2c4g,负载很低

  • TiDB & ActiveRecord 避坑指南 at 2021年07月31日

    完美兼容 mysql 的应该不存在,连 MariaDB 都并不完美兼容 mysql...

  • TiDB & ActiveRecord 避坑指南 at 2021年07月30日

    嗯😝

  • 【已招到】【北上广杭】PingCAP 招聘社区产品前端实习生 at 2021年07月28日

    联系方式?

  • GeekNote,一个专为 Geek 设计的博客服务 at 2021年07月13日

    👏

  • 上一页
  • 1
  • 2
  • 3
  • 4
  • 5
  • …
  • 108
  • 109
  • 下一页
关于 / RubyConf / Ruby 镜像 / RubyGems 镜像 / 活跃会员 / 组织 / API / 贡献者
由众多爱好者共同维护的 Ruby 中文社区,本站使用 Homeland 构建,并采用 Docker 部署。
服务器由 赞助 CDN 由 赞助
iOS 客户端 / Android 客户端 简体中文 / English