Verify  Email Link Not Working

Everything was fine when testing in local host however in production the verify link which is sent in the email does not noting, I'm not seeing the verified set to true in the database.
Here is the link
https://xstaging.goplatfarm.com/#!verify-email/UrDdu0RuG0eYAXnZrNtFw3AYEg-s9EG5wxT9bYL_nN2
I also set AccountsTemplates.configureRoute('verifyEmail');
Maybe I'm missing  something?

I'd say it should be
https://xstaging.goplatfarm.com/verify-email/UrDdu0RuG0eYAXnZrNtFw3AYEg-s9EG5wxT9bYL_nN2
without the #! after .com/
Have you correctly set up the MAIL_URL environment variable for production?

...mmm, actually #! is automatically added even if I head to the correct URL...
...any package you're using doing this?

Yes this is done by the Meteor AppCache package

I don't have the MAIL_URL setup I'm using mandrill SMPT

so that's the problem! (I recalled now about #405)
...why is it adding it there?
Do you think there could be a way to set the route with IR to match also that address?

Not sure 405 was the issue, I never had AccountsTemplates.configure setup which was casing the issue.
AppCache requires it, do you think you can support this in package routes?

I'd have to reason a bit about how to specify the route path...
See this line

I would just keep it simple and maybe add something like this (un tested code)
path += "/:paramToken" ||  path += "/#!:paramToken";

Bye the way I'm not sure this is the issue, because the reset password page loads. Maybe I'm missing something

I take it I only need the following
AccountsTemplates.configureRoute('signIn');
AccountsTemplates.configureRoute('signUp');
AccountsTemplates.configureRoute('forgotPwd');
AccountsTemplates.configureRoute('changePwd');
AccountsTemplates.configureRoute('resetPwd');
AccountsTemplates.configureRoute('verifyEmail');

This is what I'm getting with the above link...
While in case it works good you should find yourself logged in or get some errror message...

Like here: https://useraccounts-bootstrap.meteor.com/verify-email/UrDdu0RuG0eYAXnZrNtFw3AYEg-s9EG5wxT9bYL_nN2

The curious thing is that this one works the same:
https://useraccounts-bootstrap.meteor.com/#!verify-email/UrDdu0RuG0eYAXnZrNtFw3AYEg-s9EG5wxT9bYL_nN2
(with the #!)
could you please post all your AT configuration file?
...plus the set up of ensureSignedIn plugin?

Woops wrong version deployed, deploying now and testing

lib/config/useraccounts.js
var myLogoutFunc = function(error){
    if (!error) {
        Router.go('atSignIn');
    }
};

AccountsTemplates.configure({
    // Behaviour
    confirmPassword: true,
    enablePasswordChange: true,
    forbidClientAccountCreation: false,
    overrideLoginErrors: true,
    sendVerificationEmail: true,
    lowercaseUsername: false,

    // Appearance
    showAddRemoveServices: false,
    showForgotPasswordLink: true,
    showLabels: true,
    showPlaceholders: false,
    showResendVerificationEmailLink: false,

    // Client-side Validation
    continuousValidation: false,
    negativeFeedback: false,
    negativeValidation: true,
    positiveValidation: true,
    positiveFeedback: true,
    showValidating: true,

    // Privacy Policy and Terms of Use
    privacyUrl: 'privacy',
    termsUrl: 'terms-of-use',

    // Redirects
    homeRoutePath: '/dashboard',
    redirectTimeout: 5000,

    // Hooks
    onLogoutHook: myLogoutFunc,

    // Texts
    texts: {
        button: {
            signUp: "Register"
        },
        title: {
            forgotPwd: "Recover Your Password"
        }
    }
});

var pwd = AccountsTemplates.removeField('password');
AccountsTemplates.removeField('email');

AccountsTemplates.addFields([
    {
        _id: "username",
        type: "text",
        displayName: "username",
        required: true,
        minLength: 5
    },
    {
        _id: 'email',
        type: 'email',
        required: true,
        displayName: "email",
        re: /.+@(.+){2,}\.(.+){2,}/,
        errStr: 'Invalid email'
    },
    pwd,
    {
        _id: 'firstName',
        type: 'text',
        displayName: "First Name",
        required: true
    },
    {
        _id: 'lastName',
        type: 'text',
        displayName: "Last Name",
        required: true
    }
]);

AccountsTemplates.configureRoute('signIn');
AccountsTemplates.configureRoute('signUp');
AccountsTemplates.configureRoute('forgotPwd');
AccountsTemplates.configureRoute('changePwd');
AccountsTemplates.configureRoute('resetPwd');
AccountsTemplates.configureRoute('verifyEmail');

lib/router.js
var redirectToDashboard = function(){
    if (Meteor.user()) {
        Router.go('dashboard');
    } else {
        this.next();
    }
};

var requireAdminUser = function() {
    var user = Meteor.user();
    if(user){
        if (!Roles.userIsInRole(user._id, ['administrator', 'manager'])) {
            this.render('accessDenied');
        } else {
            this.next();
        }
    }
};

/* 404 page */
Meteor.startup(function(){
    Router.route('/(.*)', function() {//regex for every route, must be last
        if (this.ready()) {
            document.title = "404";
            this.render('notFound');
        } else this.render('loading');
    });
});

Router.plugin('ensureSignedIn', {
    except: ['homeSite', 'atSignIn', 'atSignUp', 'atForgotPwd', 'atResetPwd', 'atVerifyEmail']
});

Router.onBeforeAction(redirectToDashboard, {only: ['homeSite', 'atSignIn', 'atSignUp', 'atForgotPwd', 'atResetPwd', 'atVerifyEmail']});
Router.onBeforeAction(requireAdminUser, {only: ['createOrganization', 'organization' , 'editOrganization', 'usersPage', 'addUser', 'editUser',  'addProducer', 'editProducer', 'addBlock' , 'editBlock', 'settings']});

You can test it now, noting happens - https://xstaging.goplatfarm.com/#!verify-email/UrDdu0RuG0eYAXnZrNtFw3AYEg-s9EG5wxT9bYL_nN2
not verified and not getting the expired message

I think for some reason $("#at-field-email").val("") is always empty

Tested it locally with:

var redirectToDashboard = function(){
  if (Meteor.userId() && !Meteor.isLoggingIn()) {
      Router.go('dashboard');
  } else {
      this.next();
  }
};

var requireAdminUser = function() {
  if (Meteor.isLoggingIn()) {
    this.render('loading');
  }
  else {
    var user = Meteor.user();
    if (!user || !Roles.userIsInRole(user._id, ['administrator', 'manager'])) {
        this.render('accessDenied');
    } else {
        this.next();
    }
  }
};

// ...

Router.plugin('ensureSignedIn', {
  except: _.pluck(AccountsTemplates.routes, 'name').concat(['homeSite'])
});
Router.onBeforeAction(redirectToDashboard, {only: ['homeSite']});

Everything seems fine.
Lets try to deploy the above code and see whether you still get problems...

I don't have this, mine is a bit different
Router.plugin('ensureSignedIn', {
  except: _.pluck(AccountsTemplates.routes, 'name').concat(['homeSite'])
});
Router.onBeforeAction(redirectToDashboard, {only: ['homeSite']});

I also have the following which might be casing the issue
/* 404 page */
Meteor.startup(function(){
    Router.route('/(.*)', function() {//regex for every route, must be last
        if (this.ready()) {
            document.title = "404";
            this.render('notFound');
        } else this.render('loading');
    });
});

Just tested the code still getting verified: false here is the url -  https://xstaging.goplatfarm.com/verify-email/2ORWK-ezjPeKJAg_yUq520QSyO2NxfwOiH_mJUZtqK3

Same issue with Reset your password not working

Tested this out this is the same issue as password reset the onRun function hook never runs. core.js line 698

onRun: Called when the route is first run. It is not called again if the route reruns because of a computation invalidation. Note that this hook won't run again if the route is reloaded via hot code push. -- This might be casing the issue
I changed onRun to onRerun and everything works, this might be better approach. But it does run twice.
Reference following issues iron-router issues
https://github.com/iron-meteor/iron-router/issues/1219
https://github.com/iron-meteor/iron-router/issues/1268

@splendido wanted to see if you had a chance to see this, and is there going to be a patch for this

I pretty sure this will not will not fix the verify email link issue, this code is in a different place it's here - https://github.com/meteor-useraccounts/core/blob/master/lib/core.js#L698-L707
like I said the onRun hook does not execute. I chaned it to onRerun and that works but might be better to adjust it to onBefore as onRerun will run more then once

Please try to trace this down a little more.
Starting from this comment which lead to this PR.
What I'm seeing now clicking on your link above, it the login form: this is quite weird.
I'd check your IR configuration and onBeforeAction hooks to better understand what's going on there.
...the only way I can suggest is to run a local version of useraccounts:core and debug the code in the browser, possibly adding some console.log at every IR callback you've registered.
Let me know

@splendido I went ahead and already debugged the code as I stated in the above comments because I have a global waitOn function setup none of the useraccounts:core onRun hooks are being executed.
I tested out a fix which was changing onRun to onRerun or onBeforeAction which is what I would recommend doing. I'm seeing I'm not the only one having this issue.
You can see my global router here
Router.configure({
    layoutTemplate: 'layoutSite',
    progress : true,
    progressSpinner : false,
    loadingTemplate: 'loading',
    waitOn: function(){
        if(getConnectionStatus() && Meteor.user()){
            return [Meteor.subscribe('user')];
        } else {
            this.render();
        }
    },
    data: function() {
        return Meteor.user();
    }
});

Created a change https://github.com/meteor-useraccounts/core/compare/master...almogdesign:patch-1

The onBeforeAction hook is definitely not the right place!
It can run more than once and from the second time one, you'd get an error saying that the token is expired...
I'm still convinced that your global configuration has something weird.
I've never seen a this.render() within a waitOn hook: I think it could by-pass any other rule possibly set within onBeforeAction hooks to stop rendering the current page for some reasons...
Why don't you try to set the waitOn on all routes but AT ones?
Router.waitOn(function(){
  if(getConnectionStatus() && Meteor.user()){
    return [Meteor.subscribe('user')];
  } else {
    this.render();
  }
}, {
  except: _.pluck(AccountsTemplates.routes, 'name')
});

or even try to deal with the subscription outside IR?
untested code...
var userSubscr = null;
Tracker.autorun(function(){
  if(getConnectionStatus() && Meteor.user()){
    userSubscr = Meteor.subscribe('user');
  }
  else {
    if (userSubscr) {
      userSubscr.stop();
    }
    userSubscr = null;
  }
});

No that's not it I just tested it without this.render and the verify email link still does not work, I pretty sure that's it the waitOn function. Same issue here https://github.com/meteor-useraccounts/core/issues/173#issuecomment-70666032
Here is my router that I just tested
Router.configure({
    layoutTemplate: 'layoutSite',
    progress : true,
    progressSpinner : false,
    loadingTemplate: 'loading',
    waitOn: function(){
        if(getConnectionStatus() && Meteor.user()){
            return [Meteor.subscribe('user')];
        }
    },
    data: function() {
        return Meteor.user();
    }
});

Could you please try also with this:
Router.configure({
    layoutTemplate: 'layoutSite',
    progress : true,
    progressSpinner : false,
    loadingTemplate: 'loading',
    data: function() {
        return Meteor.user();
    }
});

Router.waitOn(function(){
  if(getConnectionStatus() && Meteor.userId()){
    return [Meteor.subscribe('user')];
  }
}, {
  except: _.pluck(AccountsTemplates.routes, 'name')
});

@splendido I just tested this, did not work I also doubled checked the DB to see if the user was verified

@splendido any news about this, suggestions?

@almogdesign, unfortunately I have no time right now to dig further into this problem.
Could you try to start form a boilerplate of your choice and add part of your app piece by piece?
I'm really curious to understand what the problem is, but if you could be so kind to try this approach that would be great!

I had the same issue. It was caused by an onRun hook in iron router. As soon as I removed it everything worked again.

@DavidSichau Can you tell me where exactly you removed this?

@rjayako I used a onRun handler for my piwik analytics. Now instead of using a onRun handler I use onBeforeAction and everything works fine.
var oldRoute = ""; //fix for onRun Problem of ironRouter
Router.onBeforeAction(function(){
    if(Meteor.isClient) {
        var route = Router.current().url;
        if(route !== oldRoute) {
            console.log(route);
            Meteor.Piwik.trackPage(route);
            oldRoute = route;
        }
    }
    this.next();
});

I am having this issue as well except its sending an email with /#/verify-email/

Are these currently the AccountsTemplates routes?
'atSignIn', 'atSignUp', 'atForgotPwd', 'atResetPwd', 'atVerifyEmail'

I am getting an error that says 'must be logged in' when viewing a password reset route. I have the following configuration:
// in /client/routes/_config.js
var anonymousRoutes = [
  'login',
  'atChangePwd',
  'atEnrollAccount',
  'atForgotPwd',
  'atResetPwd',
  'atSignIn',
  'atSignUp',
  'atVerifyEmail',
  'atresendVerificationEmail'
];

// User login required for all areas of site
//Router.plugin('ensureSignedIn', {except: anonymousRoutes});

// in /lib/accounts.js
AccountsTemplates.configure({
  // Behavior
  enablePasswordChange: true,
  showForgotPasswordLink: true
});

// Configure AccountsTemplates routes
AccountsTemplates.configureRoute('signIn');
AccountsTemplates.configureRoute('signUp');
AccountsTemplates.configureRoute('forgotPwd');
AccountsTemplates.configureRoute('changePwd');
AccountsTemplates.configureRoute('resetPwd');
AccountsTemplates.configureRoute('verifyEmail');

I am using iron-router, and have installed useraccounts:iron-router package.


fix(validator): set propertyName as ruleInfo.key if null

Fix for https://github.com/aurelia/validatejs/issues/111

@jdanyow Can this be closed?

closing- this library is deprecated


Tidy install guide for container runtimes

Changes to https://kubernetes.io/docs/setup/cri/

Use a {{< feature-state >}} note to indicate feature status
Make it clear these instructions apply to Linux
De-emphasise the advice on cgroupfs (because the detailed instructions are already adapted)
Explain what cgroup is short for

/assign @bradtopol

@bradtopol Please take a look at this PR.

/lgtm

@bradtopol could you please take a look at this PR.

Great job!
/lgtm
/approve


feat: set app property for offchain vote

Summary

Closes: https://github.com/snapshot-labs/workflow/issues/235
Following #887
Currently, when casting an offchain vote, we send an empty string as app in the vote object.
This PR will try to pull the app query param from the url, when set and valid, and pass it along the vote, or use a default snapshot-v2 value as fallback
This feature is available only on offchain vote.
How to test

Go to an offchain proposal
Append ?app=Snapshot to the url
Vote on the proposal
On the signature confirmation payload, app is now set to Snapshot
You can browse the mysql database, and confirm that the app column is set to the given value

Note
Invalid values (string longer than 128 chars) will be ignored, and default to snapshot-v2

Can you rebase? Looks like changes from other PR are included here as well.


request for member status and extended stats

https://gist.github.com/krislindgren/08d781b1ed24cafa317a

It looks like it might be a good idea to log why we're returning the empty statistics for an exception.

It appears as if they are using an outdated version of acos client with a recent version of a-n-l. Thus causing the "AttributeError: 'ServiceGroup' object has no attribute 'stats'" error.

Issue moved to a10networks/a10-openstack-planning #48 via ZenHub


anchor_lang::Owner is not implemented for anchor_spl::token_interface::Mint

use anchor_lang::prelude::*;
use anchor_spl::token::Token;
use anchor_spl::token_interface::Mint;
declare_id!("FtUL5xL7oZasB5zaDUETbeHs9jcf9gopQD3Z1V92YyKv");
pub mod constants {
pub const VAULT_SEED: &[u8] = b"vault";
pub const STAKING_INFO_SEED: &[u8] = b"staking_info";
pub const TOKEN_SEED: &[u8] = b"token";
}
#[program]
pub mod solana_staking {
use super::*;
pub fn staking_deposit(context: Context<InitializeStaking>, amount: u64) -> Result<()> {
    let user_public_key: Pubkey = context.accounts.user.key();
    msg!("From {:?}", user_public_key);
    msg!("Amount {:?}", amount);
    Ok(())
}

}
#[derive(Accounts)]
pub struct InitializeStaking<'info> {
#[account(mut)]
pub user: Signer<'info>,
#[account(
    init_if_needed,
    payer = user,
    seeds = [constants::VAULT_SEED],
    bump,
    token::mint = mint,
    token::authority = token_vault_account
)]
pub token_vault_account: UncheckedAccount<'info>,
pub mint: Account<'info, Mint>,
pub token_program: Program<'info, Token>,
pub system_program: Program<'info, System>,

}
#[account]
#[derive(InitSpace)]
pub struct Staking {
pub user: Pubkey,
pub amount: u64,
}

