{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":634043200,"defaultBranch":"main","name":"mojo","ownerLogin":"modularml","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2023-04-28T22:17:24.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/39327063?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1716933784.0","currentOid":""},"activityList":{"items":[{"before":null,"after":"6f6f09355ed5ec7a443bc14da06eb515d666ea23","ref":"refs/heads/arthur/quieter-nightly","pushedAt":"2024-05-28T22:03:04.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"arthurevans","name":"Arthur Evans","path":"/arthurevans","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1149422?s=80&v=4"},"commit":{"message":"Remove docs team from CODEOWNERS for unreleased changelog.","shortMessageHtmlLink":"Remove docs team from CODEOWNERS for unreleased changelog."}},{"before":"d0691d40835e749c3ca114a3c8aeaa78ff65b155","after":"4724ec6ff46378f6a1d6190ca9a76916a5faaba3","ref":"refs/heads/nightly","pushedAt":"2024-05-28T05:51:11.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"modularbot","name":"modularbot","path":"/modularbot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/116839051?s=80&v=4"},"commit":{"message":"[stdlib] Bump compiler version to 2024.5.2805","shortMessageHtmlLink":"[stdlib] Bump compiler version to 2024.5.2805"}},{"before":"d5507283397081141a956239f651a768ca7695eb","after":"d0691d40835e749c3ca114a3c8aeaa78ff65b155","ref":"refs/heads/nightly","pushedAt":"2024-05-28T05:50:32.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"modularbot","name":"modularbot","path":"/modularbot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/116839051?s=80&v=4"},"commit":{"message":"[External] [stdlib] implement `has_single_bit` (#40693)\n\n[External] [stdlib] Implement `has_single_bit`\n\nImplement `has_single_bit` for checking if a value\nis an integral power of `2`.\n\nFixes https://github.com/modularml/mojo/issues/2682.\n\nCo-authored-by: Jiexiang Liu <80805665+LJ-9801@users.noreply.github.com>\nCloses modularml/mojo#2859\nMODULAR_ORIG_COMMIT_REV_ID: 15d31fa55f239879d4c4049557e308b85e0eb4f7","shortMessageHtmlLink":"[External] [stdlib] implement has_single_bit (#40693)"}},{"before":"fd697f075168e489547192c52bee60226ff68bd8","after":"d5507283397081141a956239f651a768ca7695eb","ref":"refs/heads/nightly","pushedAt":"2024-05-28T05:50:29.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"modularbot","name":"modularbot","path":"/modularbot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/116839051?s=80&v=4"},"commit":{"message":"[stdlib][NFC] Wholesale style and docstring improvements in `string.mojo`\n\nMODULAR_ORIG_COMMIT_REV_ID: 987f77b5e724e6b57c0208b28401392d3b9de0e2","shortMessageHtmlLink":"[stdlib][NFC] Wholesale style and docstring improvements in `string.m…"}},{"before":"ee5dfe65ca36719083c18c8c691b899e2a9168d3","after":"fd697f075168e489547192c52bee60226ff68bd8","ref":"refs/heads/nightly","pushedAt":"2024-05-28T05:50:23.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"modularbot","name":"modularbot","path":"/modularbot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/116839051?s=80&v=4"},"commit":{"message":"[External] [stdlib] Implement `tempfile.{mkdtemp,gettempdir}` (#40647)\n\n[External] [stdlib] Implement `tempfile.{mkdtemp,gettempdir}`\n\nA new `tempfile` module is added with these two functions. Currently\nlimited to MacOS and Linux.\n\nORIGINAL_AUTHOR=artemiogr97\n<57588855+artemiogr97@users.noreply.github.com>\nPUBLIC_PR_LINK=modularml/mojo#2742\n\n---------\n\nCo-authored-by: artemiogr97 <57588855+artemiogr97@users.noreply.github.com>\nCloses modularml/mojo#2742\nMODULAR_ORIG_COMMIT_REV_ID: 943428af5d911d2f82d723f54b4029480d68ec5c","shortMessageHtmlLink":"[External] [stdlib] Implement tempfile.{mkdtemp,gettempdir} (#40647)"}},{"before":"ec6ecf92d039ab7e18c98c9194058ae245f7a4f2","after":"ee5dfe65ca36719083c18c8c691b899e2a9168d3","ref":"refs/heads/nightly","pushedAt":"2024-05-28T05:50:17.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"modularbot","name":"modularbot","path":"/modularbot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/116839051?s=80&v=4"},"commit":{"message":"[External] [stdlib] Add `String.isspace()` conformant with Python (#40686)\n\n[External] [stdlib] Add `String.isspace()` conformant with Python\n\nFor better compatibility with python\n\nORIGINAL_AUTHOR=martinvuyk\n<110240700+martinvuyk@users.noreply.github.com>\nPUBLIC_PR_LINK=modularml/mojo#2793\n\n---------\n\nCo-authored-by: martinvuyk <110240700+martinvuyk@users.noreply.github.com>\nCloses modularml/mojo#2793\nMODULAR_ORIG_COMMIT_REV_ID: 0d9e6257f53ac8d291b4a8f17df405512fa4d973","shortMessageHtmlLink":"[External] [stdlib] Add String.isspace() conformant with Python (#4…"}},{"before":"051cdd0c9e8a6ea9f3990592106c8a492875a422","after":"ec6ecf92d039ab7e18c98c9194058ae245f7a4f2","ref":"refs/heads/nightly","pushedAt":"2024-05-28T05:50:12.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"modularbot","name":"modularbot","path":"/modularbot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/116839051?s=80&v=4"},"commit":{"message":"[External] [stdlib] Add `__repr__` in `SIMD` (#40687)\n\n[External] [stdlib] Add `__repr__` in `SIMD`\n\nImplements `__repr__` for `SIMD`\n\n---------\n\nCo-authored-by: bgreni <42788181+bgreni@users.noreply.github.com>\nCloses modularml/mojo#2728\nMODULAR_ORIG_COMMIT_REV_ID: 53688198a78f892e2d4799bc8bec3f7974a538fb","shortMessageHtmlLink":"[External] [stdlib] Add __repr__ in SIMD (#40687)"}},{"before":"998cf3c3c0ae3850cf9f472860bd35548e3d449c","after":"051cdd0c9e8a6ea9f3990592106c8a492875a422","ref":"refs/heads/nightly","pushedAt":"2024-05-28T05:50:06.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"modularbot","name":"modularbot","path":"/modularbot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/116839051?s=80&v=4"},"commit":{"message":"[External] [stdlib] Support `Dict.popitem()` (#40688)\n\n[External] [stdlib] Support `Dict.popitem()`\n\nImplement `Dict.popitem()` which removes and\nreturns the last item in the `Dict`.\n\nFixes https://github.com/modularml/mojo/issues/2355\n\n---------\n\nCo-authored-by: Jay Zhan \nCloses modularml/mojo#2701\nMODULAR_ORIG_COMMIT_REV_ID: c93387c953e05a447e6467270c54093b85e743b0","shortMessageHtmlLink":"[External] [stdlib] Support Dict.popitem() (#40688)"}},{"before":"63a06110771a6500bafab4b889874f64d8e84196","after":"998cf3c3c0ae3850cf9f472860bd35548e3d449c","ref":"refs/heads/nightly","pushedAt":"2024-05-28T05:50:03.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"modularbot","name":"modularbot","path":"/modularbot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/116839051?s=80&v=4"},"commit":{"message":"[mojo-stdlib] Simplify span, switching to getitem references.\n\nThis adopts references and removes some redundancy.\n\nMODULAR_ORIG_COMMIT_REV_ID: d5acb59ac81d5033d6a3db8c3f1cf07014524aeb","shortMessageHtmlLink":"[mojo-stdlib] Simplify span, switching to getitem references."}},{"before":"1e2f80d5226722c6459969eefd874794f10abad1","after":"63a06110771a6500bafab4b889874f64d8e84196","ref":"refs/heads/nightly","pushedAt":"2024-05-28T05:49:57.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"modularbot","name":"modularbot","path":"/modularbot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/116839051?s=80&v=4"},"commit":{"message":"[External] [stdlib] Add count() method for InlineList (#40683)\n\n[External] [stdlib] Add `count()` method for `InlineList`\n\nAdd `count` method for `InlineList` to count\nthe number of occurrences the value occurs\nin the `InlineList`.\n\n*count*\n```mojo\nvar my_list = InlineList[Int](1, 2, 3)\nprint(my_list.count(1))\n```\n\nCo-authored-by: northstreet12 \nCloses modularml/mojo#2768\nMODULAR_ORIG_COMMIT_REV_ID: 3024406c384b6d838df35b1243a02ac0efffe2be","shortMessageHtmlLink":"[External] [stdlib] Add count() method for InlineList (#40683)"}},{"before":"5ef2b41019b5e5ce9f8eb088ab9e208b488d7278","after":"1e2f80d5226722c6459969eefd874794f10abad1","ref":"refs/heads/nightly","pushedAt":"2024-05-28T05:49:54.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"modularbot","name":"modularbot","path":"/modularbot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/116839051?s=80&v=4"},"commit":{"message":"Change arguments from `StringLiteral` to `String`.\n\nMODULAR_ORIG_COMMIT_REV_ID: 933b2a50845c0ae5ab92b7aeb22ba2d55f65c27b","shortMessageHtmlLink":"Change arguments from StringLiteral to String."}},{"before":"5f2501a125fa6912c036d58a0af478660358a0ff","after":"5ef2b41019b5e5ce9f8eb088ab9e208b488d7278","ref":"refs/heads/nightly","pushedAt":"2024-05-28T05:49:48.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"modularbot","name":"modularbot","path":"/modularbot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/116839051?s=80&v=4"},"commit":{"message":"[External] [docker] ```AUTH_KEY``` arguments removed in ```examples/docker``` folder (#40616)\n\n[External] [docker] ```AUTH_KEY``` arguments removed in\n```examples/docker``` folder\n\nAs of my knowledge, in the latest update there's no longer required any\n```AUTH_KEY``` for installing. But the Docker file haven't updated with\nrespect to the latest release. By address this issue, I've modified the\nall the three files in ```examples/docker```. Now can be build docker\nimage without any hassle.\n\nCo-authored-by: Avinag <116362503+Av1nag@users.noreply.github.com>\nCloses modularml/mojo#2802\nMODULAR_ORIG_COMMIT_REV_ID: c752915a7df2dfda91900b777df9e5c3994790fc","shortMessageHtmlLink":"[External] [docker] AUTH_KEY arguments removed in ```examples/d…"}},{"before":"3539c86d4c38a037e253c5c240061004328cc066","after":"5f2501a125fa6912c036d58a0af478660358a0ff","ref":"refs/heads/nightly","pushedAt":"2024-05-28T05:49:42.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"modularbot","name":"modularbot","path":"/modularbot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/116839051?s=80&v=4"},"commit":{"message":"[External] [stdlib] implement os.path.join (#40539)\n\n[External] [stdlib] implement os.path.join\n\nImplementation of `os.path.join`\n\nORIGINAL_AUTHOR=artemiogr97\n<57588855+artemiogr97@users.noreply.github.com>\nPUBLIC_PR_LINK=modularml/mojo#2792\n\nCo-authored-by: artemiogr97 <57588855+artemiogr97@users.noreply.github.com>\nCloses modularml/mojo#2792\nMODULAR_ORIG_COMMIT_REV_ID: c69ceacfe4a63e67e39bc1fdf9bc7540096298e3","shortMessageHtmlLink":"[External] [stdlib] implement os.path.join (#40539)"}},{"before":"cb2e75bb607ed618ae14ee1e215b4bc0019db0c3","after":"3539c86d4c38a037e253c5c240061004328cc066","ref":"refs/heads/nightly","pushedAt":"2024-05-28T05:49:39.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"modularbot","name":"modularbot","path":"/modularbot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/116839051?s=80&v=4"},"commit":{"message":"[stdlib] Move `pow` from `math` to builtins\n\nThis brings us in line with Python where this is also a builtin.\nNotably, `IntLiteral` and `FloatLiteral` does not implement this yet,\nand tests will need improvement, but this change opens up the\npossibility of the community contributing to these.\n\nMODULAR_ORIG_COMMIT_REV_ID: ddde9c362eb779281207230b278dae177a7ca489","shortMessageHtmlLink":"[stdlib] Move pow from math to builtins"}},{"before":"d3858c0eccaf5794404927f8cb66c5793cfb47e2","after":"cb2e75bb607ed618ae14ee1e215b4bc0019db0c3","ref":"refs/heads/nightly","pushedAt":"2024-05-28T05:49:32.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"modularbot","name":"modularbot","path":"/modularbot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/116839051?s=80&v=4"},"commit":{"message":"[External] [stdlib] Add the `normalize_index` function (#40280)\n\n[External] [stdlib] Add the `normalize_index` function\n\nThis PR is some kind of mix between\nhttps://github.com/modularml/mojo/pull/2386 and\nhttps://github.com/modularml/mojo/pull/2384 which have issues (aborting)\nor have too many conflicts because the PR is too big.\n\nThis PR solves part of https://github.com/modularml/mojo/issues/2251 and\nhttps://github.com/modularml/mojo/issues/2337\n\nWe try here to give the ground work for indexing correctly. This\nfunction added can then be used wherever we work with sequences.\n\nTwo things I noticed during development:\n1) The `debug_assert` does not run in unit tests. Is there any way to\nenable it? We currently have out-of-bounds bugs in our test suite.\n2) The null terminator is causing pain, again, again, and again. Do we\nhave any plans to make it optional when working with String? I opened\nhttps://github.com/modularml/mojo/issues/2678 to discuss this.\n\nTo avoid to fix those issues in this PR, I used the `normalize_index` on\nthe `__refitem__` of `InlineArray` which doesn't have widespread use yet\nand isn't impacted by out-of-bounds bugs.\n\nMy recommendation would be to merge this PR then to rebase\nhttps://github.com/modularml/mojo/pull/2386 and\nhttps://github.com/modularml/mojo/pull/2384 on it. We should also\nafterwards fix the out of bounds bugs that can be triggered in the test\nsuite by enabling debug_assert.\n\nThe diff might seem big, but no worries, it's mostly the licenses and\ndocstrings :)\n\nCo-authored-by: Gabriel de Marmiesse \nCloses modularml/mojo#2677\nMODULAR_ORIG_COMMIT_REV_ID: 66e7121a6a333c16284eb33a89eb85c034c296c3","shortMessageHtmlLink":"[External] [stdlib] Add the normalize_index function (#40280)"}},{"before":"5d0686a6c736b07e47f699fbd00fa76b1adf289b","after":"d3858c0eccaf5794404927f8cb66c5793cfb47e2","ref":"refs/heads/nightly","pushedAt":"2024-05-28T05:49:29.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"modularbot","name":"modularbot","path":"/modularbot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/116839051?s=80&v=4"},"commit":{"message":"[stdlib] Simplify `pow` implementations\n\nThis includes changing the argument names to be pythonic. Also cleanup\ndocstrings.\n\nMODULAR_ORIG_COMMIT_REV_ID: 49ce4704a41c1e5ab512c8af2cda43003b987374","shortMessageHtmlLink":"[stdlib] Simplify pow implementations"}},{"before":"c8aa3729fe43335e7cc08fc54b13bf622030d4e4","after":"5d0686a6c736b07e47f699fbd00fa76b1adf289b","ref":"refs/heads/nightly","pushedAt":"2024-05-28T05:49:25.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"modularbot","name":"modularbot","path":"/modularbot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/116839051?s=80&v=4"},"commit":{"message":"[stdlib][docs][NFC] Rename `pow` in some examples\n\nTo make sure they don't conflict with `pow` when it becomes a builtin\n\nMODULAR_ORIG_COMMIT_REV_ID: dea3d2c8ae680b3609ca15f2b09fc0b80b9768ae","shortMessageHtmlLink":"[stdlib][docs][NFC] Rename pow in some examples"}},{"before":"c97d7c9bfd3c607e4c20f560d7b105c5d8f04c13","after":"c8aa3729fe43335e7cc08fc54b13bf622030d4e4","ref":"refs/heads/nightly","pushedAt":"2024-05-28T05:49:21.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"modularbot","name":"modularbot","path":"/modularbot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/116839051?s=80&v=4"},"commit":{"message":"[stdlib] Remove `Slice.__len__`\n\nThe semantics of this method are ambiguous since the length of a slice\nalways depends on the object being sliced. An equalivalent unsafe method\nis added for compatibility.\n\nMODULAR_ORIG_COMMIT_REV_ID: ad053736563f0aecc09f3f9a3b546c9d000c66ec","shortMessageHtmlLink":"[stdlib] Remove Slice.__len__"}},{"before":"139cacc1e2071228c956c15cfd6db319adbc5a71","after":"c97d7c9bfd3c607e4c20f560d7b105c5d8f04c13","ref":"refs/heads/nightly","pushedAt":"2024-05-28T05:49:18.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"modularbot","name":"modularbot","path":"/modularbot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/116839051?s=80&v=4"},"commit":{"message":"[stdlib][NFC] Remove unnecessary `_div_ceil_positive` function\n\nAnd add a TODO to another one to remove it later in favor of\n`math.ceildiv`.\n\nMODULAR_ORIG_COMMIT_REV_ID: 8f7f21f9afcff528363b69eedaed34a932b0db63","shortMessageHtmlLink":"[stdlib][NFC] Remove unnecessary _div_ceil_positive function"}},{"before":"ffaf54b38f79b5a5305473c3e0e3126888b9ebce","after":"139cacc1e2071228c956c15cfd6db319adbc5a71","ref":"refs/heads/nightly","pushedAt":"2024-05-28T05:49:14.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"modularbot","name":"modularbot","path":"/modularbot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/116839051?s=80&v=4"},"commit":{"message":"[stdlib] Remove rarely used overload of `math.pow`\n\nUsers can easily write this if they want to (recursively using\nmultiplication and `@parameter if`).\n\nMODULAR_ORIG_COMMIT_REV_ID: b1ab22b205fc090fb18cefc2a7084dd28e339edd","shortMessageHtmlLink":"[stdlib] Remove rarely used overload of math.pow"}},{"before":"ce285fded710b403e1b7b5637183ea20fa4d5c97","after":"ffaf54b38f79b5a5305473c3e0e3126888b9ebce","ref":"refs/heads/nightly","pushedAt":"2024-05-28T05:49:10.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"modularbot","name":"modularbot","path":"/modularbot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/116839051?s=80&v=4"},"commit":{"message":"[stdlib] Don't mark `SIMD.__abs__` as `nodebug` inline\n\nFunctions marked as `@always_inline(\"nodebug\")` are meant to be small,\nzero-cost abstractions. The implementation of `SIMD.__abs__` is neither.\nIt isn't small (contains branches) and it isn't zero-cost, because the\nverifier for `pop.neg` triggers if the function gets inlined and\npre-specialized.\n\nMODULAR_ORIG_COMMIT_REV_ID: 3b749024aba0af0656a625880e6178d4ba0fcec0","shortMessageHtmlLink":"[stdlib] Don't mark SIMD.__abs__ as nodebug inline"}},{"before":"f21b46f42eec21a75d89c48e8eb77a0f5560e423","after":"ce285fded710b403e1b7b5637183ea20fa4d5c97","ref":"refs/heads/nightly","pushedAt":"2024-05-27T05:56:18.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"modularbot","name":"modularbot","path":"/modularbot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/116839051?s=80&v=4"},"commit":{"message":"[stdlib] Bump compiler version to 2024.5.2705","shortMessageHtmlLink":"[stdlib] Bump compiler version to 2024.5.2705"}},{"before":"af84a9eae6e5daa06607121acd4073eec258e9ce","after":"f21b46f42eec21a75d89c48e8eb77a0f5560e423","ref":"refs/heads/nightly","pushedAt":"2024-05-27T05:55:17.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"modularbot","name":"modularbot","path":"/modularbot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/116839051?s=80&v=4"},"commit":{"message":"[mojo-lang] Remove a bunch of old reference stuff\n\nThis removes the `isAutoDereference` bit of LIT::StructDeclOp,\nthe `__mlir_ref__` support, the `@automatically_dereference`\ndecorator, and the `__refitem__` method support.\n\nThis also updates the changelog to reflect the removal of refitem.\n\nMODULAR_ORIG_COMMIT_REV_ID: ba864d8c988c193477bd93d362404154a8ee4642","shortMessageHtmlLink":"[mojo-lang] Remove a bunch of old reference stuff"}},{"before":"f05badfb600c02e2a1626daeb69945d365deb325","after":"af84a9eae6e5daa06607121acd4073eec258e9ce","ref":"refs/heads/nightly","pushedAt":"2024-05-27T05:55:14.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"modularbot","name":"modularbot","path":"/modularbot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/116839051?s=80&v=4"},"commit":{"message":"[mojo-lang][mojo-stdlib] Remove all uses of refitem.\n\nThis patch pulls together a few related changes:\n1) Introduce support for address spaces to ref results.\n2) Introduces support for raising functions with ref results.\n3) Switch Reference/*Pointer to use getitem instead of refitem.\n4) Remove usage of automatically_dereference/__mlir_ref__.\n\nThis doesn't remove support for automatically_dereference or\nrefitem, that will be a subsequent patch.\n\nMODULAR_ORIG_COMMIT_REV_ID: b42733d7740ff06acff4cb4fc2198bf8f2ee06d6","shortMessageHtmlLink":"[mojo-lang][mojo-stdlib] Remove all uses of refitem."}},{"before":"d583df6ad187ba44eb476d44022f43f38bfab633","after":"f05badfb600c02e2a1626daeb69945d365deb325","ref":"refs/heads/nightly","pushedAt":"2024-05-27T05:55:11.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"modularbot","name":"modularbot","path":"/modularbot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/116839051?s=80&v=4"},"commit":{"message":"[stdlib] Fix docstring script name in style guide\n\nThe script got renamed and is not a Python script: fix\nthe spelling to avoid contributors.\n\nXref https://github.com/modularml/mojo/pull/2843 too.\n\nMODULAR_ORIG_COMMIT_REV_ID: 62ca3b310a018856fdec86aa4c391c86d896f3cf","shortMessageHtmlLink":"[stdlib] Fix docstring script name in style guide"}},{"before":"49dacb7b927fe230df8a52cffe7075d8db765939","after":"d583df6ad187ba44eb476d44022f43f38bfab633","ref":"refs/heads/nightly","pushedAt":"2024-05-27T05:55:08.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"modularbot","name":"modularbot","path":"/modularbot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/116839051?s=80&v=4"},"commit":{"message":"[stdlib] Add `tempfile` module\n\nThis will contain utilities to work with temporary files and\ndirectories.\n\nMODULAR_ORIG_COMMIT_REV_ID: 3fcf2f8d22fda0b574c11e7accb23981fa30e958","shortMessageHtmlLink":"[stdlib] Add tempfile module"}},{"before":"3f35505931dfd5d5505a8d9274c967ed4c030f7d","after":"49dacb7b927fe230df8a52cffe7075d8db765939","ref":"refs/heads/nightly","pushedAt":"2024-05-27T05:55:04.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"modularbot","name":"modularbot","path":"/modularbot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/116839051?s=80&v=4"},"commit":{"message":"[External] [stdlib] Add the new `Hasher` trait with some unit tests (#40624)\n\n[External] [stdlib] Add the new `Hasher` trait with some unit tests\n\nThis was done in cooperation with @mzaks. We want to introduce the new\nhasher progressively to make it easier to review and flush out the\ncompiler bugs.\n\nNew names will be used to avoid conflicts during the transition.\n\nThe source PR is this one: https://github.com/modularml/mojo/pull/2619\n\nCo-authored-by: Gabriel de Marmiesse \n\nCo-authored-by: Maxim Zaks \nCloses https://github.com/modularml/mojo/pull/2823\nMODULAR_ORIG_COMMIT_REV_ID: 67371ec3b0c3eb886896c2a030567d465d187efa","shortMessageHtmlLink":"[External] [stdlib] Add the new Hasher trait with some unit tests (…"}},{"before":"abfdac1a7e78e72e148cfd5dec319649fa1d1ca8","after":"3f35505931dfd5d5505a8d9274c967ed4c030f7d","ref":"refs/heads/nightly","pushedAt":"2024-05-27T05:54:59.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"modularbot","name":"modularbot","path":"/modularbot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/116839051?s=80&v=4"},"commit":{"message":"[External] [stdlib] Change Tuple.__contains__ to T:EqualityComparable instead of T:ComparableCollectionElement (#40640)\n\n[External] [stdlib] Change Tuple.__contains__ to T:EqualityComparable\ninstead of T:ComparableCollectionElement\n\nHello,\n\n`ComparableCollectionElement` requires many methods unused by\n`Tuple.__contains__`:\n\n*1️⃣`__eq__`, 2️⃣`__ne__`, 3️⃣`__gt__`, 4️⃣`__ge__`, 5️⃣`__lt__`,\n6️⃣`__le__`, `7️⃣__copyinit__`, `8️⃣__moveinit__`*.\n\n \n\n`Tuple.__contains__` only uses 1️⃣`__eq__` and `EqualityComparable`\nrequires 1️⃣`__eq__`, 2️⃣`__ne__`.\n\n \n\nThat way, users can easily create types ready for `Tuple.__contains__`\nif needed, for example:\n```mojo\n@value\nstruct MyStruct(EqualityComparable):\n alias A = MyStruct(True)\n alias B = MyStruct(False)\n var value:Bool\n fn __eq__(self,other:Self)->Bool: return self.value==other.value # ✅1️⃣\n fn __ne__(self,other:Self)->Bool: return not self==other # ✅2️⃣\n\nfn SomeTuple()-> (MyStruct, Int):\n return (MyStruct.A,1)\n\nfn main():\n if MyStruct.A in SomeTuple():\n print(\"A\")\n```\n\nCo-authored-by: rd4com <144297616+rd4com@users.noreply.github.com>\nCloses modularml/mojo#2833\nMODULAR_ORIG_COMMIT_REV_ID: c6afc9b454e0db1ee3935205d5d94648563ed2d2","shortMessageHtmlLink":"[External] [stdlib] Change Tuple.__contains__ to T:EqualityComparable…"}},{"before":"2ce19d34782ee57baf752d9707da778eaeb460d3","after":"abfdac1a7e78e72e148cfd5dec319649fa1d1ca8","ref":"refs/heads/nightly","pushedAt":"2024-05-27T05:54:54.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"modularbot","name":"modularbot","path":"/modularbot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/116839051?s=80&v=4"},"commit":{"message":"[External] [stdlib] implement `bit_ceil` and `bit_floor` (#40487)\n\n[External] [stdlib] implement `bit_ceil` and `bit_floor`\n\nfix #2682\n\nCo-authored-by: Jiexiang Liu <80805665+LJ-9801@users.noreply.github.com>\nCloses modularml/mojo#2736\nMODULAR_ORIG_COMMIT_REV_ID: 3599b7ce4aba5d369ffb7e0fc09d1571dfb53f1e","shortMessageHtmlLink":"[External] [stdlib] implement bit_ceil and bit_floor (#40487)"}},{"before":"728422cff0d260e4929949f6b25488cc10293057","after":"2ce19d34782ee57baf752d9707da778eaeb460d3","ref":"refs/heads/nightly","pushedAt":"2024-05-27T05:54:49.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"modularbot","name":"modularbot","path":"/modularbot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/116839051?s=80&v=4"},"commit":{"message":"[External] [stdlib] Fix atol() when explicitly setting base 2, 8, and 16 (#40634)\n\n[External] [stdlib] Fix atol() when explicitly setting base 2, 8, and 16\n\nFix `atol()` when explicitly setting base 2, 8, and 16.\n\n```\natol(\" 0xff \", 16)\natol(\" 0o12 \", 8)\n```\n\nCo-authored-by: northstreet12 \nCloses modularml/mojo#2650\nMODULAR_ORIG_COMMIT_REV_ID: 1c35383e9a4fe74b60e60be82c9149df611a4ae5","shortMessageHtmlLink":"[External] [stdlib] Fix atol() when explicitly setting base 2, 8, and…"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAEVlKBDgA","startCursor":null,"endCursor":null}},"title":"Activity · modularml/mojo"}