profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/BinaryBrain/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
Sacha Bron BinaryBrain Lausanne, Switzerland http://sachabron.ch Software Engineer · Innovation Specialist

axa-group/Parsr 2674

Transforms PDF, Documents and Images into Enriched Structured Data

BinaryBrain/Batonnet.js 13

:pencil: A universal, intercultural and user-friendly way to display numbers

BinaryBrain/Arduino-Beat-Detection-LED 6

Arduino Nano code to detect a music beat and sync LED strips to the bass!

AXATechLab/pdf2json 2

PDF2JSON is a conversion library based on XPDF (3.02) which can be used for high performance PDF page by page conversion to JSON and XML format. It also supports compressing data to minimize size. PDF2JSON is available for Windows, OSX and Linux. Please see https://flowpaper.com for more information

BinaryBrain/BestFan 1

Web service showing you who is your best fan on GitHub

BinaryBrain/Binance-dollars 1

Chrome extension that displays dollar equivalent on Binance

BinaryBrain/CodeFast 1

The faster you type, the faster you feel - Stupid Hackathon Project

BinaryBrain/Elodie-Dream 1

Another game for another birthday!

BinaryBrain/FAT32 1

FAT32 Reader

push eventBinaryBrain/Virtual-LED-Server

Sacha Bron

commit sha 4331ec34cbacd04183b3716af9aaa6b8e50bed2d

Init web server, WS, etc.

view details

push time in 19 hours

create barnchBinaryBrain/Virtual-LED-Server

branch : master

created branch time in 21 hours

created repositoryBinaryBrain/Virtual-LED-Server

Create a web server that show virutal LEDs in your browser

created time in 21 hours

startedpd3f/pd3f-core

started time in a day

push eventPecamo/orbital

Sacha Bron

commit sha cef877577dd76f8ebb8aef983bf9863a07955694

Add Rainbow animation

view details

push time in 2 days

push eventPecamo/orbital

Sacha Bron

commit sha 84090138fd3bbaeb950e425f61584627a88c4dee

Rainbow attempt

view details

push time in 2 days

PullRequestReviewEvent

Pull request review commentPecamo/orbital

Lamp: Init first version with fixed colors

