Comments for HackLAB https://www.geeks3d.com/hacklab 3D Programming, Prototyping and Gamedev with GeeXLab Mon, 19 Feb 2024 20:10:18 +0000 hourly 1 https://wordpress.org/?v=6.7.1 Comment on GeeXLab 0.57 released for Windows x32/x64 and Linux x64 by Edward https://www.geeks3d.com/hacklab/20240213/geexlab-0-57-released/comment-page-1/#comment-2846 Mon, 19 Feb 2024 20:10:18 +0000 https://www.geeks3d.com/hacklab/?p=1739#comment-2846 I dunno if this is the right place for this, but are there any plans to release a pip package for geexlab?

]]>
Comment on Text Editors for Programming with GLSL Hacker by Stas https://www.geeks3d.com/hacklab/20150509/text-editors-for-programming-with-glsl-hacker/comment-page-1/#comment-2638 Fri, 02 Feb 2024 14:47:02 +0000 http://www.geeks3d.com/glslhacker/blog/?p=24#comment-2638 My preferred text editor is Codelobster – https://codelobster.com

]]>
Comment on (Video Game) QB: Rubik’s Cube Simulator (2x2x2 and 3x3x3) by gavin https://www.geeks3d.com/hacklab/20220821/video-game-qb-rubiks-cube-simulator-2x2x2-and-3x3x3/comment-page-1/#comment-716 Mon, 21 Aug 2023 09:18:50 +0000 https://www.geeks3d.com/hacklab/?p=1676#comment-716 i love the game

]]>
Comment on GeeXLab 0.52 released by JeGX https://www.geeks3d.com/hacklab/20230526/geexlab-0-52-released/comment-page-1/#comment-365 Thu, 01 Jun 2023 18:27:07 +0000 https://www.geeks3d.com/hacklab/?p=1709#comment-365 In reply to Bruno.

Yes, I will try to compile the Linux and RPi versions very shortly.

]]>
Comment on GeeXLab 0.52 released by Bruno https://www.geeks3d.com/hacklab/20230526/geexlab-0-52-released/comment-page-1/#comment-364 Thu, 01 Jun 2023 12:00:10 +0000 https://www.geeks3d.com/hacklab/?p=1709#comment-364 I see the latest version for rpi is 0.48 but I’d like to run some examples that require a version > 0.50 any chance to build this version for raspberry pi 32 too ?

thanks !

]]>
Comment on How to Fix GeeXLab.app is damaged and can’t be opened on macOS by Pietro https://www.geeks3d.com/hacklab/20210315/how-to-fix-geexlab-app-is-damaged-and-cant-be-opened-on-macos/comment-page-1/#comment-148 Tue, 22 Feb 2022 10:39:39 +0000 https://www.geeks3d.com/hacklab/?p=1600#comment-148 I have a EXC_BREAKPOINT (SIGTRAP) exception on macOS 12.2.1 (21D62) (MacBook Air M1). I’m using v0.40.0.0

]]>
Comment on How to Fix GeeXLab.app is damaged and can’t be opened on macOS by Steven https://www.geeks3d.com/hacklab/20210315/how-to-fix-geexlab-app-is-damaged-and-cant-be-opened-on-macos/comment-page-1/#comment-147 Fri, 28 Jan 2022 20:20:24 +0000 https://www.geeks3d.com/hacklab/?p=1600#comment-147 This made it run, but it crashes! MacOS 12.1.

————————————-
Translated Report (Full Report Below)
————————————-

