Skip to content

Instantly share code, notes, and snippets.

View augustl's full-sized avatar

August Lilleaas augustl

  • Oslo, Norway
View GitHub Profile
mori.map((it) => {
let stopTimings = mori.nth(it, 0);
let scheduledStop = mori.nth(it, 1);
let vehicleStop = mori.nth(it, 2);
// ...
}, mori.partition(3, mori.interleave(timings, vehicleOrderSchedule, vehicleTripStretch)));
Launching with Java options -server -Xms1g -Xmx1g -XX:+UseG1GC -XX:MaxGCPauseMillis=50
Starting datomic:free://localhost:4334/<DB-NAME>, storing data in: data ...
Critical failure, cannot continue: Error starting transactor
org.h2.jdbc.JdbcSQLException: Row not found when trying to delete from index """"".I16: ( /* key:0 */ (), NULL, NULL, NULL)" [90112-171]
at org.h2.message.DbException.getJdbcSQLException(DbException.java:329)
at org.h2.message.DbException.get(DbException.java:169)
at org.h2.message.DbException.get(DbException.java:146)
at org.h2.index.PageBtreeLeaf.remove(PageBtreeLeaf.java:225)
at org.h2.index.PageBtreeNode.remove(PageBtreeNode.java:324)
at org.h2.index.PageBtreeIndex.remove(PageBtreeIndex.java:238)
function wtf() {
function doIt() {
// Do the stuff here!
}
if (something) {
var otherThing = somewhatExpensiveGetter(something);
if (otherThing) {
doIt();
}
vendor/rust/src/libcore/intrinsics.rs:557:5: 557:58 error: intrinsic has wrong type: expected `unsafe extern "rust-intrinsic" fn(fn(*mut u8), *mut u8, *mut u8) -> i32`: incorrect number of function parameters [E0211]
vendor/rust/src/libcore/intrinsics.rs:557 pub fn try(f: fn(*mut u8), data: *mut u8) -> *mut u8;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vendor/rust/src/libcore/intrinsics.rs:557:5: 557:58 help: run `rustc --explain E0211` to see a detailed explanation
var APP_ROUTES = (function () {
function appRoutesCreate(notFoundHandler) {
var r = Rlite();
function transitionTo(path) {
document.location.hash = path;
}
function transitionToReplace(path) {
document.location.replace("#" + path);
}
function log() {
console.log(mori.hash(xs), mori.count(xs), mori.toJs(xs));
}
var xs = mori.vector(1, 2);
log(); // 1185709346 2 Array [ 1, 2 ]
xs = mori.remove(function (x) { return x === 2 }, xs);
log(); // -1939225835 1 Array [ 1 ]
xs = mori.conj(xs, 3);
log(); // -1144666071 2 Array [ 3, 1 ]
function log() {
console.log(mori.hash(xs), mori.count(xs));
}
var xs = mori.vector(1, 2);
log(); // 1185709346 2
xs = mori.remove(function (x) { return x === 2 }, xs);
log(); // -1939225835 1
xs = mori.conj(xs, 3);
log(); // -1144666071 2
var Page = React.createFactory(React.createClass({
render: function () {
return React.DOM.div(
{style: {width: "100%", height: "100%", position: "absolute", left: (100 * this.props.idx).toString() + "%"}},
this.props.children);
}
}))
var PagingSrollView = React.createFactory(React.createClass({
componentDidMount: function () {
ReferenceError: $ is not defined vendor-5939aced2df07b0bcc1c101662121c68.js:1:285
ReferenceError: $ is not defined vendor-5939aced2df07b0bcc1c101662121c68.js:8:23740
ReferenceError: $ is not defined 86b5ed6818208c71624c77dea170b6e0:87:5
<link href="http://rundis.github.io/blog/feed.xml" rel="alternate" title="Magnus sin superblogg 9000" type="application/atom+xml">