text:
Future of this integration

I'm switching away from ADT to another alarm company which has native support for Home Assistant, but I will continue to support this integration as long as I'm able. I'm also willing to transfer ownership of this repo, take on contributors, and of course accept pull requests.
To support future breakfix as ADT changes their website, I need to develop tests which can be used with page code contributed by myself and others without relying on a login to the ADT Portal.  This is a top priority before I cancel monitoring service.

I have implemented initial support into the tests branch for automated tests using mocha, chai, and nock which have no dependency on the ADT Pulse portal. Along with that, I've added support for Travis CI and Coveralls.io coverage reports. I'm continuing to add tests.

I have implemented initial support into the tests branch for automated tests using mocha, chai, and nock which have no dependency on the ADT Pulse portal. Along with that, I've added support for Travis CI and Coveralls.io coverage reports. I'm continuing to add tests.

Completed

Tests branch has been merged into 2.3.1 branch and pushed to Docker Hub for testing.
New Github organization created as future home which should deprecate other forks and repositories. Contributors welcome to the join the new organization.
New Docker organization created as future home for Docker images.

To Do

[ ] New Home Assistant add-on repository which lives under new Github organization and pulls images from new Docker Hub organization
[ ] Complete testing 2.3.1 for release
[ ] Update all links and references in README for new organizations
[ ] Release 2.3.1
[ ] Transfer repository to new Github organization
[ ] Configure Docker Hub automated build rules
[ ] Archive existing add-on repository
[ ] Recommend forks archive and point to new organization
[ ] Post new add-on repository to Home Assistant thread

Completed

Tests branch has been merged into 2.3.1 branch and pushed to Docker Hub for testing.
New Github organization created as future home which should deprecate other forks and repositories. Contributors welcome to the join the new organization.
New Docker organization created as future home for Docker images.

To Do

[ ] New Home Assistant add-on repository which lives under new Github organization and pulls images from new Docker Hub organization
[ ] Complete testing 2.3.1 for release
[ ] Update all links and references in README for new organizations
[ ] Release 2.3.1
[ ] Transfer repository to new Github organization
[ ] Configure Docker Hub automated build rules
[ ] Archive existing add-on repository
[ ] Recommend forks archive and point to new organization
[ ] Post new add-on repository to Home Assistant thread

I'll be defunct-ing my repo in favor of this one. I don't think we need the split going forward.

I'll be defunct-ing my repo in favor of this one. I don't think we need the split going forward.

Sounds good. I'm finally getting around to implementing what we discussed previously. This repo and the add-on repository will be transferred to a new organization. I'm hoping we can get the word out to our collective install base to move over to the new add-on repository which will pull pre-built images rather than building them locally.
I hope this move will make sure the integration has a future long after I/we are no longer ADT customers. Even if there are no other contributors, I can test changes without access to Pulse portal.

Sounds good. I'm finally getting around to implementing what we discussed previously. This repo and the add-on repository will be transferred to a new organization. I'm hoping we can get the word out to our collective install base to move over to the new add-on repository which will pull pre-built images rather than building them locally.
I hope this move will make sure the integration has a future long after I/we are no longer ADT customers. Even if there are no other contributors, I can test changes without access to Pulse portal.

The migration is complete. If you are using my original add-on repo, it was transferred to the new organization so the change should be seamless. You may need to "reload" repositories in Home Assistant Supervisor for the new name to show up. If you are using another add-on repository, you should remove it and add https://github.com/adt-pulse-mqtt/hassio to see the new version, v2.3.3.
Once done, the add-on images will be pulled from the new Docker Organization at adtpulsemqtt/adt-pulse-mqtt-{arch}. They are no longer locally built.

Ok so I was using the haruny distro for this.  To "migrate" over all I should have to do is add the repo  https://github.com/adt-pulse-mqtt/hassio and then uninstall the haruny one and install the new one? Afte that it all should work normally?

Yes, correct. There should be no breaking changes between the two versions.

Even tho I see you aren't using ADT anymore, I'd like to stay on the most current distro.  I notices there was a difference when I clicked on the ADT Pulse MQTT link and it brought me to one that said DEFUNCT.

authors: digitalcraig haruny robkjr

repo: digitalcraig/adt-pulse-mqtt


text:
Fix mattermost status alert

Describe the bug
The step mattermost status alert is causing an issue
To Reproduce
Steps to reproduce the behavior:

Trigger this notify command via some workflow
Check error log: https://app.circleci.com/pipelines/github/digitalfabrik/entitlementcard/5434/workflows/bc3b2976-7f33-4027-8e2a-c256758445d6/jobs/40064

Expected behavior
Notify commands runs successfully.

duplicate #1453

source: gharchive/issue

repo: digitalfabrik/entitlementcard

license: MIT

license_type: permissive

license_source: github-api


text:
[7.11.24] Add contact list view

Short description

Add list view for the new section "Contacts"
Proposed changes

Add list views for contacts

List view for not archived contacts
List view for archived contacts

Add option to archive, delete, restore and copy contacts
Add test for these four options

Side effects

I think none?
Resolved issues

Fixes: #2952

Pull Request Review Guidelines

Do we need the "copy" functionality? I see the copy option is drawn in the design but we've never talked about it so far I remember 🤔 Of course it doesn't harm anything, but I'm asking for clarifying.

I asked @osmers, and the copy-functionality is still desired as it might make it easier for municipalities to create contacts.

Currently URLs of websites are shown in the column "Phone number". Should we add another column for "Website" although this is not picted in the design?

Oh, good point! I added a website column and I'm showing the phone_number now too :)

I asked @osmers, and the copy-functionality is still desired as it might make it easier for municipalities to create contacts.

Or rather - I'm sure that if we don't add it, we'll have a municipality asking for it and since I don't see any harm in it (please correct me, if I'm overlooking something), I don't see why we shouldn't add it :)

Oh, and it looks like pagination is not working. Could you please add some pagination code to contact_list_view?
To test, just duplicate contacts until you have more than 10. If you then select max 10 entries per page, the paginator should actually limit the number of contacts to that and show two pages total.

I think it would make sense if we would refactor all the other views at some point too, so consistency would not be a problem here imo. But I think it would be ok to either refactor the template in this pr or in another pr :)

@david-venhoff Thank you for all your feedback! I think it should be all applied now (+ a few more changes)

Also looks like the archived contact list is missing the website column. Maybe it would make sense to deduplicate contact_list and contact_list_archived?

Applied :)

@david-venhoff I think this PR is ready for review again. A bit of back information:

I added the check that pois can't be deleted if a contact uses it
I deactivated the buttons to delete a poi
Therefore I had to adapt the test for deleting a poi. As it's not possible to delete a poi anymore that is in use, no ProtectedError will be thrown anymore. Now I'm only checking for a redirect (status 302). However I'm quite unsure, if this is a good practice - I have a feeling it's not. What do you think?

@MizukiTemma could you please check if you think that #3010 is also already resolved by this PR or if you had something different in mind when you created the issue? :)

@JoeyStk Thank you so much for all the work, this is solving #3010 too 😸
One thing to fix is that the success message "Ort "XXX" wurde erfolgreich archiviert" is shown when only a POI which is referenced by a contact is selected and bulk archived.
The POI is anyway not deleted, so I'm fine if this will be fixed in another issue.

source: gharchive/pull-request

authors: JoeyStk MizukiTemma david-venhoff osmers

repo: digitalfabrik/integreat-cms


text:
Create Neu_SK.txt

nichts besonderes

ein beitrag

repo: digitalhumanists/funwithvcs


text:
Novo DB com uso de Bucket para arquivos

Fix #42

Oops, branch errada

Vou deixar pra fechar isso com o PR da entrega, se não fica com o ícone de problema

repo: digitalse-bomb/back


text:
Persona Simone: Text is getting scrambled faster over time

Problem: After a longer session with many different page interactions, the text is scrambled at a higher speed. This is probably because the script re-injection logic on tab reload is triggered too often, leading to multiple injections of the script.
Expected behavior: The text scrambling speed remains constant.

Could not reproduce this so far.


text:
force update is not being triggered

4afd5060

other users that have old backend and don't get ForceUpdate are on plugin version 2.0.319 or lower. in this version the local settings had no minimal backend version. it was added only in 2.0320.
github
and force update does not return force update for the plugin

repo: digma-ai/digma-intellij-plugin


text:
How do i handle challenge_required into mobile app from my nodejs api ?

hii... there. i got this error when i login from mobile app to nodejs api. all i need to solve it with my mobile app.. for example resolve challenge from verification code.
challenge:
api_path: "/challenge/4203528490/iasH4rgLKv/"
hide_webview_header: true
lock: true
logout: false
native_flow: true
url: "https://i.instagram.com/challenge/4203528490/iasH4rgLKv/"
proto: Object
error_type: "checkpoint_challenge_required"
message: "challenge_required"
status: "fail"

See https://github.com/dilame/instagram-private-api/blob/master/examples/checkpoint.example.ts

yes i know it... but my question is what if i want this put it on my mobile app? for example i have api for login in nodejs and i call this api from my mobile app. so when i got this error. i just wanted to handle through mobile app to nodejs api.. means verify code with other api same as google login

issue solved ... instagram send same OTP.. pass it on exception.

authors: Nerixyz rahuljograna

repo: dilame/instagram-private-api


text:
Add EntitySubnodeDetailSubscreen

Opening for feedback.
@ctsims This no longer crashes, but after you confirm on the detail screen, it brings up an empty menu screen instead of going back home - the command should be null/root, but it's still m0. I'm having a pretty difficult time debugging the session changes, am curious if you see anything obviously wrong here. If not, I'll dig more into sessions.

Debugging this is low priority, given that ICDS is the only project using this feature. Closing for the time being.

repo: dimagi/commcare

license_source: bigquery


text:
Update Langchain when it supports OpenAI's structured output endpoint

Once this PR that introduces OpenAI's new structured output endpoint in Langchain is merged, we should update langchain to utilize that. Also as part of upgrading langchain, we should call .with_structured_output with the method parameter set to "json_schema". Not 100% sure if this will error out when we're using other providers or if it will default to something else.

https://github.com/langchain-ai/langchain/pull/25123#event-13794046495 is merged

repo: dimagi/open-chat-studio


text:
🛑 Fullhauz is down

