Install and setup

To install kwm currently one has to check out the repo, make the binary, then run kwm. This shows in Accessibility as iTerm for me, and must be granted Accessibility access again when launchd runs it as kwm. I feel that this could be simplified.
I am willing to bet that the kind of person who is interested in kwm also has Homebrew installed. By making Homebrew the suggested way of installing kwm you would be able to remove the kwmc config launchd enable | disable code and handle that though documentation / homebrew.
brew install kwm
# Brew shows caveats with message about examples directory
# and commands to run to start kwm at login.
ln -s /usr/local/opt/kwm/*.plist ~/Library/LaunchAgents/
launchctl load -w ~/Library/LaunchAgents/com.koekeishiya.kwm.plist
# Accessibility challenge for kwm

vs
git clone https://github.com/koekeishiya/kwm.git
cd kwm
make install
./bin/kwm
# Accessibility challenge for iTerm
# New iTerm window
./bin/kwmc  config launchd enable
# Accessibility challenge for kwm next log in.

Homebrew would make updating simpler too
brew update kwm
kwmc quit

vs
git pull
make install
./bin/kwmc quit

If you insist on keeping kwmc config launchd enable then perhaps add a kwmc start to go along with kwmc quit?
It looks like there is a pull request out to get kwm into Homebrew but has some feedback that needs to be addressed. https://github.com/Homebrew/homebrew/pull/47459. You may need to make some changes to the Makefile to support prefix in order for the PR to be accepted. Once the needed updates are made I can make sure the PR for Homebrew gets merged.
Documentation would be updated to promote the Homebrew installation method and add an alternative manual install method (that include optionally copying the plist and kwmrc to the correct locations).
What are your thoughts on all this?

See https://github.com/koekeishiya/kwm/issues/23
Makefile should already be good to go.
The problem with removing the launchd option and moving it to homebrew,
is more or less the fact that people that do not use homebrew would be able to opt-in for the launchd system.
Personally I don't really have an opinion on this.

But I think this requires maintaining 2 .plist files because there is no way to tell ahead of time where the user will place the binaries.

This is why I think it should be a) suggested people install though brew because it would handle all that for the user along with generating the correct plist, no maintenance on your part required.
For users that do no wish to use homebrew I can see kwm offering one of two things: Either a) Documentation with one-liner bash commands.
KWM Docs:
# Installing KWM with out Homebrew:
git clone https://github.com/koekeishiya/kwm.git
cd kwm
make install
# If you wish to start kwm at login run the following commands
# Update the plist with the path to kwm.
sed -i "s/\/path\/to\/kwm/$(pwd)/bin/kwm/" kwm.plist #this sed command is mostly made up but this is the gist of it
cp kwm.plist ~/Library/LaunchAgents/
launchctl load ~/Library/LaunchAgents/kwm.plist
# Accept kwm accessibility permissions.

My reasoning for this is it removes a lot of the launch management from kwm itself (thus simplifying the code). The launchctl step is something that would only have to be set up once, and anyone who is comfortable enough to git clone and make install should also be able to run 3 extra commands to run at login. However if you do not want to remove the launchd option from kwm I understand.
I will try and shepherd the PR for homebrew to get merged. I will then submit a PR with doc updates for your review.
Thanks!

@napcae What is the status of the Homebrew PR feedback? If you need someone to take over that for you please let me know.

Something I have noticed and wasn't sure if it was a problem with something I was doing or not: Every time I pull and rebuild kwm (or what update would do in homebrew) I have to grant kwm Accessibility access again. Is there any way around that issue? Does it have to do with being a binary and not an application bundle?

This is a part of the security mechanism implemented by OSX and there is no way around this as far as I know. When Kwm gets recompiled, the signature of the binary changes, and thus must be granted access again.

I have other applications that request Accessibility access and when those update do not request it again. I'm guessing that is due to code signing?

I haven't really looked into it too much, so I can't say how they do it. I have no prior experience with developing on OSX before this project either.

Good to know, I can start code signing it myself no problem. Though I wonder for a much longer term solution turning this into a distributed .app (application bundle) might be worth doing? The binary can be distributed along with the source code how Amethyst is distributed.

I've also been doing some reading on code signing for a more long term solution. Seems that whenever a new release is done a prebuilt binary can be used in which can have the code signed. This prebuilt binary can then be specified as a Homebrew bottle in which homebrew will install the prebuilt and signed binary instead of building from source and thus avoiding having to give Kwm accessibility permission on every update

Good find, a Homebrew Bottle distributed though the github releases system might be the best bet. Here is more documentation on bottles

Just to confirm: I have started to codesgin after making the binary and it has stopped asking for Accessibility permissions aside from the first launch.
Using homebrew bottles and distributing a codesigned binary though github sounds like the best idea for a long term solution.

Forgot this was a thing, my bad.
I have confirmed as well that a codesigned  binary does not ask for accessibility permissions after being enabled once.
I can indeed provide a codesigned binary for use with homebrew if that is requested. However, I have no idea how really how homebrew formulas work or what they require really, so I'll leave that up to some of you guys.

I can indeed provide a codesigned binary for use with homebrew if that is requested. However, I have no idea how really how homebrew formulas work or what they require really, so I'll leave that up to some of you guys.

I have pretty much just been waiting for codesigned binaries to be distributed though a zip file in GitHub Releases.
Once these binaries are available I will make a new PR for homebrew that uses the bottle.

Aight sorry about that.
A codesigned binary release can be found here:
https://github.com/koekeishiya/kwm/releases/tag/v1.0.8
Updates for Kwm will probably not be as frequent anymore, as my courses at university have just started again. This leaves me with quite little time to work on Kwm. More changes will be coming, but at a much slower rate.

I'll tackle the homebrew formula either in a few hours or tomorrow.
However I did notice that the default kwmrc did not appear to be in the pre built release, which might be useful to include.

Good catch, fixed that now.

Just an FYI to anyone watching this ticket, homebrew will not be able to be used. I will need to submit this to homebrew-binary instead.
We can still submit to homebrew, however the binary can not be.

https://github.com/Homebrew/homebrew-binary/pull/290
Created PR to homebirew binaries. When / if this is accepted I will update the documentation to reflect the new installation process.
A new codesigned binary should be built and a new version released soon because there have been some important bug fixes since the 1.0.8

Released 1.0.9 to get in a couple of the important fixes, also includes codesigned binary.

The submission on Homebrew has been closed with a few changes to the submission left unfulfilled. Is there any chance to get this reopened and installing through Homebrew?
https://github.com/Homebrew/homebrew/pull/47459

I have a PR out to the homebrew-binaries tap already. See the link 2 comments above yours @abienz

I'm getting close to a point where I feel like Kwm is very stable for daily use, with the exception of changing montior arrangements without restarting Kwm.
Because of this, changes that I do from now on will probably not be as important to get immediately, and so it might be more realistic to get Kwm in the main homebrew repository despite not getting codesigned binaries, if this is something people are still interested in.

I have been following though with the homebrew-binary very recently. That should be merged in very soon.
I personally think it is very annoying to update kwm with out codesigning to the point where I have my own kwm-update script that pulls, compiles, and code signs for me.
I am very unsure if homebrew allows for duplicate packages when another tap has it already.

Because of this, changes that I do from now on will probably not be as important to get immediately

I think that's a pretty good reason to keep releasing built binaries that are code signed. People that want to run bleeding edge can download and install the OS X SDK and compile it themselves (and code sign it if they desire).
If we can get it in both homebrew taps then that would be best, however if we have to choose between homebrew-binary and homebrew I would say homebrew-binary is more useful to more people.

Agreed with the points given above. I'll probably put out version 1.1.2 some time during this week. There has been quite some important changes.

I'm getting close to a point where I feel like Kwm is very stable for daily use, with the exception of changing monitor arrangements without restarting Kwm.

What about #123? Still a very big issue, because unless you're using external tools like gfxCardStatus you have no way to tell what happened and why kwm reset. I wouldn't consider that stable for everyones daily use to be honest.

What about #123? Still a very big issue, because unless you're using external tools like gfxCardStatus you have no way to tell what happened and why kwm reset. I wouldn't consider that stable for everyones daily use to be honest.

This is an issue I can't really work on unless it can be connected directly with some other issue I can debug, as I do not have a macbook with a dGPU

The PR for homebrew/binary has been merged and I've updated install instructions to reflect these changes.

The plist generated through the formula use /usr/local/opt/kwm/kwm as the path for the binary.
I've noticed that the directory /usr/local/opt/kwm is not created, and it does not contain the kwm binary nor the plist file itself.
If the actual binary itself is copied, and not symlinked, I believe the kwm-overlay binary has to be copied in to the opt directory as well as Kwm the path of the binary to search for this file.

Huh, the formula worked when I was testing. I was able to install and launch kwm though the instructions. I will have to investigate this issue.

I just tested again and everything is working as expected. I am able to launch kwm though launchd using the Caveats listed post install.
What issue are you seeing, I'm not sure I completely understand?

┌[オスムンド::~
└┤[18:28] ->>> brew install kwm
==> Installing kwm from homebrew/binary
==> Downloading https://github.com/koekeishiya/kwm/releases/download/v1.1.1/Kwm-1.1.1.zip
Already downloaded: /Library/Caches/Homebrew/kwm-1.1.1.zip
Error: The brew link step did not complete successfully
The formula built, but is not symlinked into /usr/local
Could not symlink bin/kwmc
Target /usr/local/bin/kwmc
already exists. You may want to remove it:
rm '/usr/local/bin/kwmc'

To force the link and overwrite all conflicting files:
brew link --overwrite kwm

To list all files that would be deleted:
brew link --overwrite --dry-run kwm

Possible conflicting files are:
/usr/local/bin/kwmc -> /Users/Koe/Documents/programming/C++/Kwm/bin/kwmc
==> Caveats
Copy the example config from /usr/local/Cellar/kwm/1.1.1/kwmrc into your home directory.
mkdir -p ~/.kwm
cp /usr/local/Cellar/kwm/1.1.1/kwmrc ~/.kwm/kwmrc

To have launchd start homebrew/binary/kwm at login:
ln -sfv /usr/local/opt/kwm/*.plist ~/Library/LaunchAgents
Then to load homebrew/binary/kwm now:
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.kwm.plist
==> Summary
🍺  /usr/local/Cellar/kwm/1.1.1: 6 files, 351.8K, built in 0 seconds
┌[オスムンド::~
└┤[18:29] ->>> cat /usr/local/opt/kwm
cat: /usr/local/opt/kwm: No such file or directory
/usr/local/opt/kwm does not exist

chrishoage at Constance in ~
❯ brew install kwm
==> Installing kwm from homebrew/binary
==> Downloading https://github.com/koekeishiya/kwm/releases/download/v1.1.1/Kwm-1.1.1.zip
Already downloaded: /Library/Caches/Homebrew/kwm-1.1.1.zip
==> Caveats
Copy the example config from /usr/local/Cellar/kwm/1.1.1/kwmrc into your home directory.
  mkdir -p ~/.kwm
  cp /usr/local/Cellar/kwm/1.1.1/kwmrc ~/.kwm/kwmrc

To have launchd start homebrew/binary/kwm at login:
  ln -sfv /usr/local/opt/kwm/*.plist ~/Library/LaunchAgents
Then to load homebrew/binary/kwm now:
  launchctl load ~/Library/LaunchAgents/homebrew.mxcl.kwm.plist
==> Summary
🍺  /usr/local/Cellar/kwm/1.1.1: 6 files, 351.8K, built in 0 seconds

chrishoage at Constance in ~
❯ less /usr/local/Cellar/kwm/1.1.1/kwmrc

chrishoage at Constance in ~
❯ ln -sfv /usr/local/opt/kwm/*.plist ~/Library/LaunchAgents
/Users/chrishoage/Library/LaunchAgents/homebrew.mxcl.kwm.plist -> /usr/local/opt/kwm/homebrew.mxcl.kwm.plist

chrishoage at Constance in ~
❯ launchctl load ~/Library/LaunchAgents/homebrew.mxcl.kwm.plist

chrishoage at Constance in ~
❯ launchctl unload ~/Library/LaunchAgents/homebrew.mxcl.kwm.plist

chrishoage at Constance in ~
❯ brew uninstall kwm
Uninstalling /usr/local/Cellar/kwm/1.1.1... (6 files, 351.8K)

chrishoage at Constance in ~
❯ rm ~/Library/LaunchAgents/homebrew.mxcl.kwm.plist
remove /Users/chrishoage/Library/LaunchAgents/homebrew.mxcl.kwm.plist? y

I wonder if it has to do with your Target /usr/local/bin/kwmc error?

I wonder if it has to do with your Target /usr/local/bin/kwmc error?

So I deleted my previous symlink, and indeed this was the problem.
I guess the formula works as intended then.

:+1:  phew


Is training code available ?

Hi @bhosalems , no training is needed. You just need to download the pretrained models and do the inference based on them


Imports could not be organized

System information

OS: Windows 10
TypeScript Hero version: 2.3.1
VSCode version: 1.21.0

Description
I'm seeing this error when trying to organize imports:
2018-03-12T14:27:20.965Z - error: [ImportOrganizer] Imports could not be organized, error: TypeError: Cannot read property 'Symbol(Symbol.iterator)' of undefined {"meta":{"file":"FILE_PATH"}}

Steps to reproduce

Open Output tab in VS Code
Choose TypeScript Hero in the selection
Open some .ts file
Call "TS Hero: Organize imports (sort and remove unused)" or press Ctrl+Alt+O
See error

Note: I noticed the issue only on one file in a project, organize imports for the file works in WebStorm with no issues.

Can you provide the (redacted) content of the file? Obviously it has something to do with the file's contents.

@buehler here is  redacted file content, hopefully, it will be useful:
import { Component, Input, OnDestroy, OnInit, ViewChild, } from '@angular/core';
import { Observable } from 'rxjs/Observable';
import { Subject } from 'rxjs/Subject';
import { Store } from '@ngrx/store';

import * as wjcGrid from 'wijmo/wijmo.grid';
import { CellRangeEventArgs } from 'wijmo/wijmo.grid';
import * as wjCore from 'wijmo/wijmo';

import { Item, EmptyItem, Location, Account } from '../../models';
import { AppState, selector } from '../../state/reducers';
import * as fromApplication from '../../state/actions/application';

@Component({
  selector: 'my-test-component',
  templateUrl: './my-test-component.html',
  styleUrls: ['./my-test-component.component.scss']
})
export class MyTestComponent implements OnInit, OnDestroy {
  private location: Location;
  private _destroy$ = new Subject();

  public types: Observable<Item[]>;

  @Input() set model(location: Location) {
    this.location = location;
  }

  constructor(private store: Store<AppState>) {  }

  ngOnInit() {
    this.types = this.store.select(selector.getTypes).takeUntil(this._destroy$);
  }

  ngOnDestroy() {
    this._destroy$.next();
  }

  public addAccount() {
    this.store.dispatch(new fromApplication.AddAccount(new Account()));
  }

  public removeAccount(account: Account) {
    this.store.dispatch(new fromApplication.RemoveAccount(account);
  }
}

I'm experiencing the same issue, and I narrowed down the problem to a line in the form import * as x from "./file". Removing this line removed the issue.


zopen alt -d option doesn't do anything

At least, nothing I see...
FULTONM@ZOSCAN2B bash ~> zopen alt -d 2 git
1: git-<IP_ADDRESS>30906_213139.zos  <-  current
2: git-<IP_ADDRESS>30912_202104.zos
FULTONM@ZOSCAN2B bash ~> zopen alt -d 1 git
1: git-<IP_ADDRESS>30906_213139.zos  <-  current
2: git-<IP_ADDRESS>30912_202104.zos

Although perhaps 'default' is different than 'current' ?

Adding the option -s sets the alternative package for me. Perhaps a better name is "option" rather than "default option" to avoid the prompt.

Comparing to linux's alternatives command:
       alternatives --list
       alternatives --set <name> <path>
       alternatives --display <name>

I agree with Mike that it's probably more intuitive to specify the path vs a number.

-d was required to stop the user-interaction during zopen-init when the initial fork needed to install and pin itself; it was a bit of a "workaround" but no longer needed. The --set parameter should behave like the "alternatives" and the default behaviour for zopen-alt is the similar to alternatives --display   showing the current version [but also lists all alternatives]


attempt fix bar accessibility

Description

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] I have signed the Adobe Open Source CLA.
[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

Thanks @mia-mifeng ! I will address in https://github.com/adobe/react-spectrum-charts/pull/477


Update compile-install.md

fix docker install Distributed AI

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


x64 Windows: access violation in FcInit()

Exception thrown at 0x00007FF8AF470B1D (ntdll.dll) in libgdiplus.tests.exe: 0xC0000005: Access violation writing location 0xFFFFFFFFF6D1C290.

fontconfig.dll!readdir(DIR * dir) Line 100	C	Symbols loaded.
fontconfig.dll!FcDirScanConfig(_FcFontSet * set, _FcStrSet * dirs, _FcBlanks * blanks, const unsigned char * dir, int force, _FcConfig * config) Line 186	C	Symbols loaded.
fontconfig.dll!FcDirCacheScan(const unsigned char * dir, _FcConfig * config) Line 270	C	Symbols loaded.
fontconfig.dll!FcDirCacheRead(const unsigned char * dir, int force, _FcConfig * config) Line 319	C	Symbols loaded.
fontconfig.dll!FcConfigAddDirList(_FcConfig * config, _FcSetName set, _FcStrSet * dirSet) Line 355	C	Symbols loaded.
fontconfig.dll!FcConfigBuildFonts(_FcConfig * config) Line 388	C	Symbols loaded.
[Inline Frame] fontconfig.dll!FcInitLoadConfigAndFonts() Line 106	C	Symbols loaded.
fontconfig.dll!FcInit() Line 124	C	Symbols loaded.
libgdiplus.dll!GdiplusStartup(unsigned __int64 * token, const GdiplusStartupInput * input, GdiplusStartupOutput * output) Line 51	C	Symbols loaded.

Problematic code:
        if(!dir->result.d_name || _findnext(dir->handle, &dir->info) != -1)
        {
            result         = &dir->result;
            result->d_name = dir->info.name;
        }

Probably actually a bug in hexchat/gtk-win32

@hughbe FYI: I added support for Visual Studio because that enabled me to debug a couple of PNG-related issues in libgdiplus. Using hexchat/gtk-win32 was a tactical choice as they provided the correct dependencies at the time.
There have been some changes in VC++ -land since, for example via the introduction of vcpkg. It looks like vcpkg now includes most, if not all, dependencies of libgdiplus.
It may be a better way to build & debug libgdiplus on Windows using Visual Studio.

Awesome. I might investigate that, although I quite like the nuget restore approach.
The reason I’m focusing on a bunch of Windows stuff right now is because my Mac broke and I’m stuck on windows and want to run tests against libgdiplus

The NuGet packages for VC++ are CoApp packages, and as far as I know CoApp is no longer under active maintenance.
I liked the idea too, but it looks like vcpkg is the way forward.

Fixed when we updated our GTK version on Windows


Autocomplete does not display results of the first request

Hi,
When my "items-method" promise is called for the first time, items are not displayed
But the following requests are displayed
I'm sure that my promise is resolved with an array of items during the first call.
I have tried to init the autocomplete with the ng-model but it did not work so I don't really unsderstand what the ng-model is for.
$scope.autosuggested_stars = []

<label class="item item-input">
  <ion-autocomplete placeholder="Search by star name" items-method="search_by_name(query)" item-view-value-key="display_name" ng-model="autosuggested_stars" item-value-key="id" items-clicked-method="view_star_from_autosuggest(callback)"/>
</label>

Don't hesitate to ask me more details.

Hi,
can you maybe try to reproduce it with the following template such that I can reproduce it: https://github.com/guylabs/ion-autocomplete/blob/master/test/e2e/ion-autocomplete.single-select.e2e.html. You can also create a CodePen if you want with the template here: https://github.com/guylabs/ion-autocomplete#demo
Well you are able to initialize the ng-model but then you need to implement the following method: https://github.com/guylabs/ion-autocomplete#the-model-to-item-method
Hope this helps.
Thanks and regards,
Guy

Thanks for the reply, I can't do it right now as I have to go until monday but I think think I do more that populate the autocomplete with a promise. Maybe the problem come from the setTimeout ?
I'm sorry to give you this piece of code without the template you gave me but I must leave right now and just had the time to adapt my function. If you try this code, it should do what I said in my first message.
<ion-autocomplete placeholder="Search by star name" items-method="search_test(query)" item-view-value-key="display_name" ng-model="autosuggested_stars" item-value-key="id"/>

    $scope.search_test = function(query){
        return new Promise(function (resolve_1, reject) {

            // Store the search to compare it after a second
            $scope.current_query = query

            // We don't lunch a search if the name.length < 3
            if (query.length >= 3) {

                // Will wait for 1 second before lunch a search
                setTimeout(function () {

                    // If the input has changed, we don't lunch the search
                    if (query === $scope.current_query) {

                        new Promise(function(resolve_2, reject){
                            resolve_2([
                                {
                                    id: 1,
                                    display_name: 'test1'
                                },{
                                    id: 2,
                                    display_name: 'test2'
                                }
                            ])
                        }).then(function(array_of_items){

                                // Do something on the data

                                resolve_1(array_of_items)

                            })
                    }
                }, 1000)
            }
        })
    }

Well this looks very complicated what you want to achieve and for me this has the "premature optimization is the root of all evil" smell in it. Why do you wait 1 second before doing the search? And why do you check if the passed in query is the same than before one second? Just to not call the back end too much?
Some general remarks: Please use the $timeout service from Angular and the $q for creating promises.
And also have a look here on how I test the promise support for the ion-autocomplete component:
https://github.com/guylabs/ion-autocomplete/blob/master/test/ion-autocomplete.single-select.spec.js#L226
Hope that helps and I think when you use the $q service and remove the complexity of the premature optimization then this will work as till now I never heard of this issue before.
If you need more help on that just ask me.
Thanks and regards,
Guy

I don't see the interest to call the backend for every character typed in the search form. I wait to cancel the request if the search has changed.
I changed setTimeout with $timeout and native Promise with $q but I still have the same result.
Finally I removed the timeout and the minLength for the search and I still have the same result.
Even if this may be a premature optimization, there is no reason for you plugin to not support it as it is nothing more than a promise.
With this code, I still have an empty result when I type "t".
    $scope.search_test = function (query) {
        return $q(function (resolve_1, reject) {

            $q(function (resolve_2, reject) {
                resolve_2([
                    {
                        id: 1,
                        display_name: 'test1'
                    }, {
                        id: 2,
                        display_name: 'test2'
                    }
                ])
            }).then(function (array_of_items) {

                // Do something on the data
                resolve_1(array_of_items)

            })
        })
    }

I tried with only one promise and with 1.0.0 rc3 and still have the same result. I think that I should do something wrong or you would already have spotted this issue.

Hi,
ok nice that it now works. If you want to be on the latest master you can always follow my blog post here: http://guylabs.ch/2015/05/08/get-latest-master-changes-of-a-bower-dependency. This way you always have the latest fixes etc.
Thanks and regards,
Guy


incompatible with blushie's magic storage

this is more just a question before I make a horrible mistake because they are not compatible if i use this one does all my stuff from Blushie's magic storage or do i need to grab a crap ton of chest to transfer over

It is currently coded such that it doesn't load together with blushie's version.
And even if it did, you still have to craft all the blocks/components and move all the items


Account banned for no reason, new account too!

On the last week i was trying to start my project runtime and getting an error (violated terms of service) i just got this error randomly,
after this i requested an new account to continue my projects, and got same error,
I tried again create new account and just not started the session, after 3 days i got banned (without start any session for 3 days, i just got banned for no reason)

Stop mining...

i have no reason to believe hes mining look at his github profile

Stop mining...

???

Send me your discord

We should follow the Code of Conduct in this community. Please use welcoming and inclusive language and avoid the use of violent threats, abusive, discriminatory, or derogatory language.

I close this issue. Dear @huawdinho, I sincerely sorry about your inconvenience and uncomfortable feeling. I hope your problem is solved, and we will keep improving the community grateful for you by following to the Code of Conduct. If you still have the problem, please raise a new issue.


'mw domain get' only works with 'project-id' in context

Works only if it has been set via mw context set --project-id, but not with flag --project-id.

The projectID should also not be necessary to get a Domain, according to the API -> here.
But the command enforces it:
❯ mw domain get <my-domain-id>

ERROR  No project ID given. Please consult the --help page of this command or set a default project with 'mittwald context set --project-id <project-id>'

Oh, yeah. That flag is supported because you can also specify a domain by its hostname -- in which case, the project ID is needed to first list the domains of that project, and then filtering locally by hostname. I think, in the future this might be solved more elegantly using the upcoming short-id redirect feature in the API.
However, I concur that the project id should not be required in any case when a domain is specified by its ID; I'll take a look shortly.


Haynes article typesetting and copyediting

We need to start working on the copy editing and typesetting for the Courtney Haynes manuscript. I have started a branch entitled "haynes_noise".
Simon, are you able to work on this with me over the next 6 weeks. I would let you lead and assist as needed?

Yes, I'll find some time for in in the next weeks.

Hi @arcaldwell49
I've started working on the typesetting for the Haynes manuscript (see my recent commits). I used the new CIK Quarto template (arcaldwell49/cik-quarto). It worked quite well in general, but I noted some smaller problems. Those seem to be related to the template, as I can't reproduce them in normal Quarto documents.

Changing aspect ratio when resizing figures in PDF: Resizing large figures with out.width="100%" works, but changes the aspect ratio (see the PDF). This should be related to the template, as normal Quarto pdf rendering does the resizing automatically while keeping the aspect ratio.
Cross-referencing in PDF: I tried to do cross-referencing for figures and tables in html and pdf. This requires both html and pdf output to be generated within a single chunk, but that worked for me. I tried to rely on the native Quarto cross-referencing system, which should automatically add something like Figure 1: before the caption. This worked for html, but not for pdf (still the cross-referencing itself did work, just not the automatic caption generation). One could use a workaround, with generating different captions for html (only caption) and pdf ("Figure X:" + caption) with an !expr if (knitr::is_htlm_output()) statement in the chunk options, but as this problem does not occur in normal Quarto pdf rendering, i believe it is better to try to make changes to the template. In the medium term, we could try to get rid of using chunks at all to generate figures with using the default-image-extension YAML option (https://quarto.org/docs/authoring/figures.html#multiformat-figures), assuming that both pdf and html images have the same caption.

Is it possible that you can take a look at both issues and maybe update the Quarto template? I still have some minor work to do with the typesetting, which I would continue once these bigger problems are solved.

yep, let me open an issue

Hi Simon,
Issues are fixed in the branch and with the template.

Figures should now render to fit width and maintain aspect ratio with PDFs
Cross-referencing should work. however, it will not allow you to auto add the "Figure X:" label. In the figure caption you will need to add the notation for what figure number it is.

Let me know if it works on your end!

Hi @arcaldwell49
Thank you for fixing the issues. The pdf and html file should now be ready, except for one small problem with the 'less than or equal' sign. I'll open an issue in the cik-quarto repo.

Is there a less than or equal sign in the text?


[WIP] Use Rayon to parallelize rdo

It is more or less just an example on what we can do, it is currently ridiculously slow since I make some avoidable clones to not touch the encoder code.

[x] refactor the code to use for_each
[x] refactor the code to use flat_map
[x] refactor the code to use max_by
[x] use par_iter()
[ ] rework the FrameState so you do not have to make that many clones of it
[ ] make it actually fast.

Is this PR still needed or is it superseded by #984?

It was an unrelated experiment, we can close it.


Intermittent response... not sure if its my device or if there is something I can fix

Sometimes it finds my device, sometimes it doesn't... very intermittent from scan to scan.
Is the device doing something that could be causing this?

By intermittent response, are you saying that evilscan provide intermittent result ? i suppose yes.
In this case, can you please tcpdump while you are scanning, so we can check if the problem is device side or evilscan side.
thank you

tcpdump on which device?

on the computer where you launch evilscan

Alright, I’ll try to find some time this week to knock this out. Thanks!
On Oct 8, 2018, 8:17 AM -0400, eviltik<EMAIL_ADDRESS>wrote:

on the computer where you launch evilscan
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub, or mute the thread.

Okay so its been awhile but I wanted to follow up...
It's still intermittent for some users on whether it finds the device by port even when the IP of the device is clearly in the list to be scanned.
Any "gotchas" or situations you can think of that could be causing this that I could let my users know about?  Firewalls? Router settings? etc.?
What types of things would block this from finding it as OPEN or whatever?

firewall no, because it's intermittent.
Router settings it can. Check MTU if different than 1500.
Another point is timeout. Does your devices are heavy loaded ?

I’m sorry, when I say intermittent I mean I get a various spread of users complaining that it’s not finding their devices… so like users who are successful usually remain successful, but a certain number of users cannot ever find their device.
The device is a custom mobile device that always has a particular port exposed and do not generally have timeout issues or heavy load.  How long would it wait for a timeout?
I myself do not have any problems… but my limited testing is just not enough to rule out external forces involved.
On Jan 4, 2019, 12:12 PM -0500, eviltik<EMAIL_ADDRESS>wrote:

firewall no, because it's intermittent.
Router settings it can. Check MTU if different than 1500.
Another point is timeout. Does your devices are heavy loaded ?
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub, or mute the thread.

It's really hard to say from where the problem is coming from. As previously said, should be great to have a tcpdump server <=> device in a use case where the problem occured ...

default timeout is 2000 ms ... should be enought ...

try --timeout 50000 perhaps


makeStaticBinaries: Set -DCMAKE_SKIP_INSTALL_RPATH

Description of changes
Without this, you get error messages during the install phase along the
lines of: "file RPATH_CHANGE could not write new RPATH:".
This is unsurprising because the static binaries do not have any dynamic
linker and thus, no runpath to rewrite either.
Tell cmake it doesn't need to do RPATH manipulation by passing
cmakeFlags.
While we're here, I also renamed finalAttrs to args and fixed the
indentation; this improves consistency with the surrounding code and
eliminates a point of confusion: because it was named finalAttrs I
presumed I should be able to influence it with an overrideAttrs setting
dontAddStaticConfigureFlags, but this turns out not to be possible;
adding prevAttrs as well doesn't work because of a limitation of
overrideAttrs whereby it gives an infinite recursion if the set of
attribute keys being returned depends on finalAttrs.
Signed-off-by: Peter Waller<EMAIL_ADDRESS>
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

cc @Artturin, thanks for your help.

@Artturin friendly ping, is this ready, anything I can do to make it so?


Builtin Support for tagbar!

Thank you for working on this project :+1:
I have a small question. The documentation says:

Builtin Support for tagbar!

What does that mean? I've Tagbar installed and I've installed YATS but when I open the tagbar in a .ts file I get an empty tree? The Tagbar works fine for my init.vim file. I've Exuberant Ctags installed on my system. Should I install something else as well or have I misunderstood something?

I don't know why but ctags doesn't work for me either.
I believe it worked before, but now it cannot :(

I have figured out. First, if you are on OSX. You have to install exuberant tags. Not universal tags. The latter won't read ~/.ctags.
Then, you need to copy https://github.com/HerringtonDarkholme/yats.vim/blob/master/ctags/typescript.ctags to your ~/.ctags.

Thanks. That works. Should this be added to the documentation? Should I do a PR?

I have updated this plugin thus ctags will use yats' builtin tagbar file.

Nice. Thank you 👍


GUI checkboxes: some shouldn't have L or R options

These are the list of semiology checkboxes which shouldn't have a Left or Right option. just one checkbox, either ticked or not:
Aphasia
Aphemia
Astatic
Atonic
Auditory
Autonomous-Vegetative
**Coprolalia**  - note also the correct spelling
Cough
Dacrystic
Dialeptic/LOA
Drinking
Dysphasia
Epigastric
Fear-Anxiety
Gelastic
Grimace
Ictal Pout
LOC
Non-Specific Aura
Olfactory-Gustatory
Oral Automatisms
Other Automatism
**Palilalia** - note correct spelling
Psychic
Spitting
Vestibular
Vocalisation
Whistling

These semiology checkboxes should have the option to have L, or R, or a separate checkbox for "neutral/BL"
Blink
Hypermotor
Hypomotor
Lower Limb Automatism
Myoclonic
Other Complex Motor
Upper Limb Automatism
Visual
Tonic-Clonic

These should be removed altogether:
Hippocampal Sclerosis

The list of semiologies is automatically retrieved:
https://github.com/thenineteen/Semiology-Visualisation-Tool/blob/9e4cf8ed14d3d7b5d377dd4600d7cd12e52c57d8/mega_analysis/scores.py#L52-L55
Whether the semiologies are lateralisable or not should also be specified in the YAML file, not here.

"neutral/BL"

What is BL?

**Palilalia** - note correct spelling

The YAML needs to be corrected:
https://github.com/thenineteen/Semiology-Visualisation-Tool/blob/9e4cf8ed14d3d7b5d377dd4600d7cd12e52c57d8/resources/semiology_dictionary.yaml#L143

These should be removed altogether

Can you remove it from the YAML then?

BL = bilateral

yaml updated
but the lateralisation shouldn't be determined in yaml file.

BL = bilateral
yaml updated

Thanks.

the lateralisation shouldn't be determined in yaml file.

It should be somewhere in the repository. In that case, I suggest a new YAML containing the lists above.

good idea
how do we do this to be consistent with the GUI?

What about writing a data frame (CSV) like this:

Term
Left
Right
Neutral

Auditory
Yes
Yes
No

Aphasia
No
No
Yes

Blink
Yes
Yes
Yes

And then the GUI will read the CSV and look a bit like this:

Term
Left
Right
Neutral

Auditory
- [x] item1
- [x] item1

Aphasia

- [x] item1

Blink
- [x] item1
- [x] item1
- [x] item1

We would need to define rules for what is mutually exclusive or not, i.e. which options the user can choose simultaneously.

Yes
Only 1 option from R, L or neutral


chore(release): v2.3.1

Issue #, if available:
Description of changes:

Fix recommended ui-react version: is now ^3.1.0

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Codecov Report

Merging #522 (1de6c1a) into main (33b6d06) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #522   +/-   ##
=======================================
  Coverage   88.68%   88.68%
=======================================
  Files          68       68
  Lines        2527     2527
  Branches      731      731
=======================================
  Hits         2241     2241
  Misses        277      277
  Partials        9        9

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 33b6d06...1de6c1a. Read the comment docs.


Broken links in github page

There are some broken links in github page

'Visit the getting started guide to learn more.' there is a link to empty repository
'See the Best Practices Guide for advice on naming tasks.' I end up with Github's 404 page

Also under Why use Generate?:
These 2 are broken:
Comparison to Yeoman and Slush
Generator framework comparison

@jonschlinkert are @moltar's bugs related to mine? I don't know what changed since 2016

@jonschlinkert @doowb I can solve these issues. Can you guys provide links? This can be my first good contribution.


Install stuck when running within Dockerfile

Describe the bug
When running within a Dockerfile, the installation very often gets stuck at random point. Sometimes the installation go through but more often than not, the installation gets stuck at some point.
Outside of docker, the same installation takes ~3 minutes.
To Reproduce
Try to build the following Dockerfile
FROM mcr.microsoft.com/windows/servercore:ltsc2022

SHELL ["cmd", "/S", "/C"]

WORKDIR C:\Qt
RUN `
    curl -SL --output aqt.exe https://github.com/miurahr/aqtinstall/releases/download/v3.1.6/aqt_x64.exe `
    && aqt.exe install-qt windows desktop 6.5.1 win64_msvc2019_64 -m all `
    && del /q aqt.exe

Expected behavior
I expect Qt to get installed properly.
aqt output
INFO    : aqtinstall(aqt) v3.1.6 on Python 3.9.13 [CPython MSC v.1929 64 bit (AMD64)]
WARNING : Specified Qt version "6.5.1" did not exist when this version of aqtinstall was released. This may not install properly, but we will try our best.
INFO    : Downloading qtgrpc...
INFO    : Downloading qtlottie...
INFO    : Downloading qt3d...
INFO    : Redirected: mirror.netcologne.de
INFO    : Redirected: mirror.netcologne.de
INFO    : Redirected: mirror.netcologne.de
INFO    : Finished installation of qtlottie-Windows-Windows_10_22H2-MSVC2019-Windows-Windows_10_22H2-X86_64.7z in 3.26777330
INFO    : Finished installation of qtgrpc-Windows-Windows_10_22H2-MSVC2019-Windows-Windows_10_22H2-X86_64.7z in 3.52803030
INFO    : Downloading qtquick3dphysics...
INFO    : Finished installation of qt3d-Windows-Windows_10_22H2-MSVC2019-Windows-Windows_10_22H2-X86_64.7z in 4.16871600
INFO    : Downloading qthttpserver...
INFO    : Redirected: mirror.netcologne.de
INFO    : Finished installation of qthttpserver-Windows-Windows_10_22H2-MSVC2019-Windows-Windows_10_22H2-X86_64.7z in 1.70750000
INFO    : Downloading qtactiveqt...
INFO    : Downloading qtimageformats...
INFO    : Redirected: mirror.netcologne.de
INFO    : Finished installation of qtimageformats-Windows-Windows_10_22H2-MSVC2019-Windows-Windows_10_22H2-X86_64.7z in 0.81660200
INFO    : Downloading qtlanguageserver...
INFO    : Finished installation of qtquick3dphysics-Windows-Windows_10_22H2-MSVC2019-Windows-Windows_10_22H2-X86_64.7z in 31.57216270
INFO    : Redirected: mirror.netcologne.de
INFO    : Finished installation of qtlanguageserver-Windows-Windows_10_22H2-MSVC2019-Windows-Windows_10_22H2-X86_64.7z in 61.37897380
INFO    : Downloading qtlocation...
INFO    : Finished installation of qtactiveqt-Windows-Windows_10_22H2-MSVC2019-Windows-Windows_10_22H2-X86_64.7z in 64.64078780
INFO    : Redirected: mirror.netcologne.de
INFO    : Finished installation of qtlocation-Windows-Windows_10_22H2-MSVC2019-Windows-Windows_10_22H2-X86_64.7z in 2.10112600
INFO    : Downloading qtserialbus...
INFO    : Finished installation of qtserialbus-Windows-Windows_10_22H2-MSVC2019-Windows-Windows_10_22H2-X86_64.7z in 0.85372690
INFO    : Downloading qtserialport...
INFO    : Redirected: mirror.netcologne.de
INFO    : Finished installation of qtserialport-Windows-Windows_10_22H2-MSVC2019-Windows-Windows_10_22H2-X86_64.7z in 1.48499640
INFO    : Downloading qtspeech...
INFO    : Redirected: mirror.netcologne.de
INFO    : Finished installation of qtspeech-Windows-Windows_10_22H2-MSVC2019-Windows-Windows_10_22H2-X86_64.7z in 2.66761310
INFO    : Downloading qtmultimedia...
INFO    : Downloading qtvirtualkeyboard...
INFO    : Downloading qtcharts...
INFO    : Redirected: mirror.netcologne.de
INFO    : Finished installation of qtcharts-Windows-Windows_10_22H2-MSVC2019-Windows-Windows_10_22H2-X86_64.7z in 62.00352070
INFO    : Downloading qtconnectivity...
INFO    : Finished installation of qtconnectivity-Windows-Windows_10_22H2-MSVC2019-Windows-Windows_10_22H2-X86_64.7z in 1.12441020
INFO    : Downloading qtdatavis3d...
INFO    : Downloading qtquickeffectmaker...
INFO    : Redirected: mirror.netcologne.de
INFO    : Finished installation of qtquickeffectmaker-Windows-Windows_10_22H2-MSVC2019-Windows-Windows_10_22H2-X86_64.7z in<PHONE_NUMBER>0
INFO    : Downloading qtwebengine...
INFO    : Redirected: mirror.netcologne.de
INFO    : Finished installation of qtdatavis3d-Windows-Windows_10_22H2-MSVC2019-Windows-Windows_10_22H2-X86_64.7z in 32.96696520
INFO    : Downloading qtdeclarative...
INFO    : Redirected: mirror.netcologne.de
INFO    : Redirected: mirror.netcologne.de
INFO    : Finished installation of qtvirtualkeyboard-Windows-Windows_10_22H2-MSVC2019-Windows-Windows_10_22H2-X86_64.7z in 94.40435260
INFO    : Finished installation of qtdeclarative-Windows-Windows_10_22H2-MSVC2019-Windows-Windows_10_22H2-X86_64-debug-symbols.7z in 15.81319880
INFO    : Downloading qttools...
INFO    : Downloading qtwebchannel...
INFO    : Finished installation of qtmultimedia-Windows-Windows_10_22H2-MSVC2019-Windows-Windows_10_22H2-X86_64.7z in<PHONE_NUMBER>0
INFO    : Redirected: mirror.netcologne.de
INFO    : Finished installation of qtwebchannel-Windows-Windows_10_22H2-MSVC2019-Windows-Windows_10_22H2-X86_64.7z in 92.68909090
INFO    : Downloading qtnetworkauth...
INFO    : Downloading qtquick3dphysics...
INFO    : Redirected: mirror.netcologne.de
INFO    : Finished installation of qtquick3dphysics-Windows-Windows_10_22H2-MSVC2019-Windows-Windows_10_22H2-X86_64-debug-symbols.7z in 33.80262000
INFO    : Downloading qtquickeffectmaker...
INFO    : Finished installation of qtquickeffectmaker-Windows-Windows_10_22H2-MSVC2019-Windows-Windows_10_22H2-X86_64-debug-symbols.7z in 11.84587430
INFO    : Downloading qtquicktimeline...
INFO    : Redirected: mirror.netcologne.de
INFO    : Finished installation of qtquicktimeline-Windows-Windows_10_22H2-MSVC2019-Windows-Windows_10_22H2-X86_64-debug-symbols.7z in 1.43360180
INFO    : Downloading qt3d...
INFO    : Redirected: mirror.netcologne.de
INFO    : Redirected: mirror.netcologne.de
INFO    : Finished installation of qtnetworkauth-Windows-Windows_10_22H2-MSVC2019-Windows-Windows_10_22H2-X86_64.7z in 91.49126470
INFO    : Downloading qtpdf...
INFO    : Redirected: mirror.netcologne.de
INFO    : Finished installation of qt3d-Windows-Windows_10_22H2-MSVC2019-Windows-Windows_10_22H2-X86_64-debug-symbols.7z in 9.77364300
INFO    : Finished installation of qtpdf-Windows-Windows_10_22H2-MSVC2019-Windows-Windows_10_22H2-X86_64.7z in 2.35072560
INFO    : Downloading qtpositioning...
INFO    : Downloading qtcharts...
INFO    : Redirected: mirror.netcologne.de
INFO    : Redirected: mirror.netcologne.de
INFO    : Finished installation of qtpositioning-Windows-Windows_10_22H2-MSVC2019-Windows-Windows_10_22H2-X86_64.7z in 36.55840150
INFO    : Downloading qtcoap...
INFO    : Finished installation of qtcharts-Windows-Windows_10_22H2-MSVC2019-Windows-Windows_10_22H2-X86_64-debug-symbols.7z in 36.90656790
INFO    : Redirected: mirror.netcologne.de
INFO    : Downloading qtimageformats...
INFO    : Redirected: mirror.netcologne.de
INFO    : Finished installation of qtcoap-Windows-Windows_10_22H2-MSVC2019-Windows-Windows_10_22H2-X86_64-debug-symbols.7z in 0.91843860
INFO    : Downloading qtconnectivity...
INFO    : Finished installation of qtimageformats-Windows-Windows_10_22H2-MSVC2019-Windows-Windows_10_22H2-X86_64-debug-symbols.7z in 1.13780750
INFO    : Downloading qtlanguageserver...
INFO    : Finished installation of qtconnectivity-Windows-Windows_10_22H2-MSVC2019-Windows-Windows_10_22H2-X86_64-debug-symbols.7z in 28.62409640
INFO    : Finished installation of qtlanguageserver-Windows-Windows_10_22H2-MSVC2019-Windows-Windows_10_22H2-X86_64-debug-symbols.7z in 36.19865770
INFO    : Downloading qtlocation...
INFO    : Redirected: mirror.netcologne.de
INFO    : Finished installation of qtlocation-Windows-Windows_10_22H2-MSVC2019-Windows-Windows_10_22H2-X86_64-debug-symbols.7z in 4.17065910
INFO    : Downloading qtlottie...
INFO    : Redirected: mirror.netcologne.de
INFO    : Finished installation of qtlottie-Windows-Windows_10_22H2-MSVC2019-Windows-Windows_10_22H2-X86_64-debug-symbols.7z in 1.25554570
INFO    : Downloading qtmqtt...
INFO    : Redirected: mirror.netcologne.de
INFO    : Finished installation of qtmqtt-Windows-Windows_10_22H2-MSVC2019-Windows-Windows_10_22H2-X86_64-debug-symbols.7z in 1.05041710
INFO    : Downloading qtmultimedia...
INFO    : Redirected: mirror.netcologne.de
INFO    : Finished installation of qtmultimedia-Windows-Windows_10_22H2-MSVC2019-Windows-Windows_10_22H2-X86_64-debug-symbols.7z in 3.44790110
INFO    : Downloading qtnetworkauth...
INFO    : Redirected: mirror.netcologne.de
INFO    : Finished installation of qtnetworkauth-Windows-Windows_10_22H2-MSVC2019-Windows-Windows_10_22H2-X86_64-debug-symbols.7z in 0.91588200
INFO    : Downloading qtdatavis3d...
INFO    : Redirected: mirror.netcologne.de
INFO    : Finished installation of qtdatavis3d-Windows-Windows_10_22H2-MSVC2019-Windows-Windows_10_22H2-X86_64-debug-symbols.7z in 31.47374540
INFO    : Downloading qtgrpc...
INFO    : Redirected: mirror.netcologne.de
INFO    : Finished installation of qtgrpc-Windows-Windows_10_22H2-MSVC2019-Windows-Windows_10_22H2-X86_64-debug-symbols.7z in 1.06672610
INFO    : Downloading qthttpserver...
INFO    : Redirected: mirror.netcologne.de
INFO    : Finished installation of qthttpserver-Windows-Windows_10_22H2-MSVC2019-Windows-Windows_10_22H2-X86_64-debug-symbols.7z in 46.87229280
INFO    : Downloading qtscxml...
INFO    : Redirected: mirror.netcologne.de
INFO    : Finished installation of qtscxml-Windows-Windows_10_22H2-MSVC2019-Windows-Windows_10_22H2-X86_64-debug-symbols.7z in 2.48516250
INFO    : Downloading qtsensors...
INFO    : Redirected: mirror.netcologne.de
INFO    : Finished installation of qtsensors-Windows-Windows_10_22H2-MSVC2019-Windows-Windows_10_22H2-X86_64-debug-symbols.7z in 2.55544820
INFO    : Downloading qtserialbus...
INFO    : Downloading qtopcua...
INFO    : Redirected: mirror.netcologne.de
INFO    : Finished installation of qtopcua-Windows-Windows_10_22H2-MSVC2019-Windows-Windows_10_22H2-X86_64-debug-symbols.7z in 81.80542010
INFO    : Downloading qtpositioning...
INFO    : Redirected: mirror.netcologne.de
INFO    : Finished installation of qtpositioning-Windows-Windows_10_22H2-MSVC2019-Windows-Windows_10_22H2-X86_64-debug-symbols.7z in 1.48130970
INFO    : Downloading qtremoteobjects...
INFO    : Redirected: mirror.netcologne.de
INFO    : Finished installation of qtremoteobjects-Windows-Windows_10_22H2-MSVC2019-Windows-Windows_10_22H2-X86_64-debug-symbols.7z in 2.26298720
INFO    : Downloading qtvirtualkeyboard...
INFO    : Redirected: mirror.netcologne.de
INFO    : Finished installation of qtvirtualkeyboard-Windows-Windows_10_22H2-MSVC2019-Windows-Windows_10_22H2-X86_64-debug-symbols.7z in 2.57001310
INFO    : Downloading qtwebchannel...
INFO    : Redirected: mirror.netcologne.de
INFO    : Finished installation of qtwebchannel-Windows-Windows_10_22H2-MSVC2019-Windows-Windows_10_22H2-X86_64-debug-symbols.7z in 0.94080100
INFO    : Downloading qtwebengine...
INFO    : Redirected: mirror.netcologne.de
INFO    : Finished installation of qtserialbus-Windows-Windows_10_22H2-MSVC2019-Windows-Windows_10_22H2-X86_64-debug-symbols.7z in 31.71218320
INFO    : Downloading qtserialport...
INFO    : Redirected: mirror.netcologne.de
INFO    : Finished installation of qtserialport-Windows-Windows_10_22H2-MSVC2019-Windows-Windows_10_22H2-X86_64-debug-symbols.7z in 35.16989890
INFO    : Downloading qtspeech...
INFO    : Redirected: mirror.netcologne.de
INFO    : Finished installation of qtspeech-Windows-Windows_10_22H2-MSVC2019-Windows-Windows_10_22H2-X86_64-debug-symbols.7z in 1.11145490
INFO    : Downloading qt5compat...
INFO    : Finished installation of qtwebengine-Windows-Windows_10_22H2-MSVC2019-Windows-Windows_10_22H2-X86_64-debug-symbols.7z in 58.23537220
INFO    : Downloading qtwebsockets...
INFO    : Redirected: mirror.netcologne.de
INFO    : Finished installation of qtwebsockets-Windows-Windows_10_22H2-MSVC2019-Windows-Windows_10_22H2-X86_64-debug-symbols.7z in 0.90635620
INFO    : Downloading qtwebview...
INFO    : Redirected: mirror.netcologne.de
INFO    : Finished installation of qtwebview-Windows-Windows_10_22H2-MSVC2019-Windows-Windows_10_22H2-X86_64-debug-symbols.7z in 1.04430930
INFO    : Redirected: mirror.netcologne.de
INFO    : Finished installation of qt5compat-Windows-Windows_10_22H2-MSVC2019-Windows-Windows_10_22H2-X86_64.7z in 31.68573450
INFO    : Downloading qtquick3d...
INFO    : Redirected: mirror.netcologne.de
INFO    : Finished installation of qtquick3d-Windows-Windows_10_22H2-MSVC2019-Windows-Windows_10_22H2-X86_64.7z in 4.05415160
INFO    : Downloading qtquicktimeline...
INFO    : Redirected: mirror.netcologne.de
INFO    : Finished installation of qtquicktimeline-Windows-Windows_10_22H2-MSVC2019-Windows-Windows_10_22H2-X86_64.7z in 7.90102620
INFO    : Downloading qtshadertools...
INFO    : Redirected: mirror.netcologne.de
INFO    : Finished installation of qtshadertools-Windows-Windows_10_22H2-MSVC2019-Windows-Windows_10_22H2-X86_64.7z in 1.10945430
INFO    : Downloading qtbase...
INFO    : Redirected: mirror.netcologne.de
INFO    : Finished installation of qtbase-Windows-Windows_10_22H2-MSVC2019-Windows-Windows_10_22H2-X86_64.7z in 5.87012200
INFO    : Downloading opengl32sw...
INFO    : Redirected: mirror.netcologne.de
INFO    : Finished installation of opengl32sw-64-mesa_11_2_2-signed.7z in 1.58276080
INFO    : Downloading qtsvg...
INFO    : Redirected: mirror.netcologne.de
INFO    : Finished installation of qtsvg-Windows-Windows_10_22H2-MSVC2019-Windows-Windows_10_22H2-X86_64.7z in 39.00389610
INFO    : Downloading qtdeclarative...
INFO    : Redirected: mirror.netcologne.de
INFO    : Finished installation of qtdeclarative-Windows-Windows_10_22H2-MSVC2019-Windows-Windows_10_22H2-X86_64.7z in 11.72433010
INFO    : Downloading qttools...
INFO    : Redirected: mirror.netcologne.de
INFO    : Finished installation of qttools-Windows-Windows_10_22H2-MSVC2019-Windows-Windows_10_22H2-X86_64.7z in 3.75964040
INFO    : Downloading qttranslations...
INFO    : Redirected: mirror.netcologne.de
INFO    : Finished installation of qttranslations-Windows-Windows_10_22H2-MSVC2019-Windows-Windows_10_22H2-X86_64.7z in 1.08924710
INFO    : Downloading d3dcompiler_47...
INFO    : Redirected: mirror.netcologne.de
INFO    : Finished installation of d3dcompiler_47-x64.7z in 0.92557560
INFO    : Finished installation of qttools-Windows-Windows_10_22H2-MSVC2019-Windows-Windows_10_22H2-X86_64-debug-symbols.7z in<PHONE_NUMBER>0
INFO    : Downloading qt5compat...
INFO    : Redirected: mirror.netcologne.de
INFO    : Finished installation of qt5compat-Windows-Windows_10_22H2-MSVC2019-Windows-Windows_10_22H2-X86_64-debug-symbols.7z in 6.93481110
INFO    : Downloading qtshadertools...
INFO    : Redirected: mirror.netcologne.de
INFO    : Finished installation of qtshadertools-Windows-Windows_10_22H2-MSVC2019-Windows-Windows_10_22H2-X86_64-debug-symbols.7z in 3.09947010
INFO    : Downloading qtquick3d...
INFO    : Redirected: mirror.netcologne.de
INFO    : Finished installation of qtquick3d-Windows-Windows_10_22H2-MSVC2019-Windows-Windows_10_22H2-X86_64-debug-symbols.7z in 9.07543100

You can put problematic mirror server in blacklist feature.


Fix/lapse count of card

https://github.com/open-spaced-repetition/py-fsrs/pull/18
https://github.com/open-spaced-repetition/ts-fsrs/pull/57
https://github.com/open-spaced-repetition/swift-fsrs/pull/12

草，怎么这里也错了（

bug继承😂


Update/browsepage

Changed search page and functions to browse page and functions
Minor changes to display:

search bar in browse page instead of in navigation bar when in browse page
display 4 models per row

Some cleanup on server side code to prepare for filtering logic
fixed bug when trying to open browse page without url queries

Looks good!


CRF adjustments

Improves slightly the handling of the CRF optional requirement

Move warning when importing package to actually attempting to use crf without it being installed
Remove optional dependency in pyproject
Update remaining docs to state correct install step (w/o using above optional dep)

@C-Achard as mentioned on basecamp, I am working on this issue so it becomes a proper dependency. please wait until it's up on pypi (here is the project: https://github.com/AdaptiveMotorControlLab/pydensecrf); when tests pass again then it's mergeable!


[vcpkg upgrade] overlay triplet on osx does not work when running vcpkg upgrade.

Describe the bug
I am trying to us a overlay triplet for x64-osx
I have created overlay/triplets/x64-osx.cmake and set the environment variable VCPKG_OVERLAY_TRIPLETS to overlay/triplets
When building a port, I receive these lines:
[OVERLAY] Loading triplet configuration from: /Users/runner/mixxx-vcpkg/overlay/triplets/x64-osx.cmake
...
...
Error getting canonicalization of overlay/triplets: No such file or directory

Is it correct that the first line confirms that the file is there but it forgets it later on?
Environment

OS: osx
Compiler: GNU 11.1.0

To Reproduce
Steps to reproduce the behavior:
Use this workflow on github:
https://github.com/mixxxdj/vcpkg/blob/871675591e3fcc2b876d7a6f59cbe3518a142580/.github/workflows/build.yml
I am not able to provide a minimum failing receipt, because I have no access to an osx device.
Expected behavior
The overlay triplet should be used without failing
Failure logs
https://github.com/mixxxdj/vcpkg/runs/2960968025?check_suite_focus=true
Additional context
We need the overlay to set the VCPKG_OSX_DEPLOYMENT_TARGET to 10.12 for compatibility with old devices.

This issue cannot be reproduced by setting VCPKG_OVERLAY_TRIPLETS to an absolute path or a relative path.
But just in case, please make sure your vcpkg is up to date (and run bootstrap again) and set it as an absolute path and try again.
Thanks.

@daschuer  On OSX.

The issue is fixed when using an absolute path.
See: https://github.com/daschuer/vcpkg/runs/2989211009?check_suite_focus=true

The issue is fixed when using an absolute path.
See: https://github.com/daschuer/vcpkg/runs/2989211009?check_suite_focus=true

I also test the relative path and it also works. No idea why it failed on your machine.
Any way, I will update the doc.

@vicroms Can you please take a look?
Thanks.

It does not fail on my machine because I have no access to a osx device. It fails during a the GitHub workflow.
I have the suspicion that it relates to you other overlays since you cannot confirm it locally.
It fails when building /Users/runner/mixxx-vcpkg/overlay/osx/portmidi a osx enabled version.
See the [portmidi] commits here: https://github.com/mixxxdj/vcpkg/pull/18/commits
Can you spot an issue?
Do you have an idea to debug it?

Ping @vicroms

Thanks for posting this issue. This issue hasn’t been updated in four months. Please reopen this issue if this is still a problem for you.

I can confirm that the issue is solved now.


Custom Splashes don't work properly

Describe your problem here.
I wanted to add Indie Cross Splashes but they have more keyframes and different naming so I made a new sprite sheet and XML with the correct names but It doesn't work properly.
It sometimes spawns the first frame and sometimes it looks like it works fine with bad alignment. Can someone help me fix it?

Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
Nope.

Psych uses multiple animations per color, if one isn't found you get stuck with a still frame
You'll have to fix the alignment yourself through the XML

But it looks like it uses one for each color, or is 20000 a different animation?

It's a different one, that's why there's a 1 or a 2 in front of the frame number

Alright, I just duplicated every animation and changed it to 20000 smth and it works. Now I need to align it with framex framey yes?

Alright now it works and looks nice, Thanks for help :>


Pagination section refers to non-existent prev_batch token when back-paginating

https://matrix.org/docs/spec/client_server/r0.4.0.html#pagination says 'In this scenario, the prev_batch token would be excluded from the response', but /messages doesn't have a prev_batch token. Presumably it means end.

The /messages spec could do with making it clear that end will be omitted when you hit the end of the list, too.

I thought we had an issue for it, but apparently not: the pagination API is inconsistently used on top of this. It's applied to the letter on some endpoints, and not at all on others. We may have to think critically about whether or not we want it, and how we want to fix it.

I thought we had an issue for it, but apparently not: the pagination API is inconsistently used on top of this.

You might be thinking of https://github.com/matrix-org/matrix-doc/issues/1523?

Yup, that would explain why I can't find it too. I don't remember fixing it, but it sounds like I did.

A list of endpoints which implement pagination:

Endpoint
Inputs
Outputs
Returns chunk
Notes

/initialSync
limit
start, end
Y
deprecated

/events
from
start, end
Y
deprecated

/sync
since
next_batch, prev_batch
N

/messages
from, to, dir, limit
start, end
Y

/publicRooms
since, limit
next_batch, prev_batch
Y

/keys/changes
from, to
n/a
N
Uses /sync tokens

/members
at
n/a
Y
Takes a sync token. Presumably there was an intention to add pagination later.

/notifications
from, limit
next_token
N
Paginates backwards from "now"

/search
next_batch
next_batch
N
Multiple levels of pagination, documented at https://spec.matrix.org/unstable/client-server-api/#pagination-1

Note that /sync and /messages have their own documentation at https://spec.matrix.org/unstable/client-server-api/#syncing.

I'd like to try and come up with a convention for pagination parameters, which at least new APIs (such as the one being discussed in MSC2946, and sync v3) can follow. My thoughts so far:

there seem to be broadly two categories at the moment: from/to/start/end/chunk, and since/next_batch/prev_batch/no chunk.
start and end are rather generic names when used without chunk.
On the other hand chunk seems to add overhead, and I'm not convinced it fits all use cases. It would seem a bit silly trying to use it with /sync (which has multiple pagination tokens).
since is a funny name for APIs that paginate rather than stream.
Other conventions in the world include before/after (Github), pagination_token->previous_token/next_token (Twitter). I like before/after but am not enthusiastic about using completely new names (and introducing an xkcd #927 situation).

Broadly I think I favour:

input parameters called from (and to, where appropriate) for true paginated data
an input parameter called since for streaming data
outputs called next_batch (and prev_batch where appropriate)

As a final thought: we could do something completely different like follow Github's pattern of using Link headers to return pagination tokens rather than returning the tokens in the JSON response body. That is probably a bit too radical though.

So if I understand correctly:

Streaming /sync: accept a since input and outputs a next_batch token? "Batch" feels spurious here as there isn't really any "batches" (terminology wise) anywhere in Matrix APIs.
Paginated /messages accept a from and to, output a next_batch (and possible prev_batch)?

This makes next_batch context-dependent, and makes it so you cannot compose streaming/pagination together without introducing a level of nesting. Sync v3 uses a level of nesting for this purpose: the next token is contained under an object called p.
These aren't problems per se, just observations based on the proposed naming. I care more about consensus more than anything else, so things like this seem reasonable.

Yes, sounds like you understand correctly.

"Batch" feels spurious here as there isn't really any "batches" (terminology wise) anywhere in Matrix APIs.

Surely any API that paginates returns batches? Unless the word "batch" means something special to you that it doesn't to me? Anyway, yes I agree it's a bit redundant, but since it's reasonably widely used currently I feel like I'd rather live with that than change everything. Similarly @ara4n proposed next_token but again I'd prefer to follow the existing precedent.

This makes next_batch context-dependent and makes it so you cannot compose streaming/pagination together without introducing a level of nesting. Sync v3 uses a level of nesting for this purpose: the next token is contained under an object called p

@kegsay explained in chat that sync v3 does this to support two different types of token, where one token is used to paginate results, and the other is used to skip straight to the next point in the stream.
If this is a requirement, I think it's fine to diverge from the convention for complicated APIs like /sync which need to deal with both pagination and streaming. You could call the two different tokens next_page and next_batch, or something.

FYI sync v3 now uses next_page and next_batch.


fix formatting on doc

Right now the GettingStarted doc formatting looks weird. As everything bellow that is formatted as code. which is incorrect due to a bad formatting.

I signed it!

LGTM


Symbolics base class

Continue to separate implementation of symbolics from rest of the code by creating a SymbolicModelLike class.

Coverage decreased (-3.52%) to 82.86% when pulling 59485c959e5ec76233dcec73fc6690c77f58d197 on symbolics-base-class into 69113ee60dc73bae8cb4ec9ce1dfaf89eed70b1e on master.

Coverage decreased (-3.52%) to 82.86% when pulling 0680712ea39a06a0d36e2d540d2075ecb7247524 on symbolics-base-class into 69113ee60dc73bae8cb4ec9ce1dfaf89eed70b1e on master.

Coverage decreased (-0.73%) to 85.64% when pulling cc090dc216f60b745babde438f7cca0abcd70b3d on symbolics-base-class into 69113ee60dc73bae8cb4ec9ce1dfaf89eed70b1e on master.

Coverage decreased (-0.73%) to 85.64% when pulling cc090dc216f60b745babde438f7cca0abcd70b3d on symbolics-base-class into 69113ee60dc73bae8cb4ec9ce1dfaf89eed70b1e on master.

Coverage increased (+0.94%) to 87.31% when pulling 9f55455c760e687c67285beb25bc65340483963e on symbolics-base-class into 69113ee60dc73bae8cb4ec9ce1dfaf89eed70b1e on master.


Customizable "Open with" applications for repository clone

I think this approach is simple and flexible enough. And it is a complete solution.
Replace #22378
Close #21121
Close #22149
Default

Customized

At the moment, it doesn't support user-level customization, because the "user setting" package is not that mature as the system setting package. It should be easy to add user-level setting in the future, just override the system setting.

Can we also add gitpod as default?

Can we also add gitpod as default?

ffbe671a98d6f60fcf55881c6d22c1483acbfb13 , I am not sure whether it works.

Can we add a reset button?

Just clear the textarea.

Can we also add gitpod as default?

ffbe671 , I am not sure whether it works. blocked by gitpod-io/gitpod#8131

So feel free to remove it.

Can this be sourced from the config as well? I don't recall if we have a mechanism for that.

If anyone really needs "sourcing from the config", I could propose a following PR. The "system setting" package has the ability to do so. But I do not think it's worth to do so at the moment. I guess we don't want to maintain too many config systems or config documents.

Can this be sourced from the config as well? I don't recall if we have a mechanism for that.

I would like to move most configurations from app.ini to database/UI but not the opposite.
For app.ini configuration, it needs to restart once the configuration changed.

Then perhaps an API/CLI to set these things. My concern is only being able to set/change these from the web UI. Manually fiddling with the database seems like a no-go for deployment purposes.

Then perhaps an API/CLI to set these things. My concern is only being able to set/change these from the web UI. Manually fiddling with the database seems like a no-go for deployment purposes.

Maybe a generic Configuration API is better.

Could you please add a docs page showing what common editors expect?
That way, users know what they are supposed to enter without much doubt.
(It does not need to be complete, that's what we have the community for. If they want another editor, they are free to open a PR.)

Could you please add a docs page showing what common editors expect?

Sorry I didn't quite catch your point. Could you elaborate "what kind of doc page / where to be put" and what is "what common editors expect" ?


fetch_git_sha errors after git gc

When git gc runs, all the branches disappear from .git/refs/heads and move to .git/packed-refs. fetch_git_sha only checks .git/refs/heads and raises InvalidGitRepository if the branch isn't there.

Oh that's annoying. I wonder if we can get this without shelling out easily then.


Failed access to mp.tasks.vision.holistic

Have I written custom code (as opposed to using a stock example script provided in MediaPipe)
Yes
OS Platform and Distribution
Windows x64
MediaPipe Tasks SDK version
0.10.10
Task name (e.g. Image classification, Gesture recognition etc.)
mp.tasks.vision.holistic_landmarker
Programming Language and version (e.g. C++, Python, Java)
Python
Describe the actual behavior
mp.tasks.vision.holistic is listed as a module, but its not callable
Describe the expected behaviour
Callable as module
Standalone code/steps you may have used to try to get what you need
Due to the new updated version, we want to add the new functions to our code, so we need to restructure it. But we can't do it as long as the module is not callable.

Other info / Complete Logs
No response

Hello @PaStMir
Thanks for reporting this bug. We are able to reproduce the issue and we shall fix it shortly and provide a solution in next release. Meanwhile, you can import HolisticLandmarker as
from mediapipe.tasks.python.vision.holistic_landmarker import HolisticLandmarker

Hello @PaStMir
The error has been fixed. It would be released in stable release later. However, if you need to, you can use the nightly package for the time being since your app code is most likely not to change drastically between nightly and stable release.
Tested the following import statement with latest nightly version (mediapipe-nightly 0.10.11.post20240229)
from mediapipe.tasks.python.vision import HolisticLandmarker

Hello @PaStMir The error has been fixed. It would be released in stable release later. However, if you need to, you can use the nightly package for the time being since your app code is most likely not to change drastically between nightly and stable release. Tested the following import statement with latest nightly version (mediapipe-nightly 0.10.11.post20240229)
from mediapipe.tasks.python.vision import HolisticLandmarker

I tried the above and the import works, but the rest is still failing as also reported in #5181 :(

Hi @DehTop,
We are closing this issue as resolved, as the import-related matter is expected to be part in the upcoming release. For further GPU-related concerns, please follow up with #5181.
Thank you!


Typo

I think the code as-is was working due to _on_press being an array, and therefore the global statement isn't strictly necessary as you're only modifying elements of the array, and not re-assigning the array itself

Sheeesh. What a mess I've made of this! Thank you.


AsSpan logic in IntValueNode may need updated

Describe the bug
While looking to update the IntValueNode to be able to handle BigInteger I came across this if branch: https://github.com/ChilliCream/hotchocolate/blob/main/src/HotChocolate/Language/src/Language.SyntaxTree/IntValueNode.cs#L362
If is only operating on short, int, long, however, it's not touching any of the other types like decimal or double here: https://github.com/ChilliCream/hotchocolate/blob/main/src/HotChocolate/Language/src/Language.SyntaxTree/IntValueNode.cs#L22
Per the request of @PascalSenn, I am opening an issue.
To Reproduce
Steps to reproduce the behavior:

Go to https://github.com/ChilliCream/hotchocolate/blob/main/src/HotChocolate/Language/src/Language.SyntaxTree/IntValueNode.cs

Expected behavior
Confirm if the if statement logic is correct or should be updated.
Desktop (please complete the following information):

OS: Mac OSX
Version 10.15.7

Additional context
Add any other context about the problem here.

but only if (_memory.IsEmpty) meaning only if the value is in the first place a Int16, Int32 or Int64. Since we are talking about integers here the decimal is only a conversion which is cached but not used to convert to span. So the logic looks as intended.

@michaelstaib makes perfect sense!

👍


Update Discord.py Version

Needs triage of needed work first.

No breaking changes found.
Update in requirements.txt done.


Fix tiny typo in streams basics.md

Happened to see it while I was browsing through.

@SeanKilleen Thanks for the edit.
We're currently transitioning to docfx for our site (see here for the WIP http://akkanetdocfx.azurewebsites.net). It looks like the typo is there as well (https://github.com/akkadotnet/akka.net/blob/v1.3/docs/articles/streams/basics.md).
Would you mind making a PR to that repo as well?

👍 no problem! Wish I knew that before I started on #246. :-D


How can I configure a TDNN network of kaldi to tfkaldi?

Hi vrenkens,
I wanna know how can I configure a TDNN network with ivector in tfkaldi?
for example,
steps/nnet3/train_tdnn.sh --stage $train_stage
--num-epochs 8 --num-jobs-initial 2 --num-jobs-final 14
--splice-indexes "-4,-3,-2,-1,0,1,2,3,4  0  -2,2  0  -4,4 0"
--feat-type raw
--online-ivector-dir exp/nnet3/ivectors_train_si284
--cmvn-opts "--norm-means=false --norm-vars=false"
--initial-effective-lrate 0.005 --final-effective-lrate 0.0005
--cmd "$decode_cmd"
--pnorm-input-dim 2000
--pnorm-output-dim 250
data/train_si284_hires data/lang exp/tri4b_ali_si284 $dir  || exit 1;

Hi,
A TDNN is not implemented in tfkaldi, you could always implement the
network yourself. We are not planning to implement a TDNN because we are
going to use RNNs for sequence modeling.
If you want to check out the progress on that you can check out the CTC
branch.
Cheers,
Vincent
On 11/27/16 04:46, xinq2016 wrote:

Hi vrenkens,
I wanna know how can I configure a TDNN network with ivector in tfkaldi?
for example,
steps/nnet3/train_tdnn.sh --stage $train_stage
--num-epochs 8 --num-jobs-initial 2 --num-jobs-final 14
--splice-indexes "-4,-3,-2,-1,0,1,2,3,4 0 -2,2 0 -4,4 0"
--feat-type raw
--online-ivector-dir exp/nnet3/ivectors_train_si284
--cmvn-opts "--norm-means=false --norm-vars=false"
--initial-effective-lrate 0.005 --final-effective-lrate 0.0005
--cmd "$decode_cmd"
--pnorm-input-dim 2000
--pnorm-output-dim 250
data/train_si284_hires data/lang exp/tri4b_ali_si284 $dir || exit 1;
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/vrenkens/tfkaldi/issues/3, or mute the thread
https://github.com/notifications/unsubscribe-auth/APTcBu2nLf1esFMHxW1xDarsv5pXqpCeks5rCP0EgaJpZM4K9Dht.
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/vrenkens/tfkaldi","title":"vrenkens/tfkaldi","subtitle":"GitHub
repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open
in
GitHub","url":"https://github.com/vrenkens/tfkaldi"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"How
can I configure a TDNN network of kaldi to tfkaldi?
(#3)"}],"action":{"name":"View
Issue","url":"https://github.com/vrenkens/tfkaldi/issues/3"}}}


In jupyterlab>=3.1 shift+enter with this extension changes mode to jupyter command mode

This only happens with this extension enabled. It works well for jupyterlab==3.0.0, only breaks for >=3.1.
Other extensions installed:
JupyterLab v3.1.12
/home/filip/.local/share/jupyter/labextensions
        jupyter-matplotlib v0.8.3 enabled OK
        jupyter-vue v1.5.0 enabled OK
        jupyterlab_autosave_on_focus_change v0.1.2 enabled OK (python, jupyterlab_autosave_on_focus_change)
        jupyter-vuetify v1.8.1 enabled OK
        @aquirdturtle/collapsible_headings v3.0.1 enabled OK (python, aquirdturtle_collapsible_headings)
        @ryantam626/jupyterlab_code_formatter v1.4.10 enabled OK (python, jupyterlab-code-formatter)
        @pyviz/jupyterlab_pyviz v2.1.0 enabled OK (python, pyviz_comms)
        @axlair/jupyterlab_vim v0.13.0 enabled OK (python, jupyterlab_vim)

Other labextensions (built into JupyterLab)
   app dir: /home/filip/.local/share/jupyter/lab
        @arbennett/base16-gruvbox-dark v0.1.5 enabled OK
        @arbennett/base16-nord v0.1.5 enabled OK
        @jupyter-widgets/jupyterlab-manager v3.0.0 enabled OK

:( that sounds like no fun to deal with. Can you post the contents of your vimrc file?


How do I redraw borders without restarting yabai?

Sometimes when I resize windows the borders get stuck and look like this:

How can I trigger yabai to redraw them without restarting yabai? (restarting messes with the layout so I have to rearrange the layout again if I do this)

You can run yabai -m config window_border off followed by  yabai -m config window_border on

This is perfect, thank you!
On Tue, Apr 19, 2022 at 9:48 AM, Åsmund Vikane < @.*** > wrote:

You can run yabai -m config window_border off followed by yabai -m config
window_border on
—
Reply to this email directly, view it on GitHub (
https://github.com/koekeishiya/yabai/issues/1240#issuecomment-1102679433 )
, or unsubscribe (
https://github.com/notifications/unsubscribe-auth/ANK7G7DULWDJZCAKIFCXCW3VF22SJANCNFSM5TY3B3LA
).
You are receiving this because you authored the thread. Message ID: <koekeishiya/yabai/issues/1240/1102679433
@ github. com>


Implemented urlFilter feature.

Coverage remained the same at 100.0% when pulling 39473aa077228cedbb4a985697080e40f8d33957 on marklagendijk:url-filter into c33484515d9cb816c376281013cac335bcfa6b60 on s0ph1e:master.

Coverage remained the same at 100.0% when pulling c9186e93804ebf0f45d0b930e725543710ef84cd on marklagendijk:url-filter into c33484515d9cb816c376281013cac335bcfa6b60 on s0ph1e:master.

Looks good
Thanks @marklagendijk for your contribution
I want to test it locally tonight and after it I'll merge PR

:+1:
will be merged after minor typos fixes


Crowdpose - dataset

Hello! I am reproducing your petr results.
Could you share the weight and evaluation codes for crowdpose dataset?
Thank you.

We will release the code and trained models on CrowdPose dataset as soon as possible.
A few weeks later, thanks.

@dae-sun We have release the code and models for CrowdPose dataset, thanks.


Using langChain's VectorDBQAChain or ConversationalRetrievalQAChain, why would OpenAI return 'I don't know?

When using langChain's VectorDBQAChain or ConversationalRetrievalQAChain to query Pinecone with contextual records, and then asking a new question that is unrelated to the existing context, OpenAI will respond with 'I don't know.
Response：{   "text": "I don't know.",   "sourceDocuments": [     {       "pageContent": "Hi! I'm Jim.",       "metadata": {         "role": "User",         "window_id": "01234567890"       }     }   ] }
`
import initClient from "/var/task/initClient.mjs";
import VectorStoreUpdater from "/var/task/updateVectorStore.mjs";
import { VectorDBQAChain } from "langchain/chains";
import { OpenAIEmbeddings } from "langchain/embeddings/openai";
import { PineconeStore } from "langchain/vectorstores/pinecone";
export const handler = async ({ window_id = "01234567890", query = "How many steps are there to put an elephant into a refrigerator?" }) => {
const { model, pinecone, pineconeIndex } = await initClient();
const vectorStore = await PineconeStore.fromExistingIndex(
new OpenAIEmbeddings(),
{
pineconeIndex,
filter: { window_id },
}
);
const chain = VectorDBQAChain.fromLLM(model, vectorStore, {
returnSourceDocuments: true,
});
const response = await chain.call({ query });
return response
};
`

This is a very good solution, thank you very much for your answer.

Hello, I adopted your suggestion and achieved the desired outcome. Besides LLMChain, are there any other chains that can be implemented?
Why didn't the addition of the prompt "Add HTML tags to the result of your answer" result in the inclusion of HTML tags in the returned response?
import initClient from "/var/task/initClient.mjs";
import { OpenAI } from "langchain/llms/openai";
import { ChatOpenAI } from "langchain/chat_models/openai";
import { PromptTemplate } from "langchain/prompts";
import { LLMChain } from "langchain/chains";
import { OpenAIEmbeddings } from "langchain/embeddings/openai";
import { PineconeStore } from "langchain/vectorstores/pinecone";
import { CallbackManager } from "langchain/callbacks";
import {
   ChatPromptTemplate,
   HumanMessagePromptTemplate,
   SystemMessagePromptTemplate,
} from "langchain/prompts";
import * as dotenv from "dotenv";

dotenv.config();

export const handler = async (event) => {
   const { model, pinecone, pineconeIndex } = await initClient();
   const vectorStores = await PineconeStore.fromExistingIndex(
      new OpenAIEmbeddings(),
      {
         pineconeIndex,
      }
   );
   const vector = await vectorStores.similaritySearch("Hi", 3);
   const chat_history = formattedResults(vector);
   const chat = new ChatOpenAI({ temperature: 0 });
   const chatPrompt = ChatPromptTemplate.fromPromptMessages([
      SystemMessagePromptTemplate.fromTemplate(
         `Please consider the relevant context from the conversation history while answering the current question. If the conversation history does not provide relevant context, please answer the current question directly. Here is the conversation history and the current question:
         \`\`\`
         Chat History:
         {chat_history}
         \`\`\`
         Current Question:
         {input}
         \`\`\`
         Please ensure that your answer follows the following format:
         1. If you are unsure of the answer, please state that you don't know instead of attempting to provide a fabricated answer.
         2. Add HTML tags to the result of your answer.`
      ),
      HumanMessagePromptTemplate.fromTemplate("{input}"),
   ]);

   const chain = new LLMChain({
      prompt: chatPrompt,
      llm: chat,
   });
   const response = await chain.call({
      chat_history,
      input: "What's my name?",
   });
   return response;
};

function formattedResults(results) {
   const formattedResults = results.map((doc) => {
      const role = doc.metadata.role;
      const message = doc.pageContent;

      if (role === "User") {
         return `user: "${message}."`;
      } else if (role === "Assistant") {
         return `assistant: "${message}."`;
      } else {
         return "";
      }
   });

   return formattedResults.join("\n");
}


refactor: stub function of x:line-number()

This pull request adds a stub function of x:line-number() so that without integrating its Java extension function, IDE such as Oxygen does not complain about the missing function and also coverage-report.xsl works on IDE.
Besides the automated tests on our CI, I manually ran the tests on Saxon-EE <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>.

Ran bin\xspec.bat -c tutorial\coverage\demo.xspec on Saxon <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, both HE and EE.
Ran src/reporter/coverage-report.xsl on Oxygen 22.0 XSLT debugger (Saxon-EE <IP_ADDRESS>) without special configuration

Both look fine.
Merging this.


Added a new license.

Created Modified Autonomous Software License (MASL).

Planned to add a modified version of ASL in the evening, nice work! 👏

👎 Funny, but Number 3 is too restrictive.

I may make a modified version getting rid of number 3


[NEW FEATURE] - Show transaction link

Briefly describe the feature.
Would be great if we have a link to open pending transaction
Which problem is this feature trying to solve?
Would be great if we have a link to open pending transaction
What is the expected solution?

How do you currently handle this problem?
No response
Anything else you'd like to mention?
No response

Clueless

@samuveth looks like a quick fix, could you take it on?

@samuveth
We can extend useTxStatus() composable to store transactions in localStorage just like in sx-ui
It is clear what to do with pendingCount in ModalRevokeDelegate.vue and useDelegate()
What we do with plugins?
/plugins/safeSnap/components/HandleOutcome.vue
/plugins/safeSnap/components/HandleOutcomeUma.vue
Are there transactions with ids too?

No, it doesn't look like approveBondUma function return the transaction ID

So for plugins we just pendingCount without any link anywhere

@j0hnfl0w, the optimal solution might involve modifying the plugins code to return the transaction. However, since potential complications could arise, I think it's best to leave the final decision to you on how to proceed.


[Wait for #1167] [Layer] Add permute layer scaffolding

[Layer] Add permute layer scaffolding

This patch adds permute layer scaffolding

**Minor Fix**
- Add error handling for transpose tensordim

**Self evaluation:**
1. Build test: [X]Passed [ ]Failed [ ]Skipped
2. Run test: [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: Jihoon Lee<EMAIL_ADDRESS>

:memo: TAOS-CI Version: 1.5.20200925. Thank you for submitting PR #1168. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://nnstreamer.mooo.com/.

:octocat: cibot: @zhoonit, A builder checker could not be completed because one of the checkers is not completed. In order to find out a reason, please go to http://nnstreamer.mooo.com/nntrainer/ci/repo-workers/pr-checker/1168-202105062054370.13963103294373-236ded21c84268feadcad218b1a8d54b500dd6cc/.

For some reason this PR is not updating, let me close and create a fresh new pr.


[BUG] Roles updated too often due unsorted resourceNames

I've observed some Role objects being updated very often. Using kubectl get -w I observed the only change was the order of the resourceNames inside the rules.

Closing as the unit test covers this issue very well! Thank you so much for that! 🎉


Viewing previously mapped property shows incorrect information

This image shows "Middle Name" mapping. It looks as though it's been mapped to "Non Immigrant Visa Status Change Code". If you look at the name of the mapped term, you can see it's really "Middle Name".  Importantly, "Middle Name" was added directly to the spine. "Non immigrant Visa Status Change Code" was not mapped to "Middle Name".

@slackhalyard thank you.  This issue is being addressed.

@slackhalyard - This has been resolved.


Fix NODE_PATH for legacy projects

Seems this doesn't matter anymore
https://github.com/nearform/node-clinic-doctor/pull/132
But ths still relates to current state
https://github.com/nearform/node-clinic/issues/148
So there might be changes done to fix NODE_PATH back, for legacy projects.

hmm it looks like the PR that supports spaces in option values in Node was only landed 6 days ago as a semver major change: https://github.com/nodejs/node/pull/24065
is the real problem here that we're overwriting NODE_PATH? we should do similar concatenation there as we're doing with NODE_OPTIONS, i think, so both user paths and our internal paths are supported.

Hi!

is the real problem here that we're overwriting NODE_PATH?

Yes, for me this was problem. Our legacy project is full of this NODE_PATH, and I was unable to run doctor on it. So the problem is overriding.

we should do similar concatenation there as we're doing with NODE_OPTIONS, i think, so both user paths and our internal paths are supported.

I think this is not about this PR, cause it dropps NODE_PATH overrdes.

Right, but we need our custom NODE_PATH for file paths with spaces in them :smile: We can support both cases if we properly concatenate them. I believe it's something like this:
let nodePath = path.join(__dirname, 'injects')
if (process.env.NODE_PATH) {
  if (process.platform === 'win32') {
    nodePath += `;${process.env.NODE_PATH}`
  } else {
    nodePath += `:${process.env.NODE_PATH}`
  }
}

Right ... custom NODE_PATH .. something like this ...

@goto-bus-stop great thanks! It works!
Related PR for bubbleprof #319.

@goto-bus-stop it is strange, same changes for bubbleprof passed all tests.
And this test fails for sampling interval checker. Moreover, it has unstable behaviour, it fails only on Mac bundles and may fail or not. As I logged there for
test('cmd - collect - data files have content ...
seems checking on direct value of not more than 20ms is not so stable check and may depend on something else there, in a cloud.

Yeah sorry, that test is flaky. You can ignore those failures. I have a PR to loosen the check in #237. Could you revert the changes to the test? Rest LGTM :D

Yeah sorry, that test is flaky. You can ignore those failures. I have a PR to loosen the check in #237. Could you revert the changes to the test? Rest LGTM :D

I'll try, thank you for explanations ^)

Published as :package: 4.0.4
Thanks!


Swallows GraphQL errors

If your GraphQL endpoint returns an error, this module will swallow it here: https://github.com/kevva/graphql-got/blob/v0.1.1/index.js#L38
Instead of dropping res.body.errors, they should be assigned to res (maybe as res.errors?). Would you accept a PR that introduces this change?

@stephenmathieson, sure!

What do you think about rejecting if errors are present?  It can be pretty easy for a user to miss them, especially if they aren't too well-versed with GraphQL.

Interesting thought. I'm pretty used to doing something like this (coming from apollo-client):
if (data.error) {
  handleErrorSomehow(data.error)
}

Where data.error is the error coming back from the GraphQL server. The errors raised (thrown) by apollo-client are network errors instead. See the docs for more.
Not suggesting we should mirror the behavior from apollo-client, but it is why I figured keeping it on the returned res object was the right move.


Time vector

Is there an option to find the time vector to plot with the position solution? I have found problem.solution.tau, which always has a range from 0-1.
problem.solution.time just gives end time. Would multiplying tau by end time give a valid time vector?

There is, but it's the incredibly unintuitive and bad-practice problem.solution._time_.
This highlights that the API here definitely needs changing and making more intuitive!
I would maybe suggest making problem.solution.time return the array of discretised time in normal units, problem.solution.initial_time and problem.solution.final_time would return the endpoints of the time array, and problem.solution.normalized_time return what is currently problem.solution.tau.
Part of the reason for the current behaviour is that we have problem.solution.state, problem.solution.control etc return the values of the actual decision variables used in the NLP subproblem, so problem.solution.time currently does the same for the time variables. I would probably need to think a bit more about my above suggestion because it does clobber this nice consistency that we currently have for the NLP decision variables.
What are your thoughts? What would you find most intuitive?

I see that there are many variables stored double, such as:
._u  = .control
._y  = .state
._Tf = .final_time
and many more. Is there a reason for this? Do the variables starting with _ have something in common?
The reason why I didn't find problem.solution.time is because python does not give a suggestion to this option when I use a tab to check the options.
If changing the .time would clobber the consistency, would adding a .time_discretised maybe be an intuitive option?

In Python, attributes (and variables) prepended with an underscore (e.g. ._u) are used to indicate "protected" attributes, i.e. ones that aren't part of a class's public API and should not be mutated by a user. The reason for duplication is so that Pycollo can internally mutate the protected versions and then the public versions (e.g. .control) are actually properties without setters, which means that the user can't accidentally overwrite these.
I suspect that the autocomplete didn't work was because problem.solution._time_ is technically protected. Replacing with a renamed public attribute should mean that you get autocompletion here.


Recipe app

🎉 🎈 In this Milestone 🙋♂ 🚩 ‼ :
Hi there 👋

Follow the best GitHub flow. ✅
Follow our list of best practices for Ruby. ✅
Document in a professional way. ✅
No linters errors. ✅
Create a new app. ✅
Create a login page (use of devise). ✅
Create a registration page. ✅
Create a food list (with all CRUD implementation, except for 'update'). ✅
Create a list (with all CRUD implementation, except for 'update'). ✅
Create a general shopping list view (all missing food for all your recipes and total price). ✅
Create a list of all public recipes from other users with their names and total prices. ✅
Testing using Capybara. ✅

To the code reviewer 👨💻
I really thank 🙇♂ you, dear code reviewer 👨🎨 for dedicating your time ⌚ to check the PR 🧾 .
I kindly ask code reviewer 🤵 that if there is any issue in this project, please do list 📃 them in a descriptive 💡 manner and give your best suggestions if needed.
If you think some significant issues need to be changed ♻ please kindly contact 📞 me through Zoom or Slack, I am available on Microverse UTC-6 time zone.

Thank you @Reem-lab!


Question regarding patch retrieval demo

I saw that you shared code for evaluating image-level retrieval (Issue & code). I am keen to replicate the patch-level retrieval from the official DINO demos here.
Thank you for your guidance! If there are any code snippets or resourced that you can share to replicate the demo, I would be most grateful.

Hi, have you tried to implement that?

@Gugliebiagio You can't use the forward outputs because it slices out just the global [CLS] embedding: https://github.com/facebookresearch/dino/blob/main/vision_transformer.py#L214
Instead, you have to get the raw output using
import torch

model = torch.hub.load("facebookresearch/dino:main", "dino_vits16")
img = torch.randn(1, 3, 224, 224)
features = model(img)
print(features.shape)  # torch.Size([1, 384]) -- already pooled

features = model.get_intermediate_layers(img, len(model.blocks))
features = features[-1]  # residual stream @ final block
print([features.shape])  # torch.Size([1, 197, 384])

In this example, you have 1+14^2 embeddings, each which is 384-d. You can drop the first one, and map the 196 embeddings back to the 196 patches.


[OffersLogic] Error in expiration time validation

Function _validateNewOffer(OfferParams memory _params, TokenType _tokenType) has an error in expiration time validation:
require(
    _params.expirationTimestamp + 60 minutes > block.timestamp,
    "Marketplace: invalid expiration timestamp."
);

This require statement allows to create offers in the past. If I understand correctly, goal was to make offer duration at least one hour. In that case shouldn't it be:
require(
    _params.expirationTimestamp >= block.timestamp + 60 minutes,
    "Marketplace: invalid expiration timestamp."
);

Function _validateExistingOffer(Offer memory _targetOffer) should be updated accordingly (changed > to >=).

Hey @martynasmuizys,
Thanks for reaching out.
The intention behind setting timestamp checks this way in DirectListings and Offers was to keep the timestamps within one hour of block timestamp when creating listings etc.
You can read more about this in the audit report here, which points out no risk to the contract but potential data inaccuracy. And the changes made.
https://0xmacro.com/library/audits/thirdweb-6#L-1

Thank you for clarifying. Now that I think about it, I'm starting to understand this design choice.


Switch to davclient.js

Switch all Webdav code to use davclient.js.
This is mostly important for PROPFIND and PROPPATCH as the code is compatible with both node JS and browser and provides ways to serialize and deserialize the requests/responses and takes care of escaping, etc.

Findings:

davclient.js cannot be required - module exports are missing -> https://github.com/owncloud/davclient.js/pull/35
davclient.js uses XMLHttpRequest which does no exist in nodejs - will use node pollifil for now

PR should come asap

fixes with #110


Ensure tests are built during run_tests runs

The issue remains that we don't test our tools, but at least we test
that they compile.

2 comments. 1: I think that the title of this request is supposed to be make sure tools are built... 2: do the security test changes belong with this pull request?

Corrected the typo, and yeah they do... they're the required changes to make the tools compile again :)