widlarizer
widlarizer
Day 1 Tables and Badges
I do have start logic
570 replies
Day 1 Tables and Badges
it's for looking at yourself with your badge in a mirror
570 replies
Day 1 Tables and Badges
I rebased my stuff onto jacob and got error: ld.lld: undefined symbol: start when I build for the hardware
570 replies
Day 1 Tables and Badges
We can't fix the 0-1 step seeming too big but we can fix the 1-2 step seeming too small
570 replies
Day 1 Tables and Badges
Great article
570 replies
Day 1 Tables and Badges
That means we can do gamma correction just as well/poorly on the cart side.
570 replies
Day 1 Tables and Badges
Huh the 8bit r g b values are directly written out to the neopixels
570 replies
Day 1 Tables and Badges
I think we need gamma curve in the API implementation to get a good 0-1 step
570 replies
Day 1 Tables and Badges
570 replies
Day 1 Tables and Badges
We have merged to a bigger table with the others
570 replies
Day 1 Tables and Badges
Badge hacking group is going to be in the mall food court at the central circle thing while we wait for a nicer bigger table to become available!
570 replies
Day 1 Tables and Badges
Yeah I've fixed some usage of that and will take a further look
570 replies
Day 1 Tables and Badges
Who's in?
570 replies
Day 1 Tables and Badges
Guys I wanna go to a cafe that has functional wifi and sockets to hack on my badhe
570 replies
Day 1 Tables and Badges
Can't figure my problems out without the backtrace
570 replies
Day 1 Tables and Badges
though I don't get a std.builtin.StackTrace
570 replies
Day 1 Tables and Badges
blobs.zig has this. I am stealing it to see what's wrong
fn log(comptime fmt: []const u8, args: anytype) void {
var buf: [300]u8 = undefined;
const str = std.fmt.bufPrint(&buf, fmt, args) catch @panic("codebug");
cart.trace(str);
}

pub fn panic(
msg: []const u8,
trace: ?*std.builtin.StackTrace,
ret_addr: ?usize,
) noreturn {
log("panic: {s}", .{msg});
if (trace) |t| {
cart.trace("dumping error trace...");
_ = t;
//std.debug.dumpStackTrace(t.*);
} else {
cart.trace("no error trace");
}
cart.trace("dumping current stack...");
_ = ret_addr;
//std.debug.dumpCurrentStackTrace(ret_addr);
cart.trace("breakpoint");
while (true) { @breakpoint(); }
}
fn log(comptime fmt: []const u8, args: anytype) void {
var buf: [300]u8 = undefined;
const str = std.fmt.bufPrint(&buf, fmt, args) catch @panic("codebug");
cart.trace(str);
}

pub fn panic(
msg: []const u8,
trace: ?*std.builtin.StackTrace,
ret_addr: ?usize,
) noreturn {
log("panic: {s}", .{msg});
if (trace) |t| {
cart.trace("dumping error trace...");
_ = t;
//std.debug.dumpStackTrace(t.*);
} else {
cart.trace("no error trace");
}
cart.trace("dumping current stack...");
_ = ret_addr;
//std.debug.dumpCurrentStackTrace(ret_addr);
cart.trace("breakpoint");
while (true) { @breakpoint(); }
}
570 replies
Day 1 Tables and Badges
would be cool if you see more in Chrome :stare: I don't wanna download chrome over my phone connection
570 replies