In 31c650b, Fullhauz (https://fullhauz.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Fullhauz is back up in 8bcbd1b.

repo: dimitrovleonardo/accesco


text:
Translatable not working together with barryvdh/laravel-debugbar

Hi guys,
First of all: great job on this package, works great!
I was trying to create a profile of the app I created, using barryvdh/laravel-debugbar. That one doesn't seem to work, because this package redirects all urls to /locale/*.
ex: en/_debugbar/assets/javascript
Is there anything I can do about that, so my debug-files won't throw a 404.
Working in L5.3, latest versions of both packages.
Thanks in advance.

Hi @janboden
I don't see how this package can be related to the 404 issue, since there is no http involved at all.
Also I haven't used debugbar so unfortunately I can't help you, sorry.

I've the same problem, it happens when using routes like /{locale} the whole app blanks and debugbar isn't working, would you please put an example of routing for your great package?

There are other packages to handle routing. For example: https://github.com/mcamara/laravel-localization

authors: dimsav hanigamal janboden

repo: dimsav/laravel-translatable

license: mit


text:
Custom exception responses

app('Dingo\Api\Exception\Handler')->register(function (Symfony\Component\HttpKernel\Exception\UnauthorizedHttpException $exception) {
    return Response::make(['error' => 'Hey, what do you think you are doing!?'], 401);
});

I registered a custom exception handler like this, but is there maybe a way to do the same but not using facades?
Thank you

I just discovered this package 3 days ago and I had the same question. I wanted to change the message of ModelNotFoundException
Here is what I came up with:

Create another Handler in app\Exceptions, lets call is ApiHandler, and override the render method:

<?php

namespace App\Exceptions;

use Throwable;
use Dingo\Api\Exception\Handler as ExceptionHandler;
use Illuminate\Database\Eloquent\ModelNotFoundException;
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;

class ApiHandler extends ExceptionHandler
{
    public function render($request, Throwable $e)
    {
        // Customization here...
        if ($e instanceof ModelNotFoundException) {
            $e = new NotFoundHttpException('No resource found', $e);
        }
        return $this->handle($e);
    }
}

Create a new service provider, lets call it ApiServiceProvider, that extends Dingo\Api\Provider\DingoServiceProvider, and override the registerExceptionHandler method to use our custom exception handler ApiHandler:

<?php

namespace App\Providers;

use Dingo\Api\Provider\DingoServiceProvider;
use App\Exceptions\ApiHandler as ExceptionHandler;

class ApiServiceProvider extends DingoServiceProvider
{
    /**
     * Register the exception handler.
     *
     * @return void
     */
    protected function registerExceptionHandler()
    {
        $this->app->singleton('api.exception', function ($app) {
            return new ExceptionHandler($app['Illuminate\Contracts\Debug\ExceptionHandler'], $this->config('errorFormat'), $this->config('debug'));
        });
    }
}

Register the service provider in config/app.php:

         /*
         * Application Service Providers...
         */
        App\Providers\ApiServiceProvider::class,
        App\Providers\AppServiceProvider::class,

I hope this helps.

authors: ZaidBarghouthi lucavallin

repo: dingo/api


text:
BindingResolutionException Target [Dingo\Api\Contract\Routing\Adapter] is not instantiable while building [Dingo\Api\Routing\Router].

I'm using Lumen 5.4 with the latest Dingo.
I have followed the installation procedure and also register the class to bootstrap/app.php
$app->register(Dingo\Api\Provider\LumenServiceProvider::class);

But when i set route below it returns error

BindingResolutionException Target [Dingo\Api\Contract\Routing\Adapter] is not instantiable while building [Dingo\Api\Routing\Router].

$api = app('Dingo\Api\Routing\Router');

$api->version('v1', function ($api) {

    $api->get('test', function () {
        return 'It is ok';
    });

});

Thanks.

Same issue for me in Laravel 5.4

Same issue in Lumen 5.8 and Dingo\Api-2.0.0-beta1, how to solve it? Thank you!

authors: fatkhanfauzi iredmedia lieroes


text:
lumen 'php artisan optimize'

Results in this error:
php artisan optimize
PHP Fatal error:  Uncaught exception 'Illuminate\Contracts\Container\BindingResolutionException' with message 'Unresolvable dependency resolving [Parameter #1 [ <required> array $format ]] in class Dingo\Api\Exception\Handler' in /home/vagrant/Code/leaderbird.co/api/vendor/illuminate/container/Container.php:828
Stack trace:
#0 /home/vagrant/Code/leaderbird.co/api/vendor/illuminate/container/Container.php(803): Illuminate\Container\Container->resolveNonClass(Object(ReflectionParameter))
#1 /home/vagrant/Code/leaderbird.co/api/vendor/illuminate/container/Container.php(776): Illuminate\Container\Container->getDependencies(Array, Array)
#2 /home/vagrant/Code/leaderbird.co/api/vendor/illuminate/container/Container.php(631): Illuminate\Container\Container->build('App\\Exceptions\\...', Array)
#3 /home/vagrant/Code/leaderbird.co/api/vendor/laravel/lumen-framework/src/Application.php(447): Illuminate\Container\Container->make('App\\Exceptions\\...', Array)
#4 /home/vagrant/Code/leaderbird.co/api/vendor/illuminate/container/Container.p in /home/vagrant/Code/leaderbird.co/api/vendor/illuminate/container/Container.php on line 828

Fatal error: Uncaught exception 'Illuminate\Contracts\Container\BindingResolutionException' with message 'Unresolvable dependency resolving [Parameter #1 [ <required> array $format ]] in class Dingo\Api\Exception\Handler' in /home/vagrant/Code/leaderbird.co/api/vendor/illuminate/container/Container.php on line 828

Illuminate\Contracts\Container\BindingResolutionException: Unresolvable dependency resolving [Parameter #1 [ <required> array $format ]] in class Dingo\Api\Exception\Handler in /home/vagrant/Code/leaderbird.co/api/vendor/illuminate/container/Container.php on line 828

Call Stack:
    1.2331   11428768   1. Laravel\Lumen\Application->Laravel\Lumen\{closure}() /home/vagrant/Code/leaderbird.co/api/vendor/laravel/lumen-framework/src/Application.php:0
    1.2331   11428920   2. Laravel\Lumen\Application->handleUncaughtException() /home/vagrant/Code/leaderbird.co/api/vendor/laravel/lumen-framework/src/Application.php:341
    1.2331   11428968   3. Laravel\Lumen\Application->make() /home/vagrant/Code/leaderbird.co/api/vendor/laravel/lumen-framework/src/Application.php:397
    1.2331   11429104   4. Illuminate\Container\Container->make() /home/vagrant/Code/leaderbird.co/api/vendor/laravel/lumen-framework/src/Application.php:447
    1.2331   11429104   5. Illuminate\Container\Container->build() /home/vagrant/Code/leaderbird.co/api/vendor/illuminate/container/Container.php:631
    1.2331   11429104   6. Illuminate\Container\Container->Illuminate\Container\{closure}() /home/vagrant/Code/leaderbird.co/api/vendor/illuminate/container/Container.php:738
    1.2331   11429152   7. Laravel\Lumen\Application->make() /home/vagrant/Code/leaderbird.co/api/vendor/illuminate/container/Container.php:220
    1.2331   11429152   8. Illuminate\Container\Container->make() /home/vagrant/Code/leaderbird.co/api/vendor/laravel/lumen-framework/src/Application.php:447
    1.2331   11429152   9. Illuminate\Container\Container->build() /home/vagrant/Code/leaderbird.co/api/vendor/illuminate/container/Container.php:631
    1.2332   11431184  10. Illuminate\Container\Container->getDependencies() /home/vagrant/Code/leaderbird.co/api/vendor/illuminate/container/Container.php:776
    1.2332   11432064  11. Illuminate\Container\Container->resolveNonClass() /home/vagrant/Code/leaderbird.co/api/vendor/illuminate/container/Container.php:803

PHP Fatal error:  Uncaught exception 'Illuminate\Contracts\Container\BindingResolutionException' with message 'Unresolvable dependency resolving [Parameter #1 [ <required> array $format ]] in class Dingo\Api\Exception\Handler' in /home/vagrant/Code/leaderbird.co/api/vendor/illuminate/container/Container.php:828
Stack trace:
#0 /home/vagrant/Code/leaderbird.co/api/vendor/illuminate/container/Container.php(803): Illuminate\Container\Container->resolveNonClass(Object(ReflectionParameter))
#1 /home/vagrant/Code/leaderbird.co/api/vendor/illuminate/container/Container.php(776): Illuminate\Container\Container->getDependencies(Array, Array)
#2 /home/vagrant/Code/leaderbird.co/api/vendor/illuminate/container/Container.php(631): Illuminate\Container\Container->build('App\\Exceptions\\...', Array)
#3 /home/vagrant/Code/leaderbird.co/api/vendor/laravel/lumen-framework/src/Application.php(447): Illuminate\Container\Container->make('App\\Exceptions\\...', Array)
#4 /home/vagrant/Code/leaderbird.co/api/vendor/illuminate/container/Container.p in /home/vagrant/Code/leaderbird.co/api/vendor/illuminate/container/Container.php on line 828

Fatal error: Uncaught exception 'Illuminate\Contracts\Container\BindingResolutionException' with message 'Unresolvable dependency resolving [Parameter #1 [ <required> array $format ]] in class Dingo\Api\Exception\Handler' in /home/vagrant/Code/leaderbird.co/api/vendor/illuminate/container/Container.php on line 828

Illuminate\Contracts\Container\BindingResolutionException: Unresolvable dependency resolving [Parameter #1 [ <required> array $format ]] in class Dingo\Api\Exception\Handler in /home/vagrant/Code/leaderbird.co/api/vendor/illuminate/container/Container.php on line 828

Call Stack:
    1.2374   11458320   1. Laravel\Lumen\Application->Laravel\Lumen\{closure}() /home/vagrant/Code/leaderbird.co/api/vendor/laravel/lumen-framework/src/Application.php:0
    1.2420   11493912   2. Laravel\Lumen\Application->handleUncaughtException() /home/vagrant/Code/leaderbird.co/api/vendor/laravel/lumen-framework/src/Application.php:348
    1.2420   11493960   3. Laravel\Lumen\Application->make() /home/vagrant/Code/leaderbird.co/api/vendor/laravel/lumen-framework/src/Application.php:397
    1.2420   11494096   4. Illuminate\Container\Container->make() /home/vagrant/Code/leaderbird.co/api/vendor/laravel/lumen-framework/src/Application.php:447
    1.2420   11494096   5. Illuminate\Container\Container->build() /home/vagrant/Code/leaderbird.co/api/vendor/illuminate/container/Container.php:631
    1.2420   11494096   6. Illuminate\Container\Container->Illuminate\Container\{closure}() /home/vagrant/Code/leaderbird.co/api/vendor/illuminate/container/Container.php:738
    1.2420   11494144   7. Laravel\Lumen\Application->make() /home/vagrant/Code/leaderbird.co/api/vendor/illuminate/container/Container.php:220
    1.2420   11494144   8. Illuminate\Container\Container->make() /home/vagrant/Code/leaderbird.co/api/vendor/laravel/lumen-framework/src/Application.php:447
    1.2420   11494144   9. Illuminate\Container\Container->build() /home/vagrant/Code/leaderbird.co/api/vendor/illuminate/container/Container.php:631
    1.2420   11496176  10. Illuminate\Container\Container->getDependencies() /home/vagrant/Code/leaderbird.co/api/vendor/illuminate/container/Container.php:776
    1.2421   11497056  11. Illuminate\Container\Container->resolveNonClass() /home/vagrant/Code/leaderbird.co/api/vendor/illuminate/container/Container.php:803```

Lumen has an optimize command?
Anyhow, what version is Dingo on? Have you upgraded recently?

According to my composer.lock:
            "version": "dev-master",
            "source": {
                "type": "git",
                "url": "https://github.com/dingo/api.git",
                "reference": "b36db17c7294e44e6ce7039952ca8f8d57caab37"
            },```

That's quite an old commit. Please update.


text:
一个吸顶的问题

吸顶的时候直接往下移遮盖住了内容，调过吸顶容器高度以及stickyTop 都不行

吸顶的时候直接往下移遮盖住了内容，调过吸顶容器高度以及stickyTop 都不行


text:
Remove IFrameElement border on web.

I've dug through the docs and code and can't seem to find a way to remove the border from the IFrame used in the web version, when I was embedding the frame myself I was able to set the IFrameElement.style.border property to none to remove the frame, is there any way to do this?

I just added a line of code to web_browser library.
file : web_browser_impl_browser.dart
class WebBrowserState extends State {
Widget? _builtWidget;
html.IFrameElement? _element;
bool _didUpdate = true;
@override
Widget build(BuildContext context) {
final size = MediaQuery
.of(context)
.size;
if (_builtWidget == null) {
// Construct iframe
_element = html.IFrameElement();
_element!.style.backgroundColor = 'white';
_element!.style.border = 'none';
...
}

UP any better solution ?

If all you need is the border gone, checkout my PR, I'm still not really sure why it wasn't just merged.

authors: artificerchris rjacwebagency tjholic


text:
Connection from LED

Hello, according to the source code, you read the LED signal from A4/A5. On the wiring diagram, these pins are not shown/connected. Therefore my question: How exactly do you retrieve the basic color signal for the LED from the NAZA?

Super job! Bravo et merci pour le partage d'info :+1:
J'ai juste un peu de la peine avoir ton schema de connexion.
Pourrais-tu éclairer ma lanterne?
Je ne pige pas comment tu connecte la LED à l'arduino, en in et out.
D'avance un grand merci et encore bravo pour le boulot!

repo: diogeneyves/dji-naza-led


text:
Document states of the robot

Document what each states of q represent in BipedRobot.mechanism.
cc @ThiagoAlvesLima

The robot has 21 states, namely eleven configurations (q) and ten velocities (v). The eleven configurations are:

The first four are a quaternion representing the orientation of the hips in relation to the world/base frame.

The next three represent the position of the hips (in x,y,z, coordinates) in relation to the world/base frame.

Then, the next two represent the angles of the right and left tight tights of the robot, respectively, around the local y-axis of the joints between the tights and the hips.

Finally, the next two represent the angles of the right and left legs of the robot, respectively, around the local y-axis of the joint between the legs and the tights.

Then, the ten velocities are the derivative of the configurations. Since the 3-d orientation of the hips is represented in quaternion coordinates, there is one less velocity than position.

authors: ThiagoAlvesLima blegat


text:
Scope in Unix

In Boxer, all scope works by "look for named sub-box in current box; if not found keep trying higher through box hierarchy".
File and command scope in Unix is much more complex, program-specific, and frequently involves multiple-dir lookups e.g. $PYTHONPATH.
However, an increasing number of programs do follow a similar "look for closest parent containing X" model.
This "issue" is a dumping ground for random examples of various behaviors...

git uses Boxer-like style to find .git dir (or worktree pointer to one).

This determines the boundary of a Git project, so that you can invoke whole-project git operations from any sub-directory (unless you cross into a sub-dir which itself contains a .git).  git rev-parse --show-toplevel and git rev-parse --show-cdup expose that lookup.
This in turn affects lookup of git foo aliases (defined in local .git/config, then global ~/.gitconfig), ...
.. and of git-foo executables!

There is some differences wrt to working dir — git-foo executables run in cwd, whereas aliases beginning with ! automatically execute in top-level dir (with GIT_PREFIX env var reporting relative path of original cwd).

https://github.com/casey/just is an interesting case in point, because unlike previous examples which had a config file — demarcating a project root — anyway,
Just's primary value is looking up commands in a upward-looked-up justfile:

just can be invoked from any subdirectory, not just the directory that contains the justfile.

Well it has lots of other value-add, like variable computation & substitution (IMHO it reinvents way too much of a shell), portability to Windows, loading .env and more.
It presents itself as "simplear & cleaner Makefile that doesn't try to be a build system", not as "better exec".
However, I have to wonder why it was created in the first place, as opposed to just writing shell scripts — and whether the project-scoped lookup was a major raison d'etre...
(I'm pretending here that centralizing many small snippets in a single file is not in itself something that people value in all the above examples.  Of course it is.  But that aspect could be amenable to better tooling around many-small-files, e.g. bat scripts/* and well, dirwm!)

Unix needs a CLI for merely doing this kind of upward lookup
Not dirwm specific.  A missing primitive!
E.g. up foo would find the first that exists of ./foo, ../foo, ../../foo etc.
up .git, up .svn, up package.json, up .env, up Makefile, even up README.md...

should support a more complex sub-path e.g. source $(up bin/activate) for a containing virtualenv.

[ ] Should it print the found name itself or the dir relative to which it exists?

When you want the file itself, having to do jq ... "$(up package.json)/package.json" would be kinda silly.
When you want the dir, cd "$(dirname "$(up package.json)")" is also silly, but at least not repetitive?  What about peeling multiple dirname layers of something like up bin/activate?
[ ] Worth a flag (up --containing foo?), or a separate command e.g. up vs updir (naming is hard)?

[ ] Need to sort out relative vs. absolute, including "logical cwd" vs "physical cwd" concerns...

Should learn from python path/to/script.py which resolves symlinks before prepending path/to to sys.path — this is crucial so that you can symlink to a script stored elsewhere and it'll will still find associated modules and data files.
Worth having flags e.g. --dereference / --no-dereference in any case.

Do we need a variant uprun that finds the named thing [requiring +x bit] and directly runs it (with rest of args passed through — Bernstein chaining)?  Not sure of general value — but for dirwm yes.

At what cwd should it run?

:bulb: .env files materialize transient shell state
Increasingly many people and tools use .env files as source for environment variables.
I myself don't (perhaps as fish's cross-process set --universal covers many needs?), I kinda saw the point but wasn't sure how to express it...
Well now it hit me: Unix env vars have entirely separate scoping rules:

They follow process tree inheritance.
They are almost immutable after process starts.

and .env files tie both of these aspects to the familiar file system — reducing mental load, and improving mutability!  (it's a tradeoff of course — makes it harder to set different values in concurrently open shells...)

repo: dirwm/dirwm


text:
kibana provider get stuck when an existing object (i.e. index-pattern) is manually deleted from infrastructure

Hello,
I use kibana provider in order to maintain as code the configuration of my elk clusters.
What I use:
Kibana & Elasticsearch : Version 7.9.3
Terraform: v0.14.2
My code:
`resource kibana_object "k8s-tools-index-patterns" {
for_each = { for index-pattern in var.k8s-tools-index-patterns : index-pattern.name => index-pattern }
name = each.value.name
data = templatefile("${path.cwd}/index-patterns/k8s-tools-index-pattern-template.json", {
index-pattern = each.value.pattern,
index-pattern-name = each.value.name,
timeFieldName = each.value.time_field
})
deep_reference = each.value.deep_reference
export_objects {
id = each.value.name
type = each.value.type
}
provider = kibana.platformtools
}`
variable "k8s-tools-index-patterns" {   type = list(object({     name = string     pattern = string     deep_reference = string     type = string     space = string     time_field = string   })) }
ndjson file:
{"type":"index-pattern","id":"${index-pattern-name}","attributes":{"title":"${index-pattern}","timeFieldName": "${timeFieldName}"},"migrationVersion":{"index-pattern":"7.6.0"},"references":[],"updated_at":"2021-02-22T23:13:19.962Z","version":"WzY3OSwxXQ=="}
The provider creates correctly the index patterns from scratch, but there are the following issues:

If I manually delete an index-pattern from kibana, even if I don't make changes into the tf files, at the next tf plan ar tf apply, the provider get stuck and some time gives me 400 BadRequest.
As a work arround, I found the following: delete all the index patterns from kibana, delete the object from tf state ( terraform state rm 'kibana_object.k8s-tools-index-patterns') and after date recreate the index-patterns via terraform.

If I have created a list of index patterns with terraform, and after that I want to remove one index-pattern from the list via terraform, the provider delete the object from tf state, but don't delete the object from kibana

Could you please take a look at these issues?
Thank you

Nothing here?!?!?

Hi, I will check that


text:
Feat/patch management

adds patch generator
adds patch applicator
adds line_mapping initialization & bookkeeping

hardcoded clang and clang++ strings in CodeGenerator cause failure for me.
On my side I changed it to clang++-11 so I can continue on the GUI, but we should read it from our build_config

it would be helpful if the patch applicator would return an error code != 0 if applying the suggestions was not successful.
For now I will look if stdout contains "not successful."

it would be helpful if the patch applicator would return an error code != 0 if applying the suggestions was not successful. For now I will look if stdout contains "not successful."

@goerlibe
what should be returned in case an already applied suggestion is to be applied?
0, since no issue arises, or 1 since it "can not" be applied?

hardcoded clang and clang++ strings in CodeGenerator cause failure for me. On my side I changed it to clang++-11 so I can continue on the GUI, but we should read it from our build_config

@goerlibe
proposed fix in 123370f5e0045331f58406b8b1320d69594ec989

rollback of simple_gpu resulted in a wrong line_mapping with  the start_line being mapped to -1

I can currently not apply more than one suggestion at once, not sure if I am doing something wrong, though

it would be nice if the patch_generator generates the applie_suggestions.json with an empty array.
btw is there a reason for the entries being strings? they could be simple numbers, right?

authors: goerlibe lukasrothenberger

repo: discopop-project/discopop


text:
feat(conditional-access): changed this to work with tags as well as group names

The goal of this is to add the ability to use Tags as well as groups. I know people will customize this but I thought this might give them a better base if they don't have complex use cases.

Changed the code to rely on environment variable instead of hard coded group names.
Added ability to use a tag for auto-approvals.
By default, the tag Auto-Approve is used. This means you don't have to set any environment variables if you don't want.
Added a Readme.

Verified this works in my deployment. Please let me know if a test is required for plugins

Looks fine to me.

Going to merge

repo: discord/access


text:
Enable Travis-CI

https://travis-ci.org/discordapp/discord-rpc states:

This is not an active repository

https://github.com/discordapp/discord-rpc/pull/40 added support for travis-ci

Okay, I added it

authors: crmarsh janisozaur

repo: discordapp/discord-rpc


text:
fix(eval): fix escapeRegex require path

This PR fixes the require path for the escapeRegex function, as reported via #230.

pls merge, master broken @Gawdl3y

authors: SpaceEEC jasonhaxstuff

repo: discordjs/Commando


text:
PERF: New table to store most recent topic for category/tag

Relies on core PR being merged
https://github.com/discourse/discourse/pull/20778

I hand tested this change in addition to the tests and things look great, I feel comfortable merging.

authors: janzenisaac markvanlan

repo: discourse/discourse-global-filter


text:
Come up with plugin submission guidelines

Almost like the rules Hugo would have to submit to the theme directory or Chrome would have for extensions in the Chrome store. Metadata with an image/logo would be great.

@jcurreee Any thoughts on this?


text:
OCI: POST request with digest and blob should yield 201

fixes https://github.com/docker/distribution/issues/3230 OCI Conformance: POST request with digest and blob should yield a 201
This addresses a couple compliance failures mentioned in #3203 by adding a new function, PostBlobData, that dispatches to different handler functions depending on the contents of the digest query parameter and whether or not the POST request has a non-zero content length.

Is it guaranteed that processing is complete (irregardless of the storage backend?) I have a feeling that both 202 and 201 can be valid responses.
@dmcgowan @manishtomar PTAL

@thaJeztah the spec says:

Initiate a resumable blob upload. If successful, an upload location will be provided to complete the upload. Optionally, if the digest parameter is present, the request body will be used to complete the upload in a single request.

and

Upload a blob identified by the digest parameter in single request. This upload will not be resumable unless a recoverable error is returned.

Although now that I take another look at the spec, I'm not quite sure how I came up with the requirement in code that Content-Length be greater than zero.

as the spec was changed per https://github.com/opencontainers/distribution-spec/pull/206, this pull-request is not valid.

Good catch; looks like this is the updated description (if I'm reading the correct section);

The response to a successful mount MUST be 201 Created, and MUST contain the following header:
...
Alternatively, if a registry does not support cross-repository mounting or is unable to mount the requested blob,
it SHOULD return a 202. This indicates that the upload session has begun and that the client MAY proceed with the upload.

Looks like we can close this one indeed (also see https://github.com/distribution/distribution/issues/3230#issuecomment-1302355720)
Thanks @waynr !

authors: thaJeztah waynr wy65701436

repo: distribution/distribution


text:
Error while build development - ionic 1.

Safe.java:120: error: cannot find symbol
CRYPTO = new Crypto(new SharedPrefsBackedKeyChain(CONTEXT), new SystemNativeCryptoLibrary());
^
symbol:   class SharedPrefsBackedKeyChain
location: class Safe
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
2 errors
FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':compileDebugJavaWithJavac'.

Compilation failed; see the compiler error output for details.

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

How to solve this

Same issue. Did you fix this

repo: disusered/cordova-safe


text:
keyref element's with whitespace replaces the text content

Expected Behavior
According to the specification: http://docs.oasis-open.org/dita/dita/v1.3/errata02/os/complete/part3-all-inclusive/archSpec/base/processing-keyref-for-text.html#processing_key_references
Empty elements that include a key reference with a defined key might get their effective content from the key definition. Empty elements are defined as elements that meet the following criteria:

Have no text content, including white space

So I would expect XML such as <ph keyref='key'> </ph> to display empty text.
Actual Behavior
The XML <ph keyref="key"> </ph> results in the following HTML:  some key, which is in contradiction with the specification.  There are no errors reported.
Steps to Reproduce
dita-keyref-whitespace-issue.zip
Copy of the error message, log file or stack trace
There are no errors in the console.
Environment
Windows 11

DITA-OT version: 4.2.3
Operating system and version: Windows
How did you run DITA-OT? dita
Transformation type: html5

Need to verify this is a valid but. If so, this is a problematic because fixing it may break a lot of content that assumes whitespace only is treated as an empty element.

@robander unfortunately it seems the implementation has this bug. Will need to discuss how to fix this.

Closing this as fixed and not fixed at the same time. Out of the box DITA-OT 4.2.4 will behave the same way as before, i.e. it will tread whitespace only keyref element as empty. This is due to backwards compatibility issues, as fixing the bug could potentially break existing content that used to work. Relying on a bug is not a good approach, but if the user doesn't know the behaviour is due to a bug, that's different.
We will toggle the fix on in either 4.3 or 5.0.

authors: ChrisTrenkamp jelovirt

repo: dita-ot/dita-ot


text:
fixed alignment issue in Header SearchBox (#116)

closes #116
Refactored styling for SearchBox
Before

Output

LGTM

authors: codyseibert mani-barathi


text:
SparkStreaming and Kafka

I'm trying to implement your example to stream my divolte's data from kafka but I can't make it work.
I created a maven project with all libraries needed.
I create a scala object exactly like https://github.com/divolte/divolte-examples/blob/master/spark/src/main/scala/io/divolte/examples/DivolteSparkStreamingExample.scala#L84
I define my spark context like this
// Kafka configuration.
  val consumerConfig = Map(
    "group.id" -> "divolte-spark-streaming-cassandra",
    "zookeeper.connect" -> "127.0.0.1:2181",
    "auto.commit.interval.ms" -> "5000",
    "auto.offset.reset" -> "largest")
  val topicSettings = Map("divolte" -> Runtime.getRuntime.availableProcessors())

  val conf = new SparkConf().setAppName("DKCtC").setMaster("local")

  // Create the spark and streaming contexts. Micro batches per second.
  val sc = new SparkContext(conf)
  val ssc = new StreamingContext(sc, Seconds(3))

my divolte and kafka is running inside a VM with all port forwarded and I run my scala from eclipse.
But every time something arrives in kafka my program seems to stop and I can't visualize any data.
Here my full scala file
package io.divolte

/**
 * @author A526839
 */
import java.io.File
import java.nio.file.Files
import java.nio.file.Paths

import io.divolte.spark.avro._
import org.apache.avro.generic.GenericRecord
import org.apache.spark.SparkConf
import org.apache.spark.SparkContext
import org.apache.spark.storage.StorageLevel
import org.apache.spark.streaming.dstream.DStream
import org.apache.spark.streaming.{ Minutes, Seconds, StreamingContext }

object DivolteSparkStreamingToCassandra extends App {
  // Local only for webutils
  val sep = File.separator
  val current = new File(".").getAbsolutePath.replace(s"$sep.", "")
  System.setProperty("hadoop.home.dir", s"$current${sep}src${sep}main${sep}resources${sep}")

  // Kafka configuration.
  val consumerConfig = Map(
    "group.id" -> "divolte-spark-streaming-cassandra",
    "zookeeper.connect" -> "127.0.0.1:2181",
    "auto.commit.interval.ms" -> "5000",
    "auto.offset.reset" -> "largest")
  val topicSettings = Map("divolte" -> Runtime.getRuntime.availableProcessors())

  val conf = new SparkConf().setAppName("DKCtC").setMaster("local")

  // Create the spark and streaming contexts. Micro batches per second.
  // For local
  val sc = new SparkContext(conf)
  //  val sc = new SparkContext()
  val ssc = new StreamingContext(sc, Seconds(1))

  //   Where checkpoints will be stored.
  val checkPointDirectory = Files.createTempDirectory("divolte-collector-streaming-cassandra")
  checkPointDirectory.toFile.deleteOnExit()
  ssc.checkpoint(checkPointDirectory.toString)

  // Establish the source event stream.
  val stream = ssc.divolteStream[GenericRecord](consumerConfig, topicSettings, StorageLevel.MEMORY_ONLY)

  var passes = 0

  val events = stream.toRecords

  events.foreachRDD { event =>
    println(s"passes: ${passes}")
    passes = passes + 1
  }

  // Assuming sessions last half an hour, create a stream counting the number of active users.
  val partyIdStream: DStream[String] = stream.mapValues(_ => None).map(_._1)
  val uniquePartyCountStream = partyIdStream
    .countByValueAndWindow(windowDuration = Minutes(30), slideDuration = Seconds(5))
    .map(_._1)
    .count()

    // Create a stream creating just the page locations for each event.
    val pageIdStream: DStream[String] = stream
      .fields("location")
      .flatMap(_._2.head.map(_.asInstanceOf[String]))

    // Create streams counting the top 5 locations during over various intervals.
    val locationCountsStreams = Seq(1L, 5L, 15L).map { windowMinutes =>
      val window = Minutes(windowMinutes)
      window ->
        pageIdStream.countByValueAndWindow(windowDuration = window, slideDuration = Seconds(15))
    }

  // Configure our displays:
  //   - Every URL, as they occur.
  //   - The active count.
  //   - The top 5 counts.
  uniquePartyCountStream.foreachRDD { rdd =>
    println(s"Active user count: ${rdd.collect().head}")
  }
    pageIdStream.foreachRDD { rdd =>
      rdd.collect().foreach { location =>
        println(s"Location: $location")
      }
    }
    locationCountsStreams.foreach {
      case (window, locationCountsStream) =>
        locationCountsStream.foreachRDD { locationCounts =>
          val top5 = locationCounts.top(5)(Ordering.by(_._2))
          println(s"=== Top 5 (${window.prettyPrint}) ===")
          top5.zipWithIndex.foreach {
            case ((location, count), index) =>
              println(s" ${index + 1}. $location ($count)")
          }
        }
    }

  // Start the stream and await termination.
  ssc.start()
  ssc.awaitTermination()
}

And here the result with log4j configure to only display warn
15/06/11 12:07:12 WARN NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
15/06/11 12:07:14 WARN StreamingContext: spark.master should be set as local[n], n > 1 in local mode if you have receivers to get data, otherwise Spark jobs will not get resources to process the received data.
passes: 0
15/06/11 12:07:16 WARN RangeAssignor: No broker partitions consumed by consumer thread divolte-spark-streaming-cassandra_EFR00273-1434017235784-151ccd10-1 for topic divolte
15/06/11 12:07:16 WARN RangeAssignor: No broker partitions consumed by consumer thread divolte-spark-streaming-cassandra_EFR00273-1434017235784-151ccd10-3 for topic divolte
15/06/11 12:07:16 WARN RangeAssignor: No broker partitions consumed by consumer thread divolte-spark-streaming-cassandra_EFR00273-1434017235784-151ccd10-2 for topic divolte
passes: 1
passes: 2
passes: 3
passes: 4

at my fourth pass I refreshed my website then an event have been set to kafka I can see it with
[www@localhost kafka]$ ./bin/kafka-console-consumer.sh --zookeeper 127.0.0.1:2181 --topic divolte --from-beginning
ChromeGoogle Inc.Browser43.0.2357.124"Personal computerWindows6.1,Microsoft Corporation.displayPage

Can you help me to read my data from kafka with a spark program. My goal is to store this data inside a Cassandra db.
Thanks ahead

Ok nevermind i didn't notice the log
15/06/11 15:30:43 WARN StreamingContext: spark.master should be set as local[n], n > 1 in local mode if you have receivers to get data, otherwise Spark jobs will not get resources to process the received data.

i set the local to [5] and now i got some data
now i got a bunch of error but I'll look into this
15/06/11 15:31:40 ERROR Executor: Exception in task 0.0 in stage 7.0 (TID 17)
java.lang.ArrayIndexOutOfBoundsException: 25
	at org.apache.avro.io.parsing.Symbol$Alternative.getSymbol(Symbol.java:402)
	at org.apache.avro.io.ResolvingDecoder.doAction(ResolvingDecoder.java:290)
	at org.apache.avro.io.parsing.Parser.advance(Parser.java:88)
	at org.apache.avro.io.ResolvingDecoder.readIndex(ResolvingDecoder.java:267)
	at org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:155)
	at org.apache.avro.generic.GenericDatumReader.readField(GenericDatumReader.java:193)
	at org.apache.avro.generic.GenericDatumReader.readRecord(GenericDatumReader.java:183)
	at org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:151)
	at org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:142)
	at io.divolte.spark.kafka.AvroDecoder.decode(AvroDecoder.scala:34)
	at io.divolte.spark.avro.AvroDStreamMagnet$$anonfun$1.apply(AvroDStreamMagnet.scala:87)
	at io.divolte.spark.avro.AvroDStreamMagnet$$anonfun$1.apply(AvroDStreamMagnet.scala:87)
	at scala.collection.Iterator$$anon$11.next(Iterator.scala:328)
	at scala.collection.Iterator$$anon$11.next(Iterator.scala:328)
	at scala.collection.Iterator$$anon$11.next(Iterator.scala:328)
	at scala.collection.Iterator$$anon$11.next(Iterator.scala:328)
	at org.apache.spark.util.collection.ExternalSorter.insertAll(ExternalSorter.scala:204)
	at org.apache.spark.shuffle.sort.SortShuffleWriter.write(SortShuffleWriter.scala:56)
	at org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:68)
	at org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:41)
	at org.apache.spark.scheduler.Task.run(Task.scala:64)
	at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:203)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:745)
15/06/11 15:31:40 WARN TaskSetManager: Lost task 0.0 in stage 7.0 (TID 17, localhost): java.lang.ArrayIndexOutOfBoundsException: 25
	at org.apache.avro.io.parsing.Symbol$Alternative.getSymbol(Symbol.java:402)
	at org.apache.avro.io.ResolvingDecoder.doAction(ResolvingDecoder.java:290)
	at org.apache.avro.io.parsing.Parser.advance(Parser.java:88)
	at org.apache.avro.io.ResolvingDecoder.readIndex(ResolvingDecoder.java:267)
	at org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:155)
	at org.apache.avro.generic.GenericDatumReader.readField(GenericDatumReader.java:193)
	at org.apache.avro.generic.GenericDatumReader.readRecord(GenericDatumReader.java:183)
	at org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:151)
	at org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:142)
	at io.divolte.spark.kafka.AvroDecoder.decode(AvroDecoder.scala:34)
	at io.divolte.spark.avro.AvroDStreamMagnet$$anonfun$1.apply(AvroDStreamMagnet.scala:87)
	at io.divolte.spark.avro.AvroDStreamMagnet$$anonfun$1.apply(AvroDStreamMagnet.scala:87)
	at scala.collection.Iterator$$anon$11.next(Iterator.scala:328)
	at scala.collection.Iterator$$anon$11.next(Iterator.scala:328)
	at scala.collection.Iterator$$anon$11.next(Iterator.scala:328)
	at scala.collection.Iterator$$anon$11.next(Iterator.scala:328)
	at org.apache.spark.util.collection.ExternalSorter.insertAll(ExternalSorter.scala:204)
	at org.apache.spark.shuffle.sort.SortShuffleWriter.write(SortShuffleWriter.scala:56)
	at org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:68)
	at org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:41)
	at org.apache.spark.scheduler.Task.run(Task.scala:64)
	at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:203)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:745)

