profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/MasterQ32/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
Felix Queißner MasterQ32 Stuttgart - Germany https://www.masterq32.de Hacker & Demoscener from southern germany, loves lowlevel and oldschool stuff

Aransentin/ZWL 65

Zig Windowing Library

MasterQ32/BrokenRemote 11

A remote debugging tool for The Binding of Isaac: Afterbirth+

Dunstwolke/core 8

Repository for developing software for a "personal cloud" project

MasterQ32/asciitable 3

A very basic tool that just prints the ascii table

MasterQ32/cg-workbench 3

Live shader and graphics coding tool

Acknex/CommandAndLotter 2

RTS gone crazy

MasterQ32/AckNET 2

A .NET wrapper for the Acknex Engine.

MasterQ32/acknext 2

A game engine prototype loosely inspired on the Acknex A8 engine.

MasterQ32/avr-tutorial 1

Contains some basic examples on how to set up an AVR project

MasterQ32/BlocksWorld 1

BlocksWorld is an attempt to create a small game that provides a creativity environment where players can build their own (small) worlds.

push eventMasterQ32/LoLa

Felix Queißner

commit sha f70e2f305b5f14a5864adee8b2ab1176ae525bae

Fixes CI badges

view details

push time in 13 hours

push eventMasterQ32/MasterQ32

Felix Queißner

commit sha 9c9c593ccf0c36211f145dca1adebebe8dc9cd6f

Update README.md

view details

push time in 2 days

push eventMasterQ32/ZigAndroidTemplate

Felix "xq" Queißner

commit sha 8d676c503b47987405cc4735226a91a6c1216127

Improves README a tad.

view details

push time in 2 days

issue openedziglang/zig

macho: incorrect segment/section size set in the final binary

Reproduction is here: Compile on macOS https://github.com/MasterQ32/zld-failure-repro

Compiling this project will work, but running the executable will fail with

dyld: malformed mach-o image: section __DATA_CONST,__const of '/Users/runner/work/zld-failure-repro/zld-failure-repro/./zig-out/bin/zip_add' exceeds segment __DATA_CONST booundary

created time in 2 days

create barnchMasterQ32/zld-failure-repro

branch : master

created branch time in 2 days

created repositoryMasterQ32/zld-failure-repro

A reproduction use case for a ZLD linking problem on MacOS

created time in 2 days

issue commentMasterQ32/ZigAndroidTemplate

error: container 'AndroidApp' has no member called 'init'

Can you fetch a fresh install from latest zig master, as well as this repo and try building it again?

aicarambazigalo

comment created time in 2 days

issue closedMasterQ32/ZigAndroidTemplate

is it supposed to work in Windows too? (failing currently)

I'm on Windows 7 64bit, using the latest zig that doesn't complain about something missing in kernel32.dll(or so) and these are the errors so far:

c:\zat\ZigAndroidTemplate-master>rm -r zig-cache

c:\zat\ZigAndroidTemplate-master>zig build
C:\zat\ZigAndroidTemplate-master\build.zig:119:29: error: expected type 'std.bui
ld.FileSource', found '*const [17:0]u8'
    aarch64_exe.libc_file = "./libc/arm64.conf";
                            ^
