labofsahil/github-event-dataset-2012 huggingface dataset:
Remember that OSL knows what type the shader is requesting, but not what type the actual attribute in the renderer is.

The old way was:

    OSL: 
         I want attribute "foo" placed in this "float": xxx, tell me if it succeeds or not
    Renderer:
         look up "foo", if the type doesn't match (float, in this case), return false
         copy foo into xxx
         return true

The new way is:
    OSL: 
         I want attribute "foo" placed in this "float": xxx, tell me if it succeeds or not
    Renderer:
        look up "foo" regardless of type, fail if no such thing is found
        return convert_value (xxx, float, foo, foo's type)

Note that convert_value is supplied by the renderer, and returns false if it can't convert from foo's type to the requested type.

I think what you are requesting is:

    OSL:
         Allocate space big enough to handle foo (the bigger of xxx and anything that can be converted to an xxx)
         I want attribute "foo" placed in this temp, which has s size allocated, and tell me what type you put there and if it succeeds or not
    Renderer:
        look up "foo", if size(foo) <= s, then copy it to temp and return true, otherwise fail
    OSL:
        if the lookup failed (either not found, or "too big"), fail
        Is the type of foo convertable to the type of xxx?  If so, convert (or copy) and and return true, otherwise fail

That looks a lot more complicated to me, and it requires extra copies (in the case of both failure and success), whereas my technique always copies into the final result, no temporaries or allocation.
а флуд тут при чем? Ты отправляешь на сервер только одну команду. Это ответы приходят по количеству участников. Зато теперь ништячно можно видеть тех, кто away =)
This default should not live in the initializer. It should be registered in https://github.com/gregbell/active_admin/blob/master/lib/active_admin/application.rb#L223
We should break this up into multiple discrete functions.
great points both.  totally right.  My first incantation of this actually had the Product and ProductVersion looked up in the mgmt command.  But then I was torn about it and changed my mind.  But your reasoning makes perfect sense.  Thanks.  Fixed
Please make sure that any new classes are defined in their own .cs files and not within another classes .cs file.
No i won't ;). Just realized its final
Why Math.floor(0)? isn't that just 0?
I enjoy coffee and I enjoy beer; I dont know that I'd ever mix 'em and chug... I guess that's all those fancy beer power drinks they're trying to sell now
Yeah, I just based this on the output of `iptables-save` on Ubuntu, which had `COMMIT` after each table's rules. Seems to work there.
Is it possible to simply suppress generation of `resource_uri`? I find it better from the design perspective? Can you check the code which generates `resource_uri` and see if there is some easy way to suppress that?
We could change this to do a lookup on the data array.

```php
$data = $this->sourcePackage->getData();

return isset($data['require-dev'][$destPackage->getName()]);
```

Then, we do not need to carry around the boolean.
-1 on `simple_tag`.  I'd much rather see:

    if arg.find("=") is -1:
        arg = "layout=%s" % arg
    args = urlparse.parse_qs(arg)
    return value.backend.embed(value, **args)

That supports both of these syntaxes inside the template:

    {{ article.video|render_video:"huge" }}
    {{ article.video|render_video:"layout=big&width=120" }}
Actually I'm wondering if there's a better way to structure the assets so that only the css files are included.  If you include the entire closure directory, you get a bunch of crap files in your assets folder (test html files, csproj files, readme's, etc.).

You actually want to add closure/goog/css (and possibly closure/css/inlay).  The js files aren't needed because we're appending them to application.js.  You don't even need the images in closure/goog/images because the css files reference the online cdn versions of the images.

When I was manually integrating closure, I just copied closure/googl/css to my vendor/assets.
Use `{}` for empty dicts
zIndex is user defined layout property. vzIndex is the replacement for the old zIndex property
pull out into consistent format constants that are available at the top of the file and/or a centralized constants type
Do we want to open ssh to everything. Especially if this is geared to beginners?
guess we should leave checks for the `BlankLineBeforeReturn`
Done, was lazy in writing enough class comments :D
can you separate the pps extension into another extension? 
I imagine some internal teams will want this sooner or later.
Can you move the validation of both messages and settings into a common function for both customAsk and standardAsk?
For this case, we decided to put the JNEXT object in its own file because it is shared by index.js and connectionEvents.js.
It looks like ui.contextmenu does the same thing as well. I'm not sure what to replace this with since blackberry.event is the only way to add events from the client webview. An alternative would be to directly require the event/client.js file but that breaks the ext conventions by using mustache to pull them in as plugins.