15/06/11 15:31:40 ERROR TaskSetManager: Task 0 in stage 7.0 failed 1 times; aborting job
15/06/11 15:31:40 ERROR JobScheduler: Error running job streaming job 1434029500000 ms.1
org.apache.spark.SparkException: Job aborted due to stage failure: Task 0 in stage 7.0 failed 1 times, most recent failure: Lost task 0.0 in stage 7.0 (TID 17, localhost): java.lang.ArrayIndexOutOfBoundsException: 25
	at org.apache.avro.io.parsing.Symbol$Alternative.getSymbol(Symbol.java:402)
	at org.apache.avro.io.ResolvingDecoder.doAction(ResolvingDecoder.java:290)
	at org.apache.avro.io.parsing.Parser.advance(Parser.java:88)
	at org.apache.avro.io.ResolvingDecoder.readIndex(ResolvingDecoder.java:267)
	at org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:155)
	at org.apache.avro.generic.GenericDatumReader.readField(GenericDatumReader.java:193)
	at org.apache.avro.generic.GenericDatumReader.readRecord(GenericDatumReader.java:183)
	at org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:151)
	at org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:142)
	at io.divolte.spark.kafka.AvroDecoder.decode(AvroDecoder.scala:34)
	at io.divolte.spark.avro.AvroDStreamMagnet$$anonfun$1.apply(AvroDStreamMagnet.scala:87)
	at io.divolte.spark.avro.AvroDStreamMagnet$$anonfun$1.apply(AvroDStreamMagnet.scala:87)
	at scala.collection.Iterator$$anon$11.next(Iterator.scala:328)
	at scala.collection.Iterator$$anon$11.next(Iterator.scala:328)
	at scala.collection.Iterator$$anon$11.next(Iterator.scala:328)
	at scala.collection.Iterator$$anon$11.next(Iterator.scala:328)
	at org.apache.spark.util.collection.ExternalSorter.insertAll(ExternalSorter.scala:204)
	at org.apache.spark.shuffle.sort.SortShuffleWriter.write(SortShuffleWriter.scala:56)
	at org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:68)
	at org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:41)
	at org.apache.spark.scheduler.Task.run(Task.scala:64)
	at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:203)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:745)

