This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[default] [Wed, 26 Oct 2011 17:01:11 +0000] INFO: bash[install requirements] ran successfully | |
: stdout | |
[default] Forcing shutdown of VM... | |
[default] Destroying VM and associated drives... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FS.read_file("request.json", function (err, da ta) | |
if (err) then error(err) end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
src/lhttp_parser.c: In function ‘lhttp_parser_parse_url’: | |
src/lhttp_parser.c:328: error: storage size of ‘u’ isn’t known | |
cc1: warnings being treated as errors | |
src/lhttp_parser.c:329: warning: implicit declaration of function ‘http_parser_parse_url’ | |
src/lhttp_parser.c:333: error: ‘UF_SCHEMA’ undeclared (first use in this function) | |
src/lhttp_parser.c:333: error: (Each undeclared identifier is reported only once | |
src/lhttp_parser.c:333: error: for each function it appears in.) | |
src/lhttp_parser.c:337: error: ‘UF_HOST’ undeclared (first use in this function) | |
src/lhttp_parser.c:341: error: ‘UF_PORT’ undeclared (first use in this function) | |
src/lhttp_parser.c:347: error: ‘UF_PATH’ undeclared (first use in this function) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/luvit/module.lua b/lib/luvit/module.lua | |
index 905ca19..74e8c49 100644 | |
--- a/lib/luvit/module.lua | |
+++ b/lib/luvit/module.lua | |
@@ -175,7 +175,7 @@ function module.require(filepath, dirname) | |
local dir = dirname .. path.sep | |
repeat | |
dir = path.dirname(dir) | |
- local full_path = path.join(dir, modules, filepath) | |
+ local full_path = path.join(dir, "modules", filepath) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Do you want to confirm the commits you are about to push to origin? Use | |
this command to get a list of commits: | |
git fetch --all | |
# Drop the -p if you don't want diffs | |
git log -p origin/master.. | |
# Good to push? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ time ninja -C out/Debug # initial luvit build | |
ninja -C out/Debug 93.73s user 26.90s system 145% cpu 1:22.99 total | |
$ time ninja -C out/Debug # no change build | |
ninja -C out/Debug 0.03s user 0.03s system 88% cpu 0.066 totals | |
$ time ninja -C out/Debug # luv_stream.c change build | |
ninja -C out/Debug 0.46s user 0.21s system 94% cpu 0.714 total | |
$ time make -C out # initial luvit build | |
make -C out 82.56s user 35.08s system 92% cpu 2:06.70 total | |
$ time make -C out # no change |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
title: "Finding an audience for C Conf" | |
topics: [C, cconf.org, osuosl] | |
layout: post | |
--- | |
"*Everyone uses C to implement interesting things.*" This was the core | |
idea that drove me to start working on The C Conference. From operating | |
systems, libraries, games and embedded devices C that is at the core of | |
the tech around us. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
c:\Buildbot\luvit-windows2008_x64\build>call "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat" x86 | |
Setting environment for using Microsoft Visual Studio 2010 x86 tools. | |
Build started 6/30/2012 5:01:09 AM. | |
Project "c:\Buildbot\luvit-windows2008_x64\build\luvit.sln" on node 1 (luvit target(s)). | |
ValidateSolutionConfiguration: | |
Building solution configuration "Debug|Win32". | |
Project "c:\Buildbot\luvit-windows2008_x64\build\luvit.sln" (1) is building "c:\Buildbot\luvit-windows2008_x64\build\luvit.vcxproj.metaproj" (2) on node 1 (default targets). | |
Project "c:\Buildbot\luvit-windows2008_x64\build\luvit.vcxproj.metaproj" (2) is building "c:\Buildbot\luvit-windows2008_x64\build\libluvit.vcxproj.metaproj" (3) on node 1 (default targets). | |
Project "c:\Buildbot\luvit-windows2008_x64\build\libluvit.vcxproj.metaproj" (3) is building "c:\Buildbot\luvit-windows2008_x64\build\deps\luajit.vcxproj.metaproj" (4) on node 1 (default targets). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This function replaces any portion of a string and returns an identically | |
# sized string. How might the sanity tests at the top fail to return an | |
# identical sized string. | |
# | |
# Where else is it broken? | |
# | |
# How would you test it? | |
def slice_and_transform(str, loc, len, rep) | |
if (loc < 1) |