profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/rexim/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.
Alexey Kutepov rexim @rexim Russia, Novosibirsk Nobody

rexim/dotfiles 109

Config files for mixer

codingteam/pacmacs.el 80

Pacman for Emacs

rexim/aids 43

std replacement for C++

morganey-lang/Morganey 29

Lambda Calculus based, interpreted programming language that recognizes Church encoded structures.

rexim/beatwave 16

A musical puzzle game

rexim/ebf 11

Brainfuck language transpiler to Emacs Lisp

rexim/desert-theme 5

A port of VIM's desert color theme to Emacs.

rexim/five-programming-problems 5

Solutions for five programming problems every Software Engineer should be able to solve in less than 1 hour

rexim/freepascal-opengl-shaders 5

Small OpenGL Shaders example using FreePascal Compiler

eugenezamriy/bomberbot 4

Turn-based bomberman clone for bots playing.

PublicEvent
PublicEvent

PR opened tsoding/emoteJAM

Set "any" gif typings to "GIF"

Changelog

  • Updated @types/gif.js package to 0.2.1
  • Change gif type definition from "any" to "GIF"

New @types.gif.js version has type definitions for dithering methods, setOption(s) and abort.

+5 -5

0 comment

3 changed files

pr created time in 2 days

issue commenttsoding/emoteJAM

emoteJAM doesn't work in IE 11

It doesn't seem like there are any syntax errors but it's complaining about URLSearchParams and can't continue execution. As expected, it's not supported in IE per MDN.

image

Nufflee

comment created time in 3 days

startedtsoding/memalloc

started time in 3 days

startedrexim/qemu-android-x86-runner

started time in 3 days

startedrexim/sobaki

started time in 4 days

startedrexim/opengl-playground

started time in 4 days

startedrexim/imtui-rs-prototype

started time in 4 days

fork Ciremun/zoomer

Zoomer application for Windows (port of Boomer)

fork in 5 days

startedkolumb/zoomer

started time in 5 days

startedtsoding/markut

started time in 5 days

startedrexim/org-cliplink

started time in 5 days

PublicEvent

PR opened tsoding/bm

(#81) Remove string length hack from rot13 example

Close #81

+5 -13

0 comment

1 changed file

pr created time in 8 days

release radareorg/radare2

5.3.1

released time in 8 days

CommitCommentEvent

fork hjmkawano/org-cliplink

Insert org-mode links from clipboard

fork in 9 days

PR opened tsoding/emoteJAM

Fix absence check for `params` inputs

There's no min attribute in Scale param for Hop filter. But it should be set to 0.

<details>

<summary> Dev tools screenshot </summary>

123123123123123123123123

</details>

But for <input type="range"> it's zero by default so it's fine. But I couldn't set init value to 0.0. This PR fixes it.

+4 -4

0 comment

1 changed file

pr created time in 9 days

PR opened tsoding/emoteJAM

Fix storing context `vars` value as string

I was using variables in duration expression and noticed that it's concatenating value as strings. For example if you change duration of Hop filter to "duration": "interval + 2" it calculates it as 0.852 instead of 2.85 here:

const duration = Math.min(run_expr(program.duration, context), 60);
console.log({duration})
+1 -1

0 comment

1 changed file

pr created time in 9 days

PR opened tsoding/emoteJAM

Add "Thanosed" filter
+79 -0

0 comment

1 changed file

pr created time in 9 days

PR opened tsoding/emoteJAM

remove download button underline
+1 -1

0 comment

1 changed file

pr created time in 9 days

startedzhiayang/mikoto

started time in 9 days

issue openedrexim/org-cliplink

[BUG] The link is not inserted in the place that the function was called, but at the current point

The link is not inserted in the place that the function was called, but at the current point.

created time in 9 days

issue closedtsoding/bm

[bang] SIGSEGV upon nullptr dereference on FreeBSD

511daade172717fac238b9b2c8673df77d38ea67 breaks

See:

[nico@hades ~/src/bm]$ gg build/toolchain/bang -t nasm-freebsd-x86-64 examples/while.bang 
Reading symbols from build/toolchain/bang...
(gdb) r
Starting program: /usr/home/nico/src/bm/build/toolchain/bang -t nasm-freebsd-x86-64 examples/while.bang

Program received signal SIGSEGV, Segmentation fault.
0x00000000002161a8 in precompute_label_locations (basm=0x22c610 <main.basm>) at src/library/nasm_sysv_x86_64.c:44
44          for (size_t i = 0; i < basm->global_scope->bindings_size; i++) {
(gdb) bt full
#0  0x00000000002161a8 in precompute_label_locations (basm=0x22c610 <main.basm>) at src/library/nasm_sysv_x86_64.c:44
        i = 0
        label_locations = 0x800a09de8
#1  0x0000000000213560 in basm_save_to_file_as_nasm_sysv_x86_64 (basm=0x22c610 <main.basm>, os_target=OS_TARGET_FREEBSD, 
    output_file_path=0x800a09668 "./while.S") at src/library/nasm_sysv_x86_64.c:108
        output = 0x800499d00
        label_locations = 0x22c610 <main.basm>
        jmp_count = 3
#2  0x000000000020ef3f in basm_save_to_file_as_target (basm=0x22c610 <main.basm>, output_file_path=0x800a09668 "./while.S", 
    target=TARGET_NASM_FREEBSD_X86_64) at src/library/basm.c:255