Driver stacktrace:
	at org.apache.spark.scheduler.DAGScheduler.org$apache$spark$scheduler$DAGScheduler$$failJobAndIndependentStages(DAGScheduler.scala:1204)
	at org.apache.spark.scheduler.DAGScheduler$$anonfun$abortStage$1.apply(DAGScheduler.scala:1193)
	at org.apache.spark.scheduler.DAGScheduler$$anonfun$abortStage$1.apply(DAGScheduler.scala:1192)
	at scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59)
	at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:47)
	at org.apache.spark.scheduler.DAGScheduler.abortStage(DAGScheduler.scala:1192)
	at org.apache.spark.scheduler.DAGScheduler$$anonfun$handleTaskSetFailed$1.apply(DAGScheduler.scala:693)
	at org.apache.spark.scheduler.DAGScheduler$$anonfun$handleTaskSetFailed$1.apply(DAGScheduler.scala:693)
	at scala.Option.foreach(Option.scala:236)
	at org.apache.spark.scheduler.DAGScheduler.handleTaskSetFailed(DAGScheduler.scala:693)
	at org.apache.spark.scheduler.DAGSchedulerEventProcessLoop.onReceive(DAGScheduler.scala:1393)
	at org.apache.spark.scheduler.DAGSchedulerEventProcessLoop.onReceive(DAGScheduler.scala:1354)
	at org.apache.spark.util.EventLoop$$anon$1.run(EventLoop.scala:48)
