Lukas Hermann

Results 42 issues of Lukas Hermann

### Review Mojo's priorities - [X] I have read the [roadmap and priorities](https://docs.modular.com/mojo/roadmap.html#overall-priorities) and I believe this request falls within the priorities. ### What is your request? ```shell Right now...

enhancement

Similar to #182, when working with the SIMD types, it would be nice to have an easy conversion from something like `UI32` to `SIMD[DType.ui8, 4]`. Aliases like `UI8x4` might make...

enhancement

### Review Mojo's priorities - [X] I have read the [roadmap and priorities](https://docs.modular.com/mojo/roadmap.html#overall-priorities) and I believe this request falls within the priorities. ### What is your request? ```shell I believe...

enhancement

A few DType methods would be nice such as: * `min_number[T: DType]() -> Int` * `max_number[T: DType]() -> Int` * `bits[T: DType]() -> Int` * `infinity[T: DType]() -> SIMD[T, 1]`...

enhancement

The other night I was trying to follow the [Implement DNS in a weekend](https://implement-dns.wizardzines.com/) course in Mojo. In the course they use `struct.pack` to make the byte array for the...

enhancement

### Bug description ```shell Indentation error currently does not mention "incorrect indentation." ``` ### Steps to reproduce ```shell fn a() -> Bool: let c = False return c # outputs...

bug

### Review Mojo's priorities - [X] I have read the [roadmap and priorities](https://docs.modular.com/mojo/roadmap.html#overall-priorities) and I believe this request falls within the priorities. ### What is your request? ```shell Add a...

enhancement

The `View` API [only allows for a `scaleFactor` for static images](https://vega.github.io/vega/docs/api/view/#view_toCanvas). However sometimes rendering at a larger logical size in the browser is useful. Currently in the renderer, if the...

feature-request

### Bug description Currently, traits cannot contain parameters. One way to work around that problem is to add parameters to the methods within a trait. However, it seems lifetimes cause...

bug
mojo-lang
mojo

This PR adds a wrapper around the [LLVM family of arithmetic operations with overflow](https://llvm.org/docs/LangRef.html#arithmetic-with-overflow-intrinsics). This low level primitive opens up the door for higher level checked arithmetic operations that return...