{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":649340878,"defaultBranch":"lit-old-devel","name":"Nim","ownerLogin":"litlighilit","currentUserCanPush":false,"isFork":true,"isEmpty":false,"createdAt":"2023-06-04T14:49:30.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/97860435?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1722493892.0","currentOid":""},"activityList":{"items":[{"before":"a924e5b33a3139cc7020da055059718dd182e8a2","after":"eb893c9ec696a153b6920f577b2e583dabce075d","ref":"refs/heads/lit-fix-cpuinfo","pushedAt":"2024-08-03T23:35:52.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"litlighilit","name":"lit","path":"/litlighilit","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/97860435?s=80&v=4"},"commit":{"message":"impr: cpuinfo: support JS(browser,node,deno)","shortMessageHtmlLink":"impr: cpuinfo: support JS(browser,node,deno)"}},{"before":"e493a8ab67474da2ad6dcdcd622419acc2097aa9","after":"336f3a6c1382f9f76976052183984880819d4559","ref":"refs/heads/lit-fix-sigaction","pushedAt":"2024-08-01T13:11:46.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"litlighilit","name":"lit","path":"/litlighilit","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/97860435?s=80&v=4"},"commit":{"message":"fixup: Sigaction: reorder for ref to SigInfo","shortMessageHtmlLink":"fixup: Sigaction: reorder for ref to SigInfo"}},{"before":"bad33558d5db5f64153010290e3e1d46e28d536d","after":"e493a8ab67474da2ad6dcdcd622419acc2097aa9","ref":"refs/heads/lit-fix-sigaction","pushedAt":"2024-08-01T13:03:50.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"litlighilit","name":"lit","path":"/litlighilit","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/97860435?s=80&v=4"},"commit":{"message":"fixup: Sigaction: reorder for ref to SigInfo","shortMessageHtmlLink":"fixup: Sigaction: reorder for ref to SigInfo"}},{"before":"0eb561ba35b8ea19ed22e7a4423eca530056696a","after":"bad33558d5db5f64153010290e3e1d46e28d536d","ref":"refs/heads/lit-fix-sigaction","pushedAt":"2024-08-01T13:02:14.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"litlighilit","name":"lit","path":"/litlighilit","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/97860435?s=80&v=4"},"commit":{"message":"fixup: Sigaction: reorder for ref to SigInfo","shortMessageHtmlLink":"fixup: Sigaction: reorder for ref to SigInfo"}},{"before":"a5dc62f5499e7cbd7ed410e85396aae7d490eaf4","after":"0eb561ba35b8ea19ed22e7a4423eca530056696a","ref":"refs/heads/lit-fix-sigaction","pushedAt":"2024-08-01T12:58:00.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"litlighilit","name":"lit","path":"/litlighilit","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/97860435?s=80&v=4"},"commit":{"message":"fixup: Sigaction dragonfly is bsd too; update doc","shortMessageHtmlLink":"fixup: Sigaction dragonfly is bsd too; update doc"}},{"before":"1aeec35297da4acaf6b2d74eabc49cc95305f419","after":"a5dc62f5499e7cbd7ed410e85396aae7d490eaf4","ref":"refs/heads/lit-fix-sigaction","pushedAt":"2024-08-01T12:52:59.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"litlighilit","name":"lit","path":"/litlighilit","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/97860435?s=80&v=4"},"commit":{"message":"fixup: Sigaction field for freebsd/netbsd","shortMessageHtmlLink":"fixup: Sigaction field for freebsd/netbsd"}},{"before":"5fcd516b7401f8c1b175887c5e0b9f4f6fc72fed","after":"12b968029159ae05b9813095fbe671e4aa57922b","ref":"refs/heads/devel","pushedAt":"2024-08-01T06:34:52.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"litlighilit","name":"lit","path":"/litlighilit","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/97860435?s=80&v=4"},"commit":{"message":"Add a document to toOpenArray proc (#23905)","shortMessageHtmlLink":"Add a document to toOpenArray proc (nim-lang#23905)"}},{"before":null,"after":"a924e5b33a3139cc7020da055059718dd182e8a2","ref":"refs/heads/lit-fix-cpuinfo","pushedAt":"2024-08-01T06:31:32.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"litlighilit","name":"lit","path":"/litlighilit","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/97860435?s=80&v=4"},"commit":{"message":"impr: cpuinfo: MacOSX: use \"hw.logicialcpu\" over undocumented HW_AVAILCPU","shortMessageHtmlLink":"impr: cpuinfo: MacOSX: use \"hw.logicialcpu\" over undocumented HW_AVAI…"}},{"before":"5fcd516b7401f8c1b175887c5e0b9f4f6fc72fed","after":null,"ref":"refs/heads/lit-formatliterals-times","pushedAt":"2024-07-23T03:33:56.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"litlighilit","name":"lit","path":"/litlighilit","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/97860435?s=80&v=4"}},{"before":null,"after":"5fcd516b7401f8c1b175887c5e0b9f4f6fc72fed","ref":"refs/heads/lit-formatliterals-times","pushedAt":"2024-07-23T00:48:10.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"litlighilit","name":"lit","path":"/litlighilit","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/97860435?s=80&v=4"},"commit":{"message":"test: update for `.` FormatLiterals in ttimes; followup #23861","shortMessageHtmlLink":"test: update for . FormatLiterals in ttimes; followup nim-lang#23861"}},{"before":null,"after":"5fcd516b7401f8c1b175887c5e0b9f4f6fc72fed","ref":"refs/heads/devel","pushedAt":"2024-07-23T00:40:50.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"litlighilit","name":"lit","path":"/litlighilit","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/97860435?s=80&v=4"},"commit":{"message":"test: update for `.` FormatLiterals in ttimes; followup #23861","shortMessageHtmlLink":"test: update for . FormatLiterals in ttimes; followup nim-lang#23861"}},{"before":"e49b54c5169ef5964e0ba2011a6783f86b5506af","after":null,"ref":"refs/heads/lit-fix-times-doc","pushedAt":"2024-07-18T13:39:12.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"litlighilit","name":"lit","path":"/litlighilit","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/97860435?s=80&v=4"}},{"before":"f765898a7518f5c6bbebffd4217ccc35fd02747d","after":"e49b54c5169ef5964e0ba2011a6783f86b5506af","ref":"refs/heads/lit-fix-times-doc","pushedAt":"2024-07-18T06:33:04.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"litlighilit","name":"lit","path":"/litlighilit","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/97860435?s=80&v=4"},"commit":{"message":"doc: times.nim: DD -> dd\n\n`YYYY-MM-dd` was mistaken as `YYYY-MM-DD`.","shortMessageHtmlLink":"doc: times.nim: DD -> dd"}},{"before":null,"after":"f765898a7518f5c6bbebffd4217ccc35fd02747d","ref":"refs/heads/lit-fix-times-doc","pushedAt":"2024-07-18T06:28:09.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"litlighilit","name":"lit","path":"/litlighilit","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/97860435?s=80&v=4"},"commit":{"message":"Set type of object constructor during annotateType (#23852)\n\nFix https://github.com/nim-lang/Nim/issues/23547\r\n\r\nTested locally with the included test, the test from constantine and the\r\noriginal issue.","shortMessageHtmlLink":"Set type of object constructor during annotateType (nim-lang#23852)"}},{"before":"78c75e74ef25b50b1f2600750a7a7ea9b6e4e35f","after":"05df263b84de9008266b3d53e2c28b009890ca61","ref":"refs/heads/lit-os","pushedAt":"2024-07-06T03:44:46.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"litlighilit","name":"lit","path":"/litlighilit","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/97860435?s=80&v=4"},"commit":{"message":"Optimize closure iterator locals (#23787)\n\nThis pr redefines the relation between lambda lifting and closureiter\r\ntransformation.\r\n\r\nKey takeaways:\r\n- Lambdalifting now has less distinction between closureiters and\r\nregular closures. Namely instead of lifting _all_ closureiter variables,\r\nit lifts only those variables it would also lift for simple closure,\r\ni.e. those not owned by the closure.\r\n- It is now closureiter transformation's responsibility to lift all the\r\nlocals that need lifting and are not lifted by lambdalifting. So now we\r\nlift only those locals that appear in more than one state. The rest\r\nremains on stack, yay!\r\n- Closureiter transformation always relies on the closure env param\r\ncreated by lambdalifting. Special care taken to make lambdalifting\r\ncreate it even in cases when it's \"too early\" to lift.\r\n- Environments created by lambdalifting will contain `:state` only for\r\nclosureiters, whereas previously any closure env contained it.\r\n\r\nIMO this is a more reasonable approach as it simplifies not only\r\nlambdalifting, but transf too (e.g. freshVarsForClosureIters is now gone\r\nfor good).\r\n\r\nI tried to organize the changes logically by commits, so it might be\r\neasier to review this on per commit basis.\r\n\r\nSome ugliness:\r\n- Adding lifting to closureiters transformation I had to repeat this\r\nmatching of `return result = value` node. I tried to understand why it\r\nis needed, but that was just another rabbit hole, so I left it for\r\nanother time. @Araq your input is welcome.\r\n- In the last commit I've reused currently undocumented `liftLocals`\r\npragma for symbols so that closureiter transformation will forcefully\r\nlift those even if they don't require lifting otherwise. This is needed\r\nfor [yasync](https://github.com/yglukhov/yasync) or else it will be very\r\nsad.\r\n\r\nOverall I'm quite happy with the results, I'm seeing some noticeable\r\ncode size reductions in my projects. Heavy closureiter/async users,\r\nplease give it a go.","shortMessageHtmlLink":"Optimize closure iterator locals (nim-lang#23787)"}},{"before":"787ba99e7e23fa616164ac2cd33eb6147b0e3fff","after":null,"ref":"refs/heads/lit-impr-opt","pushedAt":"2024-07-02T04:39:13.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"litlighilit","name":"lit","path":"/litlighilit","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/97860435?s=80&v=4"}},{"before":null,"after":"787ba99e7e23fa616164ac2cd33eb6147b0e3fff","ref":"refs/heads/lit-impr-opt","pushedAt":"2024-07-01T15:26:40.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"litlighilit","name":"lit","path":"/litlighilit","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/97860435?s=80&v=4"},"commit":{"message":"refine: strmisc.expandTabs better code structure","shortMessageHtmlLink":"refine: strmisc.expandTabs better code structure"}},{"before":"3faf2a7041965f4fa8941e37dfae69bf57ff13a5","after":null,"ref":"refs/heads/devel","pushedAt":"2024-07-01T14:33:23.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"litlighilit","name":"lit","path":"/litlighilit","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/97860435?s=80&v=4"}},{"before":null,"after":"3faf2a7041965f4fa8941e37dfae69bf57ff13a5","ref":"refs/heads/lit-old-devel","pushedAt":"2024-07-01T14:33:22.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"litlighilit","name":"lit","path":"/litlighilit","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/97860435?s=80&v=4"},"commit":{"message":"Merge remote-tracking branch 'nim/devel' into devel","shortMessageHtmlLink":"Merge remote-tracking branch 'nim/devel' into devel"}},{"before":"27abcdd57f43fa905153f38afc7b10b990d789c9","after":"7699f8c01934af33bb272178da49852110964ad5","ref":"refs/heads/lit-fix-doc-format","pushedAt":"2024-07-01T13:38:25.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"litlighilit","name":"lit","path":"/litlighilit","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/97860435?s=80&v=4"},"commit":{"message":"doc(format): c L were rendered as c L in lexbase.nim","shortMessageHtmlLink":"doc(format): c L were rendered as c L in lexbase.nim"}},{"before":"27abcdd57f43fa905153f38afc7b10b990d789c9","after":null,"ref":"refs/heads/litlighilit-fix-doc-format","pushedAt":"2024-07-01T13:28:17.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"litlighilit","name":"lit","path":"/litlighilit","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/97860435?s=80&v=4"}},{"before":null,"after":"27abcdd57f43fa905153f38afc7b10b990d789c9","ref":"refs/heads/lit-fix-doc-format","pushedAt":"2024-07-01T13:28:16.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"litlighilit","name":"lit","path":"/litlighilit","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/97860435?s=80&v=4"},"commit":{"message":"fixes #23755; array static inference during overload resolution (#23760)\n\n#23755\r\n\r\n---------\r\n\r\nCo-authored-by: Andreas Rumpf ","shortMessageHtmlLink":"fixes nim-lang#23755; array static inference during overload resoluti…"}},{"before":null,"after":"27abcdd57f43fa905153f38afc7b10b990d789c9","ref":"refs/heads/litlighilit-fix-doc-format","pushedAt":"2024-07-01T13:26:50.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"litlighilit","name":"lit","path":"/litlighilit","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/97860435?s=80&v=4"},"commit":{"message":"fixes #23755; array static inference during overload resolution (#23760)\n\n#23755\r\n\r\n---------\r\n\r\nCo-authored-by: Andreas Rumpf ","shortMessageHtmlLink":"fixes nim-lang#23755; array static inference during overload resoluti…"}},{"before":"ace48a09fe1986efbbfc82d7dabccdb8b2ccf421","after":null,"ref":"refs/heads/litlighilit-fix-doc-format","pushedAt":"2024-07-01T13:26:42.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"litlighilit","name":"lit","path":"/litlighilit","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/97860435?s=80&v=4"}},{"before":"aac963030d7a2d13df2ca8a4b04182e8c68226d9","after":"ace48a09fe1986efbbfc82d7dabccdb8b2ccf421","ref":"refs/heads/litlighilit-fix-doc-format","pushedAt":"2024-07-01T13:21:59.000Z","pushType":"push","commitsCount":68,"pusher":{"login":"litlighilit","name":"lit","path":"/litlighilit","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/97860435?s=80&v=4"},"commit":{"message":"Merge branch 'nim-lang:devel' into litlighilit-fix-doc-format","shortMessageHtmlLink":"Merge branch 'nim-lang:devel' into litlighilit-fix-doc-format"}},{"before":"128090c593df557c9e7c17e966a735312986a496","after":"78c75e74ef25b50b1f2600750a7a7ea9b6e4e35f","ref":"refs/heads/lit-os","pushedAt":"2024-06-18T08:01:34.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"litlighilit","name":"lit","path":"/litlighilit","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/97860435?s=80&v=4"},"commit":{"message":"doc: add doc for negative milsecs for `sleep`","shortMessageHtmlLink":"doc: add doc for negative milsecs for sleep"}},{"before":null,"after":"128090c593df557c9e7c17e966a735312986a496","ref":"refs/heads/lit-os","pushedAt":"2024-06-18T07:55:41.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"litlighilit","name":"lit","path":"/litlighilit","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/97860435?s=80&v=4"},"commit":{"message":"ignore uninstantiated static on match to base type [backport:2.0] (#23731)\n\nfixes #23730\r\n\r\nSince #23188 the compiler errors when matching a type variable to an\r\nuninstantiated static value. However sometimes an uninstantiated static\r\nvalue is given even when only a type match is being performed to the\r\nbase type of the static type, in the given issue this case is:\r\n\r\n```nim\r\nproc foo[T: SomeInteger](x: T): int = int(x)\r\nproc bar(x: static int): array[foo(x), int] = discard\r\ndiscard bar(123)\r\n```\r\n\r\nTo deal with this issue we only error when matching against a type\r\nvariable constrained to `static`.\r\n\r\nNot sure if the `q.typ.kind == tyGenericParam and\r\nq.typ.genericConstraint == tyStatic` check is necessary, the code above\r\nfor deciding whether the variable becomes `skConst` doesn't use it.","shortMessageHtmlLink":"ignore uninstantiated static on match to base type [backport:2.0] (ni…"}},{"before":null,"after":"8ed2b9cdd40bcf38a0fe07ec125cf9649e1cf108","ref":"refs/heads/lit-os-sleep","pushedAt":"2024-06-18T07:45:11.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"litlighilit","name":"lit","path":"/litlighilit","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/97860435?s=80&v=4"},"commit":{"message":"doc: add doc for negative milsecs for `sleep`","shortMessageHtmlLink":"doc: add doc for negative milsecs for sleep"}},{"before":"252cfe4fbe63ba3222dddbba987718f22f3ca7db","after":"3faf2a7041965f4fa8941e37dfae69bf57ff13a5","ref":"refs/heads/devel","pushedAt":"2024-06-18T07:33:46.000Z","pushType":"push","commitsCount":11,"pusher":{"login":"litlighilit","name":"lit","path":"/litlighilit","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/97860435?s=80&v=4"},"commit":{"message":"Merge remote-tracking branch 'nim/devel' into devel","shortMessageHtmlLink":"Merge remote-tracking branch 'nim/devel' into devel"}},{"before":"b185afb066a034cd3e7707b630acc51444b0de56","after":"1aeec35297da4acaf6b2d74eabc49cc95305f419","ref":"refs/heads/lit-fix-sigaction","pushedAt":"2024-06-12T13:40:37.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"litlighilit","name":"lit","path":"/litlighilit","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/97860435?s=80&v=4"},"commit":{"message":"fix Sigaction definition in MacOS (#23700)","shortMessageHtmlLink":"fix Sigaction definition in MacOS (nim-lang#23700)"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAEkQ7cDAA","startCursor":null,"endCursor":null}},"title":"Activity · litlighilit/Nim"}