Skip to content

Instantly share code, notes, and snippets.

View stmuk's full-sized avatar

Steve Mynott stmuk

  • London and Suffolk, England
View GitHub Profile
OpenBSD 6.2 (GENERIC.MP) #0: Thu Oct 12 19:53:18 CEST 2017
root@syspatch-62-amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 2020343808 (1926MB)
avail mem = 1952149504 (1861MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xe7450 (49 entries)
bios0: vendor Insyde version "F.08" date 12/26/2014
bios0: Hewlett-Packard HP Stream Notebook PC 11
There is now a RC0 release of Rakudo Star 2017.10.
See draft announcement at https://raw.githubusercontent.com/rakudo/star/master/docs/announce/2017.10.md
An important change is that panda is no longer shipped since its deprecated and replaced by zef.
There are also binary RC0 releases for Mac (DMG) and 64-bit Windows (MSI) and a new experimental
linux cross distro 64 bit build (AppImage).
The AppImage was built using samcv's scripts and should work on any recent (3 year old or newer) mainstream Linux distro
by setting as executable and running (no installation needed).
===> Testing: DBIish:ver<0.5.14>
Use of uninitialized value $lib of type Any in string context.
Methods .^name, .perl, .gist, or .say can be used to stringify i
t to something meaningful.
in block <unit> at t/03-lib-util.t line 16
# Connect failed with error DBIish: DBDish::mysql needs 'mysqlclient', not found
# Testing DBDish::mysql
# DBIish: DBDish::mysql needs 'mysqlclient', not found
# Can't continue.
# DBIish: DBDish::mysql needs 'mysqlclient', not found
compiling src\jit\x64\arch.o
src\jit\x64\arch.c: In function 'MVM_jit_arch_storage_for_arglist':
src\jit\x64\arch.c:80:33: error: expected expression before ';' token
for (i = 0; i < MIN(narg, 4); i++) {
^
makefile:601: recipe for target 'src\jit\x64\arch.o' failed
Target: x86_64-w64-mingw32
gcc version 4.9.2
@stmuk
stmuk / gist:365b6cd98ed3e3083a256680f2369128
Created September 8, 2017 15:12
windows moar/nqp runtime error
> C:\Users\steve\temp\rakudo\install\bin\moar.exe --libpath="src/vm/moar/stage0" "src/vm/moar/stage0/nqp.moarvm" -e "print(nqp::backendconfig()<make>)"
Unhandled exception: Unable to allocate an array of 8 elements
at <unknown>:1 (src/vm/moar/stage0/ModuleLoader.moarvm:)
from <unknown>:1 (src/vm/moar/stage0/ModuleLoader.moarvm:<dependencies+deserialize>)
from <unknown>:1 (src/vm/moar/stage0/nqp.moarvm:<dependencies+deserialize>)
> gdb --args C:\Users\steve\temp\rakudo\install\bin\moar.exe --libpath="src/vm/moar/stage0" "src/vm/moar/stage0/nqp.moarvm" -e "print(nqp::backendconfig()<make>)"
[...]
Reading symbols from C:\Users\steve\temp\rakudo\install\bin\moar.exe...done.
steve@DESKTOP-VHR4CPP C:\Users\steve\2017.08\rakudo\nqp
> dir \Users\steve\2017.08\install\bin
Volume in drive C has no label.
Volume Serial Number is 0484-1A8F
Directory of C:\Users\steve\2017.08\install\bin
20/08/2017 11:59 <DIR> .
20/08/2017 11:59 <DIR> ..
20/08/2017 11:59 123,842 libmoar.dll.a
# LHS=nqp/MoarVM RHS=MoarVM
% diff Makefile ../../MoarVM/Makefile (git)-[heads/master]
19c19
< CONFIG = --optimize --prefix=/home/steve/sandbox/nqp/install --make-install
---
> CONFIG =
40,43c40,43
< PREFIX = /home/steve/sandbox/nqp/install
< BINDIR = /home/steve/sandbox/nqp/install/bin
before upgrade: 2ec96eb8a266c9fed9a84b3af318362877e41d28
cmd: git config core.sharedRepository group
cmd: /usr/bin/git pull --prune git@github.com:sciencephotolibrary/juno.git master
From github.com:sciencephotolibrary/juno
* branch master -> FETCH_HEAD
Updating 2ec96eb..4cbc518
Fast-forward
db/schema.sql | 79 +++++++++++++
lib/PW/Schema.pm | 5 +
rm -rf ~/.perl6
rakudobrew nuke moar && rakudobrew build moar && rakudobrew build zef && zef install Template::Mustache
[...]
Done, built zef for moar-nom
===> Searching for: Template::Mustache
===> Searching for missing dependencies: JSON::Fast
===> Testing: JSON::Fast:ver('0.9.2')
===> Testing [OK] for JSON::Fast:ver('0.9.2')
===> Testing: Template::Mustache:auth('github:softmoth')
@stmuk
stmuk / gist:4b0ff3c1da129ad90c8509b77e1abdac
Created May 16, 2017 12:45
Possible error with Sirius?
% psql -dsirius_nightly
sirius_nightly=# begin;
update ml set cod='wibble00' where id=105284;
ERROR: function ml_fulltext(character varying, character varying, character varying, character varying, character varying, character varying, character varying, character varying, character varying, character varying, character varying, character varying) does not exist
LINE 3: ml_fulltext(NEW.cod, NEW.nam,
^
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
QUERY: SELECT to_tsvector(
'pg_catalog.english',
ml_fulltext(NEW.cod, NEW.nam,