Alexander Momchilov

Results 100 issues of Alexander Momchilov
trafficstars

https://github.com/careercup/CtCI-6th-Edition-Swift/blob/0dbf24e622df4ef8dbac383711c3b8629a87d477/Ch%202.%20Linked%20Lists/Ch%202.%20Linked%20Lists.playground/Pages/2.1%20Remove%20Duplicates.xcplaygroundpage/Contents.swift#L10-L11 Could be re-written as: ``` guard set.insert($1).inserted else { return $0 } ``` It's more canonical, and makes the value only need to get hashed once.

### Motivation On `shop-server`, we have an `abstract!` base class that derives from `FrozenRecord::Base`. Currently, this class doesn't have an RBI file generated, because the FrozenRecord Tapioca compiler is explicitly...

enhancement

I nuked my local repo, re-cloned it, and ran `make`: ```shell make $ wget -q https://github.com/antirez/redis/archive/6.2.tar.gz -O tmp/redis-6.2.tar.gz $ tar xf tmp/redis-6.2.tar.gz -C /Users/alex/src/github.com/amomchilov/redis-rb/tmp/cache $ make cd src && /Library/Developer/CommandLineTools/usr/bin/make...

Is a initialize multiple `Decodable` objects from a YAML file which contains multiple documents? It seems that the `Yams.load_all` API only returns `[Any]`, which doesn't let you leverage the whole...

Not really an issue/bug, but I'm just trying to gather some context. In my code, I had an assertion like so: ```ruby if page_info.fetch("hasNextPage") == page_info.fetch("endCursor").nil? raise "If 'hasNextPage' is...

Here's the corresponding change in ESP Home: https://github.com/esphome/esphome/pull/3897 Here's the corresponding change in Home Assistant to consume this value: https://github.com/home-assistant/core/pull/80104

And added related tests, improved Equatable tests, and fixed up some minor grammar mistakes

[Two-case `switch` statements](https://github.com/cockscomb/UTIKit#conformance) aren't nice when there's no expectation of future cases. I just want do a simple conformance check which results in a `Bool`, just like `UTTypeConformsTo(_:_:)`, but without...

...and `#size` and `#length`, to match `Hash`. Since I added `Forwardable` anyway, we can use it to replace the manual definition of `#values`

It looks like previously, any kind of `Enumerable` was allowed as an argument to `accepts:`, but it has since been constrained so that any non-`Proc` values are transformed into an...