No locals.
#3  0x000000000020bb9d in main (argc=0, argv=0x7fffffffe5b0) at src/toolchain/bang.c:112
        basm = <error reading variable basm (value of type `Basm' requires 1103064 bytes, which is more than max-value-size)>
        program = 0x7fffffffe8d8 "/usr/home/nico/src/bm/build/toolchain/bang"
        input_file_path = 0x7fffffffe91a "examples/while.bang"
        output_file_path = 0x800a09668 "./while.S"
        output_target = TARGET_NASM_FREEBSD_X86_64
        content = {count = 133, 
          data = 0x800a09690 "var i: i64;\n\nproc main() {\n  write(\"Begin\\n\");\n  i = 0;\n  while i < 10 {\n    write(\"Hey!\\n\");\n    i = i + 1;\n  }\n  write(\"End\\n\");\n}\n"}
        lexer = {content = {count = 0, data = 0x800a09715 ""}, line_start = 0x800a09713 "}\n", line = {count = 0, 
            data = 0x800a09714 "\n"}, file_path = 0x7fffffffe91a "examples/while.bang", row = 11, peek_buffer = {tokens = {{
                kind = BANG_TOKEN_KIND_SEMICOLON, text = {count = 1, data = 0x800a09711 ";\n}\n"}, loc = {row = 10, col = 17, 
                  file_path = 0x7fffffffe91a "examples/while.bang"}}, {kind = BANG_TOKEN_KIND_CLOSE_CURLY, text = {count = 1, 
                  data = 0x800a09713 "}\n"}, loc = {row = 11, col = 1, file_path = 0x7fffffffe91a "examples/while.bang"}}}, 
            begin = 0, count = 0}}
        module = {tops_begin = 0x800a09718, tops_end = 0x800a09758}
        bang = <error reading variable bang (value of type `Bang' requires 106544 bytes, which is more than max-value-size)>
(gdb) p basm->global_scope 
$1 = (Scope *) 0x0
(gdb) 

I have no idea how this is even supposed to work. Obviously it must segfault because basm->global_scope is never initialized.

#21 should definitely be on a priority list now.

closed time in 9 days

herrhotzenplotz

issue commenttsoding/bm

[bang] SIGSEGV upon nullptr dereference on FreeBSD

@rexim @zhiayang Fixed! Closing this.

herrhotzenplotz

comment created time in 9 days

created repositoryCiremun/url-shortener

phpHop

created time in 10 days

PublicEvent
PublicEvent

issue commenttsoding/bm

[bang] SIGSEGV upon nullptr dereference on FreeBSD

ah, this is my bad. i assumed that all the codegen paths will go through basm_translate_root_source_file, which is clearly not the case for bang (didn't test with it).

it doesn't look like bang uses the basm scopes at all (for now?), so i'm not sure what the "correct" way to solve this is -- ie. whether we should always push a global scope.

herrhotzenplotz

comment created time in 10 days