dataDesk BLOG

Welcome to the blog of Mr.G

Nature
Posts: 2

Blog 1: About_Complaining.md | (Open) | (Share)

▲ Previous | Next ▼

/4Blog

(Last modified: March 27 2026 21:45:59)

About complaining

Many cultural and philosophical traditions explicitly address the idea that complaining harms not only the complainer, but also the listener. Here are the main approaches.

Stoicism (Ancient Greece and Rome)
Stoics viewed constant complaint as a failure of self-governance. Marcus Aurelius warned that voicing unnecessary grievances spreads disturbance to others. Complaining transfers inner disorder outward - the listener becomes burdened with emotions they did not choose. Epictetus emphasized restraint in speech for this reason.

Buddhism
In Buddhism, complaining is a form of dukkha amplification. Speech that fixates on dissatisfaction strengthens suffering and transmits it. The concept of Right Speech explicitly discourages speech that is unhelpful, burdensome, or emotionally contagious. The listener absorbs the mental state of the speaker.

Confucianism
Confucian ethics stress social harmony. Complaining disrupts relational balance (he). Excessive grievance is seen as a failure of self-cultivation because it imposes private unrest onto the social sphere, forcing others into emotional labor.

Christian thought (especially monastic traditions)
Complaining (murmuring) is treated as spiritually corrosive. The Rule of Saint Benedict explicitly condemns murmuring because it poisons the community, not just the speaker. It erodes peace by spreading discontent to those who hear it.

Existential and modern philosophy
Thinkers like Kierkegaard and later existentialists treated habitual complaint as avoidance of responsibility. By voicing grievance without action, the complainer shifts emotional weight onto others, making them witnesses to inauthenticity.

Modern psychology (for context, not philosophy)
Research on emotional contagion shows that repeated negative expression elevates stress and lowers mood in listeners. This aligns closely with the older philosophical positions: complaining externalizes internal dysregulation.

Common thread across traditions
Complaining is seen as:

  • Exporting inner disorder
  • Forcing unpaid emotional labor onto listeners
  • Weakening communal trust and calm
  • Reinforcing suffering rather than resolving it

Many traditions distinguish constructive expression (seeking solutions, asking for help) from habitual complaint, which exists primarily to discharge emotion onto others.



Blog 2: Electron.md | (Open) | (Share)

▲ Previous

/

(Last modified: March 11 2026 01:20:37)

Electron

I wonder if you have tested the performance of the client before you choose to let this Baazipoker software to be your new platform.
I now wonder how much influence and chance you have at all, to repair this horrible CPU and GPU eating performance.
Is there any part of your software on github? Here are some thoughts:

A poker table UI is actually one of the simplest graphical applications possible.

Yet with Electron it becomes:

Chromium

  • CSS engine
  • JS runtime
  • GPU compositor
  • framework layers

Which is why a modern poker client can require more CPU than a 3D game.

The most probable technical issue is:
multiple Electron renderer processes + continuous animation loops

4 tables =4 Chromium renderers.
Each renderer runs:

its own JS engine (V8)
layout engine
rendering pipeline
event loop

That alone can push CPU usage high.

Even a simple Electron window often consumes:
200–400 MB RAM and noticeable CPU.

Now imagine:
main window

  • lobby
  • multiple tables

Each may be its own renderer.

Possible fixes

  1. Single renderer window
    Do not open a BrowserWindow per table.
    Use one window and render all tables inside it.

  2. Event-driven rendering
    Remove constant requestAnimationFrame loops.
    Update UI only when something changes (card dealt, timer tick, bet).

  3. Shared render loop
    If animations are needed, run one global loop, not one per table.

  4. Use Canvas/WebGL instead of heavy DOM
    Rendering cards/chips via DOM + CSS is expensive.
    Canvas or WebGL scales far better.

  5. Throttle FPS
    Poker tables do not need 60 FPS.
    Limit rendering to something like 10–20 FPS.

  6. Avoid polling loops
    Use server events (WebSocket) instead of constant polling.


In short:

One Electron renderer + event-driven UI + shared rendering pipeline.

That alone could reduce CPU usage dramatically even without changing the tech stack.

Good luck


Who I am

"Just me, myself, and I, exploring the universe of unknownment, embracing the mystery of what lies beyond, one star at a time."

Share this page on Facebook | X.com | Reddit

Page Content

  • Image About Complaining
    Published: 2026-03-27
    Read
  • Image Electron
    Published: 2026-03-11
    Read

Tags

WebDev New York London AI NORWAY DIY Ideas Life Family News Clothing Invest Sports Health