profile
viewpoint
Luke Sneeringer lukesneeringer Google Oak Harbor, WA

lukesneeringer/django-pgfields 67

Django field subclasses for some PostgreSQL types.

lukesneeringer/minecraft-playbook 11

Ansible playbook for installing and configuring Minecraft

lukesneeringer/fauxquests 5

Mock HTTP requests sent with the requests package. For Python 2 or Python 3.

lukesneeringer/ansible 2

Ansible is a radically simple IT automation platform that makes your applications and systems easier to deploy. Avoid writing scripts or custom code to deploy and update your applications— automate in a language that approaches plain English, using SSH, with no agents to install on remote systems.

lukesneeringer/dict-sorted 2

Dictionaries sorted by key or by comparison function. For Python 2 or Python 3.

lukesneeringer/django-jinja 1

Django Middleware for using the Jinja2 templating language

lukesneeringer/eorzea.js 1

JavaScript library for writing tools for Final Fantasy XIV

lukesneeringer/ffxiv-cactpot 1

FFXIV Cactpot Solver

danoscarmike/gitvet 0

Tools for GitHub issue analysis and triage

issue openedgoogleapis/release-please

release-please should increment version in `Cargo.toml`.

release-please seems to update Cargo.lock but not Cargo.toml when revving a release.

Sadly my repo is private, so I can not point you to it, but here is a screenshot:

cargo

Also, the CI checks never kick off for a reason I have not yet determined, but I expect this is not a release-please problem.

created time in a month

issue commentaip-dev/google.aip.dev

Should ListRevisions return NOT_FOUND if no matching resource ever existed?

For List (and assuming proper permissions):

  • If the parent exists, but has no children -> 200 OK with an empty list.
    • This holds regardless of whether the parent ever had any children.
  • If the parent does not exist -> 404 Not Found
jschaf

comment created time in 2 months

issue commentaip-dev/google.aip.dev

When should one use enums, versus oneOf?

Per https://stackoverflow.com/questions/50993815/is-google-protobuf-empty-dangerous-for-backwards-compatibility, I would assume it's not ok (that is, not backwards-compatible) to upgrade Empty to a non-empty message, no?

It's wire compatible, and if you're not using any of the values of it to begin with, there's no need to ever use the Empty type to then have the code incompatibility listed in that stack overflow issue, which is primarily around using it as the top-level method request or response proto.

It is not source compatible for client libraries and the like, though.

bpcreech

comment created time in 2 months

issue commentaldanor/hdf5-rust

Example of reading a fixed string

I figured this out. It turns out the main branch has diverged significantly from the previous release, and my code is correct there.

It would be awesome if this could be released. :)

lukesneeringer

comment created time in 2 months

issue commentdiesel-rs/diesel

Feature: support tables without a primary key

@jamessewell , did you find other workaround? I am also using this library with timeseries data, timescaledb.

CREATE TABLE IF NOT EXISTS "account_traffic" (
    account_id UUID NOT NULL,
    traffic integer NOT NULL DEFAULT '0',
    time timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
    PRIMARY KEY(time)
);

seems it's not right to set the time column as primary key, because the time may be same.

I have the exact same use case. I worked around this by creating the table, immediately dropping the primary key, and adding a new composite primary key. It seemed to trick Diesel. I expect I would have problems if I use the find function (not very far along yet), but I can plan not to do this.

Diggsey

comment created time in 2 months

issue openedaldanor/hdf5-rust

Example of reading a fixed string

I can not for the life of me figure out how to do this, and I have read a decent amount of the source code and tests.

I think it should be:

use hdf5;
use hdf5::types::FixedAscii;

#[derive(Clone, Debug, hdf5::H5Type, PartialEq)]
#[repr(C)]
struct Foo {
  bar: FixedAscii<10>,
}

This gives a compiler error: constant provided when a type was expected.

It would be really nice to have an example.

created time in 2 months

issue commentsgrif/diesel.rs-website

Nit: The diesel logo shows a red fuel can.

Duplicate of #38.

lukesneeringer

comment created time in 2 months

issue closedsgrif/diesel.rs-website

Nit: The diesel logo shows a red fuel can.

Diesel is stored in yellow containers so you can tell them apart from other fuels (red for gas, blue for kerosene, etc.).

In many areas of the world, it is illegal for a fuel station attendant to (re)fill fuel into the wrong-colored container for safety (and interoperability) reasons.