Exception in thread "main" org.apache.spark.SparkException: Job aborted due to stage failure: Task 0 in stage 7.0 failed 1 times, most recent failure: Lost task 0.0 in stage 7.0 (TID 17, localhost): java.lang.ArrayIndexOutOfBoundsException: 25
	at org.apache.avro.io.parsing.Symbol$Alternative.getSymbol(Symbol.java:402)
	at org.apache.avro.io.ResolvingDecoder.doAction(ResolvingDecoder.java:290)
	at org.apache.avro.io.parsing.Parser.advance(Parser.java:88)
	at org.apache.avro.io.ResolvingDecoder.readIndex(ResolvingDecoder.java:267)
	at org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:155)
	at org.apache.avro.generic.GenericDatumReader.readField(GenericDatumReader.java:193)
	at org.apache.avro.generic.GenericDatumReader.readRecord(GenericDatumReader.java:183)
	at org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:151)
	at org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:142)
	at io.divolte.spark.kafka.AvroDecoder.decode(AvroDecoder.scala:34)
	at io.divolte.spark.avro.AvroDStreamMagnet$$anonfun$1.apply(AvroDStreamMagnet.scala:87)
	at io.divolte.spark.avro.AvroDStreamMagnet$$anonfun$1.apply(AvroDStreamMagnet.scala:87)
	at scala.collection.Iterator$$anon$11.next(Iterator.scala:328)
	at scala.collection.Iterator$$anon$11.next(Iterator.scala:328)
	at scala.collection.Iterator$$anon$11.next(Iterator.scala:328)
	at scala.collection.Iterator$$anon$11.next(Iterator.scala:328)
	at org.apache.spark.util.collection.ExternalSorter.insertAll(ExternalSorter.scala:204)
	at org.apache.spark.shuffle.sort.SortShuffleWriter.write(SortShuffleWriter.scala:56)
	at org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:68)
	at org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:41)
	at org.apache.spark.scheduler.Task.run(Task.scala:64)
	at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:203)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:745)

Driver stacktrace:
	at org.apache.spark.scheduler.DAGScheduler.org$apache$spark$scheduler$DAGScheduler$$failJobAndIndependentStages(DAGScheduler.scala:1204)
	at org.apache.spark.scheduler.DAGScheduler$$anonfun$abortStage$1.apply(DAGScheduler.scala:1193)
	at org.apache.spark.scheduler.DAGScheduler$$anonfun$abortStage$1.apply(DAGScheduler.scala:1192)
	at scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59)
	at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:47)
	at org.apache.spark.scheduler.DAGScheduler.abortStage(DAGScheduler.scala:1192)
	at org.apache.spark.scheduler.DAGScheduler$$anonfun$handleTaskSetFailed$1.apply(DAGScheduler.scala:693)
	at org.apache.spark.scheduler.DAGScheduler$$anonfun$handleTaskSetFailed$1.apply(DAGScheduler.scala:693)
	at scala.Option.foreach(Option.scala:236)
	at org.apache.spark.scheduler.DAGScheduler.handleTaskSetFailed(DAGScheduler.scala:693)
	at org.apache.spark.scheduler.DAGSchedulerEventProcessLoop.onReceive(DAGScheduler.scala:1393)
	at org.apache.spark.scheduler.DAGSchedulerEventProcessLoop.onReceive(DAGScheduler.scala:1354)
	at org.apache.spark.util.EventLoop$$anon$1.run(EventLoop.scala:48)
15/06/11 15:31:40 ERROR Executor: Exception in task 0.0 in stage 10.0 (TID 18)
java.lang.ArrayIndexOutOfBoundsException: 25
	at org.apache.avro.io.parsing.Symbol$Alternative.getSymbol(Symbol.java:402)
	at org.apache.avro.io.ResolvingDecoder.doAction(ResolvingDecoder.java:290)
	at org.apache.avro.io.parsing.Parser.advance(Parser.java:88)
	at org.apache.avro.io.ResolvingDecoder.readIndex(ResolvingDecoder.java:267)
	at org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:155)
	at org.apache.avro.generic.GenericDatumReader.readField(GenericDatumReader.java:193)
	at org.apache.avro.generic.GenericDatumReader.readRecord(GenericDatumReader.java:183)
	at org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:151)
	at org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:142)
	at io.divolte.spark.kafka.AvroDecoder.decode(AvroDecoder.scala:34)
	at io.divolte.spark.avro.AvroDStreamMagnet$$anonfun$1.apply(AvroDStreamMagnet.scala:87)
	at io.divolte.spark.avro.AvroDStreamMagnet$$anonfun$1.apply(AvroDStreamMagnet.scala:87)
	at scala.collection.Iterator$$anon$11.next(Iterator.scala:328)
	at scala.collection.Iterator$$anon$11.next(Iterator.scala:328)
	at scala.collection.Iterator$$anon$13.hasNext(Iterator.scala:371)
	at scala.collection.Iterator$class.foreach(Iterator.scala:727)
	at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
	at scala.collection.generic.Growable$class.$plus$plus$eq(Growable.scala:48)
	at scala.collection.mutable.ArrayBuffer.$plus$plus$eq(ArrayBuffer.scala:103)
	at scala.collection.mutable.ArrayBuffer.$plus$plus$eq(ArrayBuffer.scala:47)
	at scala.collection.TraversableOnce$class.to(TraversableOnce.scala:273)
	at scala.collection.AbstractIterator.to(Iterator.scala:1157)
	at scala.collection.TraversableOnce$class.toBuffer(TraversableOnce.scala:265)
	at scala.collection.AbstractIterator.toBuffer(Iterator.scala:1157)
	at scala.collection.TraversableOnce$class.toArray(TraversableOnce.scala:252)
	at scala.collection.AbstractIterator.toArray(Iterator.scala:1157)
	at org.apache.spark.rdd.RDD$$anonfun$17.apply(RDD.scala:813)
	at org.apache.spark.rdd.RDD$$anonfun$17.apply(RDD.scala:813)
	at org.apache.spark.SparkContext$$anonfun$runJob$5.apply(SparkContext.scala:1498)
	at org.apache.spark.SparkContext$$anonfun$runJob$5.apply(SparkContext.scala:1498)
	at org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:61)
	at org.apache.spark.scheduler.Task.run(Task.scala:64)
	at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:203)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:745)
