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

nim-lang/Nim 11854

Nim is a statically typed compiled systems programming language. It combines successful concepts from mature languages like Python, Ada and Modula. Its design focuses on efficiency, expressiveness, and elegance (in that order of priority).

Yardanico/cosmonim 85

A simple example to show how cosmopolitan libc can be used with Nim

Yardanico/adbscan 33

A @nim-lang utility for scanning IPs for unprotected ADB Android devices connected to the internet

opqx/NimRusTutorial 11

Знакомство с языком Nim

Yardanico/asciigraph 3

Console ascii line graphs in pure Nim

Yardanico/android_kernel_xiaomi_nikel 1

Kernel Source for Xiaomi Redmi 4 Note (MTK) - not working right now

Yardanico/Aporia 1

IDE/Advanced text editor mainly focusing on support for the Nim programming language.

Yardanico/compiler-explorer 1

Run compilers interactively from your web browser and interact with the assembly

Yardanico/dimscord 1

A Discord Bot & REST Library for Nim.

pull request commentnim-lang/Nim

Add armv8l support (Closes: #18898)

Maybe also worth adding this to csourses_v1?

FedericoCeratto

comment created time in 4 hours

Pull request review commentnim-lang/website

release article for nim 1.6.0

+---+title: "Version 1.6.0 released"+author: The Nim Team+---++We are very proud to announce Nim version 1.6, the latest stable release, after a year in the making!+This is by far the biggest release yet, here are some stats:+* 1667 PRs merged (1760 commits)+* 893 issues closed+* 15 new stdlib modules+* new features in >40 stdlib modules, including major improvements to 10 commonly used modules.+* documentation and minor improvements to 170 modules, including 312 new runnable examples+* 280 new nimble packages++Nim made its first entry in TIOBE index in 2017 at position 129, last year it entered the top-100, and last 2 months it entered the top-50 (https://forum.nim-lang.org/t/8297). We hope this release will reinforce this trend, building on Nim's core strenghs: a practical, compiled systems programming language offering C-like performance and portability, python-like syntax, LISP-like flexibility, strong C, C++, js, python interop and best-in class metaprogramming.++This release includes improvements in the following areas:+* new language features (user defined literals, private imports, strict effects, `iterable[T]`, new style concepts, dot-like operators, block arguments with optional params)+* new compiler features (`nim --eval:cmd`, custom nimscript extensions, customizable compiler messages)+* major improvements to gc:arc, gc:orc+* correctness and performance of integer and float parsing and rendering in all backends+* significant improvements in error messages, showing useful context+* doc generation logic and documentation, in particular `runnableExamples` now works in more contexts and replaces `code-block`.+* made js, VM and nimscript backend more consistent with c backend, allowing more modules to work with those backends, including the imports from `prelude`; the test suite now standardizes on testing stdlib modules on each major backend (c, js, vm).+* support for apple silicon/M1 macs, 32-bit RISC-V, improved support for nodejs backend+* major improvements to the following modules: `system, math, random, json, jsonutils, os, typetraits, wrapnils, lists, hashes` including performance improvements+* deprecated a number of error prone or redundant mis-features+++# Installing Nim 1.6+We recommend everyone to upgrade to 1.6:++## New users++Check out if the package manager of your OS already ships version 1.6 or+install it as described [here](https://nim-lang.org/install.html).+++## Existing users++If you have installed a previous version of Nim using `choosenim`,+getting Nim 1.6 is as easy as:++```bash+$ choosenim update self+$ choosenim update stable+```++If you don't have `choosenim`, you can follow the same+[install link](https://nim-lang.org/install.html) as above.++## Building from source+```bash+$ git clone https://github.com/nim-lang/Nim+$ cd Nim+$ sh build_all.sh+```

@quantimnot that's the normal user prompt, superuser prompt is #

timotheecour

comment created time in 10 hours

PullRequestReviewEvent

startedminimaxir/big-list-of-naughty-strings

started time in a day

startedSciNim/getting-started

started time in a day

startedlandley/toybox

started time in 2 days

startedKoboldAI/KoboldAI-Client

started time in 2 days

startedPMunch/futhark

started time in 4 days

issue commentnim-lang/Nim

Term-rewriting macros don't work across module boundaries anymore

TR macros work if you do from a import optMul but that's not a workaround since some use-cases do require TR macros being automatically applied in the whole project.

Yardanico

comment created time in 8 days

issue commentnim-lang/Nim

Term-rewriting macros don't work across module boundaries anymore

Updated the example to the one used in the manual in https://nim-lang.github.io/Nim/manual_experimental.html#term-rewriting-macros

Yardanico

comment created time in 8 days

issue openednim-lang/Nim

Term-rewriting macros don't work across module boundaries anymore

After https://github.com/nim-lang/Nim/pull/15935 (checked with git bisect) term-rewriting macros aren't applied in modules other than the module the TR macro is defined in.

Example

# a.nim
macro encrypt*{s}(s: string{lit}): untyped =
  echo "encrypted!"
  s
# b.nim
import a

echo "ok"

Current Output

During compilation:

/mnt/Projects/nim-strenc/b.nim(1, 8) Warning: imported and not used: 'a' [UnusedImport]

Expected Output

/mnt/Projects/nim-strenc/b.nim(3, 6) Hint: encrypt("hi") --> '"hi"' [Pattern]

Additional Information

Seems like it stopped working after the IC changes, so I'm wondering if there are plans to deprecate term-rewriting macros generally?

$ nim -v
Nim Compiler Version 1.5.1 [Linux: amd64]
Compiled at 2021-09-19
Copyright (c) 2006-2021 by Andreas Rumpf

git hash: 5d1608c9764416e74b36f6a772f16a66d58ddc28
active boot switches: -d:release

created time in 8 days

startedxiph/rnnoise

started time in 8 days

startedzevv/cpstest

started time in 8 days

GollumEvent

push eventYardanico/Yardanico

Danil Yarantsev

commit sha 4ad0816f0a85822832545e5d550ec19efd6831eb

Update README.md

view details

push time in 8 days

push eventYardanico/Yardanico

Danil Yarantsev

commit sha c38781c362a47f407c918b3a4d700b3e42e0a03e

Update README.md

view details

push time in 8 days

issue commentnim-lang/website

Vim

Maybe it's better to use syntax from https://github.com/alaviss/nim.nvim as that's generally more maintained although it's for NVim? I don't know how compatible are syntax definitions for NVim with Vim

89z

comment created time in 8 days

Pull request review commentnim-lang/packages

Add package surfing

     "license": "MIT",     "web": "https://github.com/napalu/nimcrypt",     "doc": "https://github.com/napalu/nimcrypt/blob/v0.0.1/README.md"+  },+  {+    "name": "surfing",+    "url": "https://github.com/momeemt/surfing",+    "method": "git",+    "tags": [+      "base64",+      "cli",+      "string",+      "surfing"+    ],+    "description": "A new awesome nimble package",

Maybe you can change this to something more meaningful rather than the default description? :)

momeemt

comment created time in 8 days

PullRequestReviewEvent

startedmeant-ion/TuringMod

started time in 9 days

issue openedYardanico/ircord

Long (somewhat) messages from IRC get split when sent to Discord for some reason

Example: https://i.imgur.com/OHjXNSB.png

created time in 12 days

pull request commentYardanico/ircord

Remove unused code that was causing a crash.

Thanks again!

exelotl

comment created time in 12 days

push eventYardanico/ircord

Jeremy Clarke

commit sha 601f1488405476837cb74f65c663e36814e84bc5

Remove unused code that was causing a crash. The crash could be caused by removing and inserting in a single edit. e.g. The quick brown fox jumped over the lazy dog. -> The brown fox jumped over the quick lazy dog.

view details

Danil Yarantsev

commit sha 1c93be4b37237eab1d5bce2d170a6e1e0061df03

Merge pull request #17 from exelotl/fix-edit-crash Remove unused code that was causing a crash.

view details

push time in 12 days

PR merged Yardanico/ircord

Remove unused code that was causing a crash.

The crash (out of bounds access) could be caused by removing and inserting text in a single edit. e.g.

The quick brown fox jumped over the lazy dog. -> The brown fox jumped over the quick lazy dog.

+0 -1

0 comment

1 changed file

exelotl

pr closed time in 12 days

pull request commentYardanico/ircord

Add list of IRC nicks to ignore

Just curious - are you using ircord in your own server or just wanted to improve the code a bit? :)

exelotl

comment created time in 12 days

push eventYardanico/ircord

Jeremy Clarke

commit sha a4174ca2f8045df761ce346373c716acafc695e8

Add list of IRC nicks to ignore

view details

Danil Yarantsev

commit sha a5536f92233c31fb669760c8c1091c82e19570db

Merge pull request #16 from exelotl/ignorelist Add list of IRC nicks to ignore

view details

push time in 12 days

PR merged Yardanico/ircord

Add list of IRC nicks to ignore

This generalises the special case to ignore messages by "FromDiscord"

+7 -2

1 comment

3 changed files

exelotl

pr closed time in 12 days

pull request commentYardanico/ircord

Add list of IRC nicks to ignore

Thanks, looks good!

exelotl

comment created time in 12 days

startedshayanhabibi/cpslearning

started time in 13 days

push eventYardanico/Yardanico

Danil Yarantsev

commit sha 8698ef12dc9f0f532528699871ceb761fde38f21

Update README.md

view details

push time in 14 days