This happens because you're using token_interface::Mint with Account. When you use token interface, you need to use InterfaceAccount instead.
Anchor questions don't belong in this repository though. If you have Anchor/Solana related questions, you can ask it in Solana StackExchange or Anchor Discord. If you run into a bug or have an idea on how to improve Anchor, you can file an issue in coral-xyz/anchor.

Welcome How do I get Solana mainnet?
Le sam. 23 nov. 2024 à 10:37, acheron @.***> a écrit :

This happens because you're using token_interface::Mint with Account.
When you use token interface, you need to use InterfaceAccount instead.
Anchor questions don't belong in this repository though. If you have
Anchor/Solana related questions, you can ask it in Solana StackExchange
https://solana.stackexchange.com/ or Anchor Discord
https://discord.gg/NHHGSXAnXk. If you run into a bug or have an idea on
how to improve Anchor, you can file an issue in coral-xyz/anchor
https://github.com/coral-xyz/anchor.
—
Reply to this email directly, view it on GitHub
https://github.com/solana-playground/solana-playground/issues/305#issuecomment-2495417821,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BNCHYG4VD7RNVC6OBBYHO7D2CBEFNAVCNFSM6AAAAABSJE7TROVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOJVGQYTOOBSGE
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Handle division by 0

addresses #29
This PR adds a basic search strategy which generates a DIVISION_BY_ZERO step when encountering either */0 or 0/0. In the main loop (simplifyExpression/stepThrough.js) we then stop the simplification process if such a step is generated (since division by zero counts as a form of error).

hey @hmaurer how's this going?

@hmaurer wanna close this and start from scratch, or just update this PR?

Let's close it for now.


Fix lints on stake-cw20.

This fixes some lint errors in the stake-cw20 contract. These errors broke CI on main. It appears that happened because clippy added a new lint (we use nightly clippy) as the commit that added the offending lines is three months old.

Codecov Report

Merging #382 (c3a7114) into main (cce4b90) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #382      +/-   ##
==========================================
- Coverage   96.98%   96.97%   -0.02%
==========================================
  Files          39       39
  Lines        8847     8847
==========================================
- Hits         8580     8579       -1
- Misses        267      268       +1

Impacted Files
Coverage Δ

contracts/cw20-stake/src/contract.rs
93.32% <100.00%> (ø)

packages/testing/src/tests.rs
87.79% <0.00%> (-0.30%)
:arrow_down:

Continue to review full report at Codecov.

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


Upgrade buffer-overflow-level-1-2

如图，buffer-overflow-level-1-2 题目的可执行文件显示为buffer-overflow-level1.3，需要更新二进制文件。

Nice issue! Solved here.


Add some animated floating circles in the background

I would like to add some floating particle-like circles in the background to give the website a more lively feeling!
Example

It would be great to contribute to this repo for GSSoC '23!

no need


Minecraft online-mode keeps getting set to True

Bug Report
System Information

Ubuntu 20.04.3 LTS | 35GB RAM
AMP Release "Decadeus" v2.4.3, built 14/03/2023 23:15
Mainline

I confirm:

[x] that I have searched for an existing bug report for this issue.
[x] that I am using the latest available version of AMP.
[x] that my operating system is up-to-date.

Symptoms

I'm trying to disable online-mode with Minecraft. However, something edits server.properties and sets it to true when starting the server.
Checked MinecraftModule.kvp in the instance-level file manager, but I don't see anything that can help.
Attempted to edit server.properties via SFTP, still keeps getting set to true when starting server.
Attempted to use different server types (Official, Spigot, and PaperMC) and different versions (1.18 to 1.19.4)
Attempted to use command line arguments  -o false and --online-mode false
Expected online-mode to stick to false.
online-mode keeps getting set back to true.

Reproduction

Create a Minecraft Instance

Manage Instance. In Configuration -> Java and Memory, set Java Version to JDK 17.

Start Minecraft server in order to populate server.properties

Stop Minecraft Server

Edit server.properties and set online-mode to false

Start Minecraft server again.

Observe that online-mode is set to true again.

IIRC there used to be a setting for this a long time ago in Configuration -> Server Settings but that seems to be gone

Yes this is known functionality. Due to ToS, AMP does not allow you to turn off Online-Mode explicitly.
If you are using Bungeecord, there is a setting there to allow proxies, however you can't simply just turn it off to allow cracked clients.

Yes this is known functionality. Due to ToS, AMP does not allow you to turn off Online-Mode explicitly.
If you are using Bungeecord, there is a setting there to allow proxies, however you can't simply just turn it off to allow cracked clients.

okay but what do they gain from removing the "Online-Mode"?? they're only screwing people like me who paid for a license, for example Aternos.org had and still has "Allow Cracked Clients" as an option so basically AMP / CubeCoders scammed because when i bought one of their Licenses i was happy because it had all that i needed and now they removed one of the most important setting options, i feel Scammed and betrayed and as for their ToS-es they can shove'em up where the sun don't shine

There will be no further discussion around this. Using software illegally is not supported in AMP. End of story.

There will be no further discussion around this. Using software illegally is not supported in AMP.

@IceOfWraith Issue resolved; we found a workaround a while back i.e., not use AMP.

Using software illegally is not supported in AMP

Do consider:

There is no piracy involved in my situation. I can show purchase receipts.

