profile
viewpoint
Peter Donald realityforge @stocksoftware Melbourne, Australia http://realityforge.org

cristibalan/braid 441

Simple tool to help track vendor branches in a Git repository.

google/elemental2 106

Type checked access to browser APIs for Java code.

react4j/react4j 26

An opinionated react java binding

arez/arez 15

Fast, easy, reactive state

realityforge/chef-archive 7

Chef cookbook that provides utility LWRPs to download and unpack archives.

realityforge/buildr-iidea 3

Intellij IDEA project-file generation tasks for buildr. WARNING: Integrated into buildr as of version 1.4.5

realityforge/braid 2

Simple tool to help track git vendor branches in a git repository. WARNING: Changes integrated to upstream

realityforge/buildr-bnd 2

A Buildr extension for packaging OSGi bundles using Bnd. WARNING: Integrated into buildr as of version 1.4.5

realityforge/chef-authbind 2

A chef cookbook that installs/configures authbind and defines resources for managing authorization

atoulme/jekylltask 1

A Rake Task for Jekyll

push eventvanruesc/postprocessing

Raoul v. R

commit sha b962376644cf4fefb91c3c679a2dae032298d213

Update rollup.config.js

view details

push time in 5 hours

push eventvanruesc/postprocessing

Raoul v. R

commit sha 24c5bc8e0cdf93a1ec0ec5e6330efc1208487069

Update .gitattributes

view details

Raoul v. R

commit sha 55bb08910b653df610cb94dedf499148b98a56b2

Update .gitignore

view details

Raoul v. R

commit sha 3e195bdf51f0770d3f45b0e0e401d49d8999d89e

Merge branch 'dev' of https://github.com/vanruesc/postprocessing into dev

view details

Raoul v. R

commit sha e33aa7c4ab921e23a6358c5f58c480fb35a46c24

Remove david-dm badge

view details

push time in 5 hours

pull request commentvanruesc/postprocessing

update for three.js v123

Thanks!

arpu

comment created time in 5 hours

push eventvanruesc/postprocessing

Raoul v. R

commit sha 4d61d6121e6e9d9f13fb93bfb6df6a841d5070e3

Merge pull request #234 from vanruesc/dev Version 6.18.0

view details

arpu

commit sha 8fe3775b6db5955f96b5933f791622ce57d7c871

update for three.js v123

view details

Raoul v. R

commit sha dc04c68ee9d63b809e34d3171df06ebd418e6e81

Merge pull request #241 from arpu/patch-1 update for three.js v123

view details

push time in 5 hours

PR merged vanruesc/postprocessing

update for three.js v123

Hey,

tested with v123 all all looks fine

+1 -1

0 comment

1 changed file

arpu

pr closed time in 5 hours

PR opened vanruesc/postprocessing

update for three.js v123

Hey,

tested with v123 all all looks fine

+1 -1

0 comment

1 changed file

pr created time in 7 hours

pull request commenthal/elemento

junit-jupiter scope changed to test

Makes sense. Thanks @treblereel

treblereel

comment created time in 11 hours

push eventhal/elemento

Dmitrii Tikhomirov

commit sha 2430501a4249071637f452a8a8a62e18c3918ced

junit-jupiter scope changed to test

view details

Harald Pehl

commit sha c02c6c9e0e2298be3b6ea760ad617215fee95c92

Merge pull request #87 from treblereel/junit-jupiter_test junit-jupiter scope changed to test

view details

push time in 11 hours

PR merged hal/elemento

junit-jupiter scope changed to test

Maybe junit-jupiter scope could be test ?

+1 -0

0 comment

1 changed file

treblereel

pr closed time in 11 hours

fork jcosmo/EasyGIS.NET

EasyGIS.NET source

fork in 12 hours

issue commentgoogle/closure-compiler

Incorrect removal property from object accessed in nested conditions

Looks like an issue with the collapse properties phase:

java -jar compiler.jar -O ADVANCED  --js test.js --print_source_after_each_pass                                                

// parseInputs yields:
// ************************************
const X={Y:1};function fn(a){if(a)return a?X:{}}console.log(fn(true).Y);
// ************************************