+import * as path from "path";+import express from 'express';+import { State, state, display } from '../server';+import { Color } from '../color';+import { HtmlColors } from '../htmlColors';++export const lamp = express();+lamp.use(express.json());++const LAMP_FPS = 20;++lamp.get('/', (req, res) => {+    res.sendFile(path.join(__dirname, '..', '..', 'static', 'lamp.html'));+});++lamp.post('/color', (req, res) => {+    const { r, g, b, w } = req.body;+    currentColor = new Color(r, g, b, w);+    startLamp();+    res.send("OK");+});++let isLampRunning = false;+let currentColor: Color = HtmlColors.black;++function startLamp() {+    if (!isLampRunning) {+        isLampRunning = true;+        tick();+    }++    function tick() {+        // Loop timing, keep at the beginning+        const tickStart = Date.now();++        display.drawAll(currentColor);+        display.render();++        if (!display.isDisplay) {+            console.log(currentColor);+        }++        // Loop timing, keep at the end+        if (state === State.IDLE) {+            const tickEnd = Date.now();+            const diff = tickStart - tickEnd;+            const waitingTime = 1 / LAMP_FPS * 1000 + diff;+            setTimeout(() => tick(), waitingTime);+        } else {+            isLampRunning = false;

C'est pour pas lancer deux boucles en parallèle. Si tu as plus élégant, je suis preneur !

BinaryBrain

comment created time in 4 days

PullRequestReviewEvent

Pull request review commentPecamo/orbital

Lamp: Init first version with fixed colors

+import * as path from "path";+import express from 'express';+import { State, state, display } from '../server';+import { Color } from '../color';+import { HtmlColors } from '../htmlColors';++export const lamp = express();+lamp.use(express.json());++const LAMP_FPS = 20;++lamp.get('/', (req, res) => {+    res.sendFile(path.join(__dirname, '..', '..', 'static', 'lamp.html'));+});++lamp.post('/color', (req, res) => {+    const { r, g, b, w } = req.body;+    currentColor = new Color(r, g, b, w);+    startLamp();+    res.send("OK");+});++let isLampRunning = false;+let currentColor: Color = HtmlColors.black;++function startLamp() {+    if (!isLampRunning) {+        isLampRunning = true;+        tick();+    }++    function tick() {+        // Loop timing, keep at the beginning+        const tickStart = Date.now();++        display.drawAll(currentColor);+        display.render();++        if (!display.isDisplay) {+            console.log(currentColor);+        }++        // Loop timing, keep at the end+        if (state === State.IDLE) {

Je me suis inspiré du game tick

BinaryBrain

comment created time in 4 days

PullRequestReviewEvent

Pull request review commentPecamo/orbital

Lamp: Init first version with fixed colors

+import * as path from "path";+import express from 'express';+import { State, state, display } from '../server';+import { Color } from '../color';+import { HtmlColors } from '../htmlColors';++export const lamp = express();+lamp.use(express.json());++const LAMP_FPS = 20;++lamp.get('/', (req, res) => {+    res.sendFile(path.join(__dirname, '..', '..', 'static', 'lamp.html'));+});++lamp.post('/color', (req, res) => {+    const { r, g, b, w } = req.body;+    currentColor = new Color(r, g, b, w);+    startLamp();+    res.send("OK");

Non

BinaryBrain

comment created time in 4 days

PR opened Pecamo/orbital

Init Animation Mode
+37 -5

0 comment

1 changed file

pr created time in 4 days

create barnchPecamo/orbital

branch : lamp-animation-init

created branch time in 4 days

push eventPecamo/orbital

Sacha Bron

commit sha 4b047a86b558594d3d1f93d8446bcef6b40af154

Add npm run watch:start:no-display

view details

push time in 4 days

push eventPecamo/orbital

Sacha Bron

commit sha ed954d01cde65cfb964a79f0f6e9823ca566e857

Avoid flashing lamp during a game

view details

push time in 4 days

push eventPecamo/orbital

Sacha Bron

commit sha ed1231e185603952515dc675307a698c161fc81d

First version with fixed colors

view details

Sacha Bron

commit sha ead68621b0421d8350dfc4093d2fa49c5b8ed412

Align lamp text on the center

view details

Sacha Bron

commit sha 68fc13e0d870e3402219ae02379dc5674862ff28

Update lamp.js

view details

Sacha Bron

commit sha 6258e8dd32e1ba8ac793f007af0262b11c2b8ed0

Merge pull request #16 from Pecamo/lamp-mode-init Lamp: Init first version with fixed colors

view details

push time in 4 days

push eventPecamo/orbital

Sacha Bron

commit sha 68fc13e0d870e3402219ae02379dc5674862ff28

Update lamp.js

view details

push time in 6 days

push eventPecamo/orbital

Sacha Bron

commit sha ead68621b0421d8350dfc4093d2fa49c5b8ed412

Align lamp text on the center

view details

push time in 7 days

PR opened Pecamo/orbital

Lamp: Init first version with fixed colors
+154 -7

0 comment

5 changed files

pr created time in 7 days

create barnchPecamo/orbital

branch : lamp-mode-init

created branch time in 7 days

push eventPecamo/orbital

Kewin Dousse

commit sha 3963df2694e64a949adb2bda80a13c54ce2754c4

Yeah yeah woo woo

view details

Sacha Bron

commit sha 6f4a91ce9b3f008321495a5339da7aef46df037c

Merge pull request #15 from Pecamo/sounds Yeah yeah woo woo

view details

push time in 7 days

PR merged Pecamo/orbital

Yeah yeah woo woo

Des sons

🎶

+138 -108

0 comment

8 changed files

Protectator

pr closed time in 7 days

PullRequestReviewEvent

push eventPecamo/orbital

Sacha Bron

commit sha af771dffc42f16434a9516f5859743ae5fcb4cf9

Add watch:no-display

view details

push time in 7 days

issue closedPecamo/orbital

Battle Royal Colors

The Battle Royal warning zone is supposed to be a dark red. But currently, it's hard to tell on the actual led strip so we should try to darken it or change it's color/behavior (i.e. make it "breath" by changing the lightness).

closed time in 7 days

BinaryBrain

push eventPecamo/orbital

Sacha Bron

commit sha df42d06abc30b7e7c61a8e80ec70b911169a742a

Revert "Add Orbital-Portal connector" This reverts commit e1d88242d35ce0fbbebb9b88901c158c27aae1bf.

view details

push time in 21 days

push eventPecamo/orbital

Sacha Bron

commit sha 6e70c3bfc383882ef741045f0957f7617d1ea17c

Draw Battle Royale zone behind the rest

view details

push time in 21 days

push eventPecamo/orbital

Sacha Bron

commit sha 516d5a6caedd7c970335b028f3bbef50cf20e7d9

Comment out portal connector from Orbital game server

view details

push time in 21 days