I'm sure online-mode was designed for a number of use cases, including mine.  If piracy was such a concern, Mojang/Microsoft likely would have removed it already.

Restricting control over a legitimate built-in feature due to its potential for misuse seems to be a decision made without consideration of unintended consequences.

I have skimmed reviewed the ToS that's readily accessible (https://cubecoders.com/TermsOfSale and https://manage.cubecoders.com/AMPEnterpriseTerms) and I see no terms against piracy and cracked software. Please note that this does not mean I support piracy.

My use case: I'm setting up a server behind a campus firewall. The campus policies are fine but due to bureaucracy, it's not quick or straightforward to request a network exception, or if this would even be granted at all.

AMP supports scenarios that are supported by Microsoft. Things like proxy servers. It does not support piracy like the other user intended. And yes, it is indeed against the terms to use a pirated copy.

@IceOfWraith Issue resolved; we found a workaround a while back i.e., not use AMP.

Using software illegally is not supported in AMP

Do consider:

There is no piracy involved in my situation. I can show purchase receipts.
I'm sure online-mode was designed for a number of use cases, including mine.  If piracy was such a concern, Mojang/Microsoft likely would have removed it already.
Restricting control over a legitimate built-in feature due to its potential for misuse seems to be a decision made without consideration of unintended consequences.
I have ~skimmed~ reviewed the ToS that's readily accessible (https://cubecoders.com/TermsOfSale and https://manage.cubecoders.com/AMPEnterpriseTerms) and I see no terms against piracy and cracked software. Please note that this does not mean I support piracy.

My use case: I'm setting up a server behind a campus firewall. The campus policies are fine but due to bureaucracy, it's not quick or straightforward to request a network exception, or if this would even be granted at all.

they(who ever agreed on the idea of removing the online-mode) are most likely some random noobs that have never plaid Minecraft also just as a reminder here's something Notch(AKA Creator of Minecraft) has said in the past which still is being applied

If someone pirates Minecraft instead of buying it, it means I’ve lost some “potential” revenue. Not actual revenue, as I can never go into debt by people pirating the game too much, but I might’ve made even more if that person had bought the game instead. But what if that person likes that game, talks about it to his or her friends, and then I manage to convince three of them to buy the game? -Said Notch.

AMP supports scenarios that are supported by Microsoft. Things like proxy servers. It does not support piracy like the other user intended. And yes, it is indeed against the Microsoft terms to use a pirated copy.

then riddle me this how come Aternos.org supports pirated copies of minecraft?, or a better question yet why does Mojang(The ones responsible of Minecraft Java Edition, Microsoft has 100% control over Minecraft Bedrock ED not Java ED) ship the Server jar with that feature build in it?

Mike, the creator of AMP (and previously MCMyAdmin) is very much aware of how online mode works. Microsoft owns Mojang and the Minecraft software now. So whatever the previous owner said doesn't apply here. Your use case is against the terms. End of story. Any further discussion of piracy will lead to a ban.

Mike, the creator of AMP (and previously MCMyAdmin) is very much aware of how online mode works. Microsoft owns Mojang and the Minecraft software now. So whatever the previous owner said doesn't apply here. Your use case is against the terms. End of story. Any further discussion of piracy will lead to a ban.

since when did Microsoft buy Mojang? i thought Notch bought Mojang and sold his 50% of the Minecraft IP to Microsoft

Microsoft acquired Mojang in 2014. Let me google it for you.
https://en.m.wikipedia.org/wiki/Mojang_Studios
Regardless, the discussion is done on piracy. It's not a debate.


MODBUS protocol support

Is your feature request related to a problem? Please describe.
Currently MODBUS messages are shown raw.
Describe the solution you'd like
I would like to see the dissected fields of MODBUS messages.
Describe alternatives you've considered
I can download the pcap files, and dissect them with wireshark e.g.
Additional context
https://en.wikipedia.org/wiki/Modbus
This will be fixed by #1750

merged


Misspell

"Missing a updated row or seeing an updated row multiple times"
should be "Missing aN updated row or seeing an updated row multiple times"
[Enter feedback here]

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

ID: dae81d65-f7b9-7a97-7fe7-30775f815e5b
Version Independent ID: d4d339e7-48d7-d159-eb59-13bdedc25b4c
Content: Transaction Locking and Row Versioning Guide - SQL Server
Content Source: docs/relational-databases/sql-server-transaction-locking-and-row-versioning-guide.md
Product: sql
Technology: ****
GitHub Login: @rothja
Microsoft Alias: jroth

@ltlombardi -- thank you for catching that.  I am looking into this article.

Thank you for your feedback.  I have updated the documentation and it should be live by tomorrow.


HA warning: Icon mdi:christianity was renamed to mdi:cross

🐛 Describe the bug
In the HA log file a message is to be found:
"frontend.js.latest.202111030] Icon mdi:christianity was renamed to mdi:cross, please change your config, it will be removed in version 2021.12"
💥 When did the bug occurred.*

[ ] Installation / First-run
[ ] Configuration
[ X] Other

👣 To Reproduce
Steps to reproduce the behavior:

Go to: a page within the HA instance where the RKI sensors are displayed.
Click on '....'
Scroll down to '....'
See error in the logfile home-assistant.log

🧐 Expected behavior
This message should not pop up in the log file
💻 Versions (please complete the following information):
System Health
version: core-2021.11.1
installation_type: Home Assistant Supervised
dev: false
hassio: true
docker: true
user: root
virtualenv: false
python_version: 3.9.7
os_name: Linux
os_version: 5.10.0-9-amd64
arch: x86_64
timezone: Europe/Berlin
GitHub API: ok
Github API Calls Remaining: 4076
Installed Version: 1.16.0
Stage: running
Available Repositories: 895
Installed Repositories: 75
can_reach_server: ok
remaining_requests: 47
logged_in: false
can_reach_cert_server: ok
can_reach_cloud_auth: ok
can_reach_cloud: ok
host_os: Debian GNU/Linux 11 (bullseye)
update_channel: stable
supervisor_version: supervisor-2021.10.8
docker_version: 20.10.10
disk_total: 115.9 GB
disk_used: 22.2 GB
healthy: true
supported: true
supervisor_api: ok
version_api: ok
installed_addons: ESPHome (2021.10.3), Home Assistant Google Drive Backup (0.105.2), Visual Studio Code (3.6.2), MariaDB (2.4.0), Terminal & SSH (9.2.1), Node-RED (10.0.1), Mosquitto broker (6.0.1), Tor (3.0.5)
dashboards: 5
resources: 6
views: 26
mode: yaml

OS: Debian GNU/Linux 11 (bullseye)
HA: core-2021.11.1
Supervisor: supervisor-2021.10.8
Browser  firefox v94.0 (64-bit) on Ubuntu 20.04.3 LTS
🗄 Logfiles (Configuration > Logs)
"frontend.js.latest.202111030] Icon mdi:christianity was renamed to mdi:cross, please change your config, it will be removed in version 2021.12"

🎓 Increase the log level for this custom integration by adding the following lines to the configuration.yaml

logger:
  default: info
  logs:
    custom_components.rki_covid.sensor: debug

Add regarding log messages from the Logs for more details.

Thanks for bringing this up, it was already solved by #63 and will be released in the next version.


"modelFileFolder" test fails on Windows

The "modelFileFolder" test fails when run on a windows machine, due to hardcoded file separator character at this line:
https://github.com/Yelp/swagger-gradle-codegen/blob/bdc9e0f926fdbe57378d00853aa8d6ee390c78f0/plugin/src/test/java/com/yelp/codegen/KotlinGeneratorTest.kt#L156
will submit PR to address this shortly...

Closed by #56


Added new preview version for container instances

Creating a new preview api version with a new property "identityAcls" and related classes for azure container instance. Also adding CGProfile API specifications and missing API paths.

Not using the latest api version as default due to some missing API paths compared to 2024-05 that trigger this error for the Avocado check: MISSING_APIS_IN_DEFAULT_TAG

Not using the latest api version as default due to some missing API paths compared to 2024-05 that trigger this error for the Avocado check: MISSING_APIS_IN_DEFAULT_TAG

Are these missing API paths not going to be implemented ?

Not using the latest api version as default due to some missing API paths compared to 2024-05 that trigger this error for the Avocado check: MISSING_APIS_IN_DEFAULT_TAG

Are these missing API paths not going to be implemented ?

I don't think so, they were missing in the previous version as well. I think they were deprecated. That check mentions that it will be a false positive in the case of deprecation.

Not using the latest api version as default due to some missing API paths compared to 2024-05 that trigger this error for the Avocado check: MISSING_APIS_IN_DEFAULT_TAG

Are these missing API paths not going to be implemented ?

I don't think so, they were missing in the previous version as well. I think they were deprecated. That check mentions that it will be a false positive in the case of deprecation.

After doing some investigation it seems there is some work to add those paths back on another PR. I contacted the owner of the PR and we will sync them.

Not using the latest api version as default due to some missing API paths compared to 2024-05 that trigger this error for the Avocado check: MISSING_APIS_IN_DEFAULT_TAG

Are these missing API paths not going to be implemented ?

I don't think so, they were missing in the previous version as well. I think they were deprecated. That check mentions that it will be a false positive in the case of deprecation.

After doing some investigation it seems there is some work to add those paths back on another PR. I contacted the owner of the PR and we will sync them.

The PRs are synched, nothing is missing now.

please fix the newly introduced lintdiff warnings from here : https://github.com/Azure/azure-rest-api-specs/pull/31223/checks?check_run_id=32598293246

please fix the newly introduced lintdiff warnings from here : https://github.com/Azure/azure-rest-api-specs/pull/31223/checks?check_run_id=32598293246

Are any of these warnings a blocker or a serious issue? This PR is important for Ignite which is soon, so we would prefer to merge if they can be ignored. What do you think?

please fix the newly introduced lintdiff warnings from here : https://github.com/Azure/azure-rest-api-specs/pull/31223/checks?check_run_id=32598293246

Are any of these warnings a blocker or a serious issue? This PR is important for Ignite which is soon, so we would prefer to merge if they can be ignored. What do you think?

you can ignore the ones that say : ⚠ AvoidNestedProperties
FOr the EnumInsteadOfBoolean I will leave it to your team to review these and change since this is a strong recommendation.
For the others they must be fixed. These are straightforward fixes and should not really take you that long to fix.

please fix the newly introduced lintdiff warnings from here : https://github.com/Azure/azure-rest-api-specs/pull/31223/checks?check_run_id=32598293246

Are any of these warnings a blocker or a serious issue? This PR is important for Ignite which is soon, so we would prefer to merge if they can be ignored. What do you think?

you can ignore the ones that say : ⚠ AvoidNestedProperties
FOr the EnumInsteadOfBoolean I will leave it to your team to review these and change since this is a strong recommendation.
For the others they must be fixed. These are straightforward fixes and should not really take you that long to fix.

