Craig Silverstein

Results 12 issues of Craig Silverstein

https://github.com/browscap/browscap/wiki/Specification:-Lookup-Algorithm says: > If there are multiple matching patterns the longest pattern > should be used to identify the browser. If there are multiple > patterns of the longest length...

Before, it was only looking at Device_Code_Name. But Device_Name is a separate field that sometimes has a different value than Device_Code_Name. This change makes it so we prefer the former...

Verified via `git grep extractBrowser` returning no results after this change.

I'm not sure why this wasn't being parsed out before, hopefully I'm not missing something.

I don't remember the exact query I have, but certainly plenty of query fields end up as interfaces in Go. In some, maybe all, such cases we allow the `pointer:...

bug

My thought here is that for every function `Myquery` that genqlient produces code for, it also produces a function `MockMyquery`, that can be used in tests. But we do away...

enhancement

We have users who want to customize what the prompt looks like, to include things like the git repo they are running in. Test plan: I ran: ``` % go...

Right now, `-w` (write-decls-and-statements) is only used when gomacro is called with file arguments. But it might be useful to save a record of what was run for interactive mode...

This allows users to have a longer line-length limit for code than for natural-language text. One example is a project that wants "most" code to fit in 80 columns, but...

If you have a struct ``` struct { a, b []int } ``` and you set `mystruct.a = []int{1,2,3, ...., 100000}` and `mystruct.b = mystruct.a`, then the memory taken by...