closed time in 2 months

lukesneeringer

issue openedsgrif/diesel.rs-website

Nit: The diesel logo shows a red fuel can.

Diesel is stored in yellow containers so you can tell them apart from other fuels (red for gas, blue for kerosene, etc.).

In most areas of the world, it is illegal for a fuel station attendant to (re)fill fuel into the wrong-colored container for safety reasons.

created time in 2 months

push eventaip-dev/google.aip.dev

Luke Sneeringer

commit sha c8992d8d66beb4501b22c967680545eae1f433a3

AIP-2510: Reverse guidance on project IDs and numbers. (#790)

view details

push time in 2 months

delete branch aip-dev/google.aip.dev

delete branch : aip-2510-change

delete time in 2 months

push eventaip-dev/google.aip.dev

Luke Sneeringer

commit sha a3f3adf3b3c31937109399295ce3d8fed2fe2872

AIP-182: External software dependencies (#792) This is a new AIP (gasp!) around services that expose particular versions of third-party software and how to handle end-of-life for such software.

view details

Luke Sneeringer

commit sha cb8949197bff9184dbd3962a8301436b866a44c9

Merge branch 'master' into aip-2510-change

view details

push time in 2 months

PullRequestReviewEvent

Pull request review commentaip-dev/google.aip.dev

AIP-2510: Reverse guidance on project IDs and numbers.

 different services use different project identifiers. ## Guidance  **TL;DR:** The project number is the canonical identifier, and the project ID-is an [alias][], and behaves as such. Additionally, third-party services are-unable to _accept_ project IDs.+is an [alias][]; however, unlike normal aliases, it **may** be returned if it

What I actually meant was third-party services running on our infra and using projects, which are barred from using project IDs at all for privacy reasons.

lukesneeringer

comment created time in 2 months

push eventaip-dev/google.aip.dev

Luke Sneeringer

commit sha a3f3adf3b3c31937109399295ce3d8fed2fe2872

AIP-182: External software dependencies (#792) This is a new AIP (gasp!) around services that expose particular versions of third-party software and how to handle end-of-life for such software.

view details

push time in 2 months

delete branch aip-dev/google.aip.dev

delete branch : aip-182

delete time in 2 months

PR merged aip-dev/google.aip.dev

AIP-182: External software dependencies cla: yes

This is a new AIP (gasp!) around services that expose particular versions of third-party software and how to handle end-of-life for such software.

+60 -0

0 comment

1 changed file

lukesneeringer

pr closed time in 2 months

push eventaip-dev/google.aip.dev

Noah Dietz

commit sha 4971fdccec5ecc5b2fc6d29eb34e76e6e6ec6135

AIP-4234: Common Service Client Mix-ins (#694)

view details

Richard Frankel

commit sha 784da594567edd4e5ffbd00959edc02e54d28d41

[AoG AIPs] Formally approve AoG AIPs that are still valid and have not been debated in quite a while. (#796)

view details

Luke Sneeringer

commit sha 976381d4b3fde521c09b6c8a3a404968e942f00d

Merge branch 'master' into aip-182

view details

push time in 2 months

push eventlukesneeringer/unix-ts

Luke Sneeringer

commit sha 1a2c7db39cbf25bdf99eca0e66c915d45c0ac31f

chore: Clean up unix-ts-macros metadata. (#5)

view details

push time in 3 months

delete branch lukesneeringer/unix-ts

delete branch : fix-macro-cargo

delete time in 3 months

create barnchlukesneeringer/unix-ts

branch : fix-macro-cargo

created branch time in 3 months

push eventlukesneeringer/unix-ts

Luke Sneeringer

commit sha 39faec9d3183a63c8f1886de92b4e3d751195011

chore: Remove wildcard dependencies. (#4)

view details

push time in 3 months

delete branch lukesneeringer/unix-ts

delete branch : fix-cargo

delete time in 3 months

PR opened lukesneeringer/unix-ts

chore: Remove wildcard dependencies.
+3 -3

0 comment

1 changed file

pr created time in 3 months

create barnchlukesneeringer/unix-ts

branch : fix-cargo

created branch time in 3 months

push eventlukesneeringer/unix-ts

Luke Sneeringer

commit sha cb9f88cc5c1f96b31e61b0a40ff7de9fe4eb066c

chore: Test all crates, prevent test crate from being published. (#3)

view details

push time in 3 months

more