All lint diff warnings except for the 2 that were acceptable were fixed.
Among other things, the SubscriptionIdParameter in the file was removed and replaced with the one from common-types. However, that one has something which was missing in the parameter in the file: "format": "uuid".
!!!This is what triggered the breaking change check, but it's not a "real" breaking change, the usage is not changed and that parameter was always supposed to be a uuid.

        "maxBatchPercent": {

you can add the limits for minimum and maximum of 100 if this is 0-100% range

Refers to: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-11-01-preview/containerInstance.json:3605 in c4654f1. [](commit_id = c4654f1b101e87937bee1ead9c32c4a52d8635ee, deletion_comment = False)

        "inPlaceUpdate": {

you can use in this case an enum like rollingUpdateType with values like [InPlace, Recreate]
Enums are always a more flexible and future proof option because they allow additional values to be added in the future in a non-breaking way, e.g. [Enabled, Disabled, Suspended, Deallocated].

Refers to: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-11-01-preview/containerInstance.json:3619 in c4654f1. [](commit_id = c4654f1b101e87937bee1ead9c32c4a52d8635ee, deletion_comment = False)

          "enum": [

why the values of this enum is all lowecase and not using the PascalCase as in the provided link and like shareAccessType?

Refers to: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-11-01-preview/containerInstance.json:3816 in c4654f1. [](commit_id = c4654f1b101e87937bee1ead9c32c4a52d8635ee, deletion_comment = False)

          "enum": [

why the values of this enum is all lowecase and not using the PascalCase as in the provided link and like shareAccessType?
Refers to: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-11-01-preview/containerInstance.json:3816 in c4654f1. [](commit_id = c4654f1, deletion_comment = False)

this change is not related to this PR. We can definitely address it in upcoming version but can we please ignore it if it is not blocking.

          "enum": [

why the values of this enum is all lowecase and not using the PascalCase as in the provided link and like shareAccessType?
Refers to: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-11-01-preview/containerInstance.json:3816 in c4654f1. [](commit_id = c4654f1, deletion_comment = False)

this change is not related to this PR. We can definitely address it in upcoming version but can we please ignore it if it is not blocking.

this enum is added in this PR so it is related

          "description": "learn more at: https://learn.microsoft.com/en-us/rest/api/storagerp/file-shares/create?tabs=HTTP#shareaccesstier",

Could you update this description a bit? This are used to generate comments & documentation, so they're used by customers to discover what these properties mean.

Refers to: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-11-01-preview/containerInstance.json:3815 in 57781eb. [](commit_id = 57781ebe0ecce1898909948a6ca598d41c810bcb, deletion_comment = False)

API change check
APIView has identified API level changes in this PR and created following API reviews.
Microsoft.ContainerInstance

          "description": "learn more at: https://learn.microsoft.com/en-us/rest/api/storagerp/file-shares/create?tabs=HTTP#shareaccesstier",

Could you update this description a bit? This are used to generate comments & documentation, so they're used by customers to discover what these properties mean.
Refers to: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-11-01-preview/containerInstance.json:3815 in 57781eb. [](commit_id = 57781eb, deletion_comment = False)

addressed all the comments

@razvanbadea-msft this swagger version is critical for upcoming Ignite event. Hence please suggest if there are any other important/blocking changes, I can address those asap. The swagger needs to be published at priority before the Ignite event.


Fix ambient_light_disabled render mode flag

Fixes the ambient_light_disabled render mode, as it currently does not have any implementation in master.

We need to re-evaluate the ambient_light_disabled render mode as in 3.x all it does is disable contributions from the sky radiance and irradiance map. It doesn't disable all ambient light. This PR disables all ambient light (the Tree-SSA ensures will optimize out any calculations contributing to ambient light because it doesn't end up affecting the final render result). Now that we can select the source of ambient contributions I'm not sure that we should keep this render mode.

Now that we can select the source of ambient contributions I'm not sure that we should keep this render mode.

This is a global setting, while ambient_light_disabled works on a per-material basis.
On the other hand, I fail to see any use case for disabling ambient light on a specific material.

I have a usecase for that, my pipeline is strange (i'm rendering data more than color) and ambient light is used to fully light the red channel. Other lights only applies to blue channel in my pipeline. For transparent material the current limitation of godot doesn't allow post processing properly (screen texture is rendered prior to transparent pass and viewport is sRGB). It would be usefull to be able to turn of the ambient light on my transparent shaders.

PR review meeting: no one remembers much actual use cases and why it was added, suggest to check Git blame and make sure it is actually needed. :)

Looks great, thanks! And congratulations on your first merged contribution!

I noticed that this does not work for SDFGI (yet another ambient light source). I assume because its done in screenspace somehow?

@bertodelrio256 Please open a new issue with a minimal reproduction project attached. Also, I recommend testing this with LightmapGI and ReflectionProbe with a custom ambient color set.

opened here: https://github.com/godotengine/godot/issues/83593
thanks.


Studio doesn't remember scrolling position when switching between tabs

Issue Type: Bug
Studio doesn't remember scrolling position when switching between tabs. Say, the the first line in tab1 is 15. When I switch to tab2 and then to tab1 back, the first line is 1, i.e. Studio moved to the beginning of the file.
Azure Data Studio version: azuredatastudio 1.8.0 (96e214593190071f0b520439929b218f9fa673de, 2019-06-06T01:59:30.203Z)
OS version: Windows_NT x64 10.0.17763

System Info

Item
Value

CPUs
Intel(R) Pentium(R) CPU G3460 @ 3.50GHz (2 x 3492)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: disabled_offnative_gpu_memory_buffers: disabled_softwarerasterization: unavailable_offsurface_synchronization: enabled_onvideo_decode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
15.94GB (10.18GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (6)

Extension
Author (truncated)
Version

admin-pack
Mic
0.0.2

admin-tool-ext-win
Mic
0.0.1

agent
Mic
0.40.0

import
Mic
0.8.0

managed-instance-dashboard
Mic
0.3.6

profiler
Mic
0.8.0

Dupe of #6012 - this will be fixed in the next release


Allow calibration configuration to be provided via config file

Various configuration parameters need to be available to a user to customize the calibration being performed.  These should be loaded by a configuration file.
Current behavior
Several calibration specific configuration variables are currently hard coded in calibration.py and requires manual editing to change them.
Expected behavior
A configuration file should be passed to main which sets the various configuration options, with sensible defaults where available.

Closed by #15


Fix pending meta amount calculation when some outputs are ours

Issue Number

#1004
Overview

[x] I have added a regression tests and saw it fail
[x] I have revised the calculation for meta amount to also take in account outputs that are ours (and not only change).

Comments

bors r+


Update cmake-dependencies: fix typos, clarify

I don't understand what you want to say with the following paragraph
Note that the SHA1 of the Hunter archive in ``HunterGate`` commands of ``Bar`` and
 ``Roo`` can be different. Same location will be set automatically internally
 you don't have to manage it manually.

Do you mean, that the huntergate of the top project will be used for the submodule?

Do you mean, that the huntergate of the top project will be used for the submodule?

Kind of. But why submodule? There are few scenarios when HunterGate called several times: project dependency in Hunter, dependencies of dependency, subproject added by add_subdirectory. In all cases only one HunterGate will be used, the parent one. User don't have to manage them manually, i.e. user don't have to use same URL/SHA1 in all involved HunterGates.

thanks for the clarification. I've tried to condense it into a paragraph. See #597


Create Capital Historical Spending

Agree internally and with capital planning on target schema
Proposed version below.  We'll need to finesse the exact field names:

FMS ID, Check Amount, Contract Purpose, Budget Code Agency, bc_category, cp_category, cpdb_category, final_category, {probably ending up with one category column but I'd be interested in knowing the variation so would advocate to keep all 4 in the interim), geomsource, geometry

Add in spatial data from other sources
CPDB spatial data is assigned via a waterfall (i.e. if we get data from DDC do not take spatial data from Parks Properties).  I propose we do the data for historical spending with the initial hierarchy being the following:

From CPDB <-- done.  This is a join between FMS ID and maprojid
From DPR park properties - See 3 scripts with attributes_dpr here to see how it's done for CPDB (forms of fuzzy sting matching for )
From Facilities database (forms of fuzzy sting matching)
Geocoding - can they extract an address, intersection, street segment, or place name that can be passed through GeoSupport to get a geometry (enhancement - this does not exist in CPDB and if this is successful then this may supersede DPR and FacDB as a source for geometries)

Improve categorization

Add key words to the lookup list to reduce the number of projects not assigned to a category

planned for Q1 but may be bumped to Q2


fixed remote queue name

Fixed a bug where the reply_to_q_mgr was being set in the wrong place.  After fixing this there was a segfault in wmq_queue_manager.c as the wrong hash was being read.

Thank you for the pull request.

Hey @reidmorrison can you push a new version to rubygems.org with this fix?

Thank you for the reminder, just pushed v2.1.1


ROX-18076: Making AWS dropdown required when more than one acct

As it states above. The next button should be disabled upon load even with the name filled out until the user has selected an AWS account number from the dropdown. The dropdown should still be disabled as expected when there are one or no AWS accounts found.

Codecov Report
Patch coverage has no change and project coverage change: -0.17 :warning:

Comparison is base (0724693) 9.07% compared to head (49b6742) 8.90%.

Additional details and impacted files
@@           Coverage Diff            @@
##            main    #107      +/-   ##
========================================
- Coverage   9.07%   8.90%   -0.17%
========================================
  Files         37      37
  Lines        540     550      +10
  Branches     109     112       +3
========================================
  Hits          49      49
- Misses       458     465       +7
- Partials      33      36       +3

Impacted Files
Coverage Δ

src/routes/InstancesPage/CreateInstanceModal.js
0.00% <0.00%> (ø)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


ASA-6774

Able to execute DAST scan using .scan, .scant and recorded login files.

 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.


pair of nodes whose sum equals S

📚 Documentation
(A clear and concise description of what the issue is.)
Print all the pair of nodes whose sum equals S when a Binary Tree is given
Have you read the Contributing Guidelines on Pull Requests?
Yes

/assign


fix: Docker compose volume to absolute

I was getting the error below:
Error response from daemon: invalid mount config for type "volume": invalid mount path: 'app/node_modules' mount path must be absolute

True, thanks!


Remove external links when merging the Asgardeo and Onprem Portals

Description
In the effort carried out to merge the Asgardeo and on-prem portals, we need to remove any links pointing to external resources such as documentation links, Github repository links, etc.

Progress Update - 12-09-2023

Initial improvements are made to replace the anchor tags with DocumentationLink component.
Improvements are made to use the useDocumentation hook where it is not been used.
There are a few reported external links pointing to privacy policy, etc.

Reported external links also updated and completed the task.


Parentheses in desc results in errors

vim returns an error regarding unexpected symbol (

Indeed, the command sent to the CLI needs to be escaped. I will fix ASAP :)

Fixed in 38ce07d.


problem

hi i recently have a problem and when i wanna log in to my acc it says instagram call check point for this action and i cannot access my acc what should i do?

Edit Profile
Disable Account
Just want a break
Enter password
Confirm
Wait 2 hours
Login into Instagram using the IG:DM Application (important).
DO NOT LOGIN FOR THE FIRST TIME ON YOUR PHONE / WEB BROWSER

hi thx but still have this problem
On Wed, Aug 29, 2018 at 6:40 PM EyesReye<EMAIL_ADDRESS>wrote:

Edit Profile
Disable Account
Just want a break
Enter password
Confirm
Wait 2 hours
Login into Instagram using the IG:DM Application (important).
DO NOT LOGIN FOR THE FIRST TIME ON YOUR PHONE / WEB BROWSER
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ifedapoolarewaju/igdm/issues/537#issuecomment-416967414,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AozDKfTWWMRmF9NwD5i7UQ4wd2s3kaI6ks5uVqDvgaJpZM4WP97k
.

Please update your app to the latest version on http://igdm.me


Add Recently Used Emojis + Positioning options

To check before merging

[x] fix new high-DPI issues
[x] it seems search focus broke
[x] check that sizes and positions are properly saved
[x] don't show variant on recently used
[x] check why it is preloaded

Optionally

[ ] see if text cursor mode can be easily improved
[x] removal from recent
[ ] recent algorithm improvements

@robertwidfen I fixed some stuff, changed others. I would consider it ready to be merged (script.js not updated yet). Would you mind having a try? The main changes to the recent keyboard are:

right/shift click allows to set as favorite or remove
score is displayed on hover when in recent kb
typing in the recent keyboard does not count for the score
the config file is saved only when the keyboard gets hidden
letter keyboards are excluded (e.g. greek)

I checked out your "wip" and tried to compile to get script.js updated -
but I am on a different machine now and had to setup nmp, tsc, and
dependencies ... again - I am not sure if there is a problem with my setup
🤔  or wip is incomplete, but I get compile errors in script/layout.ts
... 🙄
But I really want to give it a try ... nice new stuff and fixes of my
remnants from what I can tell from the log 😁

script/layout.ts:115:81 - error TS2322: Type '1012' is not assignable to
type 'SC'.
115  SC.CapsLock, 1001, 1002, 1003, 1004, 1005, 1006, 1007, 1008, 1009,
1010, 1011, 1012,
    ~~~~

script/layout.ts:116:2 - error TS2322: Type '1002' is not assignable to
type 'SC'.
116  SC.Shift, 1013, 1014, 1015, 1016, 1017, 1018, 1019, 1020, 1021, 1022,
1023, 1024
script/layout.ts:119:2
119  all: KeyCodesList;
~~~
The expected type comes from property 'all' which is declared here on
type 'BaseLayout'
Am Di., 25. Apr. 2023 um 17:51 Uhr schrieb Gilles Waeber <
@.***>:

@robertwidfen https://github.com/robertwidfen I fixed some stuff,
changed others. I would consider it ready to be merged (script.js not
updated yet). Would you mind having a try? The main changes to the recent
keyboard are:

right/shift click allows to set as favorite or remove
score is displayed on hover when in recent kb
typing in the recent keyboard does not count for the score
the config file is saved only when the keyboard gets hidden
letter keyboards are excluded (e.g. greek)

—
Reply to this email directly, view it on GitHub
https://github.com/gilleswaeber/emoji-keyboard/pull/16#issuecomment-1522034466,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A6FJ2NG7WSZ3UH2DML6ZHTLXC7XIFANCNFSM6AAAAAAWUWJS2Y
.
You are receiving this because you were mentioned.Message ID:
@.***>

Hi, the error you got was caused by a Typescript update that made stricter checks for enum values. It looks like you run the user-installed typescript (tsc) and not the folder-installed typescript (yarn tsc/npm run tsc) which should work fine, except I was a version behind in this case.
Thanks, this should now be fixed.


[Javascript] ESLint --fix autofixed files

Description
Files with warnings thrown by the current ESLint rules are fixed here.
Changes made
The files were affected by the ESLint --fix option removing the warnings.

Testing
Build and tests are running well.

Hey @tellarin, we applied the feedback manually. We are now looking into a way to automatically do this. We'll keep you updated.


Add vref and update authors for NRAP

Unclear on why 1.1.99 is being replaced with 1.1.0 when build.sh says KSP_VERSION_DEFAULT="1.1.2".

We should remove those testing files from NetKAN/CKAN-meta, all the build scripts live here now.

LGTM, merging with thanks!

That explains that.


Chat Replay 'File Upload' button not working

After finishing a demo app development, I tried to check out the Chat Replay functionality.
I was given the URL "http://<IP_ADDRESS>:8000/"
I chose 'Chat Reply'
When I clicked on 'File Upload' button, nothing happens.
But the file upload functionality inside 'ChatChain Visualizer' seems to work.

Please refer to #58. Hope this will help solve your problem.


Raw HTML is not correctly rendered

Code sample here
Expected result (according to the specs) should be "
Hey
"
Actual result is "
<article> Hey </article>
\n"

Sorry, just found {html: true}


Removed hub_mirror deployment, came in with PR #26.

@davidgardner11 thanks for merging. Any idea why the push on circleci fails? https://circleci.com/gh/CenturyLinkLabs/watchtower/87
`docker push $IMAGE_NAME:latest
The push refers to a repository [docker.io/centurylink/watchtower] (len: 1)
unauthorized: authentication required
docker push $IMAGE_NAME:latest returned exit code 1
Action failed: docker push $IMAGE_NAME:latest`


Update all/most calls to insertInFile to patchInFile

@GantMan and I ran into an issue with this the other day. insertInFile is not idempotent while patchInFile is. Should be an easy fix but we need to make sure we aren't breaking anything.

Yes!  DO IT!

Closed in #987. Thanks @ryanlntn


paste event: the event.target is changed to body element

Problem:
I met a problem when I needed to listen for a paste event.
you can go to the http://sortablejs.github.io/Sortable/ and run the following code to listen for the paste event to see what happend
window.addEventListener('paste',function (ev) {console.log(ev)})

when you trigger paste event in the draggable area ( just click anyone draggable item  and press ctrl + v), you will see that the event.target is body. but normally the event.target should be the clicked element, look at the following pictures:

I know what's going on. it's because when a element is draggable (its draggable property is true), it will lost focus, so the target of the paste event is body element


Sensu clients using rabbitmq + TLS should verify the server certificate

Current Behavior
The AMQP client used by the sensu-client doesn't verify the server's certificate, making it trivial to carry out a man in the middle attack against the TLS connection. It defeats the purpose of using TLS if the authentication is disabled.
Expected Behavior
The AMQP client verifies the connection domain name against the server certificate's Subject Alternative Names or Common Name (although CN is now deprecated). The connection is aborted if the domain name does not match or the issuer of the server's cert is not trusted by the OS's local store or a user-configured CA.
Possible Solution
Implement the ssl_verify_peer method for the AMQP gem.

Yup this is a dupe, sorry


ensure-secure-profile error

Spark link
https://spark.lucko.me/ThiJHVbcD6
Expected behavior
Player can write in chat
Observed/Actual behavior
With ensure-secure-profilo=true player cannot write in chat (all players operator and guests)
Steps/models to reproduce
Run purpur build 2091.
Enable ensure-secure-profile (ensure-secure-profile=true on server.properties)
Restart server
Join server
Send message in chat
Server run under proxy (waterfall latest build 554)
Purpur version
latest version
build 2091
Agreements

[X] I am running the latest version of Purpur available from https://purpurmc.org/downloads.
[X] I have searched for and ensured there isn't already an open issue regarding this.
[ ] I ticked all the boxes without actually reading them
[X] My version of Minecraft is supported by Purpur.

Other
No response

Context from discord conversation:
Proxy under which server was being run in offline mode, not providing the chat secure profiles


ignore: test failing tests

Thank you for contributing to the Cohere Toolkit!

[ ] PR title: "area: description"

Where "area" is whichever of interface, frontend, model, tools, backend, etc. is being modified. Use "docs: ..."  for CI changes.
Example: "deployment: add Azure model option"

[ ] PR message: Delete this entire checklist and replace with

Description: a description of the change
Issue: the issue # it fixes, if applicable
Dependencies: any dependencies required for this change

[ ] Add tests and docs: Please include testing and documentation for your changes

[ ] Lint and test: Run make lint and make run-tests

AI Description

The raise_db_error function in src/backend/services/agent.py has been updated to improve error handling. Specifically, the PR makes the following changes:

Replaces the word "exists" with "exists!" in the detail parameter of the HTTPException raised when a unique violation error occurs.

This change likely aims to provide a more consistent or informative error message by adding an exclamation mark to emphasize the existence of the resource.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 75.00%. Comparing base (f7d7a68) to head (fc56151).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #723   +/-   ##
=======================================
  Coverage   74.99%   75.00%
=======================================
  Files         261      261
  Lines       11489    11492    +3
=======================================
+ Hits         8616     8619    +3
  Misses       2873     2873

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


[Feature/SMI] test_gen package should does return the version of the spec it is testing as well

Current Behavior

test_gen package doesn't currently pass the spec version it is testing. It should ideally do so.
Desired Behavior

Resources

Alternatives / Additional Context

@dhruv0000 We're not reporting the SMI test version number on the conformance dashboard, yet. What needs to be done in order to do so?

This issue has been open for some time with no recent activity, unassigning to open it up for new contributors to give it a go.


fix: make base_fee_per_gas optional when decoding chain.rlp

Motivation
When running Hive devp2p tests, the node unexpectedly finishes before executing any test with the following message:
Error decoding field 'base_fee_per_gas' of type u64: InvalidLength

Description
Makes the field base_fee_per_gas optional, and use INITIAL_BASE_FEE when missing.
Closes None

With this fix, you are able to run devp2p tests?


Fixed check in is_dapla() to match new imagename

changed 'dapla-jupyterlab' to 'jupyterlab-dapla' in function is_dapla() in file utils.py

Great! Could you also change the reference in tests/test_utils.py


Instagram likes do not link to webmention target

The Instagram likes sent by Brid.gy to my domain do not include links to the article to which they are sent. This means I cannot process them as webmention sources must contain the target link.
Here is the h-entry of one like sent to my site (spaces removed):

  tag:instagram.com,2013:2618243262510956500_41923765797_liked_by_44226013261

    <data class="p-uid" value="tag:instagram.com,2013:44226013261"></data>
    DotaBean

    dotabean

The full source is here: view-source:https://brid.gy/like/instagram/capjamesg/2618243262510956500_41923765797/44226013261
I think the u-like-of attribute should point to my domain so that I can process the webmention.

Ugh. Thanks for filing! Discussed on chat, log below. Looks like IG may have changed some of their JSON data and switched around which parts have user ids vs usernames, so we're not connecting them quite right any more. Fix may have to wait until the Flask port is done, sadly. Sorry for the delay!
discovering original posts for: https://www.instagram.com/p/CRV3mANhn_U/
Original post discovery found original posts {'https://jamesg.blog/2021/07/15/coffee-food-pairings'}, mentions set()
Demoting original post links because user tag:instagram.com,2013:capjamesg doesn't match author tag:instagram.com,2013:41923765797"
starting posse post discovery with syndicated https://www.instagram.com/p/CRV3mANhn_U/

I also noticed Instagram likes to not contain a dt-published attribute. Perhaps this is caused by the same issue you mentioned.
I have decided to overlook the requirement for a source to contain a link to a target on https://brid.gy/like/instagram/* pages for now so that I can backfeed likes onto my blog. I will remove this logic (since it technically goes against the webmention standard) once everything is working.
Thanks for everything (including building brid.gy -- it is incredible!).

Fixed, thanks again for the heads up!

Thank you!


Rearrange About sigstore section of sigstore-docs

Summary

Rearrange and add sections to About sigstore section of docs to make docs easier to access.
Release Note

NONE
Documentation

Part of issue #191 docs only

@ltagliaferri @haydentherapper @smythp @olivekl Please review new setup and comment if there are suggestions.
This is the first of several PRs that will rearrange the docs in hopefully a more rational order.

Changing the way I'm going to create pull requests for this issue.


Fix typo in nuget name for aspnet core

@cijothomas : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off


TAMAYA-358 Get CDI working with optional configvalues

There are two use cases in here, both related to injected config values that are not required.
First, the "required" parameter on the @Config annotation does not appear to have actually been referenced in the ConfigurationProducer.  I used it to wrap the exception from the original ticket which allows the annotation to inject null if it can.  It won't ever be able to under full CDI as our producer is in ApplicationScope and nulls are only allowed in Dependent scope. I put in a comment about that, and I really want to improve our docs on this.
Second, there was a bug in the type system that prevented Optional from getting default values if they were set and necessary.  The parameterizedtype was getting stripped, and the OptionalConverter couldn't figure out what to actually drop in there.
I added a bunch of injection test cases and deleted some irrelevant imports too.

Hi, having filed TAMAYA-358, I'd like to test this PR. One quick question: am I correct to think that the right idiom for config with no default value is as shown (from the tests)
@Inject
@Config(value="myConfigVal", required=false)
private Optional<String> myConfigVal;

that is, inject an Optional<T> with @Inject and @Config and required=false?
I'm building this PR right now to try it out!

For that use I'd go with
@Inject
@Config
private Optional<String> myConfigVal;

The default config name is the name of the variable, and "required=(true|false)" doesn't change the result if you're using Optional.   I'm super interested in how well this works for you. :-)

Woo-hoo! I can confirm that
@Inject
@Config
private Optional<String> myConfigVal;

works, and so (not surprisingly) does:
@Inject
@Config(value={"someKey","anotherKey"})
private Optional<String> myConfigVal;

Thank you so much @peculater !

I applied the patch with my improvements, everything works fine. Thanks for your work!

@atsticks I'm probably confused, but this PR isn't merged and I don't see any relevant commits at https://github.com/apache/incubator-tamaya-extensions/commits/master or https://git-wip-us.apache.org/repos/asf?p=incubator-tamaya-extensions.git. Where has this patch been applied?

This got incorporated into bf0cd8b36a1a289f63911ac54305f5b91bff3dc7.  :+1:


Posting to encrypted bucket

Is it possible to use .putObject() to POST data to an encrypted bucket.
The bucket I am using is encrypted using IBM's Key Protect service.
When I try to use .putObject  to POST data to the encrypted bucket the method just hangs but when I use a non encrypted bucket it works.
Any help would be greatly appreciated.

I've just tried it out on the us-south region with the latest SDK and it appears to be working fine.
putBucket should, as the name suggests, do a PUT operation rather than a POST.
Could you double-check that .putObject(...) is followed by .send(callback) or .promise()? Otherwise, if you have some code I can take a look.

Thank you for the reply.
I do have a .promise().
I've tested it many times and it definitely works for a non encrypted bucket but not with an encrypted bucket using Key Protect.
Here is the code I'm running.
This create function gets called which then should use `putObject()' to place 'dataStr' in to the bucket.
  console.log("create called");

  var key = guid();
  var dataStr = JSON.stringify(data);

  return this.cos.putObject({
    "Bucket": this.bucket,
    "Key": key,
    "Body": dataStr,
  }).promise()
  .then(() => {

    data.id=key;
    this.response.push(data);
    callback(null, data);
  })
  .catch((e) => (`ERROR1: ${e.code} - ${e.message}\n`));
}


patched esp_rfc2217_server imports to load the correct esptool.py file

Added a patch for esp_rfc2217_server.py to fix the esptool.py import issue.
I'm not sure if there's a better way to do this. The patch takes the esptool.py wrapped path and adds it to sys.modules instead of esptool.
I explained the problem more in https://github.com/mirrexagon/nixpkgs-esp-dev/issues/51#issuecomment-2206797848
closes https://github.com/mirrexagon/nixpkgs-esp-dev/issues/51

Hi @mirrexagon
Is there anything needed for this to get merged?

Sorry for the delay! This looks fine, thanks for doing it.


Crashing 0.15.1 on app open/start

Describe the bug
Android app 0.15.1  keeps closing. Prior release worked great. A reboot fixes it once. Then the primal screen barely displays before closing.
I can see it is on the latest feed, just before crashing.
Steps to reproduce
Opening primal 2nd and subsequent times after an Android reboot causes the app crash. Sorry, I don't know how to be more helpful.
Expected behavior
To not crash/close.
Environment
Pixel 6, android 13
TQ3A.230805.001
Wifi.
Additional context
Add any other context about the problem here.

Thanks for reporting. Could you install the build with crash reporting tool so we could catch the crash log? If yes, please install primal-0.15.1-crash.apk from https://github.com/PrimalHQ/primal-android-app/releases/tag/0.15.1 and just crash the app. Thanks!

Same here a13 1+ model 8

Same crash, here are my logs:
type: crash
osVersion: google/sunfish/sunfish:13/TQ3A.230805.001/2023080800:user/release-keys
package: net.primal.android:32
process: net.primal.android
processUptime: 11073 + 68 ms
installer: com.android.packageinstaller

java.lang.IndexOutOfBoundsException: setSpan (-1 ... 47) starts before 0
	at android.text.SpannableStringInternal.checkRange(SpannableStringInternal.java:499)
	at android.text.SpannableStringInternal.setSpan(SpannableStringInternal.java:199)
	at android.text.SpannableStringInternal.setSpan(SpannableStringInternal.java:186)
	at android.text.SpannableString.setSpan(SpannableString.java:60)
	at v7.a.H(Unknown Source:12)
	at v7.a.E(Unknown Source:20)
	at x6.y.b2(Unknown Source:106)
	at androidx.compose.ui.platform.i0.o(Unknown Source:57)
	at androidx.compose.ui.platform.i0.s(Unknown Source:24)
	at androidx.compose.ui.platform.i0.K(Unknown Source:22)
	at androidx.compose.ui.platform.i0.J(Unknown Source:29)
	at androidx.compose.ui.platform.i0.K(Unknown Source:82)
	at androidx.compose.ui.platform.i0.J(Unknown Source:29)
	at androidx.compose.ui.platform.i0.K(Unknown Source:82)
	at androidx.compose.ui.platform.i0.J(Unknown Source:29)
	at androidx.compose.ui.platform.i0.K(Unknown Source:82)
	at androidx.compose.ui.platform.i0.K(Unknown Source:108)
	at androidx.compose.ui.platform.i0.J(Unknown Source:29)
	at androidx.compose.ui.platform.i0.l(Unknown Source:134)
	at androidx.compose.ui.platform.i0.A(Unknown Source:25)
	at androidx.activity.b.run(Unknown Source:293)
	at android.os.Handler.handleCallback(Handler.java:942)
	at android.os.Handler.dispatchMessage(Handler.java:99)
	at android.os.Looper.loopOnce(Looper.java:201)
	at android.os.Looper.loop(Looper.java:288)
	at android.app.ActivityThread.main(ActivityThread.java:7940)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:952)

hi, any updates to fix this? (I assumed the crash-debug version would send you my logs). if not, please tell me how to extract them and i will upload them. thx.
Looking forward to getting primal running again!

hi, any updates to fix this? (I assumed the crash-debug version would send you my logs). if not, please tell me how to extract them and i will upload them. thx.
Looking forward to getting primal running again!

I am sure they're working

We were able to pinpoint the problem and working on the solution. The problem was in rendering hashtags where some devices were handling that gracefully while some other devices not at all (I assume due to difference in the underlying libraries). We will push the update as soon as the fix is done. Thank you for your patience.

@d4f5409d @Marc-Gee Please reach out to me via DM on Nostr if you want to test the build with potential fix. I can not attach the APK here.

send.vis.ee would be perfect tbh

Fixed in 0.15.2.


Implement Mission Leaving Actions

To Highlight:
#29
Implemented Mission Leaving actions

Hi @David-Kasilia,
Your project is complete! There is nothing else to say other than... it's time to merge it :shipit:
Congratulations! 🎉
Highlights

[x] Correct GitHub Flow 👍🏾
[x] Good commit history 🥇
[x] Good PR title/description 💯
[x] All linters passed 🥇

Optional suggestions
Every comment with the [OPTIONAL] prefix won't stop the approval of this PR. However, I strongly recommend you consider them as they can improve your code. The previous reviewer simply missed some of them, and addressing them will improve your application.
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Remember to tag me in your question so I can receive the notification.

As described in the Code reviews limits policy, you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


Bonitoo cypress onb

Briefly describe your proposed changes:
Adds OnBoarding test suite...

[ ] CHANGELOG.md updated with a link to the PR (not the Issue)
[ ] Rebased/mergeable
[ ] Tests pass
[ ] http/swagger.yml updated (if modified Go structs or API)
[ ] Sign CLA (if not already signed)

Sorry last night's commit was a WIP commit and not intended to resolve this PR.  I'm replacing any selectors using class with data-testid selectors, however for some assertions on some elements there are not data-testid selectors.
For example I want some sanity check that a page in the onboarding wizard has loaded, so I check for completion of the 'welcome' step in the wizard navigation bar at the top.

Welcome

Which in the test is...
cy.get("div.wizard--progress-title.checkmark:contains('Welcome')")

I thoroughly agree that using data-testid attributes will improve test elasticity (as will less strict checks on text content) and I'm modifying those selectors today.  However, when I see a page and its DOM, and elements that seem like a good idea to be checked, they aren't always already covered with a testid attribute.

Coming from QA, there's always been a sort of unwritten rule not to touch production code.  However, I see I can add data-testid attributes in react myself, if you have no objections to this.

I've updated getters to use getByTestID and this included adding some testIDs into the code.  However, I see in CircleCI that this breaks the jstests.  I'll llook at this tomorrow.

Looks great.  Just remove the photo stuff and we will be good to go.
Andrew
On Apr 11, 2019, 5:34 AM -0700, karel-rehor<EMAIL_ADDRESS>wrote:

@karel-rehor commented on this pull request.
In ui/cypress/e2e/onboarding.test.ts:

   expect($tt).to.have.class('show')

 })

cy.getByTestID('form--label')

 .eq(4)

 .children('div.question-mark-tooltip')

 .trigger('mouseenter')

 .children('div[data-id=tooltip]')

 .contains('A bucket is')

 .should($tt => {

   expect($tt).to.have.class('show')

 })

//Input fields
cy.getByTestID('input-field')

 .eq(0)

I've added more data-testID attribs and used them to get around using indexed list items
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub, or mute the thread.


Container fails when host go to sleep mode

Hi,
Thanks for the very easy to use image.
Before deploying my setup, I do some tests on my laptop.
Each time I put it in sleep mode, after resuming, I cannot send any values to the OpenTSDB database.
Here is the error:
opentsdb_1  | org.apache.zookeeper.KeeperException$SessionExpiredException: KeeperErrorCode = Session expired for /hbase/replication/rs/otsdb-host,37183,1590089865286
opentsdb_1  |   at org.apache.zookeeper.KeeperException.create(KeeperException.java:127)
opentsdb_1  |   at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
opentsdb_1  |   at org.apache.zookeeper.ZooKeeper.getChildren(ZooKeeper.java:1532)
opentsdb_1  |   at org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper.getChildren(RecoverableZooKeeper.java:292)
opentsdb_1  |   at org.apache.hadoop.hbase.zookeeper.ZKUtil.listChildrenAndWatchForNewChildren(ZKUtil.java:462)
opentsdb_1  |   at org.apache.hadoop.hbase.zookeeper.ZKUtil.listChildrenAndWatchThem(ZKUtil.java:490)
opentsdb_1  |   at org.apache.hadoop.hbase.zookeeper.ZKUtil.listChildrenBFSAndWatchThem(ZKUtil.java:1490)
opentsdb_1  |   at org.apache.hadoop.hbase.zookeeper.ZKUtil.deleteNodeRecursivelyMultiOrSequential(ZKUtil.java:1412)
opentsdb_1  |   at org.apache.hadoop.hbase.zookeeper.ZKUtil.deleteNodeRecursively(ZKUtil.java:1294)
opentsdb_1  |   at org.apache.hadoop.hbase.replication.ReplicationQueuesZKImpl.removeAllQueues(ReplicationQueuesZKImpl.java:195)
opentsdb_1  |   at org.apache.hadoop.hbase.replication.regionserver.ReplicationSourceManager.join(ReplicationSourceManager.java:322)
opentsdb_1  |   at org.apache.hadoop.hbase.replication.regionserver.Replication.join(Replication.java:206)
opentsdb_1  |   at org.apache.hadoop.hbase.replication.regionserver.Replication.stopReplicationService(Replication.java:198)
opentsdb_1  |   at org.apache.hadoop.hbase.regionserver.HRegionServer.stopServiceThreads(HRegionServer.java:2278)
opentsdb_1  |   at org.apache.hadoop.hbase.regionserver.HRegionServer.run(HRegionServer.java:1144)
opentsdb_1  |   at java.lang.Thread.run(Thread.java:748)
opentsdb_1  | 2020-05-22 06:55:05,395 ERROR [RS:0;otsdb-host:37183] zookeeper.ZooKeeperWatcher: regionserver:37183-0x17238bdd2400001, quorum=localhost:2181, baseZNode=/hbase Received unexpected KeeperException, re-throwing exception
opentsdb_1  | org.apache.zookeeper.KeeperException$SessionExpiredException: KeeperErrorCode = Session expired for /hbase/replication/rs/otsdb-host,37183,1590089865286
opentsdb_1  |   at org.apache.zookeeper.KeeperException.create(KeeperException.java:127)
opentsdb_1  |   at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
opentsdb_1  |   at org.apache.zookeeper.ZooKeeper.getChildren(ZooKeeper.java:1532)
opentsdb_1  |   at org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper.getChildren(RecoverableZooKeeper.java:292)
opentsdb_1  |   at org.apache.hadoop.hbase.zookeeper.ZKUtil.listChildrenAndWatchForNewChildren(ZKUtil.java:462)
opentsdb_1  |   at org.apache.hadoop.hbase.zookeeper.ZKUtil.listChildrenAndWatchThem(ZKUtil.java:490)
opentsdb_1  |   at org.apache.hadoop.hbase.zookeeper.ZKUtil.listChildrenBFSAndWatchThem(ZKUtil.java:1490)
opentsdb_1  |   at org.apache.hadoop.hbase.zookeeper.ZKUtil.deleteNodeRecursivelyMultiOrSequential(ZKUtil.java:1412)
opentsdb_1  |   at org.apache.hadoop.hbase.zookeeper.ZKUtil.deleteNodeRecursively(ZKUtil.java:1294)
opentsdb_1  |   at org.apache.hadoop.hbase.replication.ReplicationQueuesZKImpl.removeAllQueues(ReplicationQueuesZKImpl.java:195)
opentsdb_1  |   at org.apache.hadoop.hbase.replication.regionserver.ReplicationSourceManager.join(ReplicationSourceManager.java:322)
opentsdb_1  |   at org.apache.hadoop.hbase.replication.regionserver.Replication.join(Replication.java:206)
opentsdb_1  |   at org.apache.hadoop.hbase.replication.regionserver.Replication.stopReplicationService(Replication.java:198)
opentsdb_1  |   at org.apache.hadoop.hbase.regionserver.HRegionServer.stopServiceThreads(HRegionServer.java:2278)
opentsdb_1  |   at org.apache.hadoop.hbase.regionserver.HRegionServer.run(HRegionServer.java:1144)
opentsdb_1  |   at java.lang.Thread.run(Thread.java:748)
opentsdb_1  | 2020-05-22 06:55:05,395 INFO  [RS:0;otsdb-host:37183] ipc.RpcServer: Stopping server on 37183
opentsdb_1  | 2020-05-22 06:55:05,396 INFO  [RpcServer.listener,port=37183] ipc.RpcServer: RpcServer.listener,port=37183: stopping
opentsdb_1  | 2020-05-22 06:55:05,397 INFO  [RpcServer.responder] ipc.RpcServer: RpcServer.responder: stopped
opentsdb_1  | 2020-05-22 06:55:05,397 INFO  [RpcServer.responder] ipc.RpcServer: RpcServer.responder: stopping
opentsdb_1  | 2020-05-22 06:55:05,401 WARN  [RS:0;otsdb-host:37183] regionserver.HRegionServer: Failed deleting my ephemeral node
opentsdb_1  | org.apache.zookeeper.KeeperException$SessionExpiredException: KeeperErrorCode = Session expired for /hbase/rs/otsdb-host,37183,1590089865286
opentsdb_1  |   at org.apache.zookeeper.KeeperException.create(KeeperException.java:127)
opentsdb_1  |   at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
opentsdb_1  |   at org.apache.zookeeper.ZooKeeper.delete(ZooKeeper.java:873)
opentsdb_1  |   at org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper.delete(RecoverableZooKeeper.java:178)
opentsdb_1  |   at org.apache.hadoop.hbase.zookeeper.ZKUtil.deleteNode(ZKUtil.java:1250)
opentsdb_1  |   at org.apache.hadoop.hbase.zookeeper.ZKUtil.deleteNode(ZKUtil.java:1239)
opentsdb_1  |   at org.apache.hadoop.hbase.regionserver.HRegionServer.deleteMyEphemeralNode(HRegionServer.java:1502)
opentsdb_1  |   at org.apache.hadoop.hbase.regionserver.HRegionServer.run(HRegionServer.java:1152)
opentsdb_1  |   at java.lang.Thread.run(Thread.java:748)
opentsdb_1  | 2020-05-22 06:55:05,402 INFO  [RS:0;otsdb-host:37183] regionserver.HRegionServer: stopping server otsdb-host,37183,1590089865286; zookeeper connection closed.
opentsdb_1  | 2020-05-22 06:55:05,402 INFO  [RS:0;otsdb-host:37183] regionserver.HRegionServer: RS:0;otsdb-host:37183 exiting
opentsdb_1  | 2020-05-22 06:55:05,413 INFO  [Shutdown] mortbay.log: Shutdown hook executing
opentsdb_1  | 2020-05-22 06:55:05,413 INFO  [Shutdown] mortbay.log: Shutdown hook complete
opentsdb_1  | 2020-05-22 06:55:05,415 INFO  [Thread-6] regionserver.ShutdownHook: Shutdown hook starting; hbase.shutdown.hook=true; fsShutdownHook=org.apache.hadoop.fs.FileSystem$Cache$ClientFinalizer@5505ae1a
opentsdb_1  | 2020-05-22 06:55:05,418 INFO  [Thread-6] regionserver.ShutdownHook: Starting fs shutdown hook thread.
opentsdb_1  | 2020-05-22 06:55:05,420 INFO  [Thread-6] regionserver.ShutdownHook: Shutdown hook finished.
opentsdb_1  | stopping hbase
^CGracefully stopping... (press Ctrl+C again to force)

As you can see, I'm using docker-compose. Maybe setting a restart policy can fix my problem, but perhaps you can handle this at the image side.
Kind.
Alexis

Hi @AlexisBRENON,  I'm not certain there is an easy way to work around this issue -- from the errors it looks like the zookeeper token expires because of the time shift.  Changing that would require changes to zookeeper, I think, but I'm not 100% certain.  You might want to take the issue up with the ZooKeeper group.  If they have a fix that we could easily integrate I would consider putting it in.


export to excel

hi ceolter, can you implement export to excel feature in future? and  we need some features from the grid(checkbox for select all, unselect all rows and page size dropdown at pagination section and auto grid height).if we purchase the enterprise version can you provide those?

excel => on our radar, ETA next 2 months
checkbox for select all, unselect all rows => not high priority given you have the API,
page size dropdown at pagination section => you can do that yourself? as per the example online for pagination?
and auto grid height => on our radar, but no ETA, yet to be scheduled
if we purchase the enterprise version can you provide those => depends how big a customer, get in touch with our sales team to show interest and talk licenses! we can then discuss.

page size dropdown at pagination section =>we need to place that control beside the" last " button in pagination.Actually i put that control after the "last" button in pagination.Problem is if grid have 25000 rows, page count is also more(ex: page 1 of 8456) if i select page size 15.due to more text in (page 1 of ....).last button and my page size dropdown will overlap eachother.thats y iam asking you, if you provide builtin control for page size in pagination section.it will automatically adjust like responsive.from my side, if we place the page size dropdown at pagination level.that looks good.
Thank you

@rajgopalk for export to excel
simply use this alasql js library
for example for export all data:
alasql('SELECT * INTO XLSX("export.xlsx",{headers:true}) FROM ?',[gridOptions.rowData]);
for export only visible data in grid
var visibleColumns = scope.gridOptions.columnApi._columnController.allDisplayedColumns;
var dataToExcel = [];
gridOptions.rowData.forEach(function(item,i){
var newData = {};
     for(var j=0;j<visibleColumns.length;j++){
           if(item[visibleColumns[j].colId] === null ){
             newData[visibleColumns[j].colDef.headerName] = '-';
          }else if(item[visibleColumns[j].colId]){
             newData[visibleColumns[j].colDef.headerName] = item[visibleColumns[j].colId];
          }
      }
      dataToExcel.push(newData);
   });
alasql('SELECT * INTO XLSX("export.xlsx",{headers:true}) FROM ?',[dataToExcel]);


Migrate app/main.rs to dot_rev.rs

Currently, parts of app/main.rs use a new interface in src/dot_rev.rs. This is higher level and allows clearer implementation and more obvious correctness. Port the rest of app/main.rs to use this interface, extending it as needed.

Most of the code has been migrated, but we should probably migrate slightly higher level chunks too?


[docs] Describe full page screenshots

Hello Team - I'm not seeing the fullpage: true screenshot option in the latest 1.5.0 build. Can you please check?

Hi @sharathgrao, it's not released yet. It will be available in<EMAIL_ADDRESS>If you want to test this feature, you can install<EMAIL_ADDRESS>Please note, that<EMAIL_ADDRESS>is not a stable build, and it's better to avoid installing it in production environments.


Pass a value type by reference: assigning the parameter to refer to a different object (learning.microsoft.com)

Hi, just a detail on the following bit:

Shouldn't it be as below?

those changes are visible from the caller.

Example:
static void Main(string[] args)
{
    int n = 0;
    Console.WriteLine("The value before calling the method: {0}", n);

    AssignNew(ref n);  // Passing the variable by reference.
    Console.WriteLine("The value after calling the method: {0}", n);
}

static void AssignNew(ref int x)
{
    x = 1;
    Console.WriteLine("The value inside the method: {0}", x);
}

  /* Output:
      The value before calling the method: 0
      The value inside the method: 1
      The value after calling the method: 1
  */

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

ID: b8dd92fe-5053-1bc6-1c8f-cf9f88635cb5
Version Independent ID: 7241f712-8d73-b5e0-37c0-5f05c92412c6
Content: Method Parameters - C# Reference
Content Source: docs/csharp/language-reference/keywords/method-parameters.md
Product: dotnet-csharp
Technology: csharp-language-reference
GitHub Login: @BillWagner
Microsoft Alias: wiwagn

Thanks @BillWagner


Implement GRPC service for ColBERT v2

bsiyer created the following on May 06:
Original issue: https://github.ibm.com/ai-foundation/PrimeQA/issues/184

This will be done in a separate repo for primeqa services


Add a Black verification as GH Actions and reformat all files at src with Black

Why?
Lots of different people work around ptf project, this creates lots of interpretations of the PEP8 standard in the code. To keep code clean and exactly the same across all environments there is a need to use the right tool.
What
In this Pull request code was automatically reformated with the Black black src/ (only source directory), also was added a verification step to the pipeline, which verifies future commits.
What is Black?
"Black is the uncompromising Python code formatter. By using it, you agree to cede control over minutiae of hand-formatting. In return, Black gives you speed, determinism, and freedom from pycodestyle nagging about formatting.


Does docplex have the similar function like the RINS in cplex?

I have looked up the reference manual, but can't search anything about RINS, only see an example of heuristic solution. Could anybody know it give me a hint?

The RINS heuristic is controlled in CPLEX via parameters, see
https://www.ibm.com/docs/en/icos/22.1.0?topic=heuristics-relaxation-induced-neighborhood-search-rins-heuristic
for details.
By default, CPLEX decides automatically whether to use it and with what frequency.
Given an instance of docplex.mp.model.Model class, mdl, , you can access its parameters by the parameters attribute.
Thus
mdl.parameters.mip.strategy.rinsheur = -1
turns off the RINHS heuristic.
 mdl.parameters.mip.strategy.rinsheur = 100
sets the RINS heuristic frequency to 100

The RINS heuristic is controlled in CPLEX via parameters, see https://www.ibm.com/docs/en/icos/22.1.0?topic=heuristics-relaxation-induced-neighborhood-search-rins-heuristic for details. By default, CPLEX decides automatically whether to use it and with what frequency.
Given an instance of docplex.mp.model.Model class, mdl, , you can access its parameters by the parameters attribute.
Thus
mdl.parameters.mip.strategy.rinsheur = -1
turns off the RINHS heuristic.  mdl.parameters.mip.strategy.rinsheur = 100
sets the RINS heuristic frequency to 100

ok, thanks you a lot!
plus: Are the meanings of all the different parameter values in docplex the same as in cplex? I've used "help(mdl.parameters.mip.strategy.rinsheur)" , but it seems not to show the imformation about explanation of the parameter or the acceptable range.

<<Are the meanings of all the different parameter values in docplex the same as in cplex?>>
Yes, the hierarchy is the same as in the cplex package. The documentation however is only in 1 location.

<<Are the meanings of all the different parameter values in docplex the same as in cplex?>> Yes, the hierarchy is the same as in the cplex package. The documentation however is only in 1 location.

oh, thank you!


defines an equal_up_to_global_phase protocol

Addresses #1506
my main concern is that this implementation doesn't support typecasting, so equal_up_to_global_phase(1.0, 1.0j) will return "False". I feel that this should return "True", but that would lead to inconsistent behavior when this protocol falls back on approximate_equality (which does not support typecasting for comparing complex vs. float vs. int)

I've made a branch equal_up_to_global_phase that fixes the type errors, and also cleans up some issues with the linalg methods. Pull it into yours (git pull origin equal_up_to_global_phase).
The relevant commit: https://github.com/quantumlib/Cirq/commit/728507aa54bd949ff82f7c10e83389997337ce58


where is bm25 introduced?

Hi,
For the warm-up step, I see a regular dense retrieval model training on the triples.small data provided by MSMarco.
But I don't find any code introducing bm25 index and bm25 sampling.
I guess you are treating triples.small data's negatives as bm25 negs already?
What does bm25 warm up mean? How is that introduced?
Thanks

Yeah, I also can't find the BM25 index. Have you found the answer to it?

Hi,
For the warm-up step, I see a regular dense retrieval model training on the triples.small data provided by MSMarco.
But I don't find any code introducing bm25 index and bm25 sampling. I guess you are treating triples.small data's negatives as bm25 negs already?
What does bm25 warm up mean? How is that introduced?
Thanks

Yeah, I also can't find the BM25 index. Have you found the answer to it?

+1

I believe @tangzhy is correct (at least on MSMARCO), the triples.train.small.tsv were generated by the MSMARCO dataset itself, and they refer to generating the triplets using BM25 in the raw text of the README, hence why there's no reference to BM25 in this repo.


chatflow errors to show link to alert with its id in case of admin

chatflow errors to show link to alert with its id (can be retrieved from alert_raise result) and for marketplace we make sure we don't leak any internal info / stacktraces

closed in favor of https://github.com/threefoldtech/js-sdk/issues/416


[gardenlet] Switch Shoot main controller to controller-runtime

How to categorize this PR?

/area dev-productivity scalability
/kind enhancement
What this PR does / why we need it:
Refactor the Shoot main controller to controller-runtime.
Co-Authored-By @rfranzke
Which issue(s) this PR fixes:
Part of https://github.com/gardener/gardener/issues/4251
Special notes for your reviewer:
This PR comes with a few behavioral changes:

the dedicated queue in the shoot controller for shoots that are registered as managed seeds is dropped
status.UID is always written when the operation starts, previously this was only done on the start of a reconciliation (i.e., not on deletion or migration)
the logic for skipping reconciliations during migration in the BackupEntry reconciler is changed and harmonized with the shoot controller (cc @plkokanov)

✅ In draft, until I have performed some manual tests for the special cases of shoot reconciliation (see docs)
@rfranzke and I are working on a follow-up PR for refactoring the corresponding logic of these special cases to make it more readable and testable.
Generally, we want to follow this cookbook while refactoring existing controllers:

Add documentation
Add integration test based on envtest (if not already present)
Switch controller to controller-runtime

Integration tests are skipped for this controller, as they can't be achieved with low effort while still providing meaningful benefits.
Release note:

NONE

/test all

/assign

/test all

https://prow.gardener.cloud/view/gs/gardener-prow/pr-logs/pull/gardener_gardener/7082/pull-gardener-e2e-kind-ha-single-zone/1597153155513061376 looks like another occurrence of https://github.com/gardener/gardener/issues/7064

While testing locally, I found the following problem:
gardenlet is unable to record events on shoots:
{"level":"error","ts":"2022-11-28T08:53:52.724Z","msg":"Server rejected event '&v1.Event{TypeMeta:v1.TypeMeta{Kind:\"\", APIVersion:\"\"}, ObjectMeta:v1.ObjectMeta{Name:\"e2e-hibernated.172bb3aab99578a4\", GenerateName:\"\", Namespace:\"garden-local\", SelfLink:\"\", UID:\"\", ResourceVersion:\"\", Generation:0, CreationTimestamp:time.Date(1, time.January, 1, 0, 0, 0, 0, time.UTC), DeletionTimestamp:<nil>, DeletionGracePeriodSeconds:(*int64)(nil), Labels:map[string]string(nil), Annotations:map[string]string(nil), OwnerReferences:[]v1.OwnerReference(nil), Finalizers:[]string(nil), ManagedFields:[]v1.ManagedFieldsEntry(nil)}, InvolvedObject:v1.ObjectReference{Kind:\"Shoot\", Namespace:\"garden-local\", Name:\"e2e-hibernated\", UID:\"65ef8916-cd35-409c-8d08-cb0a2d57861f\", APIVersion:\"core.gardener.cloud/v1beta1\", ResourceVersion:\"439\", FieldPath:\"\"}, Reason:\"Deleted\", Message:\"Deleted Shoot cluster\", Source:v1.EventSource{Component:\"shoot-controller\", Host:\"\"}, FirstTimestamp:time.Date(2022, time.November, 28, 8, 53, 52, 710293668, time.Local), LastTimestamp:time.Date(2022, time.November, 28, 8, 53, 52, 710293668, time.Local), Count:1, Type:\"Normal\", EventTime:time.Date(1, time.January, 1, 0, 0, 0, 0, time.UTC), Series:(*v1.EventSeries)(nil), Action:\"\", Related:(*v1.ObjectReference)(nil), ReportingController:\"\", ReportingInstance:\"\"}': 'events is forbidden: User \"system:serviceaccount:garden:gardenlet\" cannot create resource \"events\" in API group \"\" in the namespace \"garden-local\"' (will not retry!)\n","stacktrace":"k8s.io/client-go/tools/record.recordEvent\n\tk8s.io/client-go@v11.0.1-0.20190409021438-1a26190bd76a+incompatible/tools/record/event.go:267\nk8s.io/client-go/tools/record.recordToSink\n\tk8s.io/client-go@v11.0.1-0.20190409021438-1a26190bd76a+incompatible/tools/record/event.go:216\nk8s.io/client-go/tools/record.(*eventBroadcasterImpl).StartRecordingToSink.func1\n\tk8s.io/client-go@v11.0.1-0.20190409021438-1a26190bd76a+incompatible/tools/record/event.go:194\nk8s.io/client-go/tools/record.(*eventBroadcasterImpl).StartEventWatcher.func1\n\tk8s.io/client-go@v11.0.1-0.20190409021438-1a26190bd76a+incompatible/tools/record/event.go:314"}

Looking into it now.

This PR is ready. I have performed several manual tests for the special cases mentioned in the docs and fixed a few things accordingly.

https://prow.gardener.cloud/view/gs/gardener-prow/pr-logs/pull/gardener_gardener/7082/pull-gardener-e2e-kind/1597187779509358592 is another occurrence of https://github.com/gardener/gardener/issues/7064

Should pass now, #7064 is fixed.
/test pull-gardener-e2e-kind

/lgtm

/test pull-gardener-integration
/lgtm
/approve

/test pull-gardener-integration