Franz keeps loading zoomed all the way out

Expected Behavior
Service and App UI to render at the same size as the browser.
Current Behavior
Both browser and Franz is set to 100%, but Franz renders noticeably smaller (about 2x)
Screenshots (if appropriate):

Possible Solution
Related to DPI settings or default electron properties?
Steps to Reproduce (for bugs)

See screenshot.
Open Chrome and Franz.
Set both zoom levels in menubar to 100%.
Compare.

Context
Services most importantly renders incorrectly due to this zoom level. This behaviour seemed to begin after I accidentally pressed some keyboard combination (I think). A good example is Trello.
Your Environment

Franz Version used: Version 5.0.0-beta.13 (5.0.0-beta.13.316)
Operating System and version: MacOS Sierra 10.12.6 (16G1036)
Currently on Macbook 13" 2016, Touchbar.

I seemed to have "resolved" this issue by the following steps:

Clicking on the services bar
Menubar > View > Actual Size

Perhaps make this a bit more accessible to the user? Unified UI <> Service zoom level would be great

You'd likely hit CMD and -/+

cmd + shift + + worked for me


Accessing the history stack

Essentially, I have a 'settings' page, which is composed of a few tabs (Links), a pane to display the active tab (the RouteHandler), and a close button.
When the close button is hit, the desired behavior is to go back to the route that was active before the settings page, but for each tab we click on this page, an additional route is added to the history stack.
Is there a way to access the history stack in its entirety, so that I can achieve the desired result?

Hi @jimmed
I am also trying to implement something like this. Making a pile of history points and transitionTo and shift the last entry when the context back button is clicked.
So I created a navigation store that as a backHistory array where I push the history index when needed.
import {History} from 'react-router';
import * as navigationActions from '../navigation/actions';