// Es6RewriteBlockScopedDeclaration yields:
// ************************************
var X={Y:1};function fn(a){if(a)return a?X:{}}console.log(fn(true).Y);
// ************************************

// normalize yields:
// ************************************
var X={Y:1};function fn(a$jscomp$1){if(a$jscomp$1)return a$jscomp$1?X:{}}console.log(fn(true).Y);
// ************************************

// collapseProperties yields:
// ************************************
var X$Y=1;var X={};function fn(a$jscomp$1){if(a$jscomp$1)return a$jscomp$1?X:{}}console.log(fn(true).Y);
// ************************************

// earlyInlineVariables yields:
// ************************************
var X={};console.log(function fn(a$jscomp$1){if(a$jscomp$1)return a$jscomp$1?X:{}}(true).Y);
// ************************************

// removeUnusedCode yields:
// ************************************
var X={};console.log(function(a$jscomp$1){if(a$jscomp$1)return a$jscomp$1?X:{}}(true).Y);
// ************************************

// inlineFunctions yields:
// ************************************
var X={};var JSCompiler_inline_result$jscomp$0;{JSCompiler_inline_label_0_2:{if(true){JSCompiler_inline_result$jscomp$0=true?X:{};break JSCompiler_inline_label_0_2}JSCompiler_inline_result$jscomp$0=void 0}}console.log(JSCompiler_inline_result$jscomp$0.Y);
// ************************************

// peepholeOptimizations yields:
// ************************************
var X={};var JSCompiler_inline_result$jscomp$0;JSCompiler_inline_label_0_2:{JSCompiler_inline_result$jscomp$0=X;break JSCompiler_inline_label_0_2;JSCompiler_inline_result$jscomp$0=void 0}console.log(JSCompiler_inline_result$jscomp$0.Y);
// ************************************

// removeUnreachableCode yields:
// ************************************
var X={};var JSCompiler_inline_result$jscomp$0;JSCompiler_inline_label_0_2:JSCompiler_inline_result$jscomp$0=X;console.log(JSCompiler_inline_result$jscomp$0.Y);
// ************************************

// inlineVariables yields:
// ************************************
var JSCompiler_inline_result$jscomp$0;JSCompiler_inline_label_0_2:JSCompiler_inline_result$jscomp$0={};console.log(JSCompiler_inline_result$jscomp$0.Y);
// ************************************

// renameProperties yields:
// ************************************
var JSCompiler_inline_result$jscomp$0;JSCompiler_inline_label_0_2:JSCompiler_inline_result$jscomp$0={};console.log(JSCompiler_inline_result$jscomp$0.a);
// ************************************

// renameVars yields:
// ************************************
var a;JSCompiler_inline_label_0_2:a={};console.log(a.a);
// ************************************

// renameLabels yields:
// ************************************
var a;a={};console.log(a.a);
// ************************************
var a;a={};console.log(a.a);
WearyMonkey

comment created time in 13 hours

issue openedgoogle/closure-compiler

Incorrect removal property from object accessed in nested conditions

We have found a case where a property of a conditionally accessed object is incorrectly removed. This is a critical issue as it's impossible to lint for in a large code base and will fail at runtime.

tested versions: 20201126.0.0-nightly 20201102.0.0

source:

const X = {Y: 1};

function fn(a) {
    if (a) {
        return a ? X : {};
    }
}

console.log(fn(true).Y);
java -jar compiler.jar -O ADVANCED --js test.js

output:

var a;a={};console.log(a.a);

expected output:

var a;a={a:1};console.log(a);

Notes: Remove either of the conditions and it works as expected Move the X variable declaration into fn and it works as expected. Inline the fn and it works as expected.

created time in 14 hours

push eventajweeks/FlexEngine

AJ Weeks

commit sha 924546b239ea583f8882dd36816c3a81434f2f2f

Warn when dynamic mesh isn't indexed

view details

AJ Weeks

commit sha 05582d0cbd1cd72705f170e81e8fe964640e4a70

First pass at springs (high jank levels!)

view details

push time in 19 hours

push eventajweeks/FlexEngine

AJ Weeks

commit sha dcce15907cd26d61c87f45c1b9960c3d5fa05cb9

Cherry Pick: Fix VertexBufferData::CopyInto bug