15/06/11 15:31:40 WARN TaskSetManager: Lost task 0.0 in stage 10.0 (TID 18, localhost): java.lang.ArrayIndexOutOfBoundsException: 25
	at org.apache.avro.io.parsing.Symbol$Alternative.getSymbol(Symbol.java:402)
	at org.apache.avro.io.ResolvingDecoder.doAction(ResolvingDecoder.java:290)
	at org.apache.avro.io.parsing.Parser.advance(Parser.java:88)
	at org.apache.avro.io.ResolvingDecoder.readIndex(ResolvingDecoder.java:267)
	at org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:155)
	at org.apache.avro.generic.GenericDatumReader.readField(GenericDatumReader.java:193)
	at org.apache.avro.generic.GenericDatumReader.readRecord(GenericDatumReader.java:183)
	at org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:151)
	at org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:142)
	at io.divolte.spark.kafka.AvroDecoder.decode(AvroDecoder.scala:34)
	at io.divolte.spark.avro.AvroDStreamMagnet$$anonfun$1.apply(AvroDStreamMagnet.scala:87)
	at io.divolte.spark.avro.AvroDStreamMagnet$$anonfun$1.apply(AvroDStreamMagnet.scala:87)
	at scala.collection.Iterator$$anon$11.next(Iterator.scala:328)
	at scala.collection.Iterator$$anon$11.next(Iterator.scala:328)
	at scala.collection.Iterator$$anon$13.hasNext(Iterator.scala:371)
	at scala.collection.Iterator$class.foreach(Iterator.scala:727)
	at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
	at scala.collection.generic.Growable$class.$plus$plus$eq(Growable.scala:48)
	at scala.collection.mutable.ArrayBuffer.$plus$plus$eq(ArrayBuffer.scala:103)
	at scala.collection.mutable.ArrayBuffer.$plus$plus$eq(ArrayBuffer.scala:47)
	at scala.collection.TraversableOnce$class.to(TraversableOnce.scala:273)
	at scala.collection.AbstractIterator.to(Iterator.scala:1157)
	at scala.collection.TraversableOnce$class.toBuffer(TraversableOnce.scala:265)
	at scala.collection.AbstractIterator.toBuffer(Iterator.scala:1157)
	at scala.collection.TraversableOnce$class.toArray(TraversableOnce.scala:252)
	at scala.collection.AbstractIterator.toArray(Iterator.scala:1157)
	at org.apache.spark.rdd.RDD$$anonfun$17.apply(RDD.scala:813)
	at org.apache.spark.rdd.RDD$$anonfun$17.apply(RDD.scala:813)
	at org.apache.spark.SparkContext$$anonfun$runJob$5.apply(SparkContext.scala:1498)
	at org.apache.spark.SparkContext$$anonfun$runJob$5.apply(SparkContext.scala:1498)
	at org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:61)
	at org.apache.spark.scheduler.Task.run(Task.scala:64)
	at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:203)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:745)

15/06/11 15:31:40 ERROR TaskSetManager: Task 0 in stage 10.0 failed 1 times; aborting job
15/06/11 15:31:40 ERROR JobScheduler: Error running job streaming job 1434029500000 ms.2
org.apache.spark.SparkException: Job aborted due to stage failure: Task 0 in stage 10.0 failed 1 times, most recent failure: Lost task 0.0 in stage 10.0 (TID 18, localhost): java.lang.ArrayIndexOutOfBoundsException: 25
	at org.apache.avro.io.parsing.Symbol$Alternative.getSymbol(Symbol.java:402)
	at org.apache.avro.io.ResolvingDecoder.doAction(ResolvingDecoder.java:290)
	at org.apache.avro.io.parsing.Parser.advance(Parser.java:88)
	at org.apache.avro.io.ResolvingDecoder.readIndex(ResolvingDecoder.java:267)
	at org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:155)
	at org.apache.avro.generic.GenericDatumReader.readField(GenericDatumReader.java:193)
	at org.apache.avro.generic.GenericDatumReader.readRecord(GenericDatumReader.java:183)
	at org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:151)
	at org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:142)
	at io.divolte.spark.kafka.AvroDecoder.decode(AvroDecoder.scala:34)
	at io.divolte.spark.avro.AvroDStreamMagnet$$anonfun$1.apply(AvroDStreamMagnet.scala:87)
	at io.divolte.spark.avro.AvroDStreamMagnet$$anonfun$1.apply(AvroDStreamMagnet.scala:87)
	at scala.collection.Iterator$$anon$11.next(Iterator.scala:328)
	at scala.collection.Iterator$$anon$11.next(Iterator.scala:328)
	at scala.collection.Iterator$$anon$13.hasNext(Iterator.scala:371)
	at scala.collection.Iterator$class.foreach(Iterator.scala:727)
	at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
	at scala.collection.generic.Growable$class.$plus$plus$eq(Growable.scala:48)
	at scala.collection.mutable.ArrayBuffer.$plus$plus$eq(ArrayBuffer.scala:103)
	at scala.collection.mutable.ArrayBuffer.$plus$plus$eq(ArrayBuffer.scala:47)
	at scala.collection.TraversableOnce$class.to(TraversableOnce.scala:273)
	at scala.collection.AbstractIterator.to(Iterator.scala:1157)
	at scala.collection.TraversableOnce$class.toBuffer(TraversableOnce.scala:265)
	at scala.collection.AbstractIterator.toBuffer(Iterator.scala:1157)
	at scala.collection.TraversableOnce$class.toArray(TraversableOnce.scala:252)
	at scala.collection.AbstractIterator.toArray(Iterator.scala:1157)
	at org.apache.spark.rdd.RDD$$anonfun$17.apply(RDD.scala:813)
	at org.apache.spark.rdd.RDD$$anonfun$17.apply(RDD.scala:813)
	at org.apache.spark.SparkContext$$anonfun$runJob$5.apply(SparkContext.scala:1498)
	at org.apache.spark.SparkContext$$anonfun$runJob$5.apply(SparkContext.scala:1498)
	at org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:61)
	at org.apache.spark.scheduler.Task.run(Task.scala:64)
	at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:203)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:745)

Driver stacktrace:
	at org.apache.spark.scheduler.DAGScheduler.org$apache$spark$scheduler$DAGScheduler$$failJobAndIndependentStages(DAGScheduler.scala:1204)
	at org.apache.spark.scheduler.DAGScheduler$$anonfun$abortStage$1.apply(DAGScheduler.scala:1193)
	at org.apache.spark.scheduler.DAGScheduler$$anonfun$abortStage$1.apply(DAGScheduler.scala:1192)
	at scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59)
	at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:47)
	at org.apache.spark.scheduler.DAGScheduler.abortStage(DAGScheduler.scala:1192)
	at org.apache.spark.scheduler.DAGScheduler$$anonfun$handleTaskSetFailed$1.apply(DAGScheduler.scala:693)
	at org.apache.spark.scheduler.DAGScheduler$$anonfun$handleTaskSetFailed$1.apply(DAGScheduler.scala:693)
	at scala.Option.foreach(Option.scala:236)
	at org.apache.spark.scheduler.DAGScheduler.handleTaskSetFailed(DAGScheduler.scala:693)
	at org.apache.spark.scheduler.DAGSchedulerEventProcessLoop.onReceive(DAGScheduler.scala:1393)
	at org.apache.spark.scheduler.DAGSchedulerEventProcessLoop.onReceive(DAGScheduler.scala:1354)
	at org.apache.spark.util.EventLoop$$anon$1.run(EventLoop.scala:48)

Can't find a way to get rid of this array out of bound. everytime I read inside the stream i get this previous error can you help me.
Here the log of the default example.
15/06/11 18:01:36 WARN NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
Active user count: 0
15/06/11 18:01:40 WARN RangeAssignor: No broker partitions consumed by consumer thread divolte-spark-streaming-cassandra_EFR00273-1434038500328-1d97b632-2 for topic divolte
15/06/11 18:01:40 WARN RangeAssignor: No broker partitions consumed by consumer thread divolte-spark-streaming-cassandra_EFR00273-1434038500328-1d97b632-1 for topic divolte
15/06/11 18:01:40 WARN RangeAssignor: No broker partitions consumed by consumer thread divolte-spark-streaming-cassandra_EFR00273-1434038500328-1d97b632-3 for topic divolte

[Stage 8:>                                                          (0 + 0) / 5]
                                                                                Active user count: 0
Active user count: 0
=== Top 5 (1,0 m) ===
=== Top 5 (5,0 m) ===
=== Top 5 (15,0 m) ===
Active user count: 0
Active user count: 0

15/06/11 18:02:05 ERROR Executor: Exception in task 0.0 in stage 58.0 (TID 94)
java.lang.ArrayIndexOutOfBoundsException: 25
	at org.apache.avro.io.parsing.Symbol$Alternative.getSymbol(Symbol.java:402)
	at org.apache.avro.io.ResolvingDecoder.doAction(ResolvingDecoder.java:290)
	at org.apache.avro.io.parsing.Parser.advance(Parser.java:88)
	at org.apache.avro.io.ResolvingDecoder.readIndex(ResolvingDecoder.java:267)
	at org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:155)
	at org.apache.avro.generic.GenericDatumReader.readField(GenericDatumReader.java:193)
	at org.apache.avro.generic.GenericDatumReader.readRecord(GenericDatumReader.java:183)
	at org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:151)
	at org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:142)
	at io.divolte.spark.kafka.AvroDecoder.decode(AvroDecoder.scala:34)
	at io.divolte.spark.avro.AvroDStreamMagnet$$anonfun$1.apply(AvroDStreamMagnet.scala:87)
	at io.divolte.spark.avro.AvroDStreamMagnet$$anonfun$1.apply(AvroDStreamMagnet.scala:87)
	at scala.collection.Iterator$$anon$11.next(Iterator.scala:328)
	at scala.collection.Iterator$$anon$11.next(Iterator.scala:328)
	at scala.collection.Iterator$$anon$11.next(Iterator.scala:328)
	at scala.collection.Iterator$$anon$11.next(Iterator.scala:328)
	at org.apache.spark.util.collection.ExternalSorter.insertAll(ExternalSorter.scala:204)
	at org.apache.spark.shuffle.sort.SortShuffleWriter.write(SortShuffleWriter.scala:56)
	at org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:68)
	at org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:41)
	at org.apache.spark.scheduler.Task.run(Task.scala:64)
	at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:203)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:745)

It seems that the Avro decoding of your message is broken. Are you deserialising with the same schema that Divolte uses to write to the topic? Perhaps try to drop and re-create the topic first.

I tried to drop and recreate the topic but the same thing occurs. So i used the avro-maven-plugin to generate a java class of my avro schema. I added the generated sources to my project and I defined my Record here
  val stream = ssc.divolteStream[MyEventRecord](consumerConfig, topicSettings, StorageLevel.MEMORY_ONLY)

Was it the right thing to do ?
Because now i got the same error but the index is no more 25 but 49
15/06/12 11:11:55 ERROR Executor: Exception in task 0.0 in stage 88.0 (TID 131)
java.lang.ArrayIndexOutOfBoundsException: 49
	at org.apache.avro.io.parsing.Symbol$Alternative.getSymbol(Symbol.java:402)

ok i found it can you confirm that this is the right way to do
  val stream = ssc.divolteStream[GenericRecord](consumerConfig, topicSettings, StorageLevel.MEMORY_ONLY, MyEventRecord.getClassSchema)

authors: BHMath friso

repo: divolte/divolte-examples


text:
Add link to qtcreator setup wiki page

This is helpful for people coming in with no knowledge of developing for the reMarkable and just want to install draft.

Thanks!

authors: dixonary tobloef

repo: dixonary/draft-reMarkable


text:
Can we replace "CQRS" pattern using MediatR with FastEndPoints ?

I learnt that MediatR library causes performance degradation and more memory consumption. Is it good idea to replaced by FastEndPoints ? what is your thought  regarding this?

sure you can. fastendpoints has handler methods, pub/sub event bus, and pre/post-processors as an alternative to mediatr pipelines.
me personally, see no real benefit in seperating reads/writes as done with CQRS, so i just stick to tightly coupled vertical slices as done here: https://dev.to/djnitehawk/building-rest-apis-in-net-6-the-easy-way-3h0d

This is what I was looking for.
Thanks

authors: MeAnupSarkar dj-nitehawk

repo: dj-nitehawk/FastEndpoints


text:
Install Zabbix SERVER and PROXY on same machine

