ValarMorghulis.IO
open-menu closeme
Home
Tech
View
twitter github rss
  • The curious cases of json_extract

    calendar Apr 25, 2020 · 3 min read · mysql maraidb  ·
    Share on: twitter facebook linkedin copy

    json_extract is a function for extract data from a JSON document both in MySQL and MariaDB. The function normally works fine, for example 1set @j = '{"num": 42, "list": [1, 2, 3], "obj": {"name": "Edward Stark"}}'; 2select json_extract(@j, '$.num') as num, json_extract(@j, '$.list') as list, json_extract(@j, '$.obj') …


    Read More
  • Contextvars and Thread local

    calendar Apr 12, 2019 · 4 min read · python  ·
    Share on: twitter facebook linkedin copy

    Here in the post, I will share some examples about the contextvars (new in Python 3.7) and thread local. Default Value In the module level, use ContextVar.set or directly setattr for a thread local variable, won't successfully set a default value, the value set won't take effect in another thread. To ensure a default …


    Read More
  • The Tiny Chips from Chinese Hackers: When Falsifiability meets Public Perception

    calendar Oct 28, 2018 · 5 min read  ·
    Share on: twitter facebook linkedin copy

    During the 2018 Chinese National Day Holidays, Bloomberg Business Week reported that Chinese hackers planted microchips into motherboards supplying for data center servers of tech giants Apple and Amazon. The original Bloomberg post is available at …


    Read More
  • The Ponzi Software Development Scheme

    calendar Jan 7, 2018 · 5 min read  ·
    Share on: twitter facebook linkedin copy

    The metaphor Ponzi Software Development Scheme, came to me after I have been read about a post from CACM, The Death of Big Software. The traditional big softwares will die away, because they are easily growing to become too hard to maintain, and will be replaced by cloud or microservices architecture based softwares. …


    Read More
  • Mongodb(via MongoEngine) join query with aggregate

    calendar Jan 9, 2017 · 3 min read · mongodb  ·
    Share on: twitter facebook linkedin copy

    Since Mongodb 3.2 and MongoEngine 0.9, we can use $aggregate command to perform join queries on multiple collections in a database. This post would be a simple tutorial for join queries on Mongodb(via MongoEngine in Python) with examples. Models Setup Let's consider models defined as below: 1import random 2import …


    Read More
    • ««
    • «
    • 1
    • 2
    • 3
    • »
    • »»

valarmorghulis.io

Programming / Thinking / Writing / Reading

Recent Posts

  • GEO is Not the Next Generation of SEO
  • Python dependencies states managed via uv(illustrated)
  • Deploy models on SGLang with CPU only
  • Run MiniCPM4 with CPU only
  • Call MCP Server(stdio) directly in the shell
  • Measuring the CPU and Memory Usage for Python subprocess
  • tac -- the ignored reverse of cat
  • Python version of Rust Result Sum Type

Categories

SOFTWARE ENGINEERING 1 SOFTWARE INDUSTRY 1 TECHNIQUE 1

Tags

PYTHON 13 AI 4 DOCKER 2 RUST 2 ASYNCIO 1 AWS 1 BASH 1 BOT 1 CLIPBOARD 1 EXCEL 1 FLASK 1 HTTP 1 LLM 1 MARAIDB 1
All Tags
AI4 ASYNCIO1 AWS1 BASH1 BOT1 CLIPBOARD1 DOCKER2 EXCEL1 FLASK1 HTTP1 LLM1 MARAIDB1 MCP1 MESOP1 MONGODB1 MSYQL1 MYSQL1 NEXTJS1 PM21 POSTGRES1 POWERSHELL1 PYDANTIC1 PYTHON13 ROBOTS.TXT1 RUST2 SSL1 SUM TYPE1 UV1 WASM1 WSL1
[A~Z][0~9]
valarmorghulis.io

Copyright 2016-  VALARMORGHULIS.IO . All Rights Reserved

to-top