view details

push time in 20 hours

push eventajweeks/FlexEngine

AJ Weeks

commit sha 8692c1a6666de33350e603816724c6c256b0a404

Cherry Pick: Fix dynamic vertex buffer stale data bugs When dynamic vertex buffers shrunk we were still drawing their un-shrunk number of vertices, causing random mesh data to remain.

view details

AJ Weeks

commit sha 3134d316ee0e280d42f42b26ca2dec6c6e3322de

Cherry Pick: Fix dynamic vertex buffer shrinking bug

view details

AJ Weeks

commit sha acb106074f30a6c8df76391b36f8759d359b1ae5

Cherry Pick: Fix multiple dynamic mesh vertex offset bug

view details

push time in 20 hours

push eventajweeks/FlexEngine

AJ Weeks

commit sha 1d596525fda3c89f988cc3425875fee51c6e7440

Rename ChunkGenerator to TerrainGenerator

view details

push time in 21 hours

issue commentgoogle/closure-compiler

Unable to set property as extern when compiling in ADVANCED level

@brad4d Thanks for your time. Explaining the externs on Wiki page was very informative.

But my issue isn't yet resolved. Here is a basic code (enclosed) to calculate Fibonacci of 20 following your Wiki's example.

The index.html page:

<html lang="en">

<head>
  <meta charset="UTF-8">
  <script src="app.js"></script>
  <title>Fibonnacci of 20</title>
</head>

<body>
    <button id="calculate" onclick="calculate()">Fibonacci of 20</button>
  <span id="fib"></span>
</body>

</html>

The app.js:

let worker = new Worker("./worker.js");

const calculate = () => {
    const num = {val : 20};
    worker.postMessage(num);
};

worker.onmessage = event => {
    const result = event.data;
    var span = document.getElementById("fib");
    span.textContent = result;
};

and finally the web worker code worker.js:

function fibonacci(val) {
  if (val <= 1) return 1;
  return fibonacci(val - 1) + fibonacci(val - 2);
};

self.onmessage = event => {
    const num = event.data;
    const result = fibonacci(num.val);

    self.postMessage(result);
    self.close();
};

Nothing's special so far.

You can this example using Python built-in HTTP server:

$ python3 -m http.server 8080 ## or: python -m SimpleHTTPServer

Then, simply point your browser to: http://127.0.0.1:8080/

As you can see, it's pretty basic (no class, etc.).

Could you please help me to generate an extern file for app.js and worker.js?

Zabrane

comment created time in 21 hours

push eventajweeks/FlexEngine

AJ Weeks

commit sha 37324986eb71668a6d792259392ff135d1ec5063

First pass at bending constraints (WIP)

view details

push time in 21 hours

startedsindresorhus/type-fest

started time in a day

pull request commentfeross/timidity

fix wasm module loading, enhance source map

We could publish them to npm, but I've been trying to slim down my package sizes recently so I think I'd rather exclude these for now.

connorjclark

comment created time in 2 days

pull request commentfeross/timidity

fix wasm module loading, enhance source map

Great, thanks!

I'm not sure if this is a common practice, but it might be nice to also publish the debug files to npm:

libtimidity.debug.js
libtimidity.debug.wasm
libtimidity.debug.wasm.map

This would allow users to easily debug (w/o needing to locally install the project and build it)

connorjclark

comment created time in 2 days

pull request commentfeross/timidity

fix wasm module loading, enhance source map

Thanks!

Could you publish the libtimidity.debug.wasm.map? I noticed it's in the npmignore.

connorjclark

comment created time in 2 days

issue closedgoogle/closure-compiler

Source Maps Resolved relative to SourceFile path (which may not be a valid path).