Is it possible to install both zabbix Server and Proxy on the same machine?
I'm trying to do this, but when I run puppet agent, it gives me the following error:
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Duplicate declaration: Class[Zabbix::Database] is already declared in file /etc/puppet/environments/production/modules/zabbix/manifests/proxy.pp:518; cannot redeclare at /etc/puppet/environments/production/modules/zabbix/manifests/init.pp:294 on node zbxproxy.powers.com.br
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
Here is the relevant part of site.pp:
`
node 'zbxproxy.powers.com.br' {
class { 'zabbix::proxy':
zabbix_server_host => '192.168.20.11',
zabbix_server_port => '10051',
database_type      => 'sqlite',
}
file { '/usr/local/bin/backup_zabbix.sh' :
ensure  => file,
owner   => root,
group   => zabbix,
mode    => 0750,
content => template('zabbix/backup_zabbix.sh.erb'),
}
file { '/usr/local/bin/backup_config.sh' :
ensure  => file,
owner   => root,
group   => zabbix,
mode    => 0750,
content => template('zabbix/backup_config.sh.erb'),
}
file { '/usr/local/bin/backup.conf' :
ensure  => file,
owner   => root,
group   => zabbix,
mode    => 0640,
content => template('zabbix/backup.conf.erb'),
}
file { '/usr/local/bin/backup_dados.sh' :
ensure  => file,
owner   => root,
group   => zabbix,
mode    => 0750,
content => template('zabbix/backup_dados.sh.erb'),
}
cron { backup_zabbix:
ensure  => present,
command => "/usr/local/bin/backup_zabbix.sh",
user    => root,
hour    => 0,
minute  => 0
}
class { 'apache':
mpm_module => 'prefork',
}
include apache::mod::php
class { 'zabbix':
zabbix_url    => 'zabbix.zbxproxy.powers.com.br',
database_type => 'mysql',
manage_resources => true,
zabbix_api_user => 'Admin',
zabbix_api_pass => 'zabbix',
}
}
`

HI andreguilhon,
No it is not possible installing Zabbix Server and Proxy on the same host. Why would you do this?
For me it makes no sense for installing it on the same server.
Kind regards,
Werner

dj-wasabi the thing is that my company sells Monitoring as a Service, and we put an appliance in the client side. This appliance is a zabbix server for the client, but the we also send the data to our servers, and this is done by zabbix proxy, which stays in the same appliance. Thats wy I need both server and proxy on the same machine!
Is there any workaroound, maybe?

Ok, I understand. What if you use the proxy part like this:
class { 'zabbix::proxy':
  zabbix_server_host => '192.168.20.11',
  zabbix_server_port => '10051',
  database_type => 'sqlite',
  manage_database => false,
}

I don't know if this works with sqlite...  If not, maybe there is an other way, but it takes more steps.. :-)

I'll give it a try!

It worked like a charm!
Thanks for the quick ansewers and the excelent puppet module!

Nice! 8-)
Have fun with it..

authors: andreguilhon dj-wasabi

repo: dj-wasabi/puppet-zabbix


text:
Providing initial data with fixtures for models inheriting from TimeStampedModel

I'm trying to follow the instructions for providing initial data with fixtures for a model that inherits from django-extensions' TimeStampedModel. I'm obviously not including the created or modified values in my fixture because I want those to be automatically generated. When running the loaddata command to load the fixture, I get the following error:
Could not load feeds.Feed(pk=1): null value in column "created" violates not-null constraint
Is there a way to provide initial data with fixtures for models inheriting from TimeStampedModel?
Here is my model:
class Feed(TimeStampedModel):
    title = models.CharField(max_length=255, blank=True, default='')
    description = models.TextField(blank=True, default='')

Here is my fixture:
[
    {
        "model": "feeds.feed",
        "pk": 1,
        "fields": {
            "title": "Title 1",
            "description": "Description 1"
        }
    },
    {
        "model": "feeds.feed",
        "pk": 2,
        "fields": {
            "title": "Title 2",
            "description": "Description 2"
        }
    }
]

I've just run into this issue too after upgrading from v1.4.4 to v1.7.4
This is the expected behaviour when using auto_now_add or auto_now (see the docs)
It looks to me as though this was introduced in v1.5.6, more specifically, commit 818f602214a3ea8144c184d5cf1ed41de0ae426c
I'd be inclined to call this a bug in this library, since it's an undocumented, backwards-incompatible change.
There are three possible fixes for you:

add some arbitrary values for the created and modified fields
stop inheriting from TimeStampedModel and just add the created and modified fields directly on your model, and pass default=timezone.now to them. This will cause the created and modified values to be (re)set every time you load your fixture, which may or may not be what you want.
remove the fields entirely from your model if they're not required

If you're project is like mine, it might be that someone decided to make every model in the project inherit from the TimeStampedModel without thinking about whether that was actually desirable or not. If you don't actually need the created and modifed values, just dump them.

Happy to except fixes/patches for this, be it code or documentation.
I think after https://github.com/django-extensions/django-extensions/commit/818f602214a3ea8144c184d5cf1ed41de0ae426c thinking of whether to use auto_* or default for these types of use cases has changed a bit.
Regretfully changing this would result in a scheme change for everybody, but if there is a better more "best practices" solution compared to what we are using right now I would not be against it.

closing due to inactivity

authors: jordanmkoncz jscn trbs

repo: django-extensions/django-extensions


text:
ImproperlyConfigured

I installed the django-import-export ,whenever import file , the following problem occured, export is ok, just import err? does anybody  came across the problem?
Environment:
Request Method: POST
Request URL:
Django Version: 1.10.1
Python Version: 2.7.8
Installed Applications:
['django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'resources.apps.ResourcesConfig',
'sso_auth.apps.SsoAuthConfig',
'import_export',
'tastypie']
Installed Middleware:
['django.middleware.security.SecurityMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.locale.LocaleMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
'middleware.crossdomainxhr.XsSharing',
'sso_auth.middleware.ActiveUserMiddleware']
Traceback:
File "/home/tops/lib/python2.7/site-packages/django/core/handlers/exception.py" in inner

        response = get_response(request)

File "/home/tops/lib/python2.7/site-packages/django/core/handlers/base.py" in _get_response

            response = self.process_exception_by_middleware(e, request)

File "/home/tops/lib/python2.7/site-packages/django/core/handlers/base.py" in _get_response

            response = wrapped_callback(request, _callback_args, *_callback_kwargs)

File "/home/tops/lib/python2.7/site-packages/django/utils/decorators.py" in _wrapped_view

                response = view_func(request, _args, *_kwargs)

File "/home/tops/lib/python2.7/site-packages/django/views/decorators/cache.py" in _wrapped_view_func

    response = view_func(request, _args, *_kwargs)

File "/home/tops/lib/python2.7/site-packages/django/contrib/admin/sites.py" in inner

        return view(request, _args, *_kwargs)

File "/home/tops/lib/python2.7/site-packages/import_export/admin.py" in import_action

                                      user=request.user)

File "/home/tops/lib/python2.7/site-packages/import_export/resources.py" in import_data

        raise ImproperlyConfigured

Exception Type: ImproperlyConfigured at /admin/resources/vehicle/import/
Exception Value:

Posting a stack trace with zero context is not enough to help troubleshoot a problem (here, on Stack Overflow, anywhere). You need to actually describe the problem you're having. For example: how exactly are you calling the library? What behaviour are you expecting? Check out: https://stackoverflow.com/help/how-to-ask

I think error raised because you db module doesn't support transaction.
try after setting up below option in django setting file.
IMPORT_EXPORT_USE_TRANSACTIONS = False

A better stack trace is needed. Please reopen with more details.

authors: LalitTarsariya lmeroc manelclos shaggyfrog


text:
Refactored test_resources.py into test_modelresources package

Problem
What problem have you solved?
The test_resources.py module exceeded 1.8k lines, becoming difficult to navigate and manage over time as more resource tests were added.
Solution
How did you solve the problem?

Added test_modelresources package

Split ModelResource tests into multiple classes.

Acceptance Criteria
Have you written tests? Have you included screenshots of your changes if applicable?
Did you document your changes?
Tests executed against test_resources package to confirm no change in overall coverage or results.
No UI or documentation changes were required for this strictly organizational refactor.

Hi @matthewhegarty
I have removed the s from the class name in updated refactored test classes as per the instruction and also rename the file s

Sure, thank you for resolving the conflicts

I'm happy to merge this as it is.  I would like to do so soon because it is blocking other work.  I will hold off if you want to make more changes.  Please can you let me know.

Hi @matthewhegarty , I was trying to figure out what do i need to take care of, i am confused. Can you help me with it
Thank you

Hi - it's all good - I will merge.  Thanks for all your help.

authors: bvedang matthewhegarty


text:
Allow for children to have different images from their siblings

This is my attempt to reduce the size of https://github.com/django-oscar/django-oscar/pull/1643
This should close https://github.com/django-oscar/django-oscar/issues/1611
It really only does a very small number of things:

Adds a child_images field
Exposes it in the dashboard
When a user adds a child to the basket, it uses the child_images field to determine which image show.

Things this does not do:

Change any template
Show the variant image on the product page (before the user adds it to their cart)
Make associating images with children particularly easy. (The widget in the dashboard is usable for products with small numbers of images and variants, but quickly becomes cumbersome when you have dozens of them.)
Test my changes

@mvantellingen or another maintainer, can you please let me know if you think this approach is viable. and I'll add some tests.

Hi John, will try to look at it ASAP

@mvantellingen Merged in master. There was a conflict with migrations. I wasn't sure what the best way to resolve that would be, but I made an attempt. Let me know if you need anything changed.

:+1:

Closing within the PR #1643 for the same reason - https://github.com/django-oscar/django-oscar/pull/1643#issuecomment-364450052

authors: SalahAdDin john-parton mvantellingen sasha0

repo: django-oscar/django-oscar


text:
Fixed #29808 -- Fixed initial migration detection when identifiers are case-insensitive.

Ticket 29808.
Not sure about the solution.
PR just created for proposing the solution.

@felixxm Thanks for the review. I added a fix for mixed-case column names based on the ignores_table_name_case feature flag.
wouldn't it better to change the feature flag name to ignores_identifier_case?

@charettes , Thanks for the review.
I've changed the patch to address your comments.
Please let me know if something else is needed.

@hramezani Thanks :+1: I pushed minor edits.

authors: felixxm hramezani

repo: django/django


text:
Don't raise E004 on a sublanguage if the base language is available

fixes: #31141

I think this is already handled by https://github.com/django/django/pull/12286

I think this is already handled by #12286

Oh, I had not seen it.
That was fast. Thanks!

authors: charettes quique


text:
Draft: Fixed #34479: Initial attempt at using watchfiles

https://code.djangoproject.com/ticket/34479 and https://forum.djangoproject.com/t/the-future-of-the-watchman-autoreloader/19973

Why was this closed?

authors: LeOndaz orf


text:
[1.8.x] Fixed #25407 -- Removed network dependency in GeoIP tests.

Backport of d0ed01cef0c5ebb7ea9a1fb36de823aa01428600 from master

This isn't needed, the actual issue is fixed in 1c4334f7935a6f37fdb84434a58be098de152bda.


text:
Fixed #26818 -- Responsive CSS for admin

Ticket #26818
Discussion in Django Developers Group.
Few notes:

CSS changes only. Flexbox layout are now supported by all major mobile browsers; It means we can do a lot of tricky things without changing markup
Responsive stylesheet is declared inside {% block responsive %} (any suggestions for better naming?) for two reasons:

to be after RTL file (because responsive.css has some overrides)
to allow third-party apps to override or inherit it

Live Demo
URL: http://demo.elky.me/
Credentials: demo / demo
Feedback and contribution are welcome.

Should we also add
<meta http-equiv="X-UA-Compatible" content="IE=edge">
in the base.html?

