Skip to content
#

binary

Here are 1,215 public repositories matching this topic...

gautaz
gautaz commented Aug 29, 2019

What happened:

I tried to use the --make option to pass --jobs=5 to the NodeJS build process.

What you expected to happen:

I expected the NodeJS build to be faster.

What happened:

I was unable to pass the jobs options to the NodeJS make command, here is what happened:

➤  nexe --build --make --jobs=5
ℹ nexe 3.3.2
✔ Node source extracted to: /home/thibault.hi
Pamplemousse
Pamplemousse commented Nov 7, 2019

#1750 shows a way to debloat an object by extracting its encoding / decoding logic into a serializer class.
In this case, the knowledge_plugins.functions.Function moved its serialize and parse_from_cmg methods.

There are several places along the angr codebase where this pattern could be applied:

  • angr/knowledge_plugins/cfg/cfg_model.py
  • `angr/knowledge_plugins/cfg/cfg
execa
Izhaki
Izhaki commented Nov 17, 2019

The docs:

For extendEnv

Set to false if you don't want to extend the environment variables when providing the env property.

For env:

Environment key-value pairs. Extends automatically from process.env. Set extendEnv to false if you don't want this.

Having read this, I was under the impression that if you set extendEnv to false, env has no effect at all (which is exactl

headius
headius commented Aug 18, 2019

When a compiled script is run from $PATH it appears to be unable to locate its own file path.

An example with the JRuby bash launcher:

[] ~/projects/jruby $ bin/jruby.bash -e 'puts ENV_JAVA["jruby.home"]'
/Users/headius/projects/jruby

[] ~/projects/jruby $ jruby.bash -e 'puts ENV_JAVA["jruby.home"]'
/Users/headius/projects/jruby

[] ~/projects/jruby $ shc -f bin/jruby.bash -o bin
404-
404- commented Feb 10, 2019

Per [Section 3.2 of RFC4648], the padding on Base64 URL-safe codec is actually optional. [RFC7636] is a concrete example where a padless encoding is required (as explicitly stated in [Section 3]). Any chance for supporting padless Base64Url encoding out-of-the-box in scodec? This way, manual workarounds (e.g., ByteVector(bytes).toBase64(Base64Url).takeWhile(_ != '=')) would be eliminated.

achew22
achew22 commented May 4, 2016

Reproduction steps:

cd /tmp
git clone https://github.com/Microsoft/TypeScript.git
cd TypeScript
npm install nar
./node_modules/nar/bin/nar create --executable
mv *.nar /tmp/typescript.nar
cd /tmp
chmod +x typescript.nar
echo "var x = function() {alert('test');}" > /tmp/test.ts

You now have everything the way I would expect it

# This will fail
cd /tmp
/tmp/typescript.nar exec --out t
Yoric
Yoric commented Feb 20, 2019

As of #304, we progressively import shared references into the content stream, handing them out dense numbers.

We should probably do the same with prelude references, producing a content stream that dynamically assigns consecutive numbers to shared references and prelude references. This may be further improve compression and/or let us better find patterns that work across shared and prelude re

yallie
yallie commented Jan 20, 2019

Hello Riki, your serializer looks very promising!

I'm wondering whether its physical format stable enough to be standardized?
Would be great to have a wire-compatible javascript version of the .NET serializer.
Existing formats like Json, Bson or MessagePack are quite limited (don't support circular references, etc).

Regards, Alex

Improve this page

Add a description, image, and links to the binary topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the binary topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.