Caused by: java.nio.file.InvalidPathException: Illegal char <:> at index 44: StreamableResource%3Ctext/javascript webjars:META-INF/resources/webjars/eddyson-react-grid/0.8.6/dist/Ardagryd.min.js COMPRESSABLE lastModified: Do Aug 10 09:02:01 MESZ 2017 size: 60696%3E
--
at sun.nio.fs.WindowsPathParser.normalize(Unknown Source)
at sun.nio.fs.WindowsPathParser.parse(Unknown Source)
at sun.nio.fs.WindowsPathParser.parse(Unknown Source)
at sun.nio.fs.WindowsPath.parse(Unknown Source)
at sun.nio.fs.WindowsFileSystem.getPath(Unknown Source)
at com.google.javascript.jscomp.SourceMapResolver.getRelativePath(SourceMapResolver.java:73)
at com.google.javascript.jscomp.SourceMapResolver.extractSourceMap(SourceMapResolver.java:53)
at com.google.javascript.jscomp.JsAst.parse(JsAst.java:163)
at com.google.javascript.jscomp.JsAst.getAstRoot(JsAst.java:54)
at com.google.javascript.jscomp.CompilerInput.getAstRoot(CompilerInput.java:121)
at com.google.javascript.jscomp.Compiler.hoistIfExtern(Compiler.java:1974)
at com.google.javascript.jscomp.Compiler.hoistUnorderedExterns(Compiler.java:1944)
at com.google.javascript.jscomp.Compiler.orderInputs(Compiler.java:1895)
at com.google.javascript.jscomp.Compiler.parseInputs(Compiler.java:1826)
at com.google.javascript.jscomp.Compiler.parseForCompilationInternal(Compiler.java:994)
at com.google.javascript.jscomp.Compiler.access$300(Compiler.java:102)
at com.google.javascript.jscomp.Compiler$6.call(Compiler.java:974)
at com.google.javascript.jscomp.Compiler$6.call(Compiler.java:971)
at com.google.javascript.jscomp.CompilerExecutor.runInCompilerThread(CompilerExecutor.java:118)
at com.google.javascript.jscomp.Compiler.runInCompilerThread(Compiler.java:872)
at com.google.javascript.jscomp.Compiler.parseForCompilation(Compiler.java:970)
at com.google.javascript.jscomp.Compiler.compile(Compiler.java:723)

Maybe the InvalidPathException should be caught.

closed time in 2 days

jochenberger

pull request commentfeross/timidity

fix promise usage. enhance source map

Released as 1.3.0

feross

comment created time in 2 days

push eventfeross/timidity

Feross Aboukhadijeh

commit sha f407969af0acfe46906f7f592b5bface1c06b45a

build

view details

Feross Aboukhadijeh

commit sha f5110235ca4f9a154ca87987fc303f0d6182607c

1.3.0

view details

Feross Aboukhadijeh

commit sha 22b8f911fa322165a1e883bf1d7e4c69bd5e3b04

package metadata

view details

push time in 2 days

created tagfeross/timidity

tagv1.3.0

Play MIDI files in the browser w/ Web Audio, WebAssembly, and libtimidity

created time in 2 days

PR closed feross/timidity

fix wasm module loading, enhance source map

I needed to debug why a particular set of midi files I had wasn't working with this library, so I checked out the repo to build a debug version. Even without the debug flags, I saw that a fresh build wasn't working, at least not with the latest version of emcc. Seems they switched to a native Promise implementation, so it broke some things here. It was a simple change to how the wasm module is loaded.

I also tacked on some sourceContents to the source map generated. Helps debugging a lot.

Confirmed these changes work. Also, via debugging in the browser I realized that my midi files had empty tracks, which broke the parser. I was able to trim the excess tracks and everything worked great.

I don't know anything about emcc or wasm, but I was able to hack this together. Hope it helps.

(sidenote: would you consider also publishing the debug wasm + source map to npm?)

+5054 -6

1 comment

6 changed files

connorjclark

pr closed time in 2 days

delete branch feross/timidity

delete branch : connorjclark-patch

delete time in 2 days

push eventfeross/timidity

Feross Aboukhadijeh

commit sha 2b7491eca5dea20ed05adf87ea7ad674931d708f

fix promise usage. enhance source map

view details

Feross Aboukhadijeh

commit sha 098103f7a0dc48b178cec38497cc5daaf72f1c50

Merge pull request #12 from feross/connorjclark-patch fix promise usage. enhance source map

view details

push time in 2 days

PR merged feross/timidity

fix promise usage. enhance source map

Supercedes PR: https://github.com/feross/timidity/pull/11

+29 -8

0 comment

5 changed files

feross

pr closed time in 2 days

more