Depending upon what Microsoft browsers you support you may not need to continue using the X-UA-Compatible tag. If you need to support IE 9 or IE 8, then I would recommend using the tag.

x-ua-compatible

@Windsooon from what I read about this tag many developers suggest to use X-UA-Compatible HTTP Header rather than meta tag.
HTML5 Boilerplate quote:

If possible, we recommend that you remove the meta tag and send only the HTTP response header as the meta tag will not always work if your site is served on a non-standard port, as Internet Explorer's preference option Display intranet sites in Compatibility View is checked by default.

Official Microsoft IE site (now archived) quote:

The best practice is an X-UA-Compatible HTTP Header. Adding the directive to the response header tells Internet Explorer what engine to use before parsing content begins. This must be configured in the web site's server. Custom HTTP Headers can be added in Internet Information Server through the management console.

Thanks for pointing out , but I not sure django sending X-UA-Compatible header now, instead, you may have a look at
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <title>Improved regex in strip_tags ·  d7504a3 · django/django</title>
    <link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="GitHub" />

https://github.com/django/django/blob/3c447b108ac70757001171f7a4791f493880bf5b/tests/utils_tests/files/strip_tags1.html#L5

@Windsooon Django shouldn't send X-UA-Compatible header by itself, web server should care about it. Also, this meta tag doesn't affect any responsive stuff, so how about to discuss it in Trac or in Developers group?

Sure, maybe others have some good ideas.
elky <notifications@github.commailto:notifications@github.com> 於 2017年6月8日 下午4:32 寫道：
@Windsooonhttps://github.com/windsooon Django shouldn't send X-UA-Compatible header by itself, web server should care about it. Also, this meta tag doesn't affect any responsive stuff, so how about to discuss it in Trac or in Developers group?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/django/django/pull/8610#issuecomment-307036590, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ANq0di9ED2nPqjdDaj-PXwxJRHEA9-2uks5sB7GEgaJpZM4NxqrV.

@elky, do you have time to finish this up?

@timgraham yes, I do. Going to finish this next week

reminder: 2.0 feature freeze is in two weeks.

@elky Need help on some part?

@claudep no thanks, I'm gonna update this PR tonight, it's almost done.

Awesome!

authors: Windsooon claudep elky timgraham


text:
Fixed #28894 -- Fixed functools.partial() serialization for migrations.

Ticket #28894.

Closing as wontfix as discussed on the ticket.


text:
Soften redis dependency to ~> 3

I've run into issues with gems depending on redis 3.2. This softens to ~> 3, which I'm pretty confident won't cause any issues. Tests pass.

Travis indicated that 1.9.2 broke for the tests, so this now drops 1.9.2 and adds 2.2.0. This should only affect development and testing.
If you'd like to preserve 1.9.2, I can soften this with a PR that only changes the gemspec.
I'd love a version bump and release if you have the time. Thank you!

Dead PR, closing.

repo: djcp/linnaeus


text:
🛑 Writeguard is down

In 565ef69, Writeguard (https://www.writeguard.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Writeguard is back up in 3172b93.


text:
CH376 Library MoveCursor issue

Hi,
i use the library with Arduino UNO reading a text file from disk on key (DOK).
while reading the file with example everything is great.
i am trying to read a section from the file using MoveCursor. i noticed that it works fine until a point where the byte address is close to 512 byte area in the file and so on - 1024, and multiplications of 512. at this point i am getting part of the correct data from the file and after 512 location it seems to get the first bytes of the file.
is it a bug?
am i doing something wrong?
thanks

Hi. That is probably a bug.The sectorCounter variable is not updated during moveCursor call. I will look on it.
Thanks

Hi,
thank you!
it will be great if you will fix the bug and update the great library.

It's corrected and updated. Thank you for your appreciation, it means a lot to me.
I'm closing this issue.

If you still have a problem with it, please reopen this issue.

Hi,
Thank you very much.
I made a little test and it seems work as it should.
Thank you for your fast response.
If i'll find any problem then i will report it again.
Have a nice day!

authors: djuseeq yaronze


text:
Replace fire symbol 🔥

In #585 it was alluded that the flags were a visual clutter.. maybe we can rethink the current use of 🔥 to denote projects on GitHub with many stars..
In fact, maybe we should use one of the following instead
★
☆
cc @vpeschenkov

Please participate in the "poll" below (vote with 👍)

🔥 is fine

Use ★

Use ☆

Use ⭐

Use 🌟

authors: dkhamsing scribblemaniac

repo: dkhamsing/open-source-ios-apps


text:
Docker kontejner se stalno restarta

Kreirao sam kontejner prema uputama, ali isti se stalno restarta. Nikakav log na žalost nisam uspio uloviti.

@mojrs10 Mozes li mi dati vise informacija? Dakle, povukao si container sa Docker Huba prema uputama (https://github.com/dkorunic/e-dnevnik-bot#running-as-a-docker-container) sa ispravnom konfiguracijom i kad se pokrene, odmah se zatvori i nema ga vise u docker ps? Ako je tome tako, ajde molim te onda nemoj pokrenuti sa --detach, ostavi sve ostale parametre i pejstaj ovdje u issue sto se desava.

Rekao bih da je problem ili sa konfiguracijskom fajlom (nisu uneseni ispravni podaci) ili zbog lokacije s koje se pokreće doker. Meni se restartao jer sam pokretao docker unutar ednevnik direktorija u kojem je bio i .ednevnik.toml i u tom slučaju se kreirao novi ednevnik direktorij u kojem nije bilo .ednevnik.toml konfiguracijska datoteka ($pwd/ednevnik/ednevnik umjesto $pwd/ednevnik).

Bilo je problema samim postavkama kod izrade kontejnera i nakon malo isprobavanja proradilo je sa ovim postavkama (putanja je malo prilagođena):
docker run --detach
--name=ednevnik
--network=host
--volume "/sharedfolders/docker_postavke/ednevnik:/ednevnik"
--restart unless-stopped
dkorunic/e-dnevnik-bot
--daemon
--verbose
--database /ednevnik/.e-dnevnik.db
--conffile /ednevnik/.e-dnevnik.toml
Povezao sam ga za sad sa Telegramom pa slijedi malo testiranja.

authors: dkorunic mojrs10 nsturko

repo: dkorunic/e-dnevnik-bot


text:
Fix 22959 - Extend documentation for C/D main functions.

For D mains, document that parameter / return types may be qualified and
also can be replaced by enums with appropriate base types.
For C mains, document that it may be used without -betterC and how it
interacts with runtime initialization. Replaced the list of allowed
signatures with a proper grammar and also added a workaround for exotic
main signatures.

tools/check_ddoc.d $(find /dev/shm/dtest/work/repo/dlang.org/web -type f -name "*.html" -not -path "/dev/shm/dtest/work/repo/dlang.org/web/phobos/*")
/dev/shm/dtest/work/repo/dlang.org/web/dlangspec.html:17293: [RAW MACRO LEAKAGE] $(SPEC_S Functions,
/dev/shm/dtest/work/repo/dlang.org/web/spec/function.html:145: [RAW MACRO LEAKAGE] $(SPEC_S Functions,

@ntrel Thanks for the review, I've included your suggestions.

authors: MoonlightSentinel thewilsonator


text:
Presentation-specific behaviors do not appear in manifest flat GET

When you POST a new manifest to /manifests, the returned JSON will show a behavior field containing what was defined in the payload, like so:
  ...
  "modified": "2024-11-21T15:30:20Z",
  "createdBy": "Admin",
  "@context": [
    "http://tbc.org/iiif-repository/1/context.json",
    "http://iiif.io/api/presentation/3/context.json"
  ],
  "id": "https://presentation-api.dlcs.digirati.io/52/manifests/74nrg5qi9h4h3fqla2rq",
  "type": "Manifest",
  "label": {"en":["Example Manifest"]},
  "behavior": [
    "public-iiif",
    "paged"
  ],
  ...

But if you request GET on the same manifest's flat URL afterwards, any behaviour specific to Presentation (e.g public-iiif) will be omitted:
  ...
  "modified": "2024-11-21T15:30:20Z",
  "createdBy": "Admin",
  "@context": [
    "http://tbc.org/iiif-repository/1/context.json",
    "http://iiif.io/api/presentation/3/context.json"
  ],
  "id": "https://presentation-api.dlcs.digirati.io/52/manifests/74nrg5qi9h4h3fqla2rq",
  "type": "Manifest",
  "label": {
    "en": [
      "Example Manifest"
    ]
  },
  "behavior": [
    "paged"
  ],
  ...

Not a bug - Manifests shouldn't have these behaviours.

Reopened - the bug is that the custom items are returned in POST body, rather than them being missing from GET.
I will fix alongside #62

authors: donaldgray griffri

repo: dlcs/iiif-presentation


text:
Incorrect highlighting of ephemeral types (^)

A picture is worth a thousand words:

This appears to be an issue again:

license: unlicense


text:
compiler resolves math in calc function incorrectly

Currently I have some Scss that looks like this:
.search-container {
	width: calc(100% - 20px);
	margin: 0 10px;
}

However, when it runs through gulp-sass, it is converted to:
.search-container {
	width: calc(80%);
	margin: 0 10px;
}

The more I'm looking at the Sass library, the more I'm thinking this is their issue... closing.

repo: dlmanning/gulp-sass


text:
[FEATURE REQUEST] Status of internet connection

hi, is it possible to retrieve the status of the internet connection?
I would like to be able to start specific automations in the event of an internet outage (presence detection, for example, because no one connects via wifi and therefore the heating management is switch off, although the heating management works locally, so when I am there I can force locally a boolean input to simulate a presence, but when I'm not there... my wife is not happy :-) )
Thanks in advance
Best Regards.

@geobar78 It seems to be binary_sensor.miwifi_00_00_00_00_00_00_wan_state and displays the connection, doesn't it?

hooo thank you very much for your return, I'm ashamed to have been so blind, I'm going to hide in a very small hole.

repo: dmamontov/hass-miwifi


text:
make avatar-recorder/avatar-replayer Inspector-ready

Fix tests.
Add autoPlay to avatar-replayer so we can control if it starts playing immediately when set on the scene.

Working on summarizing all of the changes made...

Need to fix tests and explain every change in this PR, but this can now be roughly tested at https://ngokevin.github.io/aframe-inspector/example/ while I polish up.


text:
Use StatsBase 0.8.0's AIC, BIC and df

These functions now have generic definitions in StatsBase.
Without this, a conflict arises when running the tests, so we can't tag a new release of StatsBase.
I didn't touch npar, but since it's exactly the same function as df, we should probably keep only one of them. I find npar slightly misleading since people won't usually think of sigma as a parameter, but maybe that's just me.

Thanks! Could you tag a new release and open a PR to register it, so that we can merge it at the same time as StatsBase?

@nalimilan Astonishingly, I am caught in another git mess that I don't know how to resolve.  (That's sarcasm - I don't think I have ever tagged and published a release without getting caught in a git mess.) I'm not even sure what the problem is as there does seem to be a valid release of the Showoff package.  There are problems with Showoff but only on Julia version 0.5.0-dev, I believe.
I have tagged a release but now I get this
julia> Pkg.publish()
INFO: Validating METADATA
ERROR: packages with unsatisfiable requirements found:
    MixedModels v0.4.5 – no valid versions exist for package Showoff

 in error at error.jl:21
 in check_metadata at pkg/entry.jl:635
 in publish at pkg/entry.jl:372
 in anonymous at pkg/dir.jl:31
 in cd at file.jl:22
 in cd at pkg/dir.jl:31
 in publish at pkg.jl:61

I think I have it worked out now.  See https://github.com/JuliaLang/METADATA.jl/pull/4695

authors: dmbates nalimilan