Skip to content

Instantly share code, notes, and snippets.

View bluescreen10's full-sized avatar
👨‍💻
Hacking

Mariano Wahlmann bluescreen10

👨‍💻
Hacking
View GitHub Profile
@bluescreen10
bluescreen10 / benchmark_test.go
Created April 2, 2023 07:32
Performance difference between OpenBlas and Gonum
package main_test
import (
"math/rand"
"runtime"
"testing"
"github.com/blast-go/openblas"
"gonum.org/v1/gonum/blas"
"gonum.org/v1/gonum/blas/blas32"
@bluescreen10
bluescreen10 / gist:1086507
Created July 16, 2011 16:21
patch joystick problem
diff --git a/src/ui/MainWindow.cc b/src/ui/MainWindow.cc
index 8eceb5c..573390b 100644
--- a/src/ui/MainWindow.cc
+++ b/src/ui/MainWindow.cc
@@ -135,9 +135,8 @@ MainWindow::MainWindow(QWidget *parent):
connect(LinkManager::instance(), SIGNAL(newLink(LinkInterface*)), this, SLO
// Connect user interface devices
- if (!joystick) {
- joystick = new JoystickInput();
@bluescreen10
bluescreen10 / embed_api.todo
Created November 29, 2010 00:16
Embed_api TODO
* Removed dependency in Parrot_api_set_runcore from embed.c
* DONE - Identify why t/profiling/profiling.t is not working
* Better implementation if necessary of &is_error flag
* set DEPRECATION notes for the old embed api
* Define DEBUG information to be printed
* src/exceptions.c:die_from_exception() is printing the backtrace out to the stderr we need to move that to the emebed_api
* Migrate parrot_debugger to the new API
* write documentation
* write more test cases
* clean up
#!/usr/bin/perl
use strict;
# Parse cover output
while (<STDIN>) {
next if ( $_ !~ /^Total/ );
chomp;
/^Total[\t\s]+([\d\.\/na]+)[\t\s]+([\d\.\/na]+)[\t\s]+([\d\.\/na]+)[\t\s]+([\d\.\/na]+)[\t\s]+[\d\.\/na]+[\t\s]+([\d\.\/na]+)$/;