bringing qunit to the command line with vibe.d
requirements
- jQuery 1.8+
- vibed 7.13+
- The D Programing Language v2.060+
bringing qunit to the command line with vibed
taskPool.parallel(availableBrowsers, 5) = ok
taskPool.parallel(availableBrowsers, 1) = exception
From the exception output, something about the messages from the vibe thread dont work too well with the taskPool... no idea...
May need to do something else or just leave as serial run between browsers...
Figure this out:
core.exception.AssertError AT /usr/share/dmd/src/phobos/std/concurrency.d(1007): null this
5 app 0x00000001071fe265 d_assert_msg + 69
6 app 0x000000010711ef43 bool std.concurrency.MessageBox.get!(core.time.Duration, pure nothrow @safe void function(app.SignalQUnitDone)).get(scope core.time.Duration, scope pure nothrow @safe void function(app.SignalQUnitDone)) + 91
7 app 0x000000010711eecf bool std.concurrency.receiveTimeout!(pure nothrow @safe void function(app.SignalQUnitDone)).receiveTimeout(core.time.Duration, pure nothrow @safe void function(app.SignalQUnitDone)_) + 63
8 app 0x000000010711c3be int app.main(immutable(char)[][]).int __foreachbody2442(ref app.Browser) + 102
9 app 0x000000010711ec38 int std.parallelism.ParallelForeach!(app.Browser[]).ParallelForeach.opApply(scope int delegate(ref app.Browser)).void doIt() + 260
10 app 0x00000001072271b4 void std.parallelism.run!(void delegate()).run(void delegate()) + 20
11 app 0x0000000107226dcc void std.parallelism.T4TaskS213std11parallelism3runTDFZvZ.Task.impl(void) + 24
12 app 0x0000000107225b87 void std.parallelism.AbstractTask.job() + 15
13 app 0x0000000107225bdd void std.parallelism.TaskPool.doJob(std.parallelism.AbstractTask) + 33
14 app 0x0000000107225d04 void std.parallelism.TaskPool.workLoop() + 132
15 app 0x00000001071f2079 void core.thread.Thread.run() + 49
16 app 0x00000001071f136e thread_entryPoint + 334
17 libsystem_c.dylib 0x00007fff913de742 _pthread_start + 327
18 libsystem_c.dylib 0x00007fff913cb181 thread_start + 13
19 ??? 0x0000000000000000 0x0 + 0
core.exception.AssertError AT /usr/share/dmd/src/phobos/std/concurrency.d(1007): null this
5 app 0x00000001071fe265 d_assert_msg + 69
6 app 0x000000010711ef43 bool std.concurrency.MessageBox.get!(core.time.Duration, pure nothrow @safe void function(app.SignalQUnitDone)).get(scope core.time.Duration, scope pure nothrow @safe void function(app.SignalQUnitDone)) + 91
7 app 0x000000010711eecf bool std.concurrency.receiveTimeout!(pure nothrow @safe void function(app.SignalQUnitDone)).receiveTimeout(core.time.Duration, pure nothrow @safe void function(app.SignalQUnitDone)_) + 63
8 app 0x000000010711c3be int app.main(immutable(char)[][]).int __foreachbody2442(ref app.Browser) + 102
9 app 0x000000010711ec38 int std.parallelism.ParallelForeach!(app.Browser[]).ParallelForeach.opApply(scope int delegate(ref app.Browser)).void doIt() + 260
10 app 0x00000001072271b4 void std.parallelism.run!(void delegate()).run(void delegate()) + 20
11 app 0x0000000107226dcc void std.parallelism.T4TaskS213std11parallelism3runTDFZvZ.Task.impl(void) + 24
12 app 0x0000000107225b87 void std.parallelism.AbstractTask.job() + 15
13 app 0x0000000107225bdd void std.parallelism.TaskPool.doJob(std.parallelism.AbstractTask) + 33
14 app 0x0000000107225d04 void std.parallelism.TaskPool.workLoop() + 132
15 app 0x00000001071f2079 void core.thread.Thread.run() + 49
16 app 0x00000001071f136e thread_entryPoint + 334
17 libsystem_c.dylib 0x00007fff913de742 _pthread_start + 327
18 libsystem_c.dylib 0x00007fff913cb181 thread_start + 13
19 ??? 0x0000000000000000 0x0 + 0
Chrome, Opera, and Safari browser's ajax requests get through to vibe, but Firefox's doesn't. Either there is some setting in Firefox im missing, or possibly a bug on Vibes end... Need to debug some more.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.