class ListPage extends Component {
  componentWillMount(){
    this.setState({
      history: History.length  // Should use History.state
    });
  }
  componentWillUnmount(){
    navigationActions.onAddBackHistory(this.state.history);
  }
  ...

import {History} from 'react-router';
import * as navigationActions from '../navigation/actions';

class ItemPage extends Component {
  backToLastHistory(e,backHistory){
    e.preventDefault();
    const lastBackHistoryRecord = backHistory.last();
    const currentHistoryIndex = History.length; // Should use History.state

    navigationActions.onShiftBackHistory();

    window.history.go(-(currentHistoryIndex - lastBackHistoryRecord)); // Should use Navigation.transitionTo();
  }
  render() {
    const {navigation} = this.props;

    const items = navigation.get('menu').get('items');
    const backHistory = navigation.get('backHistory');

    return (

            { backHistory.size !== 0 &&
              this.backToLastHistory(e, backHistory)}>Back
            }
            <Menu items={items} />
            ...

The lack I found if I am not missing something, is the ability to History.state and the ability to History.transitionGo().

https://github.com/rackt/react-router/issues/767

history is a separate project now
This is essentially a requirement for what we're discussing w/r/t RN support, so better to consolidate discussion there at https://github.com/rackt/react-router/issues/743


Same region fails to load consistently

It seems that right around Montreal, there's an area that fails to pull scenery consistently. I've deleted the cache folder twice, and had the same thing happen. I also tried BI and Firefly on different occasions, to the same result.
This might also be happening elsewhere, but it seems to be pretty consistent around that specific spot.
I see the "timeout" messages in the console, although it's a little strange to me that it's always the exact specific spot that times out.
Exact position is an area that seems to be around 20nm squared, around the HABBS waypoint on the HABBS6 arrival into CYUL.

I just did a flight from CYOW to CYYG yesterday and encountered the exact same thing right around Montreal as you stated. I was also using the default BI provider.

Same here!! its annoying haha hopefully there is a fix.

Updating to NA version 0.54 has resolved this issue for me (at least the part around Montreal).


[Uploading models guide] Small improvements

This PR ensures that the hyperlink to the Mixin works, and adds the possibility for adding metadata.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

Thanks for the review, look like it's deployed already. However, the link to the Mixin still doesn't work (even though it does locally on VSCode).
The issue is that the hub links to https://huggingface.co/docs/hub/models-uploading#upload-a-pytorch-model-using-huggingface_hub whereas it should be https://huggingface.co/docs/hub/models-uploading#upload-a-pytorch-model-using-huggingfacehub.
Is there a way to easily resolve this? Cc @mishig25


Doesn't seem to work on Android 5.0.2

Hello.
I hope this is not me using the plugin incorrectly but I'm having an issue on Android 5.0.2
I have an Ionic Framework app and when it starts (.run in app.js) I start a timer that vibrates every 2 seconds. Using the plugin, I expected the device to keep vibrating every 2 seconds even when the screen has been locked.
Unfortunately, that doesn't seem to be the case. The notification of the plugin properly shows up when the app goes in the background, but the code from the timer does not get consistently executed. It will vibrate once or twice, then stop for a long while, then start working for a few ticks again, then pause again etc...
Am I doing something wrong? Is something not working?
NOTE 1: The issue arises when the phone is locked. If I am just looking at the desktop, or I am in another app, everything is fine.
NOTE 2: Even if I am not using this plugin AT ALL, the phone vibrates normally, even if I have the app minimized. It will still be inconsistent once the screen locks.
NOTE 3: It looks like if the device is plugged in to power, it's 100% consistent, even with the screen locked.
Here are some pieces of my code:
(inside a service called UtilitiesService)
                timerTest: function() {
                    var counter = 1;

                    if (timer === null) {
                        timer = $interval(function () {
                            $cordovaVibration.vibrate(50);

                            var d = new Date();
                            console.log((d.getHours()<10?'0':'') + d.getHours() + ":" + (d.getMinutes()<10?'0':'') + d.getMinutes() + ":" + (d.getSeconds()<10?'0':'') + d.getSeconds() + " - Beep: " + counter);
                            counter++;
                        }, 2000);
                    }
                }

(inside .run of app.js)
    $ionicPlatform.ready(function() {
        UtilitiesService.timerTest();
        cordova.plugins.backgroundMode.enable();

        cordova.plugins.backgroundMode.onactivate = function () {
            console.log('background mode activated.');
            $cordovaVibration.vibrate(300);
        };
        cordova.plugins.backgroundMode.ondeactivate = function () {
            console.log('background mode deactivated.');
            $cordovaVibration.vibrate(300);
        };
        cordova.plugins.backgroundMode.onfailure = function(errorCode) {
            console.log('BACKGROUND-ERROR: ' + errorCode);
            $cordovaVibration.vibrate(300);
        };
    });

I have the same trouble in android 4.4.2.
I have an application that grabs the gps position every 2 minutes. (also by using timer = $interval(function () {...} )  and sends it to an external server... very simple to implement but...
If the phone is plugged in to debug in the android device emonitor. or by inspecting the device with chrome on my pc, it triggers every 2 minutes as expected. If the phone is unplugged and let by itself then I get the same behaviour as you do :  the code from the timer does not get consistently executed.
It works the first few times, then it stops triggering for some relatively long time periods, then triggering from time to time ...
This was hard to figure out because as soon as the device is plugged in so that i can monitor it, or look actively at the logs the application behaves correctly...!!
Does Anyone has any insights on this issue?

Hello boltex.
I have found a way to work around this issue for my case.
I suppose that when the phone is not plugged in, the cpu cycles from process to process and stays on that process for a short time only. In the above example, this time is much shorter than the 2000ms of the interval, resulting in 'pausing' the timer as the cpu moves on to another process.
What I did was set the interval to a really small number (300ms in my case). Before I start the timer I grab the current unix timestamp and save it in a variable. Now in each execution of the interval, I grab the unix timestamp again and subtract. If the difference is bigger than 60000ms (1 second) then go and do whatever you want to do.
difference = currentTimestamp - initialTimestamp
if (difference >= 60000) { .... }
So what this means is that the interval is short enough for the cpu cycling but the code only gets executed if a real minute has passed.
Hope that helps.

Thanks,
so you're telling me that to reliably have a timer trigger every , lets say , 1 minute, you set a timer to repeat every second. ( or 300ms as you suggest ) and then compare the current time to the original time and see if a minute has passed? (and then act accordingly)

Yes exactly. Just try to find a good balance between an interval time that's not too long or too short and you do the actual time passed checking based on stored times.
It might still be not 100% accurate to the second, but my tests proved that this way it's WAY, WAY more accurate.

Thank you! I hope @katzer sees this and gives his opinion on the matter... !
Thanks again for you time and concern!

Hi guys. Also got this problem. Fixed with the same solution. But what about battery drain in this case ?

I tried to reproduce your issue on an android 4.4.4 device, but didn´t run into the same trouble. Everything works fine with our example-application, also with longer intervals like 60000ms. Check the example branch for more information about how to use the plugin. Hope that will help you.

Do you have no examples？
I still will not

Did you use crosswalk ?


fix(log): Fixed chat log wipe when clicking on peers

PR related to this trello task --> https://trello.com/c/EmM6jTA1

:tada: This PR is included in version 1.3.1 :tada:
Your semantic-release bot :package::rocket:


[mariadb] remove not used latestShortHand and fix changelogtemplate

latestShortHand is not needed and also not used in sorting so removing those ones to
pervent possible to misunderstand by following contributors
Also it was not updated by our bots thus links were always lagged
Thanks @hebbet to let me see that part

Stop.
it is used for the changelog link

https://github.com/endoflife-date/endoflife.date/blob/5b46e4f4326277e94d74b9e46b2d13ea697ca835/products/mariadb.md?plain=1#L6
but yes it isn't updated via auto update yet. so perhaps we should change the changelogTemplate Link

opps it was using changelogtemplate i didnt see it before so i am closing this PR @hebbet

or at least check possible better changelog template until i fix it i am making this as dwarf

@hebbet could you review again i fixed it

Good change 👍🏼

@captn3m0 thx :)


Track AlterTableEvent once it is in a Datasette release

Problem! AlterTableEvent isn't in a release yet - I implemented that after I shipped 1.0a8.

Originally posted by @simonw in https://github.com/simonw/datasette-edit-schema/issues/53#issuecomment-1935140623

[ ] Track alter table
[ ] Track alter table when a table is renamed (set table to the new name)

My initial work on this for table renaming is here: https://github.com/simonw/datasette-edit-schema/commit/446c851bb99741bfa2a8a3f6eb2494d6c3e374aa


Requesting claims using scope values

Implements OIDC Core spec Section 5.4, excluding the requirement to include claims in the id_token for authorization requests that do not include an access_token in the response.

OpenID Connect Clients use scope values, as defined in Section 3.3 of OAuth 2.0 [RFC6749], to specify what access privileges are being requested for Access Tokens. The scopes associated with Access Tokens determine what resources will be available when they are used to access OAuth 2.0 protected endpoints. Protected Resource endpoints MAY perform different actions and return different information based on the scope values and other parameters used when requesting the presented Access Token.
For OpenID Connect, scopes can be used to request that specific sets of information be made available as Claim Values.
Claims requested by the following scopes are treated by Authorization Servers as Voluntary Claims.
OpenID Connect defines the following scope values that are used to request Claims:
profile
OPTIONAL. This scope value requests access to the End-User's default profile Claims, which are: name, family_name, given_name, middle_name, nickname, preferred_username, profile, picture, website, gender, birthdate, zoneinfo, locale, and updated_at.

email

OPTIONAL. This scope value requests access to the email and email_verified Claims.
address
OPTIONAL. This scope value requests access to the address Claim.
phone
OPTIONAL. This scope value requests access to the phone_number and phone_number_verified Claims.
Multiple scope values MAY be used by creating a space delimited, case sensitive list of ASCII scope values.


Cannot register more than 2 interactive agents to auto-startup on Windows

Agent Version and Platform
Version of your agent? 2.122.1
OS of the machine running the agent? Windows
Azure DevOps Type and Version
TFS 2018 (16.122.27102.1)
What's not working?
(From a Developer Community ticket)
I'm facing issues with the registration for more than two (2) agents running in interactive mode and with auto-start enabled. Multiple interactive agent registrations with auto-start enabled leads into invalid registry auto-start entries. The third registration overrides one of the previously two registered agents. Registry entries have to be manually added/edited to successfully run agents on with auto-start feature.
Expected behavior

Each registered agent on the same host gets its own auto-start entry within the registry section (Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run)
For example, three registered interactive auto-start agents would result in three unique auto-start registry entries (e.g: VSTSAgent1, VSTSAgent2, VSTSAgent3).
At startup all agents are automatically started based on their unique registry entries
Expected Entries:

Actual behavior
Registering Agent A1 (interactive / auto-start):

Adds key "VSTSAgent" with value "C:\WINDOWS\system32\cmd.exe /D /S /C start "Agent with AutoLogon" "C:\agents\A1\run.cmd" --startuptype autostartup"

Registering Agent A2 after A1 (interactive / auto-start):

Replaces "VSTSAgent" value with new registered agent A2 and moves A1 entry in new registry entry with key "VSTSAgentBackup_VSTSAgent"
Value "VSTSAgent" is now set to value "C:\WINDOWS\system32\cmd.exe /D /S /C start "Agent with AutoLogon" "C:\agents\A2\run.cmd" --startuptype autostartup"
Value "VSTSAgentBackup_VSTSAgent" is now set to value "C:\WINDOWS\system32\cmd.exe /D /S /C start "Agent with AutoLogon" "C:\agents\A1\run.cmd" --startuptype autostartup"

Registering Agent A3 after A1 (interactive / auto-start):

Replaces "VSTSAgent" value with new registered agent A3
Moves value from A2 registration to the backup key entry
A third entry is not created, instead the first registration of A1 is lost and must be manually created to be able to run all 3 Agents at startup.
Actual entries:

Further information

Target System: TFS 2018 (16.122.27102.1)
OS Version: 10.0.16299
Agent Version: 2.122.1
Agent Authentication Type: Integrated
Agent Run as: Interactive with auto-logon

@vtbassmatt This is by design. We allow only one interactive agent per machine.
Windows client machines don't allow more than 1 interactive user session

@nigurr I have the same issue. I don't need multiple interactive sessions. I need multiple agents (of the same account) in the same session. So I can run 4 Karma UI tests on Edge (since its not headless) in parallel.

@xenalite Not sure about the source of information. Can you please share the link for the same?
Even with RDP, Windows client machines offer only one interactive session per machine.
Regarding parallel testing of UI tests, it might be correct for this usecase to parallelize tests and run them in same machine, it will cause issues with Windows CodedUI testing. Since your interactions with system can cause issues for other tests.
I suggest you to distribute your tests across multiple machines (agents) and run them in parallel to achieve the efficiency.

@nigurr We used this registry change to allow multiple sessions per user:
https://www.mytecbits.com/microsoft/windows/multiple-remote-desktop-sessions-for-a-single-user
I disagree with your assessment of how to run UI tests. If I know my UI tests will not conflict with each other - as it's the case for our Karma and Selenium - then I want to run them in parallel on the same machine (and session). Having multiple machines for testing would be wildly cost inefficient as most of the time they do nothing.
I do not use coded UI tests. I use VSTest task to run my selenium tests and npm to run my karma tests.

@xenalite We appreciate your suggestions, currently we are not enhancing/supporting multiple interactive sessions per machine.
Help us by contributing to open source.

@nigurr That's OK. I got my case to work by editing the registry entries for the auto logon user.
Simply added all agents to auto start:

I was then able to run 4 builds in parallel on the same interactive session.

This was an interesting read and made me realized that the number of sessions, for the one single user configured for all interactive agents, on the remote server, might be the issue for me.
So I made a different user on the system for each agent; that seems to fix it for me. Now I do not have multiple sessions running on one user account.

4 builds in parallel on the same interactive session.

@nigurr That's OK. I got my case to work by editing the registry entries for the auto logon user.
Simply added all agents to auto start:

I was then able to run 4 builds in parallel on the same interactive session.

I tried this and my agents were able to logon automatically, but when I execute the pipeline it is failing with OpenQA.Selenium.WebDriverException: Unexpected error. System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it <IP_ADDRESS>:******


Config request: Savage and Ravage - Ominous Banner burning

A feature of the Savage and Ravage mod is to be able to burn a Ominous Banner to get the "Bad Omen" debuff for raids in villages.
Kindly enable this setting.
Context: https://www.minecraft-guides.com/mod/savage-and-ravage/

feature doesn't exist? if it does I couldn't find it in the configs


[5.7] Don’t execute query when passing NULL to find()

This is somewhat of a shorthand to cleaner code and avoids conditionals of complicated chains. Sometimes I might pass null to find() and don't what it to execute a query: where id = null;

Is this a breaking change if someone has null in an ID field?

@taylorotwell Yes. The sql standard doesn't allow nullable primary keys, but that hasn't stopped some database engines from having accidentally implemented it anyway. I don't have a list of which ones at the moment, but I would always start looking at Mysql and sqlite when looking for weirdness.

According to the SQL standard, PRIMARY KEY should always imply NOT NULL. Unfortunately, due to a bug in some early versions, this is not the case in SQLite. Unless the column is an INTEGER PRIMARY KEY or the table is a WITHOUT ROWID table or the column is declared NOT NULL, SQLite allows NULL values in a PRIMARY KEY column. SQLite could be fixed to conform to the standard, but doing so might break legacy applications. Hence, it has been decided to merely document the fact that SQLite allowing NULLs in most PRIMARY KEY columns.

Source: https://www.sqlite.org/lang_createtable.html#primkeyconst

In the rare case someone intentionally wants to support a null ID - they could always do Model::whereNull('id')->first() as part of the upgrade guide?
Surely it is a rare situation (if anyone actually every wanted it)?

where id = null

Iff @tillkruss checked that this is what is generated (sorry, I didn't!)…

Is this a breaking change if someone has null in an ID field?

…it wouldn't matter: you cannot use = for matching null, you would have to write id is null => as such this change cannot break anything and is correct  IMHO 👍

IMO not worth us having to make a breaking change documentation for.


Add ShootJS and DotsJS Games

ShootJS Game
Site: https://jorger.github.io/shoot/
Github: https://github.com/Jorger/shoot
DotsJS Game.
Site: https://jorger.github.io/dots/
Github: https://github.com/Jorger/dots
Thank you very much.
Jorge Rubiano.

Have you thought of making the ShootJS game HiDPI friendly?

@Jorger ^


bug: TypeError: Cannot read property 'kind' of undefined

Bug Report
Ionic version:

[x] 5.x
Current behavior:

when running the command $ ionic cordova build android/ios --prod I get the error:
ERROR in<EMAIL_ADDRESS>Module build failed (from ./node_modules/@angular-devkit/build-optimizer/src/build-optimizer/webpack-loader.js):
TypeError: Cannot read property 'kind' of undefined
    at isAngularDecoratorMetadataExpression (/Users/application/app/node_modules/@angular-devkit/build-optimizer/src/transforms/scrub-file.js:265:35)
    at checkNodeForDecorators (/Users/Desktop/dicus/application/app/node_modules/@angular-devkit/build-optimizer/src/transforms/scrub-file.js:77:21)
    at visitNodes (/Users/application/app/node_modules/typescript/lib/typescript.js:16514:30)
    at Object.forEachChild (/Users/application/app/node_modules/typescript/lib/typescript.js:16740:24)
    at checkNodeForDecorators (/Users/application/app/node_modules/@angular-devkit/build-optimizer/src/transforms/scrub-file.js:68:31)
    at visitNode (/Users/application/app/node_modules/typescript/lib/typescript.js:16505:24)
    at Object.forEachChild (/Users/application/app/node_modules/typescript/lib/typescript.js:16635:21)
    at checkNodeForDecorators (/Users/application/app/node_modules/@angular-devkit/build-optimizer/src/transforms/scrub-file.js:68:31)
    at visitNode (/Users/application/app/node_modules/typescript/lib/typescript.js:16505:24)
    at Object.forEachChild (/Users/application/app/node_modules/typescript/lib/typescript.js:16692:24)
    at checkNodeForDecorators (/Users/application/app/node_modules/@angular-devkit/build-optimizer/src/transforms/scrub-file.js:68:31)
    at visitNode (/Users/application/app/node_modules/typescript/lib/typescript.js:16505:24)
    at Object.forEachChild (/Users/application/app/node_modules/typescript/lib/typescript.js:16703:24)
    at checkNodeForDecorators (/Users/application/app/node_modules/@angular-devkit/build-optimizer/src/transforms/scrub-file.js:68:31)
    at visitNode (/Users/application/app/node_modules/typescript/lib/typescript.js:16505:24)
    at Object.forEachChild (/Users/application/app/node_modules/typescript/lib/typescript.js:16599:21)
[ERROR] An error occurred while running subprocess ng.

Expected behavior:

build without a problem
Steps to reproduce:

run command above
Related code:

insert short code snippets here

Other information:

I have been reading a lot of different post but can't seem to find one that solves my issue:
1
2
3
4
I can't seem to get it to work.
Ionic info:

Ionic:

   Ionic CLI                     : 6.3.0 (/Users/me/.config/yarn/global/node_modules/@ionic/cli)
   Ionic Framework               : @ionic/angular 5.0.7
   @angular-devkit/build-angular : 0.801.2
   @angular-devkit/schematics    : 8.3.26
   @angular/cli                  : 8.3.26
   @ionic/angular-toolkit        : 2.2.0

Cordova:

   Cordova CLI       : 9.0.0<EMAIL_ADDRESS>   Cordova Platforms : not available
   Cordova Plugins   : not available

Utility:

   cordova-res (update available: 0.11.0) : 0.9.0
   native-run                             : 0.3.0

System:

   Android SDK Tools : 26.1.1 (/Users/me/Library/Android/sdk)
   ios-deploy        : 1.10.0
   ios-sim           : 8.0.2
   NodeJS            : v13.11.0 (/usr/local/Cellar/node/13.11.0/bin/node)
   npm               : 6.13.7
   OS                : macOS Mojave
   Xcode             : Xcode 11.3.1 Build version 11C504

Angular
angular-cli: 1.0.0-beta.28.3
node: 13.11.0
os: darwin x64
@angular/cdk: 8.2.3
@angular/common: 8.2.14
@angular/core: 8.2.14
@angular/forms: 8.2.14
@angular/platform-browser: 8.2.14
@angular/platform-browser-dynamic: 8.2.14
@angular/router: 8.2.14
@angular/cli: 8.3.26
@angular/compiler: 8.2.14
@angular/compiler-cli: 8.2.14
@angular/language-service: 8.2.14

Thanks for the issue. I am going to close this as this does not appear to be a bug in Ionic Framework. The error appears to be coming from @angular-devkit/build-optimizer.
Module build failed (from ./node_modules/@angular-devkit/build-optimizer/src/build-optimizer/webpack-loader.js):
You might want to try updating that dependency to 0.803.26 which seems to more closely align with the Angular version of 8.3.26.


Error at config.json

The config.json has so many errors

lmao, that's because JSON doesn't support comments. However, the comments are there to tell you what you should put in the config.json file.

Close this.

Delete // and any words after slash


chore: rust version update

Details https://github.com/trustification/guac-rs/issues/66#issuecomment-2141840727
Also simplifies ci a bit removing unused configs

@helio-frota just wondering if we need direct dependency to reqwest if it's only used by graphql-client?

@dejanb good question... I have no idea

oh we are using it as well
➜  guac-rs git:(main) rg reqwest
Cargo.toml
21:reqwest = "0.11"

lib/Cargo.toml
11:graphql_client = { workspace = true, features = ["reqwest"] }
12:reqwest = { workspace = true, features = ["json"] }

lib/src/client/semantic/spog/mod.rs
30:use graphql_client::reqwest::post_graphql;

lib/src/client/intrinsic/certify_good/mod.rs
2:use graphql_client::reqwest::post_graphql;

lib/src/client/intrinsic/vulnerability/mod.rs
5:use graphql_client::reqwest::post_graphql;

lib/src/client/intrinsic/path/mod.rs
6:use graphql_client::reqwest::post_graphql;

lib/src/client/intrinsic/vuln_metadata/mod.rs
2:use graphql_client::reqwest::post_graphql;

lib/src/client/intrinsic/certify_bad/mod.rs
2:use graphql_client::reqwest::post_graphql;

lib/src/client/intrinsic/vuln_equal/mod.rs
6:use graphql_client::reqwest::post_graphql;

lib/src/client/intrinsic/package/mod.rs
3:use graphql_client::reqwest::post_graphql;

lib/src/client/mod.rs
14:    Http(#[from] reqwest::Error),
29:    pub(crate) client: reqwest::Client,
36:            client: reqwest::Client::new(),
41:    pub fn with_client(url: String, client: reqwest::Client) -> Self {

lib/src/client/intrinsic/mod.rs
5:use reqwest::{Client, IntoUrl};

Thanks, I knew that would be too easy :)


Add extend package to dependencies

Hi,
This is a fix for the missing "extend" dependencie in the package.json file.

Thanks for the patch. Not sure how I missed it.


NIFI-10322 Correct Cookie path when removing Bearer Token

Summary
NIFI-10322 Corrects path attribute building when sending the Set-Cookie header to remove the __Secure-Authorization-Bearer Cookie as part of HTTP 401 Unauthorized response processing.
When access Apache NiFi through a proxy server that provides access through a prefixed path, the HTTP response processing does not append a / character to the path attribute to the Set-Cookie as part of the 401 Unauthorized response handling. The initial login process does append the / character to the path attribute, resulting in a mismatch between the initial addition of the Cookie and the later request to remove the Cookie from browser storage. As a result of failing to remove the Cookie from browser storage, the browser continues to send an expired JSON Web Token, resulting in an HTTP 401 Unauthorized response.
Changes include setting the root path in the RequestUriBuilder, following the same pattern used in application REST resources, and updating unit tests to verify the expected path for both the default root path as well as a forwarded root path.
Tracking
Please complete the following tracking steps prior to pull request creation.
Issue Tracking

[X] Apache NiFi Jira issue created

Pull Request Tracking

[X] Pull Request title starts with Apache NiFi Jira issue number, such as NIFI-00000
[X] Pull Request commit message starts with Apache NiFi Jira issue number, as such NIFI-00000

Pull Request Formatting

[X] Pull Request based on current revision of the main branch
[X] Pull Request refers to a feature branch with one commit containing changes

Verification
Please indicate the verification steps performed prior to pull request creation.
Build

[X] Build completed using mvn clean install -P contrib-check

[X] JDK 8
[ ] JDK 11
[ ] JDK 17

Licensing

[ ] New dependencies are compatible with the Apache License 2.0 according to the License Policy
[ ] New dependencies are documented in applicable LICENSE and NOTICE files

Documentation

[ ] Documentation formatting appears as expected in rendered files

Will review

Tried setting up a reverse proxy to test this but I had some issues. I did verify that normal bearer token functionality is still working with LDAP for example (checked that when logging out, the cookie removed correctly). I verified the change through your unit test and it looks good to me. +1 will merge.


Optimize CBezierCurve::getYForPoint

Describe your PR, what does it fix/add?
As the title sais, it optimizes getYForPoint
Is there anything you want to mention? (unchecked code, possible bugs, found problems, breaking compatibility, etc.)
I tested this against the former solution,
without some tricks the benchmark part of the bezier setup is optimized out.
There is no functional difference to the replaced code other than performance.
Is it ready for merging, or does it need work?
Someone should check the performance on other computers.

What's up with this Nix shit?
I am not responsible, am I?

Playing around with this, i reallized that the old implementation could lead to lowerT == upperT after clamping.
Of course, otherwise clamping would not be needed.
That could either happen for lowerT = upperT = 0, or lowerT = upperT = BAKEDPOINTS -1.
In Both cases PERCINDELTA would become nan i think.
After the latest change to my PR this should not happen anymore.

A thing to think about:
For our use case, bezier curves that have more than one y value for a given x value don't make sense.
They could lead to jumps in animations.
It would be nice to restrict the possible bezier curves so that every getXForT(t) < getXForT(t+epsylon).

For our use case, bezier curves that have more than one y value for a given x value don't make sense.
They could lead to jumps in animations.
It would be nice to restrict the possible bezier curves so that every getXForT(t) < getXForT(t+epsylon).

Indeed.

I will review this tomorrow, as I need to do some analysis


CosmosDB Mongo vCore Vector Search needs to add support to get searchScore from query metadata

Currently Vector Search returns the top 'k' results. Most times we also need the actual score value that is used to sort / limit to top 'k; results as a part of the query. This is usually there in the query metadata accessible through $meta which I think isn't supported yet.
There is a lot of interest with customers on Vector Search's especially OpenAI becoming popular. Adding this capability will help increase adoption for the same.

@ameetkonnur
It would be great if you could add a link to the documentation you are following for these steps? This would help us redirect the issue to the appropriate team. Thanks!!

Usage : Vector search on embeddings - Azure Cosmos DB for MongoDB vCore | Microsoft Learn
Limit Documentation : Compatibility and feature support - Azure Cosmos DB for MongoDB vCore | Microsoft Learn

@ameetkonnur
Thanks for your feedback! We will investigate and update as appropriate.

Hi @gahl-levy,
Could you please look into this request, thanks.

Hello @ameetkonnur,
Thanks for your suggestion. Unfortunately, this is the documentation repository where we document the current state of the service and we don't have the ability to take feedback about the service itself.
If you wish to recommend an enhancement to the service, I suggest you post on the Azure Cosmos DB feedback forum.
For now, I will close this issue as I don't have an action item to change the documentation.
#please-close


There is a blue highlight for the State/Name toggle on main Stack page

Steps:

Go to main stack page
Click on State or Name button toggle on right side of screen

Results:
A blue highlight appears.  If you click anywhere else on the screen or when you first enter there is no blue highlight.

Expected:
We should get rid of it or keep it there always.

That's the focused element for the browser, so you can navigate with the tab key.. I don't know why it's not on some elements but we should fix those, not remove it from everywhere.

Accessibility is a feature..


Move genesis commands to a sub-command and add the SDK's auto-cli commands.

Description
This PR:

Replaces the tendermint command with comet.

Removes the enable-cli-autocomplete command. Cobra command now automatically adds a completion command that does the same thing.

Moves the genesis-related commands into a new genesis sub-command, and removes the genesis- part of their name.

Old invocation
New invocation

provenanced add-genesis-account
provenanced genesis add-account

provenanced add-genesis-custom-floor
provenanced genesis add-custom-floor

provenanced add-genesis-custom-market
provenanced genesis add-custom-market

provenanced add-genesis-default-market
provenanced genesis add-default-market

provenanced add-genesis-marker
provenanced genesis add-marker

provenanced add-genesis-msg-fee
provenanced genesis add-msg-fee

provenanced add-genesis-root-name
provenanced genesis add-root-name

provenanced collect-gentxs
provenanced genesis collect-gentxs

provenanced gentx
provenanced genesis gentx

provenanced validate-genesis
provenanced genesis validate

Removes the provenanced query account command. The same query is still available as provenanced query auth account.

Adds the following sub-commands to the provenanced query command: blocks, block-results, consensus, event-query-tx-for, and interchainquery.

The provenanced query tendermint-validator-set is now provenanced query comet-validator-set.

Adds the following sub-commands to the provenanced tx command: auth, consensus, ibchooks, interchainquery, mint, multisign-batch, and upgrade.

Updates upgrade-config.sh to account for the moved params and also stop it from outputting the entire genesis file when run.

Related to:

#1760

Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

[x] Targeted PR against correct branch (see CONTRIBUTING.md)
[x] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
[ ] Wrote unit and integration tests
[ ] Updated relevant documentation (docs/) or specification (x/<module>/spec/)
[ ] Added relevant godoc comments.
[x] Added a relevant changelog entry to the Unreleased section in CHANGELOG.md
[ ] Re-reviewed Files changed in the Github PR explorer
[ ] Review Codecov Report in the comment section below once CI passes

This is ready for review, but we should wait to merge it until #1968 has merged so that all the cmd unit tests are re-enabled in the github action.


I would like to have document about all duty for all Roles

In AX 2012, Microsoft release an Excel file lists all the Roles and Duty of every Roles. For example Purchasing Manager can Approve product prices and discounts, Approve purchase agreement, and Maintain all kinds of master, etc.
I would like to have the same kind of file for MSD 365. Do you have it?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 09327be4-4437-628d-65b0-45e5824a06d5
Version Independent ID: 1bbaa6dd-6e50-77e1-36c2-10c2dbd55459
Content: Role-based security - Finance & Operations | Dynamics 365 | #MSDyn365FO
Content Source: articles/dev-itpro/sysadmin/role-based-security.md
Service: dynamics-ax-platform
Product: ****
Technology: ****
GitHub Login: @sericks007
Microsoft Alias: sericks

@wandeewanikpun, thanks for posting!
We haven't published an Excel file listing all of the roles and duties associated with each role in Dynamics 365 for Finance and Operations. Instead, this information is available in the product on the Security configuration page (System administration > Security > Security configuration).

Thank you very much.
What you suggest is enough for us as implementor. However the customer would like to have clear explanation of who can do what.
BTW, when it said "maintain", does it really mean create or edit or delete? or all of them? How do I know?

@ChrisGarty, can you answer the question above regarding the word "maintain".


function validateEventDefinition(node) {       const eventHandler = node.value;

Hello kind eslint-plugin-meteor folks,
I am using Meteor, and I am using eslint. I have recently run into an eslint crash that I cannot figure out how to fix. If you'd like, I can dig into this and try to submit a PR.
The line that is crashing is this. ...SharedFeatures.EVENT_HANDLERS.
The object that it's referencing is defined like this
const SharedFeature = Template.SharedFeatures;

Template.SharedFeatures = {
  EVENT_HANDLERS: {
    'click .some-classname': function (e, tmpl) {
      //
    },
  },
}

This line doesn't seem to have anything unusual that the rest of the codebase doesn't have. I can't share too much because of proprietary information.
 Something went wrong! :(

ESLint: 7.13.0

TypeError: Cannot read property 'type' of undefined
Occurred while linting /Users/me/my_app/app/my_file.ts:286
    at validateEventDefinition (/Users/me/my_app/node_modules/eslint-plugin-meteor/lib/rules/eventmap-params.js:60:35)
    at Array.forEach (<anonymous>)
    at CallExpression (/Users/me/my_app/node_modules/eslint-plugin-meteor/lib/rules/eventmap-params.js:96:31)
    at listeners.(anonymous function).forEach.listener (/Users/me/my_app/app/node_modules/eslint/lib/linter/safe-emitter.js:45:58)
    at Array.forEach (<anonymous>)
    at Object.emit (/Users/me/my_app/app/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/Users/me/my_app/app/node_modules/eslint/lib/linter/node-event-generator.js:254:26)
    at NodeEventGenerator.applySelectors (/Users/me/my_app/app/node_modules/eslint/lib/linter/node-event-generator.js:283:22)
    at NodeEventGenerator.enterNode (/Users/me/my_app/app/node_modules/eslint/lib/linter/node-event-generator.js:297:14)
    at CodePathAnalyzer.enterNode (/Users/me/my_app/app/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23)

Thanks for the report.
Closing as it seems to be a duplicate of #781


refactor make row store column a hidden column in meta

This could simplfy storage engine logic and make code more readable, and we could analyze the hidden __DORIS_ROW_STORE_COL__ length etc..
Proposed changes
Issue Number: close #xxx
Problem summary
Describe your changes.
Checklist(Required)

Does it affect the original behavior:

[ ] Yes
[ ] No
[ ] I don't know

Has unit tests been added:

[ ] Yes
[ ] No
[ ] No Need

Has document been added or modified:

[ ] Yes
[ ] No
[ ] No Need

Does it need to update dependencies:

[ ] Yes
[ ] No

Are there any changes that cannot be rolled back:

[ ] Yes (If Yes, please explain WHY)
[ ] No

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 35.31 seconds
load time: 509 seconds
storage size:<PHONE_NUMBER>6 Bytes
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230130123155_clickbench_pr_87250.html

@dataroaring modified row-store according to previous discussion, and let row-store column independent  from rowset and segment


[BUG] Parser/Linter error function randomstr wants argument count 1 but provides 1

Looks like a false alarm with the following error report?
🔥 [ERROR] function randomstr wants argument count 1 but provides 1 (function/arguments)
polyfill-service/fastly/vcl/fastly-boilerplate-begin.vcl at line 4, position 54
 3|    if (!req.http.X-Request-Id) {
 4|        set req.http.X-Request-Id = digest.hash_sha256(now randomstr(64) req.http.host req.url req.http.Fastly-Client-IP server.identity);
                                                              ^^^^^^^^^
 5|    }
See document in detail: https://developer.fastly.com/reference/vcl/functions/randomness/randomstr/

@chenrui333
Thanks, the second argument of randomstr is optional document so it's a bug.
I'll fix it later.

@chenrui333 I've fixed this problem in #35 and released v.0.6.0.
Please use the latest version.


Add chaincode upgrade procedure (test environment only)

A first step towards https://github.com/SubstraFoundation/hlf-k8s/issues/50

Nice work, but it's not a Hyperledger Fabric upgrade, it's a helm/kubernetes one.
Our operator does not handle chaincode upgrade.
Clément shares a good link : https://hyperledger-fabric.readthedocs.io/en/release-2.2/chaincode_lifecycle.html#upgrade-a-chaincode
To upgrade a chaincode you need to build a new chaincode definition on sequence incremented
If you look inside the app channel operator, multiple things happen
 fabric-tools [DEBUG] Fetching the channel (mychannel) configuration block
 fabric-tools [DEBUG] Check if MyOrg1 is in the application channel
 fabric-tools [DEBUG] MyOrg1 is already in the application channel
 fabric-tools [DEBUG] Fetching the channel (mychannel) configuration block
 fabric-tools [DEBUG] Check if MyOrg2 is in the application channel
 fabric-tools [DEBUG] MyOrg2 is already in the application channel
 fabric-tools sh: -: not found
 fabric-tools [DEBUG] Wait chaincode ready mycc 2.0 on channel mychannel
 fabric-tools [DEBUG] Commit chaincode mycc 2.0 on channel mychannel
 fabric-tools cat: can't open 'endorsement.config': No such file or directory
 fabric-tools go package net: GODEBUG setting forcing use of Go's resolver
 fabric-tools Error: proposal failed with status: 500 - failed to invoke backing implementation of 'CommitChaincodeDefinition': requested sequence is 1, but new definition must be sequence 2
 fabric-tools go package net: GODEBUG setting forcing use of Go's resolver

We don't rebuild ENDORSEMENT variable correctly, that's why we need to use discovery instead or move this part to be done systematically.
Handle --sequence value, here, hardcoded to 1
Do a real chaincode upgrade, not replace the image of the container. The chaincode_ccid secret does not change if we follow your procedure, and the channel is not aware of any upgrade.
Here, you procedure is equivalent to :
[kubernetes] change chaincode deployment container image from 0.1.1 to 0.1.2
[hlf] install a new chaincode package, but don't create new ccid secret as it already exists (base on name only, not name and version)

Thanks fro the feedback @Kelvin-M.
I'm going to close this for now as it's not quite valuable in its current state.
However, there are valuable pointers in this PR. We can refer to it in the future, when we will invest time writing a full upgrade procedure.


Update to 1.19.1 (or latest)

I'd love to test Strong Mode, but looks like DartPad is at 1.16.0 and the latest Dart as of the time of this issue is  1.19.1. Thanks!

We're now upgraded to 1.19.0 - hope that works for you until we roll to 1.20?

How about 1.21? We have a DartPad that should use the new = syntax for setting the default value of a named parameter, but it can't.

It's in progress :) @lukechurch landed some of the pre-work for that here: https://github.com/dart-lang/compiler_unsupported/pull/43

Bump. Covariant doesn't work.

DartPad is up to 1.21 now. But, Dart is at 1.22 now.

@lukechurch can we roll again?

@mit-mit As discussed, this is currently blocked on https://github.com/dart-lang/dart-services/issues/286
We're working on it.

Dartpad is at 1.23 - there are some PRs in progress to make rolls much easier.


is it possible to create a button that saves the elapsed time?

I have tried several times so I am just wondering if its actually possible.

The answer is yes.  But how is determined by how you are using angular-timer.  If the following does not work please provide more detail such as using Angular 1 or Angular 2.
This may help.
https://siddii.github.io/angular-timer/examples.html
Note, you may have to use rootScope depending on how you setup the directive.
For angular 1 you need to create a button that upon click will run some functions such as "getElapsedTime()".  Then in the controller, assuming you are using the directive, you might try
getElementsByTagName('timer')[0] and then extract the value you want.
See:
https://searchcode.com/codesearch/view/85611717/

You can also use getElementByID
see:  https://github.com/siddii/angular-timer/commit/d39ccef6695e7acf80506509039b4365b56eca78

Using angular 1. Its actually to integrate with an ionic application, so not sure if its best to use an ionic timer or pursue a cordova plug in. Thank you so much for your feedback!

I am shooting in the dark here without knowing the full context. :)
Can you make sure the scripts are loaded within  instead of ?
I remembering seeing similar issue due to lazy loading

I'm using a similar time in an ionic pluging.  I started with angular-timer, but didn't need such an extensive directive.  Also, I pulled it to use as a stand-alone factory for control purposes.  I am now using a similar timer in Ionic 2.   In Ionic 1 and angular 1 you can used things like $scope.$watch and $scope.$on
timer as factory 'meetingTimer' as function
function getElapsedMS() {
var totalTime = totalElapsedMs + elapsedMs;
console.log("totalElpasedMS", totalTime);
return totalTime;
In controller:
$scope.$watch(function() {
return meetingTimer.getElapsedMS();
},
function(newVal, oldVal) {
$scope.data.elapsedTime = meetingTimer.getElapsedMS();
},true);

When I used as directive, I has to broadcast events as $rootScope.$broadcast in order to receive them in my App via controller and use commands like   $scope.$broadcast('timer-stop
using  document.getElementsByTagName('timer')[0].stop();
resolved this.
Note, Just learning angular, ionic 1 and javascript when I was playing with this.  Getting smarter every day.


docs: update relative issue paths in CONTRIBUTING.md

This commit fixes references to the repository's issues page.
Related Issues
Proposed Changes:

How did you test it?

Notes for the reviewer

Checklist

[x] I have read the contributors guidelines and the code of conduct
[x] I have updated the related issue with new insights and changes
[x] I added unit tests and updated the docstrings
[x] I've used one of the conventional commit types for my PR title: fix:, feat:, build:, chore:, ci:, docs:, style:, refactor:, perf:, test:.

 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.

LG! @dfokina would be nice if you can take a quick look as well?


Add travel time sensor

Description:
Sensor to provide travel time from Google maps api.
Get an api key:
https://github.com/googlemaps/google-maps-services-python#api-keys
Related issue (if applicable): #
Requested here: https://community.home-assistant.io/t/google-travel-time-api-support/947
Example entry for configuration.yaml (if applicable):

sensor:
    platform: google_travel_time
    api_key: XXXX_XXXXX_XXXXX
    origin: Trondheim, Norway
    destination: Paris, France
    travel_mode: bicycling # can be ["driving", "walking", "bicycling", "transit"]

Checklist:
If the code does not interact with devices:

[x] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[ ] Tests have been added to verify that the new code works.

@mnestor It's probably also worth pushing the api_key for the Google API's up to a common configuration (with the ability to override in the specific uses, such as this).
@Danielhiversen nice work!

@lwis Would be a good idea if not for the fact it's a different api_key for the two services. This one is a simple key since you don't ask for access to user data. The one for the google calendar requires a whole OAuth step since it's asking for user data access.

How frequently does this update? Because it looks like the googlemaps API gives 2500 free 'elements' a day (origins multiplied by destinations). So if it runs once a minute you can only track a single origin-destination pair and stay within the free query count, but if it updates only once every 5 minutes it is possible to track up to 8 origin-destination pairs like this.

Woohooo, looks good! 🐬  Just in time for 0.19 !

It seems the sensor is reporting incorrect information. I created an issue here.


New repo

hello friends, I can see this commit passed. However, I still cannot access the new repo. Any thought?

Hi, our IaC CI run failed, I'll restart it


Create stylish cover page

Needs to include:

Title
Name
University logo
Month/date of submission
Maybe a sentence like: "This thesis is submitted to the University of Sussex in application for the degree of Doctor of Philosophy".

To generalise, create/use fields for institution and degree.

The exact requirements for University of Sussex is here:
Title Page
The title page should include:

the full title of the thesis and the sub-title if any;
the full name of the author;
the qualification aimed for;
the name of the University of Sussex;
the month and year of submission.


JAVA-2265: Configure NullSavingStrategy (and possibly other relevant DAO level annotations) at the Entity Level

…or Update annotation

Sorry for delay in review, this will be my first priority tomorrow :+1:

Merged with @DefaultNullSavingStrategy: I felt there was a pretty strong case to not clash with the enum name.
I also took the liberty of rearranging the manual page.


Publish TigerVNC and TurboVNC image to quay.io

This PR updates the Dockerfile so that it can build to include TigerVNC (default) or TurboVNC by passing --build-arg vncserver=turbovnc. It then automates a build and publishing of an image in two variants:

quay.io/jupyterhub/jupyter-remote-desktop-proxy:<version> (the same as -tigervnc)

quay.io/jupyterhub/jupyter-remote-desktop-proxy:<version>-tigervnc

quay.io/jupyterhub/jupyter-remote-desktop-proxy:<version>-turbovnc

Fixes #88
Provides multi arch images, Amd64 and Arm64

Fixes #68
In a very primitive way though, where I think #93 improves on testing beyond this basic check

The suffix functionality is now available in v3 of action-major-minor-tag-calculator, making this expected to work in order to publish with and without the suffixes -tigervnc and -turbovnc.
I'll go for a merge!


Make chip-tool subscription shutdown commands easier to use.

Removes redundant "subscription" from the command names, since it's part of
the "cluster" already.
Removes the need to specify fabric-index (which was ambiguous anyway, in terms
of whether it was the fabric-index on the server or the client), deriving
fabric information from the command's identity (--commissioner-name) instead.
Adds a shutdown-all command.
Adds various documentation bits.

Fixes https://github.com/project-chip/connectedhomeip/issues/21724
Problem
See issue above.
Change overview
See above.
Testing
Tried running these commands; they seem to work.

Fast tracking tooling updates


Remove ghc-prim dependency, useless as of GHC 7.6

Cf  #7 .

Awesome!  Thanks for taking the time to do that! :)

I'll upload this to Hackage soon

Alright, this is up on Hackage as total-1.0.4

Thank you.
You might want to update the README file which currently shows "total-1.0.1" :) .

Fixed!


Update getting started docs to disambiguate gitignore pattern

Description
Update getting started docs to disambiguate gitignore pattern. The existing docs leads you to believe that the glob pattern is + .turbo which includes turbo files in your git commits, instead of .turbo, which hides them. Removed the + to remove this ambiguity. In the Docs UI it isn't obvious that what was shown was a "diff", and that the + wasn't part of the pattern, this should remove any doubt as to the intention.
Testing Instructions
N/A

We did a huge rewrite of the docs and this was a part of it. Thanks for wanting to contribute!


download fialed

what's the problem?
`Marcel:Downloads$ googleimagesdownload -k "谭卓" -l 5
Item no.: 1 --> Item name = 谭卓
Evaluating...
<urlopen error [Errno 60] Operation timed out>
Starting Download...
Traceback (most recent call last):
File "/Users/Marcel/anaconda/bin/googleimagesdownload", line 11, in
sys.exit(main())
File "/Users/Marcel/anaconda/lib/python3.6/site-packages/google_images_download/google_images_download.py", line 888, in main
paths = response.download(arguments)  #wrapping response in a variable just for consistency
File "/Users/Marcel/anaconda/lib/python3.6/site-packages/google_images_download/google_images_download.py", line 843, in download
items,errorCount,abs_path = self._get_all_items(raw_html,main_directory,dir_name,limit,arguments)    #get all image items and download images
File "/Users/Marcel/anaconda/lib/python3.6/site-packages/google_images_download/google_images_download.py", line 695, in _get_all_items
object, end_content = self._get_next_item(page)
File "/Users/Marcel/anaconda/lib/python3.6/site-packages/google_images_download/google_images_download.py", line 660, in _get_next_item
start_line = s.find('rg_meta notranslate')`

related to above topic, if it failed, probably will need a feature to continue from previous failed downlod

The original issue reported should be fixed many commits back. The feature request to continue for where the download failed is being tracked in #128 . Thanks for reporting this!


[Tracking] Repository bootstrapping

To help ensure consistency across our organization's repositories, streamline setup, and assist external parties in taking advantage of our tools and processes, we aim to build utilities that can assist in automatically bootstrapping the initial contents of a new repository using our standard structure and tools.
Specifically, we intend to use Nx's "generator" utilities to set up a repository with the following:

README
Nx configuration
VSC editor configuration
Git configuration (gitignore/gitconfig)
Linting
CI
Commit hooks
Automated releases and publication (if desired)
Code license
Root package configuration, including npm workspaces configuration

Nx can also be used to keep these in sync as changes are made over time

This has been largely implemented via the @eternagame/bootstrap package and the preset generator in @eternagame/nx-plugin. I want to consider whether or not Docker configuration should be involved before closing this out


[fix] no-unused-modules: don't crash when lint file outside src-folder

Fixes #1338

Coverage increased (+2.5%) to 97.937% when pulling bb686defa4199d5c1f77980b165907b9d3c0971b on rfermann:1338 into 4620185d0aa93da9675afb73ec713f5b1c821051 on benmosher:master.


Integration with neo4j vector index

It's great that neo4j is already your KG provider, not sure if you're aware of but Neo4j added vector indexing and search (HNSW) last summer.
So you can do everything with one provider and don't need to set up two.
LMK if you have any questions, we're happy to help with a PR.
It's also used in our LangChain, LlamaIndex, SpringAI, Haystack, Semantic Kernel, LangChain4j integrations.
See:
https://neo4j.com/labs/genai-ecosystem/vector-search/
https://neo4j.com/docs/cypher-manual/current/indexes/semantic-indexes/vector-indexes/
https://neo4j.com/developer-blog/neo4j-langchain-vector-index-implementation/

Is this a separate vector search on documents or does it bring the ability to search the predicates in a knowledge graph semantically?
For example the users asks
“Who was involved in the paper X”
If I ask an LLM to perform a Cypher query based on the users’s question, and it chooses to target a relationship “CONTRIBUTED_TO”, can we perform a vector search to also get similar terms like WROTE, DID_RESEARCH or TEAMED_WITH in case our knowledge graph is also generated by an LLM and we didn’t have determined labels.

This implementation for postgres looks fairly straight-forward.
It would be great to see VectorDatabaseProvider implementation for neo4j support here as well.  I might take a stab at this (or happy to contribute if @jexp has already started 😉)

Circling back on this, the codebase is more stable now so we'd love to see this integrated! It would be best to start work on this with the major revisions we are rolling into the V3 - https://github.com/SciPhi-AI/R2R/pull/877


Spark Enrich: enable dropwizard metrics sink

https://spark.apache.org/docs/latest/monitoring.html#metrics

Replaced by Snowplow Observability approach https://discourse.snowplowanalytics.com/t/observability-for-the-snowplow-streaming-pipeline/1955


repo sync

This is an automated pull request to sync changes between the public and private repos.
:robot: This pull request should be merged (not squashed) to preserve continuity across repos, so please let a bot do the merging!

Sure! No problem.
On Thu., Mar. 25, 2021, 11:11 a.m. Octomerger Bot, @.***>
wrote:

This is an automated pull request to sync changes between the public and
private repos.
🤖 This pull request should be merged (not squashed) to preserve
continuity across repos, so please let a bot do the merging!
You can view, comment on, or merge this pull request online at:
https://github.com/github/docs/pull/4816
Commit Summary

Include header/footer components across layout types (#18377)

File Changes

M includes/contribution.html
https://github.com/github/docs/pull/4816/files#diff-3d602e3d39f4a7f3300ced0d41b4108ea682d16735f55e8552f65822350a6ea9
(7)
M layouts/enterprise-server-releases.html
https://github.com/github/docs/pull/4816/files#diff-b5880719da8f491404d8ffaaafc3a6633047de204710c07a2ddaa9c29e72e345
(6)
M layouts/error-404.html
https://github.com/github/docs/pull/4816/files#diff-2e0e4c50a7218279acce07fc9e8c1924cc2442f3ad8842e0bd19830787d674a1
(4)
M layouts/error-500.html
https://github.com/github/docs/pull/4816/files#diff-ee4349a7b951604a83b9a6753681c9b9208b4d293c4f2b06879f609c174cf54b
(4)
M layouts/graphql-explorer.html
https://github.com/github/docs/pull/4816/files#diff-ff79e402259f0bceb76166b1b129e40431b51834b14c53ea8ff8b36da7401884
(4)
M layouts/product-landing.html
https://github.com/github/docs/pull/4816/files#diff-232d2e3644028425b6d8fb968df185d94475f9031a5abaef8895d239bafd95b5
(7)
M layouts/product-sublanding.html
https://github.com/github/docs/pull/4816/files#diff-e32c2dde980ba60b5b008a7f78ba8db37766b6304e579bab3dbd65444d287daf
(7)
M layouts/release-notes.html
https://github.com/github/docs/pull/4816/files#diff-a8e948fe5578089b2b6eca7b42bb4e2207b0701fbba937157d5896efd2401cf9
(6)

Patch Links:

https://github.com/github/docs/pull/4816.patch
https://github.com/github/docs/pull/4816.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/github/docs/pull/4816, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AS3C3YQPFMNP3ILOBRB7Z23TFNVDNANCNFSM4ZZYPAVA
.

👍


upload_to_testflight ❌

[15:21:13]: The request cannot be fulfilled because of the state of another resource. - The resource 'appPrices' cannot be viewed, created or updated. Please view and create 'manualPrices' using the resource 'appPriceSchedules'.
+------+---------------------------+-------------+
|                fastlane summary                |
+------+---------------------------+-------------+
| Step | Action                    | Time (in s) |
+------+---------------------------+-------------+
| 1    | app_store_connect_api_key | 0           |
| 2    | get_provisioning_profile  | 3           |
| 3    | get_provisioning_profile  | 3           |
| 4    | get_certificates          | 1           |
| 5    | build_ios_app             | 169         |
| 💥   | upload_to_testflight      | 2           |
+------+---------------------------+-------------+
[15:21:13]: fastlane finished with errors

The error message you're seeing is related to using Fastlane, a tool for automating iOS and Android app deployment. Specifically, it seems to be related to interacting with Apple's App Store Connect API. The error message indicates that there is an issue with a resource called 'appPrices.'
Here are a few steps you can take to troubleshoot this issue:
Ensure that your App Store Connect API key and other authentication credentials are correctly set up in your Fastlane configuration. Make sure you have the necessary permissions to access and modify the resources you're trying to work with.The error message mentions that the 'appPrices' resource cannot be viewed, created, or updated due to the state of another resource. This could indicate that there are dependencies between resources, and a prerequisite resource needs to be in the correct state before you can work with 'appPrices.' Review your Fastfile and ensure that you're managing resource dependencies correctly.As the error message suggests, consider reviewing your 'appPriceSchedules' to see if there are any issues or if they need to be updated. It's possible that  an issue with a price schedule is affecting your ability to work with 'appPrices.'Examine the Fastlane actions being performed in your Fastfile, especially the 'upload_to_testflight' action. There may be issues with the configuration of this action or with the previous actions in your lane that affect its execution.Sometimes, issues related to App Store Connect may be caused by changes or issues on Apple's side. Ensure that your Apple Developer account is in good standing, and there are no issues with your apps or agreements in the App Store Connect portal.Ensure that you're using the latest version of Fastlane, as updates may include bug fixes and improvements that could resolve issues like this one.
If you can provide more specific details about your Fastlane configuration and the actions you're trying to perform, I can offer more targeted advice. Additionally, reviewing the Fastlane documentation and GitHub repository for issue discussions related to your problem can be helpful in finding solutions.

The same issue: 13:10:44]: The request cannot be fulfilled because of the state of another resource. - The resource 'appPrices' cannot be viewed, created or updated. Please view and create 'manualPrices' using the resource 'appPriceSchedules'.
Any solution to fix it?


What is the version of PyTorch?

What is the version of PyTorch?

There's a requirement.txt  which has dependencies. TorchFlare is probably broken because I did not have time to maintain it.

The PyTorch version is not specified. I will use the latter for GPU. I use Windows.

Torchflare will install the version of pytorch 😄


#12 Equation for Friction factor

Using the pipe roughness of 0, .0001, .0003,..., 0.1 that are given, how do the friction factors at Reynolds equaling 3500 vary by so much on the example graph? When I use the Swamee-Jain equation by hand with Reynolds being 3500, I get that when the roughness is 0 then Friction Factor should be  0.04231. Then using roughness as 0.3 I get 0.04262. But looking at the example graph that does not look to be the case. My graph then looks nothing like the one provided. What am I doing wrong?

Never mind I figured it out


Add ServerSettingsDescriptions to validate and upgrade server settings

Migrate existing server settings validation and upgrade code to a similar structure that is already used for general settings, account settings, identity settings, and folder settings.

I think the settings handling is overly complex and fine-grained, possibly too complicated. From just reading the code, I'm missing the bigger picture. Why is there so much infrastructure code? In my experience, even with complex data structures, shared preference code is typically more lightweight.

The import code has to deal with untrusted user input. So there's a validation step. If a setting is missing or using an invalid value, the default value will be used.
The app also supports reading settings exported with older versions of the app. The goal is for the outcome of these two paths to be the same:

Install version X, import settings created with version X, upgrade app to version Y
Install version Y, import settings created with version X

Sometimes we change the default value of a setting. But we generally preserve the behavior of existing installations. So the default value is only used by new installations, or when the user sets up a new account, creates a new identity etc. To match this behavior, the import code needs to know about the default value of a setting in previous app versions.
We currently use different formats for internally persisted settings and setting values in the exported XML file. That was added mostly to have "pretty" strings in the exported file. But it adds unnecessary complexity and is definitely something we can remove in the future.

My point is that we should define a settings format, especially in the light of also supporting syncing. This is already deep into details and existing functionality, but I'm missing to what it should transform to and what functionality it needs to support.


Assignments to magic properties with types (e.g. in unit tests) shouldn't override type in analysis

E.g. if something is marked as @property-read MyClass $foo, then $class->foo should always have the inferred type MyClass, even if other things are added later.
I'm seeing the type MyClass disappear, and the mock values (e.g. PHPUnit_Framework_MockObject_MockObject, null) show up instead.

Never mind, this seemed to be spurious. I'm not sure how this would happen.
Aside: phan-forbid-undeclared-magic-properties should also apply to AssignmentVisitor for set ($obj->foo = $bar)


Added comma to line 26

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Closed and Reopened this PR to attempt to resolve a specific Travis build failure.

Looks good @juliabenton, thanks for contributing to freeCodeCamp!


The paper in IJCV shows the rendering detials, but I also have some question about it's process

When use the subdivision method, the decoder net will output the mesh parameters include vertex offsets. I want to know the specific format of these vertex offsets, whether to include only the coordinates of surface points(98 vertices, 294 parameters).
The faces in "sample" are pre-defined, so in your paper's experiment these faces how to get?
The decoder net would output rotation parameter, what's different between it and the encoder's output theta, the pose parameter.
@pmh47  hope to receive your reply.

Closing as this is not related to DIRT itself (I replied to you by email re the IJCV paper).


Too slow for intel Pentium 100 motherboard ?

Hello !
This project is going to be really helpful for me to debug an AT 286 motherboard that has some issues and LOTS of components to test (it's mostly made of glue logic).
Problem
I just built one myself, and during testing, while it seems like it's doing ok in a 386 motherboard, it's struggling to get a Pentium board to POST.
What I did is that I took out the original ROM (which contains an award BIOS v4.51PG), dumped it, then flashed the bin file to the picorom while making sure of using the right size (1MBit).
Then I put a POST card into an ISA slot of the motherboard to monitor the activity and finally I turned it on.
The board executes some code, but after a while hangs.
When I put back the original ROM chip in place of the picorom, the board POSTs fine to the memory count screen, so the motherboard works fine.
Here's a video of the picorom in action https://youtu.be/1Ub2xlTqZPE
Informations / context
Then I pulled off the sticker of the ROM chip and it's an Atmel AT29C010A-15PC AKA 150ns ROM according to the datasheet, yet the picorom is said to be able to run at 100ns.
If you need informations about the motherboard, it's a PcPartner TXB820DS https://theretroweb.com/motherboards/s/pcpartner-txb820ds-35-8333-00,35-8333-01,35
CPU is a Pentium 100
Just for your information if you've never used a POST card, the relevant pair of hex numbers is the one at the top. It starts with C1 on an award BIOS which is normal, then does some progress and finally hangs at 0x05 which is according to here https://blog.theretroweb.com/2024/01/20/award-bios-beep-and-post-codes-list/ after "keyboard initialization". Referring to the "version 4.0" it might be hanging during the next code 0x06 aka "ROM checksum" (though 0x06 is missing from the listing for version 4.51PG I think it's still where it hangs ...)
I also tried the picorom in a TL866 and the file it outputed was exactly identical to the original one, so I think my unit is working just as expected.
I used this version of the firmware https://github.com/wickerwaka/PicoROM/releases/download/v1.5/PicoROM.uf2 on the pico.
Conclusion
Can you help me ?
I can provide any other piece of information needed for the troubleshoot

It's possible it's still too slow, I need to go back and run some speed tests on the 1.5 version with a new benchmarking version I have setup.
With the latest version I am overclocking the CPU more and the access time is 70ns. It's not merged into main, try this firmware here: https://github.com/wickerwaka/PicoROM/actions/runs/12249629253/artifacts/2297819714

Thanks a lot for the new firmware.
I tried it and now the board posts !
However multiple times it also got stuck at code C0 which is the very first one with that bios afaik.
I didn't have the time to experiment more so, in this case, maybe it's just a hiccup from the motherboard, I'll see tonight if I can try it more.

At this speed the access time should be more than enough to match the 150ns of the original ROM. I wonder if I'm not hitting some of the other timing expectations.

The "/CE or /OE to Output Float" time at 40ns might be right on the border. I made a slight firmware change that should turn off the buffer about 8ns faster. Maybe it'll fix it, but probably not.
https://github.com/wickerwaka/PicoROM/actions/runs/12265755534/artifacts/2302710479
Let me know.

This is much better.
It still crashes sometimes early in the POST, but it seems to be related to the power on cycle, not sure exactly why. I couldn't get it to crash later, during POST or anywhere.

Okay good. I'm going to try to build some tests to measure these other values.


Len of two concatenated Bytes objects is 0

import numba
import numpy as np

@numba.njit
def addbytes_len_usecase(a, b):
    output = len(b''.join([a, b]))
    return output

b_val = b"abcd"
addbytes_len_ans = addbytes_len_usecase(b_val, b_val)
print(f"addbytes_len_ans: {addbytes_len_ans}")

Returns 0.

Reporting a bug

[x] I have tried using the latest released version of Numba (most recent is
visible in the change log (https://github.com/numba/numba/blob/main/CHANGE_LOG).
[x] I have included a self contained code sample to reproduce the problem.
i.e. it's possible to run as 'python bug.py'.

So the core of this issue is the types.Bytes being ArrayCompatable. However, this particular issue is related to _make_constant_bytes setting bstr.shape and bstr.strides to null. In case the Bytes refactoring gets delayed I would merge a fix for this now. @allai5 will open a PR.

@allai5 @njriasan thank you for bringing this up. I presume #8305 will fix?

@esc That links back to this issue. Do you mean #8306? If so yes that fixes it. However, this should also be fixed as part of a general Bytes refactoring to remove ArrayCompatible (which I am working on but have only just started).


Static lib support

This adds support for compiling as well as depending on static libraries with the NDK mojo.  Samples forthcoming in a separate pull request.
Cheers,
Johan

Initial glance looks good. I will check it out more early next week and probably pull it in.

Found a small issue - will re-issue a new pull request


Add logo and fix the display name of the datadog-service integration in ArtifactHub

Problem statement.
Right now, if you search for datadog-service on ArtifactHub, you can see that datadog does not have a logo and the display name shows up as datadog-service instead of Datadog Service

Here's how Prometheus Service looks like:

Describe the solution you'd like

Fix the displayName parameter for all versions of datadog-service in the keptn artifacthub repo here
Use the following logo from https://www.datadoghq.com/about/resources/

You will have to add a logoUrl parameter in the artifacthub-pkg.yml (for example check this in Prometheus Service). Datadog does not have a logo Url you can use like Prometheus Service. We will have to download the logo, add it under images/ (<- create a new folder here) and use the link like this

TODO

[ ] Raise a PR with the above change
[ ] Ask for review in #keptn-integrations channel (mention @vadasambar so that he can help you out in case of problems)
[ ] Get the PR reviewed (note: you probably won't have the permission to merge the PR in https://github.com/keptn-contrib/artifacthub repo. Ask the reviewer to merge the PR)
DONE

Re-opened because the changes merged in the PR above have not been reflected yet

can i take up this issue...

Assigned you @tarangverma .

https://github.com/keptn-contrib/artifacthub/pull/189

Is this issue open? I would like to work on it if it is open. @vadasambar


Support for MSSQL

See https://github.com/Senzing/docker-compose-demo/issues/35
Tasks
:ballot_box_with_check:  Check History. Add issue number in comment (e.g. #5)
:black_square_button: Update CHANGELOG.md
:black_square_button: Update Dockerfile version
:black_square_button: Compare to docker-template
:black_square_button: Pull into master
:black_square_button: After DockerHub creates image, tag it
:black_square_button: Create GitHub release
:black_square_button: Close GitHub issue
Legend
:black_square_button: Not done
:ballot_box_with_check: Done

No work needs to be done for MSSQL support in this repository.


Arrow issue

So I can use NerdTree and I love it. The only issue is on my Windows machine running Win 7 running cgywin and vim 7.3 and my Linux machine running vim 7.3, I am getting an charcter encoding issue or something. Below is a link to a screenshot to it. On my Mac running Lion and vim 7.3,  I am not seeing this issue. Any thoughts? Thanks
http://twitpic.com/851bwa

Stick let g:NERDTreeDirArrows=0 in your windows vimrc. This should be set by default for windows.
Im not entirely sure why windows doesnt like the unicode chars - I currently dont have a windows machine to test on.


DXOS is stable enough to dogfood our apps

DXOS platform is stable enough for DXOS the company to dogfood our own apps
Current State

Composer is an impediment for Business As Usual (slow cold start, unstable invitations, slow replication, etc. link list of known issues)
Unclear urgency for repair which leads to slow time to repair
Immature diagnostic and observability capabilities make issue diagnosis difficult and limited to subset of team
Unclear, incomplete, and inconsistent reports of prod issues (e.g. https://github.com/dxos/dxos/issues/3506)

Shape of Solution

Documented and Observable flow for managing prod issues (shared with S2O4)
Runtime observability capabilities
Testbench observability capabilities (TODO: details)
Known protocol/library issues scoped and prioritized (TODO: populate and scope list)

Runtime observability capabilities
Tasks:

https://github.com/dxos/dxos/pull/3698
https://github.com/dxos/dxos/pull/3656
https://github.com/dxos/dxos/pull/3686
https://github.com/dxos/dxos/pull/3682
https://github.com/dxos/dxos/pull/3664

Testbench observability capabilities

Testsbench verifies protocols stability envelope
Multiple levels of testing

ECHO testing

Tests database, epochs, replication, invitations
Allows us to measure ECHO scaling boundaries

Number of peers in the space: writers/readers

Size of spaces: number of objects, size of objects, yjs/document CRDTs

Number of spaces per peer: active/inactive

Mutation throughput: how many active writers can we support?

Epoch frequency, replication speed

Conflict resolution: mutation-based (CRDT, total oredering); epoch-based: rebasing, branching, time-travel;

Tasks:

https://github.com/dxos/dxos/pull/3688
Cannot re-activate spaces after they have been deactivated in the same session
https://github.com/dxos/dxos/pull/3661

Network testing
Main issue:

https://github.com/dxos/dxos/issues/3515

Tasks:

https://github.com/dxos/dxos/issues/3701
https://github.com/dxos/dxos/pull/3633
https://github.com/dxos/dxos/pull/3644
https://github.com/dxos/dxos/issues/3668 [P1]

Singaling testing

Simulates N signal-servers with M clients
Tests peer discovery
Tests peer messaging

Tasks [P0]

[x] https://github.com/dxos/dxos/pull/3601
[ ] https://github.com/dxos/dxos/issues/3619
[x] Verify connection limiter is working (releated to devtools Connection view)
[ ] #3922  @dmaretskyi
[x] #3911
[x] Error: Properties not found.
[ ] #3913

Tasks [P1]

[ ] https://github.com/dxos/dxos/issues/3515
[ ] Large number of closed connections visible in devtools [P1]
[ ] #3910 [P1]
[ ] https://github.com/dxos/dxos/pull/3909 [P1]

@nferch I think this can be closed or at least un-pinned and perhaps renamed. What say ye?


Udeler unable to load the new course that i purchased

Hi faisal umair, i purchased a course on udemy "The Complete 2020 Web Development Bootcamp" and when i log in my udemy account on the udeler software, i could not find the course that i just purchased on udemy. please i would be so glad to get a feed back from you, soon

Can you try logout and login?

Yes I have tried it but it is not loading
On Mon, Aug 24, 2020, 7:03 PM darshanvs56<EMAIL_ADDRESS>wrote:

Can you try logout and login?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/FaisalUmair/udemy-downloader-gui/issues/495#issuecomment-679280297,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALKS3R2AURE6BCBYB7UIBVDSCKTQHANCNFSM4QIWBPLQ
.

Try to remove Udeler and re download it.

I have also done that but it is not still showing the course that I
purchased
On Thu, Sep 10, 2020 at 12:09 PM Samer Yousef<EMAIL_ADDRESS>wrote:

Try to remove Udeler and re download it.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/FaisalUmair/udemy-downloader-gui/issues/495#issuecomment-690161648,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALKS3R3VPVOWGYKP3XHZ3G3SFCXWVANCNFSM4QIWBPLQ
.


WIP / requesting feedback: Node 10 support.

Sitting on #59, so look at that first.
This code should work, but I'd like some feedback on the changes first. In particular, how the utils.associateExeForFile() test should work without mocks (switch to registering in HKCU\Classes?), and any preferences on how errors should work / look.
TODO:

[ ] ffi-napi has ref-napi and ref-struct-di as deps, so probably should also switch to those, although it seems to work currently?
[ ] Find a way to test associateExeForFile() without mocks / restore TEST_MOCKS_ON.
[ ] Fallback for Buffer pre-node 5.10?
[ ] Non placeholder-ey keyError() - currently pretty weak formatting.

Running on node 10 has a couple of problems:

ffi package fails to build against recent version of node, with several errors like <snip>\ffi.cc(111): error C2039: 'ForceSet': is not a member of 'v8::Object' - it doesn't seem to be maintained. Simply replace with ffi-napi, which forks it and uses NAPI to preserve compat.
new Buffer() is finally deprecated, and will now print warnings like (node:5056) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.. Replaced all instances with Buffer.alloc(size, fill?) or Buffer.from(content, encoding?) added in node 5.10.

While getting tests running ran into ACCESS_DENIED errors, so I threw in some fixes for tests:

As mentioned above, forking #59 so tests run further on Win10.
Fixed running tests with mock (missing predefined keys, delete key mock) and always mock (ignore  TEST_MOCKS_ON), as utils.associateExeForFile() will die without it, as it writes to HKCU.
While running tests, found the code was throwing strings, which is terrible (you don't get error stacks). Replaced them with throw new Error(message), a very placeholder keyError(message, result, ...args) that will create these, and updated lots of error messages that were claiming "Failed to open key" when they were doing no such thing.
It was a bit annoying to be asked to npm i -g grunt-cli in 2018, so I added it as a local dep, which works fine!

As you've probably discovered the CI is configured for node 4 in appveyor.yml, which means the new Buffer forms won't work. I think it's worth updating that to something newer - hopefully one of the maintainers can comment on that?
(I'm also not sure exactly what version of Windows - or Wine? - the CI server is running, since it passes the unit tests without access errors.)
The unreleased ffi master branch did work for me on node 9 at least; ffi-napi may well be the way to go anyway but I don't know enough to comment. Ditto thanks for fixing the throws: I didn't know enough Node.js to do that properly myself.

@ritazh any plans on merging this?

Is there insight into where this proposal is going? Do we have any moderator support for this project currently? @ritazh @sedouard ?

If you're looking for any registry package, I ended up writing my own from scratch: https://github.com/simonbuchan/native-reg
but keep in mind it's a different API, e.g. C-style rather than Key objects.


This site can’t be reached

I always got This site can’t be reached when triying connect Onlyoffice with mendeley.
The webpage at https://api.mendeley.com/oauth/v2/authorize might be temporarily down or it may have moved permanently to a new web address.
ERR_UNSAFE_REDIRECT
please help I really love this OnlyOffice

@Brogalang, do you use DocumentServer or DesktopEditors?

This issue was closed due to no response.


GEMINI output gridding not usable to interpolate to a single point

Need to build in some additional functionality to model2geocoords and model2magcoords to accommodate this use case.

There is now a model2pointsgeog and model2pointsgeomag to deal with this use case.


Users/t jahill/skeleton

Basic skeleton version 1

NIT: Delete src\README.md and use the one at root folder.


remove absolute_pos_emb

fix TypeError: init() got an unexpected keyword argument 'absolute_pos_emb'

Was an error with model init, if remove absolute_pos_emb works as expected

@ZackPashkin Hi Zack, could you try upgrading to 0.0.4? It should work

@lucidrains All good, thank you!


Test the repo documentation

In this issue, the documentation and code of this repo are going to be tested.

Installation part
I originally tried to install all the dependencies on Ubuntu 20.04. I had issues mainly because of two dependencies:

mokka
opensim API for MATLAb

In both cases, I have found the source code:

https://github.com/Biomechanical-ToolKit/Mokka
https://github.com/opensim-org/opensim-core

but installation did not seem very straightforward so I gave up and I moved to Windows.
Action: maybe we can specify that for the moment we do not ensure support for running the code on Ubuntu, but highlight that if the users wants to try he can go through the sources installation.

Moving to Windows

here, I have installed all repos with no big difficulties. However it is necessary to point the user to the proper documentation for robotology-superbuild installation on Windows: https://github.com/robotology/robotology-superbuild/blob/master/doc/conda-forge.md#source-installation

another point: to change cmake options in the robotology-superbuild it is very useful to use the cmake gui, that on windows needs to be downloaded separately: https://cmake.org/download/ however this point is more related to robotology-superbuild documentation than on this repo documentation

Also, a difficulty for a non-expert user could be to checkout iDynTree to the correct fork. We should specify that the user needs to reach the iDynTree folder in the src folder of the superbuild, open a terminal and run git remote add [SOME_USER_DEFINED_NAME] https://github.com/ami-iit/idyntree-hde-fork/tree/feature/stack-of-tasks-berdy, then run git fetch [SOME_USER_DEFINED_NAME] and finally git checkout [SOME_USER_DEFINED_NAME]/feature/stack-of-tasks-berdy).

All the other parts of the installation were fine to me, only a final reminder: if one decides to install the robotology-superbuild through mamba (suggested from the documentation), the following command has to be run every time one needs to operate with robotology scripts in a terminal:
mamba activate robsub
without the command the paths are not linked correctly, and for example YARP libraries are not found. Again, I think this is actually something more related to the robotology documentation rather than the one of this repo.

Usage - PART 1

data conversion was ok.  The repo were data are stored is structured in different folders, so it would be better to specify in which sub-folder one can find the .mvnx, .c3d and .mat data.

to run the command that processes mnvx data on windows (https://github.com/ami-iit/paper_latella_2021_thms_overhead-exoskeleton-torque/blob/master/instructions/usage.md#1-mvnx-data) it is required to first run in the terminal mamba activate robsub if the installation is done via mamba, see the previous comment.

the .trc data documentation has a bug: in the second point I guess the user should rename the file as S0X_0Y.c3d and not as S0X_0Y.trc, because later in the same piece of documentation it is written to export the .trc file from mokka and drop it into the data folder.

to run the code it was necessary to add to the MATLAB path the repository and its subfolders: this point should be added to the documentation

--
At this point I was able to run the MATLAB script. Next part in the next comment!

2. another point: to change cmake options in the robotology-superbuild it is very useful to use the cmake gui, that on windows needs to be downloaded separately: https://cmake.org/download/ however this point is more related to robotology-superbuild documentation than on this repo documentation

Please do not do that! If you install cmake-gui manually, you basically may be installing a CMake version different from the one installed via conda and this may lead to hard to debug errors (I suspect this is related to https://github.com/robotology/robotology-superbuild/issues/1057#issuecomment-1062687638). If there is any issue/feature request related to the robotology-superbuild (i.e. I want to use cmake-gui in the configuration, and with the current instructions I can't ), feel free to open an issue in the robotology-superbuild issue tracker, thanks!

Please do not do that! If you install cmake-gui manually, you basically may be installing a CMake version different from the one installed via conda and this may lead to hard to debug errors (I suspect this is related to https://github.com/robotology/robotology-superbuild/issues/1057#issuecomment-1062687638). If there is any issue/feature request related to the robotology-superbuild (i.e. I want to use cmake-gui in the configuration, and with the current instructions I can't ), feel free to open an issue in the robotology-superbuild issue tracker, thanks!

ok, I had cmake already installed on my PC because I already had projects that required it, and I was inside the mamba environment so I called the cmake-gui for my superbuild configuration.  No errors emerged during the compilation-generation phase so I tought it was ok.
It is a very peculiar case but it would be better to specify the cmake-gui  usage possibilities in the documentation as you suggested.

, the following command has to be run every time one needs to operate with robotology scripts in a terminal:
mamba activate robsub
without the command the paths are not linked correctly, and for example YARP libraries are not found. Again, I think this is actually something more related to the robotology documentation rather than the one of this repo.

Feel free to open an issue, thanks!

this point is already specified in the documentation: https://github.com/robotology/robotology-superbuild/blob/master/doc/conda-forge.md#source-installation, I was wondering if it was necessary to enforce it in the documentation of this repo too, as it is a step that is very easy to forget. But anyways in the robotology documentation is documented.

ok, I had cmake already installed on my PC because I already had projects that required it, and I was inside the mamba environment when I called the cmake-gui for my superbuild configuration. No errors emerged during the compilation-generation phase so I tought it was ok.
It is a very peculiar case but it would be better to specify the cmake-gui usage possibilities in the documentation as you suggested.

My plan is to make sure that cmake-gui can be installed via conda, so that cmake-gui works out of the box in conda and we do not need to worry about cross-talking with a system-installed cmake, see https://github.com/conda-forge/cmake-feedstock/issues/12#issuecomment-1062692587 .

Usage - Part 2 (Alternative Final #1: Ubuntu)
I had some difficulties related to the installation of the robotology superbuild on Windows that slowed down my test. The issue has been solved by @traversaro, but in the meantime I decided to move on Ubuntu and continue my testing there. Some comments:

I had an issue compiling Mokka from sources on Ubuntu. I did not investigated further because Mokka and  MVNX parser  are only necessary to generate some files in the data pre-processing phase. I was able to reach this phase on Windows in https://github.com/ami-iit/paper_latella_2021_thms_overhead-exoskeleton-torque/issues/1#issuecomment-1049820337, so I simply ported in Ubuntu the files I had already generated.

I needed to install opensim and generate its MATLAB bindings. I went through opensim installation following the opensim superbuild instructions and at the end I was able to install and (apparently) use the opensim bindings for MATLAB.

I was able to run and complete the first dataset (Subject 1 with exoskeleton). There was a missing function but the problem has been fixed by @claudia-lat. Then, while running the second dataset (Subject 1 without exoskeleton) MATLAB was badly crashing. Here the matlab crash reports (it generates 6 reports at a time):
matlab_crash_dump.zip

I then debugged and discovered that the problem was related to the call to the following opensim method:

if ~exist(outputMotionFilename, 'file')
    ikTool.run();
end

the call is not performed when the file `` is already generated. for the first dataset, I generated it on Windows during my previous trials and I had it, while I did not have it for the second dataset.

to conclude the test I therefore generated the file on windows also for the second dataset, and then I run the code on Ubuntu. At this point I was finally able to conclude the testing successfully!

testing completed, closing!

@gabrielenava I really want to thank you for your incredible support in testing and improving the code!


Change Decoded to look more like Result

This ditches the strategy of using multiple error states, for using a
single error state with multiple possible error causes.
The end result here is a simpler Decoded type, without sacrificing the
flexibility and expressiveness that we'd run into by switching to Result
itself. Additionally, this will make transforming from Decoded to Result
completely trivial:
func makeResult<T>(d: Deocded<T>) -> Result<T, DecodeError> {
 switch d {
 case let .Success(value): return .Success(value)
 case let .Failure(error): return .Failure(error)
 }
}

I've also added helper functions for failing states. It was always kind of
annoying to have to create these yourself, even more so now that you have to
wrap multiple types. This adds some more semantic static functions so that it's
cleaner to create these if needed.

Note that this will also make it simple to support throws via a dematerialize function, like Result does.

These changes seem like a great way to acknowledge where the language appears to be heading without compromising too much.

Since this doesn't seem to address the limitation of consumers not being able create completely custom error types, I'd still like the ability to create .TypeMismatch with a fully custom string rather than having to conform to the pattern currently provided. Or perhaps I'll have to switch to .MissingKey, even if that makes a bit less sense. Or perhaps provide a .Custom or .General state we can pass back in our custom decoding?

@jsteiner I didn't realize custom error types were something people needed. Can you open an issue and we can discuss that separately?

@gfontenot I assume you meant me. I'll open a new issue.

@jshier: ha, yes. Sorry @jsteiner, you got autocompleted.

I think this is a good step in the right direction. We can look more into custom error states in future issues/PRs.

a few consistency comments but it's looking great!

:metal:


Default logging shouldn't be sampled

Logs are sampled, and any more than ~100 logs lines per second would be dropped.
Change this so that all logs are output.

Is this still the case?

that's the default in zap, so probably still an issue

Looks like we just need to find the places we call zap.NewProductionConfig() and set its Sampling property to nil:
https://github.com/uber-go/zap/blob/badef736563f8135e0add3232b06f58656da03c8/config.go#L68-L69
Looks like a good first issue to me :-)

Hi! If this issue is still up for grabs, I would love to work on this.

@psinghal20 it's yours!


Misc doc changes

Besides other documentation changes, this commit ensures the generated
HTML doc for HexDocs.pm will become the source of truth for this Elixir
library and leverage on latest features of ExDoc.

@r8 Any updates on this?