C:\zig\lib\std\build.zig:1333:24: note: std.build.FileSource declared here
pub const FileSource = union(enum) {
                       ^
C:\zig\lib\std\special\build_runner.zig:194:24: note: referenced here
        .ErrorUnion => try root.build(builder),
                       ^
C:\zat\ZigAndroidTemplate-master\build.zig:63:21: error: expected 3 argument(s),
 found 2
    exe.defineCMacro("ANDROID");
                    ^
C:\zig\lib\std\build.zig:1791:9: note: declared here
    pub fn defineCMacro(self: *LibExeObjStep, name: []const u8, value: ?[]const
u8) void {
        ^

c:\zat\ZigAndroidTemplate-master>zig version
0.9.0-dev.749+259f3458a

I'm new to zig and haven't done any program in it, yet. But I want to start with ... this :) Any hints on how to fix the above ? I assume, somehow, that this would all work if I were trying it on Linux?

I'm happy to provide more info, also I'm very interested in making this all work in Windows for I want to make at least 2 apk apps by using zig and this ZigAndroidTemplate would be the way I would learn how.

Thanks in advance.

closed time in 2 days

aicarambazigalo

issue commentMasterQ32/ZigAndroidTemplate

is it supposed to work in Windows too? (failing currently)

Now that 9670 is merged, i can close this issue. I installed CI that will check windows, macos and linux

aicarambazigalo

comment created time in 2 days

push eventMasterQ32/ZigAndroidTemplate

Felix Queißner

commit sha 91e004e96f1611ef7326b9114adfcaec6fa30d5e

Windows CI, MacOS CI

view details

push time in 2 days

push eventMasterQ32/ZigAndroidTemplate

Felix Queißner

commit sha beec596b666378a19bb07134796aaaf3bfbded89

Create main-ci.yml

view details

push time in 2 days

push eventMasterQ32/ZigAndroidTemplate

Felix "xq" Queißner

commit sha d8bf52762f078ec0aed362369b8397818783d8e6

Fixes some minor things

view details

push time in 2 days

push eventMasterQ32/SDL.zig

Felix "xq" Queißner

commit sha 5118ef94e93d35cbf7888cb71472fa1c18fadac7

Tries to fix CI.

view details

push time in 7 days

push eventMasterQ32/SDL.zig

Felix (xq) Queißner

commit sha 1dfa6ff9c35792da87a065af1f41753476fa5f19

Updates CI

view details

Felix "xq" Queißner

commit sha 74a6d581bfb48bc36d3d594f70e11be107eec755

Merge branch 'master' of github.com:MasterQ32/SDL.zig

view details

Felix "xq" Queißner

commit sha 33956561538d24da400d03d725e762aeafd90988

Makes tests run again.

view details

push time in 7 days

push eventMasterQ32/ftz

Felix "xq" Queißner

commit sha 217f8b89b497cc35b64eb496bdd8ea0fd1a28dce

Fixes typo in printUsage.

view details

push time in 9 days

push eventMasterQ32/ftz

Felix "xq" Queißner

commit sha c71b60ad06b75519d4ccfbd5889240b2d4d5be91

Update to latest master.

view details

push time in 9 days

push eventMasterQ32/zig-network

Felix "xq" Queißner

commit sha 15b88658809cac9022ec7d59449b0cd3ebfd0361

Fixes invalid referencie

view details

push time in 9 days

push eventMasterQ32/LoLa

Felix "xq" Queißner

commit sha b95220381925eddbed2b689fe3dfef824f51022d

Fixes website playground.

view details

push time in 9 days

push eventMasterQ32/LoLa

Felix "xq" Queißner

commit sha 9a5e6ee19425becb0348ed7acde3f696e5b9f8df

Fixes bug in dependency zig-args.

view details

push time in 9 days

push eventMasterQ32/zig-args

Felix "xq" Queißner

commit sha 11f976877c743d6771db3eedcaa64a8d54ed0bcf

Fixes minor bug.

view details

push time in 9 days

push eventMasterQ32/LoLa

Felix "xq" Queißner

commit sha c8b74c497a7a6cddabb8b961035b0a89c6bcfe87

Updates submodule deps.

view details

push time in 9 days

push eventMasterQ32/LoLa

Felix "xq" Queißner

commit sha f0944918652a8871712419ff0b4d4213f2685924

Update to latest master.

view details

push time in 9 days

PR opened alexnask/interface.zig

Master update
+23 -16

0 comment

2 changed files

pr created time in 9 days

push eventMasterQ32/interface.zig

Felix "xq" Queißner

commit sha 666627e58990e508f600c34c3009a44c9d12fc6e

Update to latest master.

view details

push time in 9 days

issue commentziglang/zig

Restore block expressions

Maybe it's time to stop looking for workarounds and go back to the most simple, consistent and obvious solution?

I found the Rust code always very hard to read as i have to actually look at line endings instead of just not reading them. The blk: { ... break :blk foo; } thing is orthogonal and way more flexible than the "last statement" thingy:

const foo = blk: {
    if(use_default)
       break :blk default_value;
    var sum: usize = 0;
    for(some_magic_list) |item| {
        if(condition(item))
            break :blk item.special;
        sum += item.value;
    }
    break :blk sum;
};

Can you make a simple example with the proposed syntax how this would turn out?

acarrico

comment created time in 9 days

issue commentziglang/zig

Proposal: Forbid inferred error return set on `pub fn`

My idea to solve the package internal things would've been a protected fn thingy or something like that, but i'm not sure if that's worth the complexity.

But I don't like that pub fn foo() !void would be illegal to call from outside the package, but legal from the inside. i don't think this helps maintainability and is just an ugly hack.

Imho it's totally okay to enforce this on any function

MasterQ32

comment created time in 10 days

issue commentziglang/zig

[Proposal] @nameOf built in function

@Cons-Cat just for clarification:

#define NAMEOF(x) #x

should do the job for both C and C++ based on the preprocessor

batiati

comment created time in 10 days

issue openedziglang/zig

Proposal: Forbid inferred error return set on `pub fn`

I was thinking about how to make a nicely maintainable library and one thing was pretty obvious:

Function signatures must be stable between minor releases, including error sets. This means that using a inferred error set in a public facing API is a code smell if not a design error.

Thus, i propose to forbid inferred error sets on pub fn declarations.

This code would create the following error:

fn foo() !void {
    return error.Nope;
}

pub fn bar() !void {
    try foo();
}

pub fn baz() error{Nope}!void {
    try foo();
}
file.zig:5:14: error: public facing function must have a non-inferred error set
pub fn bar() !void {
             ^

This would make it way easier to write a maintainable library in Zig as you don't have to read the whole source to figure out what errors are in a error set.

It also makes it harder to add new errors to a public facing error set.

Another benefit of this is that code analysis tools can compute a diff for the public facing API, as not a full semantic analysis of the source has to be done to figure out what an error set is.

created time in 10 days

push eventMasterQ32/kristall

quietok(david)

commit sha bca592adf686b11321b7185f234525674d7d474c

new location macos 11 homebrew qt

view details

push time in 10 days

PR merged MasterQ32/kristall

Fix macos build for m1 - macos 11 & current homebrew

It is a very small difference, qt5 instead of qt in some paths. Maybe I am wrong about this being necessary to merge, but builds properly for me if I make these changes vs no changes.

+17 -3

0 comment

3 changed files

davidmon21

pr closed time in 10 days