Process: GeeXLab [8814]
Path: /Users/USER/Downloads/*/GeeXLab.app/Contents/MacOS/GeeXLab
Identifier: Geeks3D.GeeXLab
Version: 0.40 (1)
Code Type: ARM-64 (Native)
Parent Process: launchd [1]
User ID: 501

Date/Time: 2022-01-28 12:19:29.5189 -0800
OS Version: macOS 12.1 (21C52)
Report Version: 12
Anonymous UUID: A3C347E9-4865-8FE2-A0D1-D6296158CE93

Sleep/Wake UUID: 167AD09C-4017-4DBA-9558-2E0944FC4F57

Time Awake Since Boot: 51000 seconds
Time Since Wake: 36146 seconds

System Integrity Protection: enabled

Crashed Thread: 6

Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x000000019c98059c
Exception Note: EXC_CORPSE_NOTIFY

Termination Reason: Namespace SIGNAL, Code 5 Trace/BPT trap: 5
Terminating Process: exc handler [8814]

Application Specific Information:
-[NSOpenGLContext setView:] must be called from the main thread.

Thread 0:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x1999e4ebc __semwait_signal + 8
1 libsystem_c.dylib 0x1998efd88 nanosleep + 216
2 libsystem_c.dylib 0x1998efca4 usleep + 68
3 libgxc_r_osx.dylib 0x103cc68d8 0x103b88000 + 1304792
4 libgxc_r_osx.dylib 0x103ccbae4 0x103b88000 + 1325796
5 GeeXLab 0x102aac6c0 GXLAPP_Demo::run() + 4772
6 GeeXLab 0x102ac8054 GXLAPP_Main_Demo_Run() + 72
7 GeeXLab 0x102ac7bd0 GXLAPP_Start_Main_Demo_XML(char const*) + 316
8 GeeXLab 0x102ac6a4c load_scene_file_xml(char const*) + 156
9 GeeXLab 0x102ac67ac load_scene_file(char const*) + 144
10 GeeXLab 0x102aa1f2c -[AppDelegate applicationDidFinishLaunching:] + 728
11 CoreFoundation 0x199add200 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 28
12 CoreFoundation 0x199b80b84 ___CFXRegistrationPost_block_invoke + 52
13 CoreFoundation 0x199b80af0 _CFXRegistrationPost + 456
14 CoreFoundation 0x199aabeb0 _CFXNotificationPost + 720
15 Foundation 0x19a961e3c -[NSNotificationCenter postNotificationName:object:userInfo:] + 96
16 AppKit 0x19c6459f0 -[NSApplication _postDidFinishNotification] + 340
17 AppKit 0x19c645708 -[NSApplication _sendFinishLaunchingNotification] + 236
18 AppKit 0x19c643108 -[NSApplication(NSAppleEventHandling) _handleAEOpenEvent:] + 580
19 AppKit 0x19c642cf0 -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] + 780
20 Foundation 0x19a98e7c4 -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 344
21 Foundation 0x19a98e600 _NSAppleEventManagerGenericHandler + 96
22 AE 0x1a027d75c 0x1a0271000 + 51036
23 AE 0x1a027d0b4 0x1a0271000 + 49332
24 AE 0x1a0275f84 aeProcessAppleEvent + 488
25 HIToolbox 0x1a268a3b0 AEProcessAppleEvent + 68
26 AppKit 0x19c63d0cc _DPSNextEvent + 1848
27 AppKit 0x19c63b584 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1332
28 AppKit 0x19c62d5a4 -[NSApplication run] + 596
29 GeeXLab 0x102aa4df8 main + 6872
30 dyld 0x102bf50f4 start + 520

]]>
Comment on EU Covid-19 Vaccine Certificate (Health Pass) QR Code Reader in Python 3 by Tanit Beyersdorff https://www.geeks3d.com/hacklab/20210914/eu-covid-19-vaccine-certificate-health-pass-qr-code-reader-in-python-3/comment-page-1/#comment-146 Sun, 16 Jan 2022 20:05:34 +0000 https://www.geeks3d.com/hacklab/?p=1614#comment-146 cool idea, please implement the image-drop-in function!

]]>
Comment on EU Covid-19 Vaccine Certificate (Health Pass) QR Code Reader in Python 3 by Rio https://www.geeks3d.com/hacklab/20210914/eu-covid-19-vaccine-certificate-health-pass-qr-code-reader-in-python-3/comment-page-1/#comment-145 Fri, 14 Jan 2022 01:56:10 +0000 https://www.geeks3d.com/hacklab/?p=1614#comment-145 {
“ver”: “1.3.0”,
“dob”: “1888-02-13”,
“nam”: {
“fn”: “Bananas”,
“fnt”: “BANANAS”,
“gn”: “Manas”,
“gnt”: “MANAS”
},
“t”: [
{
“co”: “IE”,
“tg”: “840539006”,
“tt”: “LP6464-4”,
“tr”: “260415000”,
“tc”: “National Covid center (fake for a test)”,
“sc”: “2022-01-04T00:56:21Z”,
“nm”: “Fake test ehealth.vyncke.org”,
“is”: “Ministry of Magic Health, Whitehall, London”,
“ci”: “URN:UVCI:01:IE:77Z75Z244Z135”
}
]
}

The set of to-be-signed COSE claims is now:

* -260: health claims
* 1: issuer
* 4: expiration time
* 6: issued at

Which can be displayed as the JSON object:
{
“-260”: {
“1”: {
“dob”: “1888-02-13”,
“nam”: {
“fn”: “Bananas”,
“fnt”: “BANANAS”,
“gn”: “Manas”,
“gnt”: “MANAS”
},
“t”: [
{
“ci”: “URN:UVCI:01:IE:77Z75Z244Z135”,
“co”: “IE”,
“is”: “Ministry of Magic Health, Whitehall, London”,
“nm”: “Fake test ehealth.vyncke.org”,
“sc”: “2022-01-04T00:56:21Z”,
“tc”: “National Covid center (fake for a test)”,
“tg”: “840539006”,
“tr”: “260415000”,
“tt”: “LP6464-4”
}
],
“ver”: “1.3.0”
}
},
“1”: “IE”,
“4”: 1642035382,
“6”: 1641948982
}

After CBOR compression/encoding, it is now:
A4 01 62 49 45 04 1A 61 DF 78 B6 06 1A 61 DE 27 . . b I E . . a . x . . . a . ‘
36 39 01 03 A1 01 A4 63 76 65 72 65 31 2E 33 2E 6 9 . . . . . c v e r e 1 . 3 .
30 63 64 6F 62 6A 31 38 38 38 2D 30 32 2D 31 33 0 c d o b j 1 8 8 8 – 0 2 – 1 3
63 6E 61 6D A4 62 66 6E 67 42 61 6E 61 6E 61 73 c n a m . b f n g B a n a n a s
63 66 6E 74 67 42 41 4E 41 4E 41 53 62 67 6E 65 c f n t g B A N A N A S b g n e
4D 61 6E 61 73 63 67 6E 74 65 4D 41 4E 41 53 61 M a n a s c g n t e M A N A S a
74 81 A9 62 63 6F 62 49 45 62 74 67 69 38 34 30 t . . b c o b I E b t g i 8 4 0
35 33 39 30 30 36 62 74 74 68 4C 50 36 34 36 34 5 3 9 0 0 6 b t t h L P 6 4 6 4
2D 34 62 74 72 69 32 36 30 34 31 35 30 30 30 62 – 4 b t r i 2 6 0 4 1 5 0 0 0 b
74 63 78 27 4E 61 74 69 6F 6E 61 6C 20 43 6F 76 t c x ‘ N a t i o n a l C o v
69 64 20 63 65 6E 74 65 72 20 28 66 61 6B 65 20 i d c e n t e r ( f a k e
66 6F 72 20 61 20 74 65 73 74 29 62 73 63 74 32 f o r a t e s t ) b s c t 2
30 32 32 2D 30 31 2D 30 34 54 30 30 3A 35 36 3A 0 2 2 – 0 1 – 0 4 T 0 0 : 5 6 :
32 31 5A 62 6E 6D 78 1C 46 61 6B 65 20 74 65 73 2 1 Z b n m x . F a k e t e s
74 20 65 68 65 61 6C 74 68 2E 76 79 6E 63 6B 65 t e h e a l t h . v y n c k e
2E 6F 72 67 62 69 73 78 2B 4D 69 6E 69 73 74 72 . o r g b i s x + M i n i s t r
79 20 6F 66 20 4D 61 67 69 63 20 48 65 61 6C 74 y o f M a g i c H e a l t
68 2C 20 57 68 69 74 65 68 61 6C 6C 2C 20 4C 6F h , W h i t e h a l l , L o
6E 64 6F 6E 62 63 69 78 1C 55 52 4E 3A 55 56 43 n d o n b c i x . U R N : U V C
49 3A 30 31 3A 49 45 3A 37 37 5A 37 35 5A 32 34 I : 0 1 : I E : 7 7 Z 7 5 Z 2 4
34 5A 31 33 35 4 Z 1 3 5
Using a dummy signature

After COSE signature and CBOR encoding:
D2 84 4D A2 01 26 04 48 00 00 00 00 00 00 00 00 . . M . . & . H . . . . . . . .
A0 59 01 45 A4 01 62 49 45 04 1A 61 DF 78 B6 06 . Y . E . . b I E . . a . x . .
1A 61 DE 27 36 39 01 03 A1 01 A4 63 76 65 72 65 . a . ‘ 6 9 . . . . . c v e r e
31 2E 33 2E 30 63 64 6F 62 6A 31 38 38 38 2D 30 1 . 3 . 0 c d o b j 1 8 8 8 – 0
32 2D 31 33 63 6E 61 6D A4 62 66 6E 67 42 61 6E 2 – 1 3 c n a m . b f n g B a n
61 6E 61 73 63 66 6E 74 67 42 41 4E 41 4E 41 53 a n a s c f n t g B A N A N A S
62 67 6E 65 4D 61 6E 61 73 63 67 6E 74 65 4D 41 b g n e M a n a s c g n t e M A
4E 41 53 61 74 81 A9 62 63 6F 62 49 45 62 74 67 N A S a t . . b c o b I E b t g
69 38 34 30 35 33 39 30 30 36 62 74 74 68 4C 50 i 8 4 0 5 3 9 0 0 6 b t t h L P
36 34 36 34 2D 34 62 74 72 69 32 36 30 34 31 35 6 4 6 4 – 4 b t r i 2 6 0 4 1 5
30 30 30 62 74 63 78 27 4E 61 74 69 6F 6E 61 6C 0 0 0 b t c x ‘ N a t i o n a l
20 43 6F 76 69 64 20 63 65 6E 74 65 72 20 28 66 C o v i d c e n t e r ( f
61 6B 65 20 66 6F 72 20 61 20 74 65 73 74 29 62 a k e f o r a t e s t ) b
73 63 74 32 30 32 32 2D 30 31 2D 30 34 54 30 30 s c t 2 0 2 2 – 0 1 – 0 4 T 0 0
3A 35 36 3A 32 31 5A 62 6E 6D 78 1C 46 61 6B 65 : 5 6 : 2 1 Z b n m x . F a k e
20 74 65 73 74 20 65 68 65 61 6C 74 68 2E 76 79 t e s t e h e a l t h . v y
6E 63 6B 65 2E 6F 72 67 62 69 73 78 2B 4D 69 6E n c k e . o r g b i s x + M i n
69 73 74 72 79 20 6F 66 20 4D 61 67 69 63 20 48 i s t r y o f M a g i c H
65 61 6C 74 68 2C 20 57 68 69 74 65 68 61 6C 6C e a l t h , W h i t e h a l l
2C 20 4C 6F 6E 64 6F 6E 62 63 69 78 1C 55 52 4E , L o n d o n b c i x . U R N
3A 55 56 43 49 3A 30 31 3A 49 45 3A 37 37 5A 37 : U V C I : 0 1 : I E : 7 7 Z 7
35 5A 32 34 34 5A 31 33 35 58 40 44 75 6D 6D 79 5 Z 2 4 4 Z 1 3 5 X @ D u m m y
53 69 67 6E 61 74 75 72 65 21 21 44 75 6D 6D 79 S i g n a t u r e ! ! D u m m y
53 69 67 6E 61 74 75 72 65 21 21 44 75 6D 6D 79 S i g n a t u r e ! ! D u m m y
53 69 67 6E 61 74 75 72 65 21 21 44 75 6D 6D 79 S i g n a t u r e ! ! D u m m y
53 69 67 6E 61 74 75 72 65 21 21 S i g n a t u r e ! !

Message is now compressed with ZLIB and the compression was useful as it decreased the size from 411 to 326 bytes
78 DA 95 8D 4D 4E C2 40 00 85 6D 24 1E 82 B0 18 x . . . M N . @ . . m $ . . . .
36 A2 91 36 33 ED B4 94 AE 14 C4 40 42 89 11 F1 6 . . 6 3 . . . . . . @ B . . .
A7 BB 99 61 DA 8E 94 99 A4 1D 48 59 9A 78 10 35 . . . a . . . . . . H Y . x . 5
6C BC 80 07 F1 00 7A 15 0B F1 02 BE B7 7A 2F 5F l . . . . . z . . . . . . z / _
DE FB 7A 09 DF 8D E3 DA F0 E0 4F AF 8F C6 60 6B . . z . . . . . . . O . . . ` k
D0 D1 A0 56 27 3F E5 E7 51 9D 7C B7 BC AE 71 F8 . . . V ‘ ? . . Q . | . . . q .
66 6C D9 9A E7 1C 59 8E 05 D9 5C D1 27 E4 FB BE f l . . . . Y . . . \ . ‘ . . .
09 6D 13 39 4C 92 E5 96 C6 32 E9 11 59 B9 60 B1 . m . 9 L . . . . 2 . . Y . ` .
D4 49 EF 62 52 79 4A 13 C9 C3 7D 99 48 CD C3 5D . I . b R y J . . . } . H . . ]
45 F4 F3 07 65 AA FA A0 3A 11 3E 86 AE D3 85 D0 E . . . e . . . : . > . . . . .
A3 5A A7 E3 6B 0F 7B D8 C4 54 E7 C2 F6 20 46 2E . Z . . k . { . . T . . . F .
84 90 6A 56 B6 26 44 0B 25 49 06 FA 6A 2D E6 80 . . j V . & D . % I . . j – . .
F1 6A 2D 07 27 31 59 70 10 AB 1C 10 A0 79 A1 4F . j – . ‘ 1 Y p . . . . . y . O
69 C1 B4 0D 6D DB 84 C8 84 F8 16 C2 C0 F5 02 1B i . . . m . . . . . . . . . . .
45 54 2E CB C6 D5 0E DE 61 80 A7 9C 64 3A B5 D6 E T . . . . . . a . . . d : . .
1B C9 16 DC 52 79 42 45 51 9E 85 42 8A 42 E7 1B . . . . R y B E Q . . B . B . .
A0 62 10 92 44 30 30 DC 73 6D 70 9F 0A CD 53 92 . b . . D 0 0 . s m p . . . S .
65 6D 30 56 72 AE 24 65 A2 6C CC 6E 26 C1 EC AE e m 0 V r . $ e . l . n & . . .
3F 0A 20 0A 46 83 A0 D3 89 3A 6E 64 63 1C 21 C7 ? . . F . . . . : n d c . ! .
7D 38 BF 5C 2D 97 9B A9 48 24 D1 AB 9C 37 9B FF } 8 . \ – . . . H $ . . . 7 . .
CD BF 81 44 87 25 . . . D . %

Prepending “HC1:” and base45 encoding:
b’HC1:NCFZ+IZY93PO/20+ZDP%3ZBM +64GIIP6D$ME0MK ONI83C299LPHJFSRGZISXKQ69YNJ922QXDF8G1LUNJF.M1RF0Z8NM:5N8SBJFYBSA SEKUE3A-7IN8C.HQ6CKC/4+2TDEAMYFH%NGIEU.C-MRY9TLEBCX0

]]>
Comment on Python 3: simple HTTP Request with the Socket module by coulid https://www.geeks3d.com/hacklab/20190110/python-3-simple-http-request-with-the-socket-module/comment-page-1/#comment-143 Mon, 20 Dec 2021 06:05:22 +0000 https://www.geeks3d.com/hacklab/?p=1403#comment-143 It is very useful for me.
I am sending to google.com without format the request.

]]>