How to use only 50% of tokens in crowdsale?

👁🗨 Description
I want to create a crowdsale which sells 50% of the coins and allocates the rest to my wallet.
what is the best way of doing this?
Is it best to create the token first?
I've attempted to launch multiple crowdsales on the Rinkeby test network using Remix, none of them accepting ether or returning any coins.
Perhaps its better for me to use a service that makes the coin/crowdsale for me?
I have followed countless tutorials, I'm not the smartest guy, I'm quite lost, please put me in the right direction, thanks.
👽 Environment

Rinkeby Test Net
Remix
pragma solidity ^0.4.18;
0.4.19+commit.c4cbbb05.Emscripten.clang

📝 Details
I want to create 10billion tokens so do I need to create the first 5billion tokens and then mint the next 5billion?
In the most recent tutorial I followed, the programmer used an API interface function for interacting with the Token contract, I thought this would call the pre-minted tokens, I must be missing some details to do with token allocation. (he explains it in the video at 5:00)
This following tutorial seemed to be the most useful, the crowdsale code deployed but the token contract addresss would not accept or return anything.
Tutorial:
https://www.youtube.com/watch?v=VfZ4H3KUMNg&ab_channel=WildCrypto
I have pasted my crowdsale code followed by my token code below, I really appreciate it if you read this far. Thank you.
🔢 Crowdsale Code (Last attempt)
In Question:

/**
 * @title Token
 * @dev API interface for interacting with the Token contract
 */
interface Token {
  function transfer(address _to, uint256 _value) returns (bool);
  function balanceOf(address _owner) constant returns (uint256 balance);
}

contract Crowdsale is Ownable {

  using SafeMath for uint256;

  Token public token;

  uint256 public constant RATE = 100000; // Number of tokens per Ether
  uint256 public constant CAP = 50000; // Cap in Ether
  uint256 public constant START =<PHONE_NUMBER>; // Feb 6, 2018 @ 15:50 UTC
  uint256 public constant DAYS = 30; // 30 Days

  uint256 public constant initialTokens =<PHONE_NUMBER>0 * 10**5; // Initial number of tokens available
  bool public initialized = false;
  uint256 public raisedAmount = 0;

  event BoughtTokens(address indexed to, uint256 value);

  modifier whenSaleIsActive() {
    // Check if sale is active
    assert(isActive());

    _;
  }

  function Crowdsale(address _tokenAddr) {
      require(_tokenAddr != 0xa1B9573a39D04F63A44831AaaBE40ff5326305a6);
      token = Token(_tokenAddr);
  }

  function initialize() onlyOwner {
      require(initialized == false); // Can only be initialized once
      require(tokensAvailable() == initialTokens); // Must have some tokens allocated
      initialized = true;

pragma solidity ^0.4.18;
/**

@title SafeMath
@dev Math operations with safety checks that throw on error
*/
library SafeMath {

/**

@dev Multiplies two numbers, throws on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) {
return 0;
}
uint256 c = a * b;
assert(c / a == b);
return c;
}

/**

@dev Adds two numbers, throws on overflow.
*/
function add(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a + b;
assert(c >= a);
return c;
}

}
/**

@title Ownable
@dev The Ownable contract has an owner address, and provides basic authorization control
functions, this simplifies the implementation of "user permissions".
*/
contract Ownable {
address public owner;

event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**

@dev The Ownable constructor sets the original owner of the contract to the sender
account.
*/
function Ownable() public {
owner = msg.sender;
}

/**

@dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
require(msg.sender == owner);
_;
}

/**

@dev Allows the current owner to transfer control of the contract to a newOwner.
@param newOwner The address to transfer ownership to.
*/
function transferOwnership(address newOwner) public onlyOwner {
require(newOwner != address(0));
OwnershipTransferred(owner, newOwner);
owner = newOwner;
}
}

/**

@title Token
@dev API interface for interacting with the Token contract
*/
interface Token {
function transfer(address _to, uint256 _value) returns (bool);
function balanceOf(address _owner) constant returns (uint256 balance);
}

contract Crowdsale is Ownable {
using SafeMath for uint256;
Token public token;
uint256 public constant RATE = 100000; // Number of tokens per Ether
uint256 public constant CAP = 50000; // Cap in Ether
uint256 public constant START =<PHONE_NUMBER>; // Feb 6, 2018 @ 15:50 UTC
uint256 public constant DAYS = 30; // 30 Days
uint256 public constant initialTokens =<PHONE_NUMBER>0 * 10**5; // Initial number of tokens available
bool public initialized = false;
uint256 public raisedAmount = 0;
event BoughtTokens(address indexed to, uint256 value);
modifier whenSaleIsActive() {
// Check if sale is active
assert(isActive());
_;

}
function Crowdsale(address _tokenAddr) {
require(_tokenAddr != 0xa1B9573a39D04F63A44831AaaBE40ff5326305a6);
token = Token(_tokenAddr);
}
function initialize() onlyOwner {
require(initialized == false); // Can only be initialized once
require(tokensAvailable() == initialTokens); // Must have some tokens allocated
initialized = true;
}
function isActive() constant returns (bool) {
return (
initialized == true &&
now >= START && // Must be after the START date
now <= START.add(DAYS * 1 days) && // Must be before the end date
goalReached() == false // Goal must not already be reached
);
}
function goalReached() constant returns (bool) {
return (raisedAmount >= CAP * 1 ether);
}
function () payable {
buyTokens();
}
/**

@dev function that sells available tokens
*/
function buyTokens() payable whenSaleIsActive {
// Calculate tokens to sell
uint256 weiAmount = msg.value;
uint256 tokens = weiAmount.mul(RATE);
BoughtTokens(msg.sender, tokens);
// Increment raised amount
raisedAmount = raisedAmount.add(msg.value);
// Send tokens to buyer
token.transfer(msg.sender, tokens);
// Send money to owner
owner.transfer(msg.value);
}

/**

@dev returns the number of tokens allocated to this contract
*/
function tokensAvailable() constant returns (uint256) {
return token.balanceOf(this);
}

/**

@notice Terminate contract and refund to owner
*/
function destroy() onlyOwner {
// Transfer tokens back to owner
uint256 balance = token.balanceOf(this);
assert(balance > 0);
token.transfer(owner, balance);

// There should be no ether in the contract but just in case
selfdestruct(owner);

}
}
🔢 My Token Code
In Question:

contract Test is StandardToken {

  string public constant name = "Test"; // solium-disable-line uppercase
  string public constant symbol = "TEST"; // solium-disable-line uppercase
  uint8 public constant decimals = 5; // solium-disable-line uppercase

  uint256 public constant INITIAL_SUPPLY =<PHONE_NUMBER>0 * (10 ** uint256(decimals));

  /**
   * @dev Constructor that gives msg.sender all of existing tokens.
   */
  function Test() public {
    totalSupply_ = INITIAL_SUPPLY;
    balances[msg.sender] = INITIAL_SUPPLY;
    Transfer(0x0, msg.sender, INITIAL_SUPPLY);
  }

}

pragma solidity ^0.4.18;
/**

@title SafeMath
@dev Math operations with safety checks that throw on error
*/
library SafeMath {

/**

@dev Multiplies two numbers, throws on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) {
return 0;
}
uint256 c = a * b;
assert(c / a == b);
return c;
}

/**

@dev Integer division of two numbers, truncating the quotient.
*/
function div(uint256 a, uint256 b) internal pure returns (uint256) {
// assert(b > 0); // Solidity automatically throws when dividing by 0
uint256 c = a / b;
// assert(a == b * c + a % b); // There is no case in which this doesn't hold
return c;
}

/**

@dev Substracts two numbers, throws on overflow (i.e. if subtrahend is greater than minuend).
*/
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
assert(b <= a);
return a - b;
}

/**

@dev Adds two numbers, throws on overflow.
*/
function add(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a + b;
assert(c >= a);
return c;
}
}

/**

@title ERC20Basic
@dev Simpler version of ERC20 interface
@dev see https://github.com/ethereum/EIPs/issues/179
*/
contract ERC20Basic {
function totalSupply() public view returns (uint256);
function balanceOf(address who) public view returns (uint256);
function transfer(address to, uint256 value) public returns (bool);
event Transfer(address indexed from, address indexed to, uint256 value);
}

/**

@title Basic token
@dev Basic version of StandardToken, with no allowances.
*/
contract BasicToken is ERC20Basic {
using SafeMath for uint256;

mapping(address => uint256) balances;
uint256 totalSupply_;
/**

@dev total number of tokens in existence
*/
function totalSupply() public view returns (uint256) {
return totalSupply_;
}

/**

@dev transfer token for a specified address

@param _to The address to transfer to.

@param _value The amount to be transferred.
*/
function transfer(address _to, uint256 _value) public returns (bool) {
require(_to != address(0));
require(_value <= balances[msg.sender]);
// SafeMath.sub will throw if there is not enough balance.
balances[msg.sender] = balances[msg.sender].sub(_value);
balances[_to] = balances[_to].add(_value);
Transfer(msg.sender, _to, _value);
return true;
}

/**

@dev Gets the balance of the specified address.
@param _owner The address to query the the balance of.
@return An uint256 representing the amount owned by the passed address.
*/
function balanceOf(address _owner) public view returns (uint256 balance) {
return balances[_owner];
}
}

/**

@title ERC20 interface
@dev see https://github.com/ethereum/EIPs/issues/20
*/
contract ERC20 is ERC20Basic {
function allowance(address owner, address spender) public view returns (uint256);
function transferFrom(address from, address to, uint256 value) public returns (bool);
function approve(address spender, uint256 value) public returns (bool);
event Approval(address indexed owner, address indexed spender, uint256 value);

}
/**

@title Standard ERC20 token

@dev Implementation of the basic standard token.
@dev https://github.com/ethereum/EIPs/issues/20
@dev Based on code by FirstBlood: https://github.com/Firstbloodio/token/blob/master/smart_contract/FirstBloodToken.sol
*/
contract StandardToken is ERC20, BasicToken {

mapping (address => mapping (address => uint256)) internal allowed;
/**

@dev Transfer tokens from one address to another
@param _from address The address which you want to send tokens from
@param _to address The address which you want to transfer to
@param _value uint256 the amount of tokens to be transferred
*/
function transferFrom(address _from, address _to, uint256 _value) public returns (bool) {
require(_to != address(0));
require(_value <= balances[_from]);
require(_value <= allowed[_from][msg.sender]);

balances[_from] = balances[_from].sub(_value);
balances[_to] = balances[_to].add(_value);
allowed[_from][msg.sender] = allowed[_from][msg.sender].sub(_value);
Transfer(_from, _to, _value);
return true;

}
/**

@dev Approve the passed address to spend the specified amount of tokens on behalf of msg.sender.

Beware that changing an allowance with this method brings the risk that someone may use both the old
and the new allowance by unfortunate transaction ordering. One possible solution to mitigate this
race condition is to first reduce the spender's allowance to 0 and set the desired value afterwards:
https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
@param _spender The address which will spend the funds.
@param _value The amount of tokens to be spent.
*/
function approve(address _spender, uint256 _value) public returns (bool) {
allowed[msg.sender][_spender] = _value;
Approval(msg.sender, _spender, _value);
return true;
}

/**

@dev Function to check the amount of tokens that an owner allowed to a spender.
@param _owner address The address which owns the funds.
@param _spender address The address which will spend the funds.
@return A uint256 specifying the amount of tokens still available for the spender.
*/
function allowance(address _owner, address _spender) public view returns (uint256) {
return allowed[_owner][_spender];
}

/**

@dev Increase the amount of tokens that an owner allowed to a spender.

approve should be called when allowed[_spender] == 0. To increment
allowed value is better to use this function to avoid 2 calls (and wait until
the first transaction is mined)
From MonolithDAO Token.sol
@param _spender The address which will spend the funds.
@param _addedValue The amount of tokens to increase the allowance by.
*/
function increaseApproval(address _spender, uint _addedValue) public returns (bool) {
allowed[msg.sender][_spender] = allowed[msg.sender][_spender].add(_addedValue);
Approval(msg.sender, _spender, allowed[msg.sender][_spender]);
return true;
}

/**

@dev Decrease the amount of tokens that an owner allowed to a spender.

approve should be called when allowed[_spender] == 0. To decrement
allowed value is better to use this function to avoid 2 calls (and wait until
the first transaction is mined)
From MonolithDAO Token.sol
@param _spender The address which will spend the funds.
@param _subtractedValue The amount of tokens to decrease the allowance by.
*/
function decreaseApproval(address _spender, uint _subtractedValue) public returns (bool) {
uint oldValue = allowed[msg.sender][_spender];
if (_subtractedValue > oldValue) {
allowed[msg.sender][_spender] = 0;
} else {
allowed[msg.sender][_spender] = oldValue.sub(_subtractedValue);
}
Approval(msg.sender, _spender, allowed[msg.sender][_spender]);
return true;
}

}
/**

@title Test
@dev Very simple ERC20 Token example, where all tokens are pre-assigned to the creator.
Note they can later distribute these tokens as they wish using transfer and other
StandardToken functions.
*/
contract Test is StandardToken {

string public constant name = "Test"; // solium-disable-line uppercase
string public constant symbol = "TEST"; // solium-disable-line uppercase
uint8 public constant decimals = 5; // solium-disable-line uppercase
uint256 public constant INITIAL_SUPPLY =<PHONE_NUMBER>0 * (10 ** uint256(decimals));
/**

@dev Constructor that gives msg.sender all of existing tokens.
*/
function Test() public {
totalSupply_ = INITIAL_SUPPLY;
balances[msg.sender] = INITIAL_SUPPLY;
Transfer(0x0, msg.sender, INITIAL_SUPPLY);
}

}

Hi @Dougy2800! In general, you should be able to mint the remaining tokens in the finalize method. You can find an example of this in the Decentraland crowdsale.
I will close this issue now, please reopen if you have any other questions.


inference code

Hi, thank you for your contribution.
I try to reproduce the qualitative results in your paper. But, after going through your code, I did not find related inference code.
Could you provide an inference code for beginners to quick start, including the use of your pretrained model.
Best Regards,
Daniel.

Hi
Did you try the commands in readme?
------------------ Original ------------------
From: Shaocong Xu @.>
Date: Wed, Sep 4, 2024 11:48 PM
To: xiaobiaodu/DreamCar @.>
Cc: Subscribed @.***>
Subject: Re: [xiaobiaodu/DreamCar] inference code  (Issue #3)
Hi, thank you for your contribution.
I try to reproduce the qualitative results in your paper. But, after going through your code, I did not find related inference code.
Could you provide an inference code for beginners to quick start, including the use of your pretrained model.
Best Regards,
Daniel.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

try this
https://gofile.io/d/yMHabA
select the desired compiler in the installer

It looks like you lack of the knowledge about 3D generation. You could read some basic papers then try our code.
------------------ Original ------------------
From: Shaocong Xu @.>
Date: Thu, Sep 5, 2024 0:16 AM
To: xiaobiaodu/DreamCar @.>
Cc: Xiaobiao Du @.>, Comment @.>
Subject: Re: [xiaobiaodu/DreamCar] inference code  (Issue #3)
yes and I went through the code  and readme again, there are only training codes, not inference code.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>

yes, I am a beginner as mentioned  above.
Ok,  thank you for your patience.
Best regards,
Daniel

Hi, I am reproduce results in your paper.  It is very  promising.
Now, I want to try more examples. Could you provide  the script to extract the example sequence from nuscenes  such as example_data/94b33ce331b844dcb991a2020742cebf you provided.
best regards,
Daniel

Hi
Thanks for your recognition of our work. I've uploaded the code about Nuscenes processing. Please check it.


How do I add a plugin?

Tailwind has a plugins system, but I'm not sure how to add a plugin. Is it something that goes in ember-cli-build or environment.js?

Open app/tailwind/config/tailwind.js

Import the Tailwind plugin after installing:
import glhdTailwindcssTransitions from 'glhd-tailwindcss-transitions'

Add the plugin to the plugins array in tailwind.js:

  plugins: [
    container({
      // center: true,
      // padding: '1rem',
    }),
    glhdTailwindcssTransitions(),
  ],

👍 Glad you figured it out! This should definitely make it into the docs.

https://github.com/embermap/ember-cli-tailwind/commit/27a8b6200e0aef316297e43b721b4e7651b23f1b


adding speedtest.py

The file is a program written in python to run a speed-test to measure internet speed.

Thanks for your Contribution!
Keep Contributing!
Gove a Star to this project if you like this!
Happy Hacktober!


The mobile app does not switch to dark mode in Android when changing the theme from system

Describe the bug
I tried the application in an Android device and when I try to change the system theme to dark mode the app does not change it appearance to dark mode. I am not sure if this happens as well for iOS devices.
To Reproduce
Steps to reproduce the behavior:

Open dzcode app on Android.
Change the system theme to dark mode.
The app doesn't change its appearance to dark mode as well.

Expected behavior
Change the app appearance immediately when changing the system theme.
Environment:

OS: Android 10.

Additional context
I have found that this issue is still opened here and maybe the solution for this can be found here.

similar issue for iOS too, where when i switch system themes, the app switches two times.
i will try this suggestion and see, otherwise i will go with the debounce suggestion


Fixes infinite recursion in truncateDeep

adds references to traversed objects to avoid infinite recursion.

Fixes https://github.com/bugsnag/bugsnag-js/issues/200

Note: travis-ci is running the wrong commit; I guess it didn't pick up on my --amend, so I'm going to close this and make a new pull request.


Video rendering pixelated

Video rendering of current vrview gives very pixelated (unusable) result.
See current video example compared to https://storage.googleapis.com/vrview/index.html?video=examples/video/congo_2048.mp4&is_stereo=true which uses the older vrview version and is not pixelated.

Please change the BUFFER_SCALE parameter to 1.0.
On Wed, Nov 23, 2016 at 9:04 AM rosserl<EMAIL_ADDRESS>wrote:

Video rendering of current vrview gives very pixelated (unusable) result.
See current video example compared to
https://storage.googleapis.com/vrview/index.html?video=examples/video/congo_2048.mp4&is_stereo=true
which uses the older vrview version and is not pixelated.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/googlevr/vrview/issues/82, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAQ8gESqb2-hA_Zy6eLr_n3XIg4H0Gczks5rBHHqgaJpZM4K61ND
.

tried that, but same result, it's cross-browser and cross platform, from desktop to cardboard view all the same... images work as expected though.

Please provide side by side screenshots.

here are some test links with old (saved from https://storage.googleapis.com/vrview/examples/video/index.html) vrview and current master branch (only diff: buffer_scale set to 1.0): http://stuff.hutzlprecm.com/vrview_issue_82/
now that i have made side by side shots and also compared it with still frames form the video, i think it's not a resolution problem, as i thought first, but an (anti-)aliasing issue. knowing that, maybe i can resolve it myself ... tomorrow. =)
below screenshots (left old, right master):

Is bilinear filtering disabled in the newer image?
On Tue, Nov 29, 2016 at 2:45 PM, rosserl<EMAIL_ADDRESS>wrote:

here are some test links with old (saved from https://storage.googleapis.
com/vrview/examples/video/index.html) vrview and current master branch
(only diff: buffer_scale set to 1.0): http://stuff.hutzlprecm.com/
vrview_issue_82/
now that i have made side by side shots and also compared it with still
frames form the video, i think it's not a resolution problem, as i thought
first, but an (anti-)aliasing issue. knowing that, maybe i can resolve it
myself ... tomorrow. =)
below screenshots (left old, right master):
[image: sbs_congo]
https://cloud.githubusercontent.com/assets/1777734/20731898/9acdd7f8-b68c-11e6-9d4d-970f682b0203.png
[image: sbs_avicii_2k]
https://cloud.githubusercontent.com/assets/1777734/20731909/a2deaf44-b68c-11e6-8a47-9e56ce80f010.png
[image: sbs_avicii_4k]
https://cloud.githubusercontent.com/assets/1777734/20731916/a8c3cc14-b68c-11e6-9d4f-8aed8952149d.png
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/googlevr/vrview/issues/82#issuecomment-263724858, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ANamfgnP2jfOW7CmbDwbGcn7SNdXtsROks5rDKr-gaJpZM4K61ND
.

yeah that's it.
in spehere-renderer.js change
videoTexture.minFilter = THREE.NearestFilter;
videoTexture.magFilter = THREE.NearestFilter;
to
videoTexture.minFilter = THREE.LinearFilter;
videoTexture.magFilter = THREE.LinearFilter;
and it's good!

Nice. Any big performance differences?
On Tue, Nov 29, 2016 at 11:58 PM rosserl<EMAIL_ADDRESS>wrote:

yeah that's it.
in spehere-renderer.js change
videoTexture.minFilter = THREE.NearestFilter;
videoTexture.magFilter = THREE.NearestFilter;
to
videoTexture.minFilter = THREE.LinearFilter;
videoTexture.magFilter = THREE.LinearFilter;
and it's good!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/googlevr/vrview/issues/82#issuecomment-263807381, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAQ8gDkrRPBjmPeDqUDkGszuSTfwuHZUks5rDSycgaJpZM4K61ND
.

i can't notice any (lg g3 & two different rather oldish desktop-pcs), but in theory linear filtering is slower, but i guess every gpu is fast enough for 1 fullscreen linear filtering? anyway i added the linear filter version to my tests, if you want to do a quick check: http://stuff.hutzlprecm.com/vrview_issue_82/
i would go with linear filtering anyway, even if it's a little slower =)

Bilinear filtering should be basically free on any modern GPU (mobile or
desktop).
On Wed, Nov 30, 2016 at 5:05 PM, rosserl<EMAIL_ADDRESS>wrote:

i can't notice any (lg g3 & two different rather oldish desktop-pcs), but
in theory linear filtering is slower, but i guess every gpu is fast enough
for 1 fullscreen linear filtering? anyway i added the linear filter version
to my tests, if you want to do a quick check: http://stuff.hutzlprecm.com/
vrview_issue_82/
i would go with linear filtering anyway, even if it's a little slower =)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/googlevr/vrview/issues/82#issuecomment-264047739, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ANamfjHf052GtUGZ7y_9LKEMJchquZLbks5rDh1VgaJpZM4K61ND
.

Ok, should be fixed shortly.


Use String rather than &'static str in Registry

What I'm trying to do with serde-reflection (providing a proc-macro alternative to generate ContainerFormat) does not work if the key of BTreeMap has to be 'static.

Thanks. I'm ok with the change as it simplifies things a little for everyone.


Update binaries

argocd to v2.6.1
checkov to 2.2.356
go to 1.20
grpc_cli to v1.52.0
oc to 4.12.2
tektoncd_cli to v0.29.1

Signed-off-by: Romain Arnaud<EMAIL_ADDRESS>

@Roming22 I don't think we are using Go anywhere in our repo. I checked with @xinredhat too and he said he would check if would need for a future implementation for ci-runner. Nothing at the moment.
Once he confirms, we can remove go as a dependency.

@Roming22 I don't think we are using Go anywhere in our repo. I checked with @xinredhat too and he said he would check if we would need for a future implementation for ci-runner. Nothing at the moment. Once he confirms, we can remove go as a dependency.

Yes,  the future implementation for ci-runner needs Go to build hypershift cli binary

Closing this in favour of #478 as that has more latest binaries.


[DragValue] Use rounded values for checking if value needs setting

If old_value is not rounded, the modified if-expression would always trigger clearing the edit memory, and hence making editing by keyboard impossible -- the edit buffer would only last a single frame.
Alternatively, old_value could abe always rounded if we rounded the result of parsing the keyboard inpu and accesskit input, but this prevents the user from inputting values more precise than allowed by default, which is a behavior I've personally found useful. Regardless of that, this solution is more likely to prevent this bug from being reintroduced if new input methods are added and don't respect rounding.

./scripts/check.sh fails due to the following:
+ cd crates/egui_glow
+ cargo check --all-features
   Compiling smithay-client-toolkit v0.16.0
   Compiling wayland-protocols v0.29.5
   Compiling winit v0.28.1
    Checking epaint v0.21.0 (/home/kamil/workspace/egui/crates/epaint)
    Checking egui v0.21.0 (/home/kamil/workspace/egui/crates/egui)
error: The platform you're compiling for is not supported by winit
  --> /home/kamil/.cargo/registry/src/github.com-1ecc6299db9ec823/winit-0.28.1/src/platform_impl/mod.rs:67:1
   |
67 | compile_error!("The platform you're compiling for is not supported by winit");
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

I don't think it's relevant to this patch.


feat: remove group.id from kafka props and reuse generated group.id

I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?

Remove unused consumer_group field from KafkaProperties struct
Modify group.id format in kafka consumer to include source and actor IDs
Remove check for group.id config value
Add bytes.per.second and max.num.messages configuration parameters
Update new function to accept optional list of columns as parameter
Update into_stream function to clone parser config and source context

resolve #13855
may add group.id when scaling and may change most of id when alter

Checklist

[ ] I have written necessary rustdoc comments
[ ] I have added necessary unit tests and integration tests
[ ] I have added test labels as necessary. See details.
[ ] I have added fuzzing tests or opened an issue to track them. (Optional, recommended for new SQL features #7934).
[ ] My PR contains breaking changes. (If it deprecates some features, please create a tracking issue to remove them in the future).
[x] All checks passed in ./risedev check (or alias, ./risedev c)
[ ] My PR changes performance-critical code. (Please run macro/micro-benchmarks and show the results.)

[ ] My PR contains critical fixes that are necessary to be merged into the latest release. (Please check out the details)

Documentation

[x] My PR needs documentation updates. (Please use the Release note section below to summarize the impact on users)

Release note
If this PR includes changes that directly affect users or other significant modifications relevant to the community, kindly draft a release note to provide a concise summary of these changes. Please prioritize highlighting the impact these changes will have on users.
remove properties.group.id from kafka source props

Also, the pr also changes the group.id's prefix, please update the whitelist conf accordingly.


adding new collection

@xhyhh0 Why i have the message "1 workflow awaiting approval"? i have followed instructions how to upload a collection

Sorry, there's something wrong in your code. Please let your dev to fix it first. You may click "Details" to learn the details about the error. @entra32

@cloud6605 mistakes solved, please approve flow

Hi. Now solved. Please approve workflow. Thanks --Enviado con la aplicación GMX MailEl 14/10/24, 2:51 cloud6605 @.***> escribió:
Sorry, there's something wrong in your code. Please let your dev to fix it first. You may click "Details" to learn the details about the error. @entra32
image.png (view on web)
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

@cloud6605 could you approve workflow please? Thanks

@cloud6605 @xhyhh0 can somebody help me please and start worflow?
why i cannot start it?


Use static variables instead of functions for Vector2 class' direction methods.

What
In the Vector2.h header file, replace the static Vector2 Down, Left(), NegativeInfinity(), One(), PositiveInfinity(), Right(), Up(), Zero() methods with static variables that replace the methods.
Why
Seperate methods for this is unnecessary as all those methods do is return a specific Vector2() value. This can be done with just static variables.

Hello @TheDuckDev, I am interested in this issue. Could you assign this issue to me?

@Qeolvdxu Done. :)

@Qeolvdxu Yup, it works now. But there still are errors (related to camera.cpp) and I can't merge this PR if the code doesn't compile properly. So I would appreciate if you could fix that as well. :)

I tried solving this issue myself, and it doesn't seem like it's possible. Using functions isn't a big deal, thus it's fine the way it is right now. But incase if anyone does think that it's possible, free feel to give it a go.

@Sable-20 The PR was closed but not merged. This issue was left open so if anyone wanted to give a go on fixing it, but yeah it's not that big of a deal so I'll close it now.


File Locksmith is not working since few month.

Microsoft PowerToys version
v0.82.1
Installation method
PowerToys auto-update
Running as admin
Yes
Area(s) with issue?
File Locksmith
Steps to reproduce

File Locksmith is not working since many months, I even re-installed but menu is not showing in File Explorer.
✔ Expected Behavior
No response
❌ Actual Behavior
No response
Other Software
No response

Hi, is this still a problem for you in the latest version of PowerToys? /needinfo

/dup https://github.com/microsoft/PowerToys/issues/31347


AssistantLLM with VoicePipelineAgent not working properly

Hi,
I've tried creating an agent using an openAI Assistant as the LLM. It joins the room and works as expected until after the it's first utterance. After speaking the string I pass into the agent.say() function and then I respond it will either stay silent or speak sentences with words out of order, sounding like gibberish. When I check the logs I get two errors:
2024-11-13 04:03:17,675 - ERROR livekit.agents.pipeline - Error in _stream_synthesis_task Traceback (most recent call last):   File "/home/appuser/.local/lib/python3.11/site-packages/livekit/agents/utils/log.py", line 16, in async_fn_logs     return await fn(*args, **kwargs)            ^^^^^^^^^^^^^^^^^^^^^^^^^   File "/home/appuser/.local/lib/python3.11/site-packages/livekit/agents/pipeline/agent_output.py", line 273, in _stream_synthesis_task     async for seg in tts_source:   File "/home/appuser/.local/lib/python3.11/site-packages/livekit/agents/utils/aio/itertools.py", line 47, in tee_peer     item = await iterator.__anext__()            ^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/home/appuser/.local/lib/python3.11/site-packages/livekit/agents/pipeline/pipeline_agent.py", line 869, in _llm_stream_to_str_generator     async for chunk in stream:   File "/home/appuser/.local/lib/python3.11/site-packages/livekit/agents/llm/llm.py", line 159, in __anext__     raise exc from None   File "/home/appuser/.local/lib/python3.11/site-packages/livekit/plugins/openai/beta/assistant_llm.py", line 510, in _main_task     self._done_future.set_result(None) asyncio.exceptions.InvalidStateError: invalid state {"pid": 138, "job_id": "AJ_Xkw6xdYmimL3"}
And sometimes this one along with the first error message:
raise self._make_status_error_from_response(err.response) from None\nopenai.BadRequestError: Error code: 400 - {'error': {'message': 'Thread thread_P5iSwRGvKxYIiEXK1GsVmDto already has an active run run_JlVSXO5euDaOpDaeY9aKyZWX.', 'type': 'invalid_request_error', 'param': None, 'code': None}}
The weird thing is that when I swap out the assistantLLM for the regular openAI LLM then it works perfectly fine.
Here is the code of the code that isn't working:
`import asyncio
import os
import boto3
import json
import logging
import uuid
from dataclasses import asdict, dataclass
from typing import Any, Dict
from livekit import rtc
from livekit.agents import (
AutoSubscribe,
JobContext,
WorkerOptions,
JobProcess,
WorkerType,
cli,
llm
)
from livekit.plugins.openai.beta import (
AssistantLoadOptions,
AssistantLLM,
AssistantOptions,
OnFileUploadedInfo,
)
from livekit.agents.pipeline import VoicePipelineAgent
from livekit.plugins import openai, silero
from livekit.agents.multimodal import MultimodalAgent
from livekit.plugins import openai
from voicePipelineAgent import prewarm, run_voicepipeline_agent
from multiModalAgent import run_multimodal_agent
logger = logging.getLogger("dynamic-agent")
logger.setLevel(logging.INFO)
def prewarm(proc: JobProcess):
proc.userdata["vad"] = silero.VAD.load()
async def entrypoint(ctx: JobContext):
logger.info(f"connecting to room {ctx.room.name}")
await ctx.connect(auto_subscribe=AutoSubscribe.AUDIO_ONLY)
participant = await ctx.wait_for_participant()
metadata = json.loads(participant.metadata)

agent_type = metadata.get("agent_type", "voice_pipeline")

if agent_type == "multimodal":
    run_multimodal_agent(ctx, participant)
else:
    openai_api_key = metadata.get("openai_api_key","")
    openai_model = metadata.get("openai_model","gpt-4o-mini")
    voice = metadata.get("voice","alloy")
    voice_model = metadata.get("voice_model","tts-1")
    assistant_id = metadata.get("assistant_id","<assistantID placeholder I took out to post here>")

    initial_ctx = llm.ChatContext()

    agent = VoicePipelineAgent(
        vad=ctx.proc.userdata["vad"],
        stt=openai.STT(api_key=openai_api_key),
        llm=AssistantLLM(
        assistant_opts=AssistantOptions(
            load_options=AssistantLoadOptions(
                assistant_id=assistant_id,
                thread_id=None
            )
        ),
        api_key=openai_api_key,
    ),
        tts=openai.TTS(model=voice_model,voice=voice,api_key=openai_api_key),
        chat_ctx=initial_ctx,
        allow_interruptions=False,
    )

    agent.start(ctx.room, participant)

    await agent.say("Hello?", allow_interruptions=False)

logger.info("dynamic agent started")

if name == "main":
cli.run_app(WorkerOptions(
entrypoint_fnc=entrypoint,
worker_type=WorkerType.ROOM,
prewarm_fnc=prewarm
))
`

I have the issue, any solution?

@alejomendez1019 Not yet, waiting on the liveKit team to take a look

Check the issue I posted with the title "Solution to "InvalidStateError" and Handling of Closed Channels in OpenAI's AssistantLLMStream" there I found a solution to that problem


GLB model issue

Forwarding from a Discord user.
There is an issue with a GLB model. It looks like the source model can be viewed in the model viewer correctly, but the parsed container doesn't look right.
https://playcanvas.com/project/1093092/overview/model-issue

I get the following error on the browser console:
1780843:1 [.WebGL-0x11808f59d00] GL_INVALID_OPERATION: Vertex buffer is not big enough for the draw call

Agreed, the EXT_meshopt_compression is required by this glb, which is not supported to import to the Editor. You can add support for it for dynamic loading from a url, similarly to how the viewer does though.
Closing as this is not an issue. We have a tracking issue for this here already: https://github.com/playcanvas/engine/issues/2630


StringIO does not respond to to_io

Redux of: https://github.com/enkessler/childprocess/issues/183
childprocess-5.0.0/lib/childprocess/unix/io.rb:8:in `check_type': expected #<StringIO:0x0000000109f502d0> to respond to :to_io (ArgumentError)
childprocess-5.0.0/lib/childprocess/abstract_io.rb:16:in `stdout='

This expectation restricts the use of a lot of custom IO options and loggers.
StringIO is also does not include the IO module, so the subsequent check would also fail.

Thanks for opening an issue @phene and @eregon for the additional context. Going to close but if we're missing something let us know!


Update metadata-extractor to 2.18.0

Updates com.drewnoakes:metadata-extractor from 2.16.0 to 2.18.0.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.drewnoakes", artifactId = "metadata-extractor" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequest = { frequency = "@monthly" },
  dependency = { groupId = "com.drewnoakes", artifactId = "metadata-extractor" }
}]

labels: library-update, early-semver-minor, semver-spec-minor, commit-count:1

Superseded by #160.


fix(Progress Loader): Fix progress loader height

Fixes https://github.com/zoe/covid-tracker-react-native/issues/91

Thanks James.
#91 also mentions the color being the wrong one, is that something you could append to this PR maybe?

I missed that, updated :)


Hovering stylus

Use case
Hovering with a stylus should produce the same visual effect as hovering with a mouse. The gif below shows what hovering some buttons looks like on native Android. By hovering I mean not actually making contact with the screen.

Proposal
Flutter should also show hover effects for a hovering stylus.
The code that handles this for most Material widgets is here in ink_well.dart. However, MouseRegion seems to not call onEnter or onExit for a hovering stylus, though it does call onHover, interestingly!
If MouseRegion called onEnter and onExit for stylus input, then this issue would be solved. @dkwingsmt Do you know why this is, or if there is another way to listen for a hovering stylus's exit? I saw a related comment from you: https://github.com/flutter/flutter/issues/36085#issuecomment-514730261
If that can't be solved, then we could work around it. We could use onHover and a timeout, for example. Or maybe we could use PointerRouter, as suggested on StackOverflow.

Repro app showing only onHover works
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      home: MyHomePage(),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key});

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('Demo'),
      ),
      body: Center(
        child: Padding(
          padding: const EdgeInsets.symmetric(horizontal: 74.0),
          child: Column(
            mainAxisAlignment: MainAxisAlignment.center,
            children: <Widget>[
              // Works for hover, not for enter/exit.
              Listener(
                onPointerHover: (PointerHoverEvent event) {
                  print('justin Listener onPointerHover ${event.kind}');
                },
                child: Container(width: 100, height: 100, color: Colors.red),
              ),
              // Also works for hover but not for enter/exit.
              MouseRegion(
                onEnter: (PointerEnterEvent event) {
                  print('justin MouseRegion onEnter ${event.kind}');
                },
                onExit: (PointerExitEvent event) {
                  print('justin MouseRegion oneEit ${event.kind}');
                },
                onHover: (PointerHoverEvent event) {
                  print('justin MouseRegion hover ${event.kind}');
                },
                child: Container(width: 100, height: 100, color: Colors.blue),
              ),
            ],
          ),
        ),
      ),
    );
  }
}

I think it's simply oversight, since we did not consider stylus hovering when designing enter/leave events. Can you think of any reasons we should not treat stylus hovers the same as mouse hovers in all cases?

I can't, let's do it? https://github.com/flutter/flutter/pull/149006


Cherry-Pick of Oslo library updates

Installing via pip leads to a broken client since oslo has updated, Cherry-pick the update commit from upstream to allow it to use the non-namespace package names.

I've moved the repo to https://github.com/rackerlabs/rackspace-python-neutronclient and included your commit in the new pypi release of 2.4.9.

\o/


Formatting issues and grammar usage fix

I highlighted some text using basic formatting principles and made changes to incorrect grammar usage.

Please can you advise what name you would like added to the contributors list or maybe add a name to your GitHub profile.
Thanks again for taking the time to help improve things.

Hi. My name is Damee Zivah Olawuyi, thank you.

Aright, thank you!

Reflected in https://guide.wagtail.org/en-latest/how-to/copying-and-aliasing-pages/! :)

Okey dokey, thanks.


no matching checkpoint file found

Hi, when I want to run python run_training dimp transformer_dimp, it always shows no matching checkpoint file found. Does this model need a checkpoint file before training? If yes, where can I download this file?
When I run to the 52 line of ltr_trainer.py file: for i, data in enumerate(loader,1), it shows an error: out of memory.   My computer has 16G memory, and my GPU has 32G memory, so I think it is large enough to run the model. Can you give any suggestions about this problem? Thanks.

In the training stage, DiMP uses ResNet for model initialization. Generally, this model will be downloaded by the pytracking framework. Maybe you should check it.
I use a large batch size of 40 to reduce the training time. If your computer memory is limited, you can set a smaller batch size in the training setting.

In the training stage, DiMP uses ResNet for model initialization. Generally, this model will be downloaded by the pytracking framework. Maybe you should check it.
I use a large batch size of 40 to reduce the training time. If your computer memory is limited, you can set a smaller batch size in the training setting.

Which folder do you put the downloaded 'resnet' model in?


My Flutter app depends on intl_utils: ^1.6.3, and today I upgraded Fluter to the latest Flutter (Channel master, 1.26.0-2.0.pre.).
Now when I run pub get I get this error:

Because every version of flutter_localizations from sdk depends on intl 0.17.0-nullsafety.2 and intl_translation >=0.17.7 depends on intl >=0.15.3 <0.17.0, flutter_localizations from sdk is incompatible with intl_translation >=0.17.7.
Because intl_utils >=1.6.3 <1.9.0 depends on intl_translation 0.17.10 and intl_utils >=1.9.0 depends on intl_translation 0.17.10+1, intl_utils >=1.6.3 requires intl_translation 0.17.10 or 0.17.10+1.
Thus, flutter_localizations from sdk is incompatible with intl_utils >=1.6.3.
So, because xxx depends on both flutter_localizations any from sdk and intl_utils ^1.6.3, version solving failed.
pub get failed (1; So, because xxx depends on both flutter_localizations any from sdk and intl_utils ^1.6.3, version solving failed.)

so I added intl: ^0.17.0-nullsafety.2 and intl_translation: ^0.17.10+1 but now I get this

Because intl_translation >=0.17.0 <0.17.7 depends on intl ^0.15.3 and xxx depends on intl ^0.17.0-nullsafety.2, intl_translation >=0.17.0 <0.17.7 is forbidden.
So, because gipi_partner depends on intl_translation 0.17.6, version solving failed.
pub get failed (1; So, because xxx depends on intl_translation 0.17.6, version solving failed.)

I'm trying all combinations of versions but none is working. And when i downgrade  flutter it works fine?

Hi @Simouad
This is because intl_translation targetting an older intl, please file an issue on their dedicated GitHub
You can make your project work by downgrading the stable flutter channel and using non-null-safety dependencies
These are  package conflicts, not an issue with Flutter itself
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you

Hi @Simouad
This is because intl_translation targetting an older intl, please file an issue on their dedicated GitHub
You can make your project work by downgrading the stable flutter channel and using non-null-safety dependencies
These are  package conflicts, not an issue with Flutter itself
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you

thanks

thanks


I'm trying to run this app but the problem seems to be more complicated. After i push the "Get Weather" button it doesn't goes back to the main kilmatic screen

Steps to Reproduce

Execute flutter run on the code sample
...
...

Expected results:
Actual results:

Code sample

Logs

Hi @Ahsan668 ,
When opening an issue, please try to provide all or some of the information indicated in the template.

Issue Template
If you are looking for support, please check out our documentation
or consider asking a question on Stack Overflow:
- https://flutter.dev/
- https://api.flutter.dev/
- https://stackoverflow.com/questions/tagged/flutter?sort=frequent

If you have found a bug or if our documentation doesn't have an answer
to what you're looking for, then fill our the template below. Please read
our guide to filing a bug first: https://flutter.dev/docs/resources/bug-reports

Steps to Reproduce

Please tell us exactly how to reproduce the problem you are running into.

Please attach a small application (ideally just one main.dart file) that
reproduces the problem. You could use https://gist.github.com/ for this.

If the problem is with your application's rendering, then please attach
a screenshot and explain what the problem is.

1. ...
2. ...
3. ...

Please tell us which target platform(s) the problem occurs (Android / iOS / Web / macOS / Linux / Windows)
Which target OS version, for Web, browser, is the test system running?
Does the problem occur on emulator/simulator as well as on physical devices?

Target Platform:
Target OS version/browser:
Devices:

Run your application with `flutter run --verbose` and attach all the
log output below between the lines with the backticks. If there is an
exception, please see if the error message includes enough information
to explain how to solve the issue.

Run `flutter analyze` and attach any output of that command below.
If there are any analysis errors, try resolving them before filing this issue.

Finally, paste the output of running `flutter doctor -v` here.

Closing this issue, since no information has been provided.
Thank you.


Added Support for SoftPlus operator in tflite.

This is part of issue #27822.

Do you have a specific model which uses this operator?
We're trying to raise the bar for adding new operators to TFLite, preferring a smaller set of core operators where possible, as it makes it more difficult to maintain parity with our delegate/accelerator pipeline.

@jdduke , thanks for the comments, this implementation is inline with the issue #27822. But i understand your point. So  should we use graph transform to convert softplus operator or leave it for the custom ops ?
As i feel graph transform might again not be so efficient as it will create again two nodes(when value is within the Range). Let me know your take on this.
Regards
Amit

I'm going to defer to @miaout17 for further review. I agree that the graph transform won't be quite as important. Can you tell if the SoftPlus operator in that graph is used sparingly? Or all throughout?

@jdduke , thanks for the response, I think the model uses softplus sparingly, but softplus seems to be picking up momentum.
@miaout17 , could you please review and provide the feedback.
Regards
Amit

@amitsrivastava78 could you please resolve the conflicts?

@gbaned , thanks for pointing this out, i have resolved the conflicts.
Regards
Amit

While the code itself looks good, the following questions are unanswered yet:

What models use SoftPlus op?
Should we do graph transformation or define a new op? (tradeoff between efficiency versus fewer builtin ops).

@jdduke are you comfortable adding this as a builtin op? If yes, I can follow up the code review process

@miaout17 thanks for the review i have updated all the comments as per your suggestion, kindly check.
Regards
Amit

Hi @amitsrivastava78, we're working on some guidelines for new operators, could you give us a few days to get back to you?
As noted previously, it would be good to know if other models are using this operator, and whether a different activation would suffice.

@jdduke , thanks for your response, sure i will wait for the conclusion from your side, also i will check which all models are using this operator and update you.
Regards
Amit

@amitsrivastava78 could you please resolve the conflicts? Thanks!

@gbaned , thanks for pointing this out, i have resolved the conflicts.
Regards
Amit

@amitsrivastava78 could you please resolve the conflicts? Thanks!

@gbaned , i have rebased the code and resolved the merge conflicts.
@jdduke can you please have a look at the PR and let me know your feedback
Regards
Amit

Until we find another model which requires this op, I'd rather we rely on using the select TF ops, or we add this as a custom op that users can optionally link into their app.

See also https://github.com/tensorflow/tensorflow/commit/03195f13456354deea8b81c9e583621b1337b952#diff-2b45693b554369bde8c98e9a76b80036

@amitsrivastava78 Could you please address the jdduke's comments. Thanks!

I'm going to go ahead and close this PR, because it seems to have stalled. If you're still interested in pursing this (and responding to my comments), please feel free to reopen!

Does Tflite support SoftPlus operator now, if not how can i include that as a custom one. @jdduke


Clarify accepted values for cockroach workload --duration flag

Fixes #4448.

This change is

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/e8177a5d4c5e35a69c80e87f71f1dc9bf68af2c4/
Edited pages:

v19.1/cockroach-workload.md
v2.1/cockroach-workload.md

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/f1576fa1531ad34a27a80b83743a945020bd3250/
Edited pages:

v19.1/cockroach-workload.md
v2.1/cockroach-workload.md


XML conversion yields incorrect COVERAGE result values.

Environment
Windows 10 21H2 enterprise
Visual Studio 2019 16.11.24 enterprise
vstest 16.11.0
CodeCoverage 16.0.21270.227002
Issue
We've noticed that the code coverage analysis provided by Visual Studio 2019 Enterprise results in different coverage measurements when converted to xml by the CodeCoverage tool.
In order to interpret the issue situation with the same configuration values, the example below shows a comparison of the code coverage measurement results of Visual Studio 2019 and VSTest.

Visual Studio and VSTest use the runsettings configuration file.
For CodeCoverage, we use the config configuration.
Note that runsettings and config use the same  property when measuring code coverage, but we excluded it from the comparison for an accurate comparison.

Measuring Visual Studio 2019 Code Coverage

As a result, the covered/not-covered range for block coverage can be obtained as above.(visual.gtest.coverage)

Can see that the xml output stores the same results as Visual Studio.

Measuring VSTest Code Coverage
I measured code coverage with VSTest in the CLI as follows.
vstest.console.exe' .\test\Release\x64\gtest.exe /Platform:x64 /TestAdapterPath:.\packages\GoogleTestAdapter.0.18.0\build\_common /EnableCodeCoverage /ResultsDirectory:".\data\CodeCoverage\VSTest Result" /Settings:.\test\coverage\CodeCoverage.runsettings

When I checked the generated output in Visual Studio, I saw the same results.

convert the above result to xml using the CodeCoverage tool, it seems that the inspection result value is stored incorrectly as shown below.
CodeCoverage.exe' analyze /output:"data\CodeCoverage\CodeCoverage Result\gtest.exe.coverage.xml" "data\CodeCoverage\CodeCoverage Result\vstest.gtest.coverage"

Generate xml.

XML conversion result with CodeCoverage (vstest.gtest.coverage.xml)

Results of xml conversion of vstest.gtest.coverage in Visual Studio.

@kahuz We use two different algorithms to calculate coverage numbers when showing in Visual Studio and converting it to xml file. That's why you are seeing different numbers. In next release of Visual Studio we have fixed this issue.

@fhnaseer Thanks for answering my question 😃


Refactor the relevant part of eventhub Factory code.

Refactor the relevant part of eventhub Factory code.

Closing this PR now for it's already been implemented in the 4.0 branch.


Node.js version issue

Greetings!
I've been trying to run this repo but apparently there need to be an old version for node.js for it to work
I really appreciate it if you update the codes so it works with new versions

Hey there! I’m guessing it’s just an issue with not having updated the dependencies recently. I’ll try to get to it soon!

Well I tried everything and installed all latest versions and it doesn't work
I really need this, thanks

Could you let me know what version of node you're using? It works fine for me after cloning the project again and running it with npm run dev on node v20.10.0 (which is within the last major lts release of node). Are there any specific error messages you're getting that could help us with troubleshooting this problem?

Even after switching over to the latest release of node, v22.3.0, I wasn't able to replicate the problem you're having and the project works as intended. It seems like something might be wrong with your local installation of node, in which I'd need more details to help you with :)

Sorry I was busy
I tried to download the files again now and try again but I'm getting a virus detection error...


Popupmenu reopened instead of closed when the popup button is clicked

Godot version:
Commit 0f1da724924fc494bfd316c57757e0e1d7b90143
OS/device including version:
OS: Windows 10
GPU: Intel Iris
backend: Vulkan
Issue description:
When I open a popup menu on an inspector, then click the popup menu button again, the popup menu is reopened instead of closed.
I see that in Godot 3.2, both the selected value and the downward chevron are integrated into a single dropdown button, but Godot 4.0 is separating them into a dropdown button and a dropdown trigger (selected value).
Steps to reproduce:

Create an Environment node.
Click on the Environment popup button on the node's inspector to open a popup menu.

Click on the popup button again. The popup menu is closed and then reopen, instead of being closed.

Minimal reproduction project:
This is reproducible in any project.

I would like to try to make a contribution. However, Godot code base pretty big. I would appreciate some guidance 😄
Hope all is contained in popup_menu.h

That's how it was working before - 3.2 has the same mechanics when clicking on that arrow? Should it be really altered, what's the benefit in here?

It is fixed by #38340

It's a bug, because the MenuButton doesn't respect the visibility when opening the Popup

That's how it was working before - 3.2 has the same mechanics when clicking on that arrow. Should it be really altered, what's the benefit in here?

If I opened a dropdown, then decided to not change the value, then instead of just simply click the button again without having to move the cursor, I would have to move the cursor somewhere and click the mouse to close the menu. Well, I can just press Esc, but that's more like a workaround .

Well turns out I actually broke the button completly. I thought, it's the same button. I have to check that... But I have to touch the PR again anyway

@HaSa1002 I've tried to understand the codebase and failed to comprehend them. 😆 Guess, I need more time and stronger C++.

Go for an easy reproducible issue and follow the red line of the callstack. That's the easiest way of finding out what matters. You find the entry point in the platform, btw

This appears to be fixed as of 4.0.beta4. Here, I'm single-clicking to open and close the popup at first, then double-clicking to open and close:
https://user-images.githubusercontent.com/180032/200910707-be3b6780-2cb4-4ae2-9c88-50a750e732f4.mp4


I cant login to facebook or google or linked in

Hey, first of all, really appreciate your huge work on this library. Thanks a lot
Description:
I have these callbacks urls: (these are working perfectly on web)
http://staging.claimit-server.com/auth/facebook/callback
http://staging.claimit-server.com/auth/google/callback
http://staging.claimit-server.com/auth/linkedin/callback
And I am trying to login with FB, Google or LinkedIn, it works perfectly, but callback not working.
I can see JSON in SFSafariVC (see attach), but cant handle to get back to my app.
Its something wrong with my urls? Or may I missed something when setting up.
Can you please help?
Thanks in advance

OAuth Provider (Facebook, Google, LinkedIn2):
OAuth Version:

[x] Version 2

OS (Please fill the version) :

[x] iOS :

Installation method:

[x] CocoaPods

Library version:

[x] head

Xcode version:

[x] 8.3.2 (Swift 3.2)

https://github.com/OAuthSwift/OAuthSwift#how-to
a redirection must be done to call yourapp:://oauth-swift to call OAuthSwift.handle(url: url)
your claimit-server just display the information needed as json...
why you need it?


SPA mode get swiper instance undefined

Vue.js version 2.3.4, component version 2.6.7, swiper 3.2.4
I can't get swiper instance by computed
example code below
<template>
<swiper class="honor-carousel" :options="config" ref="honorSwiper">
  <swiperSlide
    v-for="(item, idx) in honorList"
    :key="idx">

{{ item.title }}

  </swiperSlide>
</swiper>
</template>

there is no async process in this example.
the check methods and mounted methods output undefined both,
what should i do to get the swiper instance?
hope to get your reply, thx.

i guess the reason is the callback onSlideChangeEnd, because if i remove it, i can get the right result, but what can i do the resolve this problem?

@Xujkstra as I understand, we should use the swiper’s API as follows to the official documentation.
I mean, you should put onSlideChangeEnd  callback into on property of config object.
Then, for example, save this context to temporary variable, so you’ll able to call component’s methods etc.
data () {
let _this = this
  return {
    config: {
      // ...
      on: {
          slideChangeTransitionEnd () {
            _this.check()
          }
        }
    }
  }
}

@Xujkstra You can try it:
<swiper class="honor-carousel" :options="config" :not-next-tick="true" ref="honorSwiper">

@surmon-china  still get undefined.

@nickensoul  I am using swiper 3.2.4, I'm afraid the on method is in swiper4

@Xujkstra Try replace not-next-tick  to notNextTick

@surmon-china  same, the not-next-tick is no different from 'notNextTick'

@Xujkstra Try remove the underline.
computed: {
    swiperInstance() {
      return this.$refs.honorSwiper.swiper
    }
}

@surmon-china @nickensoul  the issue happens when i try to invoke a fuction in methods, if i just use a normal function, i can get the right answer.

@surmon-china  remove underline still can't resolve the issue but if use this.$refs.honorSwiper.swiperin callback I get undefined when the callback trigger the first time, and then i can get the right result, why will this happen .

The right approach is add this.$nextTick in the callback.
check() {
   this.$nextTick(() => {
     console.log(this.swiperInstance)
    })
 }

@Xujkstra Because https://github.com/surmon-china/vue-awesome-swiper/blob/v2.6.7/src/swiper.vue#L67

@surmon-china  thank's for your patient reply, appreciate a lot.

can you get the swiperInstance in the mouted state by adding this.$nextTick in the callback ? @Xujkstra

so, to return the swiper is not a good idea?


refactor: remove in-place union operator |= UI test cases.

1. Does this PR affect any open issues?(Y/N) and add issue references (e.g. "fix #123", "re #123".):

[ ] N
[x] Y

re: #143
Remove the |= operator to configure the semantics of in-place merge, and use the : merge attribute operator instead
Remove or modify test cases related to |= operator

2. What is the scope of this PR (e.g. component or file name):

3. Provide a description of the PR(e.g. more details, effects, motivations or doc link):

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[x] Other

4. Are there any breaking changes?(Y/N) and describe the breaking changes(e.g. more details, motivations or doc link):

[ ] N
[x] Y

Motivations: Unify the concept of "configuration unification" in KCL, remove redundant operators. More info ref: https://kusionstack.io/docs/reference/lang/lang/tour#配置操作

5. Are there test cases for these changes?(Y/N) select and add more details, references or doc links:

[ ] Unit test
[x] Integration test
[ ] Benchmark (add benchmark stats below)
[ ] Manual test (add detailed scripts or steps below)
[ ] Other

Remove or modify test cases related to |= operator in the tests folder.

6. Release note

Please refer to Release Notes Language Style Guide to write a quality release note.
None

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
6 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.02%) to 59.563%

Files with Coverage Reduction
New Missed Lines
%

kclvm/sema/src/resolver/calculation.rs
6
62.87%

Totals

Change from base Build<PHONE_NUMBER>:
-0.02%

Covered Lines:
22385

Relevant Lines:
37582

💛  - Coveralls


Emit change & input events from mdTextarea

Hey! That's really great. I will merge this to the develop branch. I will release a new minor version in a couple days.
Thank you!

Great, thanks!


Sort players by last name.

Going to try sorting by point projections instead. Will do this if that doesn't work.


Rewrite and/or replace some examples

Most of the examples are relics from the early days and has been retrofitted with new or changed features. It would be nice to have some nice solid examples that really showcases the library, and I would like to ask for some help when it comes to this. It's easy to be blind for what someone new to the library want to see in an example if you already know the ins and outs of it, so it would be great to get some input or help from people with a different perspective
I don't think we have to touch todo.rs, except maybe for some better comments or structure, since it's pretty recent. Same goes for tiny_hello.rs, but all the other examples are free to do anything with. That includes the documentation examples. Keep in mind, though, that hello_world.rs is the most important one, since it's also shown in README.md. It should be short, summarize the essentials of Rustful as good as possible, and not give any false hopes. People should see it, think "this looks nice", and not feel disappointed* if they decide to try using the library for real.
Any sort of contribution, from a comment on this issue to a full pull request, is very much welcome. Here is a task/wish list, which will be populated as things pops up:

[ ] filters.rs: Keep as it is, remove or rewrite? (Filters in general would benefit from a redesign)
[ ] handler_storage.rs: Keep as it is, remove or rewrite?
[ ] hello_world.rs: Keep as it is or rewrite?
[ ] post.rs: Keep as it is, remove or rewrite?
[ ] Documentation example in main.rs: Keep as it is, remove or rewrite?
[ ] Find a way to showcase the tree structure of insert_routes! in a clear way.
[ ] Make a clear example of how to integrate a database. Something more focused than todo.rs.

It's all up for grabs.

*Small examples are tricky, and Rustful is far from perfect, so there will be exceptions. I have no illusions when it comes to this, but It's not a reason to not try.

What i found to be missing is how to use context /global to attach a database connection (like rust-postgres)  as it's a very common use case to mix a web service with a db :)

The todo example has an emulated database, but it may be better to have a more focused example. It's such a common thing, as you said. I'll add it to the list. Thanks :+1:

it's me who should thank you for the framework, for the examples yes, I think a lot of people are like me, right now I would love to use rust in a professional context but I have very few time to dedicate to it, so the more I can be guided in brainless examples the more I only need to focus on "how to translate that into actual business requirements" rather that "how to translate that into 'real database'  and then how to translate into business requirements".
It also help "deciders/ other team members" to be less scared if they see "I don't understand rust syntax, but ok here is my db connection, here is my sql requests, here is my response turned into a json" (which i think should the things to have demonstrated on the main example in the readme)

The tricky part, when writing examples, is making them simple enough to be understood at a glance, while still demonstrating a "real world" situation. The example in the readme is especially important, since it's often the first impression someone gets, so it can't be too complicated, but it has to communicate what's interesting with the framework. It should basically say "Hey, this is the essence of Rustful, and I hope it looks interesting".
The current example doesn't really tick all the boxes, IMO, which is one of the reasons for opening this issue. Replacing it with a database example would tick the "real world" example box, but the database stuff may take focus from the framework. This isn't a database library, after all. :smile: This will need some more research, though, so I'm not making a decision either for or against doing this. There may be a sufficiently simple database solution out there, and it would be great if it could be used in the main example.

Closing because of inactivity from my part. I'll try to make a more targeted effort sometime in the future.


Generated form dialogs not grouping correctly

Describe the bug
see screenshot below: generated form dialogs not grouping correctly

Version

This looks like it's been fixed in<PHONE_NUMBER>9d3.

Great!

@xiyangdesign would you please share your schema (.form file under your bot files, form-dialogs folder)


Fix Tests in the project

I will go through all of the rest files and make sure that they were implemented correctly

I think you need to just go over your tests, since you don't know what the ones who actually wrote the tests wanted to check.

most of the problematic tests are because of db problems, I'm going over the tests to see what need to be done, I think that maybe I will work with @before @after annotations and maybe it will solve few of them, in case of a deeper problem I will update you and the ones who in charge of the logic behind the tests

My tests: LoginTest, UserTest are about 90% coverage due to cases that are errors that shouldn't be reached so I think that this is ok 😄
I will try to help other team members to fix their problems if they struggle with it.


Docker container for Qibo

This initial container should allow us to assess the utility  of containers in the Qibo project

At this point of the project I think there is no need for a docker container in order to distribute Qibo, the pip install is more suitable for the sort of developer who can be interested in trying it.
In the future if we want to deploy it in the cloud there will be a real necessity for docker container but then we will decide the container that will be needed.
So, I propose  just to close this PR.

@JavierSerranoGarcia I think the docker image is a good idea.
Let me propose the following instead of closing this PR:

could you please check the current files in this PR, and make sure everything is consistent (I see 114 changed files)
we have to test the performance of this PR

If you take care of the first point, I can take care of the second point.

OK @scarrazza, let me redo the container with the last version of Qibo

OK @scarrazza, let me redo the container with the last version of Qibo

Hi @scarrazza
I have built a new docker container with the last qibo version. I uploaded it to Docker Hub. I have given it public access now it has been released. But it is still the issue I am using a personal account in Docker Hub. I am expecting some suggestion from you ...
Regarding the performance I did a simple test running an script and the docker was twice slower (see the elapsed time)
In the docker container
root@f685503d4337:/usr/src/app# cd examples/qiboGrover3satBench/
root@f685503d4337:/usr/src/app/examples/qiboGrover3satBench# python main.py --file='data/12bit/n12i1.txt'
Solution:<PHONE_NUMBER>01
10 clause of 3 boolean variables out of 12, (v1,v2,...vn), (1=T, 0=F): [' 4 6 9\n', ' 6 7 11\n', ' 5 7 9\n', ' 3 5 8\n', ' 1 3 7\n', ' 1 7 10\n', ' 8 9 11\n', ' 7 9 10\n', ' 1 11 12\n', ' 2 6 9\n']
Number of Grover operators R= 50
Elapsed time:  37.728591482999036
Sampled results:
Counter({'010100110001': 1})
Most common bitstring:<PHONE_NUMBER>01
Found a match: True

Executing it directly in my machine
(qibo) javi@Mini-HP-WS:~/OneDrive/pythonDev/quantum/qiboGrover$ python main.py --file='data/12bit/n12i1.txt'
Solution:<PHONE_NUMBER>01
10 clause of 3 boolean variables out of 12, (v1,v2,...vn), (1=T, 0=F): [' 4 6 9\n', ' 6 7 11\n', ' 5 7 9\n', ' 3 5 8\n', ' 1 3 7\n', ' 1 7 10\n', ' 8 9 11\n', ' 7 9 10\n', ' 1 11 12\n', ' 2 6 9\n']
Number of Grover operators R= 50
Elapsed time:  16.19315699400613
Sampled results:
Counter({'010100110001': 1})
Most common bitstring:<PHONE_NUMBER>01
Found a match: True

`

I realized that the comparison was or fair because the docker container was not using the GPU. When I execute the script in my computer without the GPU, it takes more time than the container. It is quite weird and more tests should be done.
(qibo) javi@Mini-HP-WS:~/OneDrive/pythonDev/quantum/qiboGrover$ python main.py --file='data/12bit/n12i1.txt'
Solution:<PHONE_NUMBER>01
10 clause of 3 boolean variables out of 12, (v1,v2,...vn), (1=T, 0=F): [' 4 6 9\n', ' 6 7 11\n', ' 5 7 9\n', ' 3 5 8\n', ' 1 3 7\n', ' 1 7 10\n', ' 8 9 11\n', ' 7 9 10\n', ' 1 11 12\n', ' 2 6 9\n']
Number of Grover operators R= 50
Elapsed time:  40.5712727830105
Sampled results:
Counter({'010100110001': 1})
Most common bitstring:<PHONE_NUMBER>01
Found a match: True

Ok, thanks, let us know if you find the problem.

I found the problem. I was not using the qibo last version ....
Now the execution time in my machine  is a bit faster than the container 36.2 vs 37.7
`(qibo_0.1.0) javi@Mini-HP-WS:~/OneDrive/pythonDev/quantum/qiboGrover$ python main.py --file='data/12bit/n12i1.txt'
Solution:<PHONE_NUMBER>01
10 clause of 3 boolean variables out of 12, (v1,v2,...vn), (1=T, 0=F): [' 4 6 9\n', ' 6 7 11\n', ' 5 7 9\n', ' 3 5 8\n', ' 1 3 7\n', ' 1 7 10\n', ' 8 9 11\n', ' 7 9 10\n', ' 1 11 12\n', ' 2 6 9\n']
Number of Grover operators R= 50
Elapsed time:  36.235569034994114
Sampled results:
Counter({'010100110001': 1})
Most common bitstring:<PHONE_NUMBER>01
Found a match: True
`

Great, please cleanup this PR or create a new one with documentation for GPU.

Hi @scarrazza, the docker container is not using the GPU and I do not see what the problem is. Maybe we can close this PR and later we will solve the issue of the containers and the GPUs. What do you think?

Ok, please go ahead.


WIP: Pinning overhaul

Having tested the strategy / places approach for a while and having thought about it more we need to fix some cases and add more fine-grained control.
(New) Strategy
Inspired by likwid-pin, there should be three ways to specify how to pin threads to cpu threads.

[x] explicit list of cpu thread ids
[ ] pinning policy
[ ] "expression"-based specification

1) Explicit list of cpu threads
Example: pinthreads([1,3,0,8]) for 4 Julia threads
Uses "physical ordering" in the sense that the provided numbers are taken directly as cpu ids (as specified by lscpu).
2) Policy based pinning
Example: pinthreads(:spread; places=:numa)
For pinthreads(S; places=P) the strategy S should be applied at the level of the places P. Within a place, we use logical pinning where, if possible, physical cores come first (i.e. we spread across cores).
Open Questions

pinthreads(:compact; places=:cores): Should it pin logically, i.e. fill up the first core (incl. SMT-threads), then the next, and so on?
pinthreads(:spread; places=:cores): Should it pin logically, i.e. fill up the first cpu thread of each core, then the next, and so on?
What should pinthreads(:compact) default to?

3) "Expression"-based specification
TODO

See #46. Citing the new pinthreads docstring here:
pinthreads(cpuids[; nthreads=Threads.nthreads(), force=true, warn=true])

Pin the first min(length(cpuids), nthreads) Julia threads to an explicit or implicit list
of CPU ids. The latter can be specified in three ways:

explicitly (e.g. 0:3 or [0,12,4]),
by passing one of several predefined symbols (e.g. :cores or :sockets),
by providing a logical specification via helper functions (e.g. node and socket).

See below for more information.
If force=false the pinthreads call will only pin threads
if this is the first attempt to pin threads with ThreadPinning.jl. Otherwise it will be a
no-op. This may be particularly useful for packages that merely want to specify a
"default pinning".
The option warn toggles general warnings, such as unwanted interference with BLAS thread
settings.
1) Explicit
Simply provide an AbstractVector{<:Integer} of CPU ids. The latter are expected to be the
"physical" ids, i.e. as provided by lscpu, and thus start at zero!
2) Predefined Symbols

cputhreads or :compact: successively pin to all available CPU threads.
:cores: spread threads across all available cores, only use hyperthreads if necessary.
:sockets: spread threads across sockets (round-robin), only use hyperthreads if
necessary. Set compact=true to get compact pinning within each socket.
:numa: spread threads across NUMA/memory domains (round-robin), only use hyperthreads
if necessary. Set compact=true to get compact pinning within each NUMA/memory
domain.
:random: pin threads randomly to CPU threads
:current: pin threads to the CPU threads they are currently running on
:firstn: pin threads to CPU threads in "physical" order (as specified by lscpu).

3) Logical Specification
The functions node, socket, numa, and core can be used to to specify CPU ids
of/within a certain domain.`
Examples (domains):

pinthreads(socket(1, 1:3)) # pin to the first 3 cores in the first socket
pinthreads(socket(1, 1:3; compact=true)) # pin to the first 3 CPU threads in the first
socket
pinthreads(numa(2, [2,4,6])) # pin to the second, the fourth, and the sixth cores in
the second NUMA/memory domain
pinthreads(node(ncores():-1:1)) # pin threads to cores in reversing order (starting at
the end of the node)

Different domains can be concatenated by providing them in a vector or as separate
arguments to pinthreads.
Examples (concatenation):

pinthreads([socket(1, 1:3), numa(2, 4:6)])
pinthreads(socket(1, 1:3), numa(2, 4:6))


[Multi-stage] Limit groups for group-by executor

Fix the exception when intermediate group-by executor reaches the groups limit (100K currently)
Honor the groups limit and stop adding new keys when the limit is hit
Return an exception when the limit is hit along with the response (similar to the join rows limit)
Make numGroupsLimit and maxInitialResultHolderCapacity configurable through server config, query option and query hint
Make the handling for JOIN and GROUP-BY limit consistent

Codecov Report

Merging #11424 (91216bd) into master (4ebed46) will decrease coverage by 0.11%.
Report is 1 commits behind head on master.
The diff coverage is 78.26%.

@@             Coverage Diff              @@
##             master   #11424      +/-   ##
============================================
- Coverage     62.96%   62.86%   -0.11%
- Complexity      207     1102     +895
============================================
  Files          2301     2301
  Lines        123770   123819      +49
  Branches      18831    18848      +17
============================================
- Hits          77929    77833      -96
- Misses        40292    40420     +128
- Partials       5549     5566      +17

Flag
Coverage Δ

integration
0.00% <0.00%> (-0.01%)
:arrow_down:

integration1
?

integration2
0.00% <0.00%> (ø)

java-11
14.53% <0.00%> (-48.41%)
:arrow_down:

java-17
62.82% <78.26%> (+0.03%)
:arrow_up:

java-20
14.49% <0.00%> (-35.29%)
:arrow_down:

temurin
62.86% <78.26%> (-0.11%)
:arrow_down:

unittests
62.86% <78.26%> (-0.10%)
:arrow_down:

unittests1
67.28% <78.26%> (-0.18%)
:arrow_down:

unittests2
14.56% <0.00%> (+0.02%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed
Coverage Δ

...va/org/apache/pinot/spi/utils/CommonConstants.java
21.11% <0.00%> (-0.48%)
:arrow_down:

...e/pinot/common/utils/config/QueryOptionsUtils.java
67.74% <50.00%> (+0.52%)
:arrow_up:

...va/org/apache/pinot/query/runtime/QueryRunner.java
75.60% <63.88%> (+1.97%)
:arrow_up:

...pinot/query/runtime/operator/HashJoinOperator.java
90.85% <76.92%> (+3.21%)
:arrow_up:

...ry/runtime/operator/MultistageGroupByExecutor.java
96.50% <91.42%> (-1.78%)
:arrow_down:

...inot/query/runtime/operator/AggregateOperator.java
95.20% <100.00%> (+2.50%)
:arrow_up:

... and 37 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


allow skip progress bar

This PR should allow user to suppress the progress bar completely when setting notebook=False

Using notebook notebook_to_display_with_time to test it, it doesn't work.

https://github.com/ornlneutronimaging/NeuNorm/blob/allow_disable_progressbar/src/NeuNorm/normalization.py#L67 notebook flag is not use when loading via folder


IMPROVEMENT: add detached-header datalink semantic to the oai adapter

Add the #detached-header semantic to the oai adapter so it can be digested by the oai metadata. Ultimately, it's the same implementation as for the #documentation but it allows to use datalink with a wider range of semantics without being confined by the  oai adapter capabilities.
https://www.ivoa.net/rdf/datalink/core/2022-01-27/datalink.html#detached-header
https://github.com/django-daiquiri/daiquiri/blob/f6f352ac46c877209bb176d391f97079326e01f5/daiquiri/oai/adapter.py#L243-L276
As an example for the added code
            elif semantics == '#detached-header':
                datalink['alternate_identifiers'].append({
                    'alternate_identifier': access_url,
                    'alternate_identifier_type': 'URL'
                })

The alternative solution would be putting the #detached-header into the relatedIdentifiers instead
            elif semantics == '#detached-header':
                datalink['formats'].append(content_type)
                datalink['related_identifiers'].append({
                    'related_identifier': access_url,
                    'related_identifier_type': 'URL',
                    'relation_type': 'IsSupplementedBy'
                })

@kimakan That is a good question, I am not quite sure what the best option should be. You have a better understanding of datacite than me, what do you think would be more relevant?

After looking into the issue in more detail, I think that a alternateIdentifier is more appropriate since it's pointing to the same resource essentially. AFAIK, the relatedIdentifier should point to a different, related resource.
However, I would like to put the content_type into the formats to keep track of the alternative formats (currently, only the format of #this is tracked).
            elif semantics == '#detached-header':
                datalink['formats'].append(content_type)
                datalink['related_identifiers'].append({
                    'alternate_identifier': access_url,
                    'alternate_identifier_type': 'URL'
                })

sounds sensible, please make a PR. I like the idea of keeping track of the format. And I agree with the arguments on alternate vs. related.

Alternate identifier is suppose to be an ID.
Suggestion: declare datalinkID there like
<alternateIdentifier "alternateIdentifierType"="datalink">datalinkID</>

Related identifier links to related resources like:
#preview (viewer): describes
#preview-image (related image): is suplemented by
#documentation (url to docs): is documented by
#auxilliary (url to relate dresources): references?
#detach-header (url to header file): is supplemented by
#this (url of the resource): IsDescribedBy

#progenitor (url(datalink) of resources used): IsDerivedFrom
potential extra semantics:
#auxilliary-table (table with further data): references

Additional note:
Currently, the title of the oai record generated from the datalink tables is rendered from the description of the datalink entry with #doi. It's sensible, but it should be ensured that the description is related to the object and not to the DOI itself.
Incorrect description: Digital object identifier (DOI) for the Table 1 from the Data Release 1
Correct description: Table 1 from the Data Release 1

I found a bug in the creation routine of the tap_schema.datalink. The content_length adopted from the custom datalink tables, e.g., datalink_doi, are set to 0 if the value is None which is incorrect. The value is allowed to be None. In some cases it must be 'Noneif thecontent_length` attribute doesn't make any sense.
https://github.com/django-daiquiri/daiquiri/blob/8501f8424b4aceec7119f82a54acfde298921217/daiquiri/datalink/adapter.py#L84-L94
Correctly,  the content_length of the datalinks created automatically for all schemas and tables is set to None.
https://github.com/django-daiquiri/daiquiri/blob/8501f8424b4aceec7119f82a54acfde298921217/daiquiri/datalink/adapter.py#L133-L143


Rename the library location.

Also I like this logo better (closes #1 )

What about rewriting in IDL?


clFFT-client crash on embedded System

When running clFFT-client on a embedded System (Phytec Phycore-RK3288) with Yocto Linux the program crashes when certain FFT lengths are used. The program crashed when a FFT Length of 1024, 2048 or 4096 was used. A length of 256, 512 worked without problem and with a FFT Length of 16384 the Execution wall time and Execution gflops were negative.
When I used a real Input (--inLayout 5) and Hermitian_Interleaved Output ( --outLayout 3 ) the Error didn't occur.
My own implementation of an FFT with clFFT lead to the same Problem when using a Complex_Interleaved in- and output. When I used a real input my implementation did (mostly) work on the System. In my Implementation the Error occurs during the execution of clFFTBakePlan().
The FFT sizes which I wanted to use on the embedded System are exactly those which don’t work( 2048C and 4096C).
The clinfo output of my System is:
root@phycore-rk3288-3:~# clFFT-client --clinfo
OpenCL platform [ 0 ]:
    CL_PLATFORM_PROFILE:     FULL_PROFILE
    CL_PLATFORM_VERSION:     OpenCL 1.2 v1.r12p0-04rel0.c7cf4c8b39970391360f91824733eb1a
    CL_PLATFORM_NAME:        ARM Platform
    CL_PLATFORM_VENDOR:      ARM
    CL_PLATFORM_EXTENSIONS:  cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_byte_addressable_store cl_khr_3d_image_writes cl_khr_fp64 cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_fp16 cl_khr_gl_sharing cl_khr_icd cl_khr_egl_event cl_khr_egl_image cl_arm_core_id cl_arm_printf cl_arm_thread_limit_hint cl_arm_non_uniform_work_group_size cl_arm_import_memory

OpenCL platform [ 0 ], device [ 0 ]:
    CL_DEVICE_NAME:                      Mali-T760
    CL_DEVICE_VERSION:                   OpenCL 1.2 v1.r12p0-04rel0.c7cf4c8b39970391360f91824733eb1a
    CL_DRIVER_VERSION:                   1.2
    CL_DEVICE_TYPE:                      GPU
    CL_DEVICE_MAX_CLOCK_FREQUENCY:       400
    CL_DEVICE_ADDRESS_BITS:              64
    CL_DEVICE_AVAILABLE:                 TRUE
    CL_DEVICE_COMPILER_AVAILABLE:        TRUE
    CL_DEVICE_OPENCL_C_VERSION:          OpenCL C 1.2 v1.r12p0-04rel0.c7cf4c8b39970391360f91824733eb1a
    CL_DEVICE_MAX_WORK_GROUP_SIZE:       256
    CL_DEVICE_MAX_WORK_ITEM_DIMENSIONS:  3
                         Dimension[ 0 ]  256
                         Dimension[ 1 ]  256
                         Dimension[ 2 ]  256
    CL_DEVICE_HOST_UNIFIED_MEMORY:       TRUE
    CL_DEVICE_MAX_CONSTANT_BUFFER_SIZE:  65536 ( 64 KB )
    CL_DEVICE_LOCAL_MEM_SIZE:            32768 ( 32 KB )
    CL_DEVICE_GLOBAL_MEM_SIZE:<PHONE_NUMBER> ( 1006 MB )
    CL_DEVICE_MAX_MEM_ALLOC_SIZE:        263757824 ( 251 MB )
    CL_DEVICE_EXTENSIONS:                cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_byte_addressable_store cl_khr_3d_image_writes cl_khr_fp64 cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_fp16 cl_khr_gl_sharing cl_khr_icd cl_khr_egl_event cl_khr_egl_image cl_arm_core_id cl_arm_printf cl_arm_thread_limit_hint cl_arm_non_uniform_work_group_size cl_arm_import_memory

The error message is:
root@phycore-rk3288-3:~# clFFT-client --platform 0 --device 0 -x 1024 -b 1 -p 100

                        BUILD LOG
************************************************
<source>:1592:19: error: initializing '__global float4 *' with an expression of incompatible type '__global float2 *'
        __global float4 *buff4g = bufOut;
                         ^        ~~~~~~

<source>:2027:19: error: initializing '__global float4 *' with an expression of incompatible type '__global float2 *'
        __global float4 *buff4g = bufOut;
                         ^        ~~~~~~

<source>:2040:49: warning: unknown attribute 'max_constant_size' ignored
void fft_fwd(__constant cb_t *cb __attribute__((max_constant_size(32))), __global float2 * restrict gb)
                                                ^

<source>:2066:50: warning: unknown attribute 'max_constant_size' ignored
void fft_back(__constant cb_t *cb __attribute__((max_constant_size(32))), __global float2 * restrict gb)
                                                 ^

error: Compiler frontend failed (error code 59)

************************************************
FFTGeneratedStockhamAction::compileKernels failed
OPENCL_V_THROWERROR< CLFFT_INVALID_PROGRAM > (507): clfftEnqueueTransform failed
clFFT error condition reported:
OPENCL_V_THROWERROR< CLFFT_INVALID_PROGRAM > (507): clfftEnqueueTransform failed
Warning:  Program terminating, but clFFT resources not freed.
Please consider explicitly calling clfftTeardown( ).

I am Sorry if this is not the place for this Bugreport or if it is an error on my side.

there is a cast from float2 to float4. This cast  is not used in every length. So some pass and some fail. It seems that ARM runtime does not support this cast.

I don't see a cast?  The code seems to be simply trying to assign a float2* to a float4*.  It should complain about that without an explicit cast.

this was not a problem with other opencl compilers that just raises a warning; looks like in your case it fails with error, i have checked in change with explicit cast in develop branch 0f8fe79
let me know if that fixes the issue for you

Yes, this is not an explicit cast. We do it explicitly in rocFFT.

Thank you! This resolved the Issue.


feat: add showPreciseDate setting

When set git.blame.showPreciseDate is true in user settings, all dates displayed by this extension will be absolute (as opposed to relative by default).

Codecov Report

Merging #220 (c9fa2a2) into master (3021c9a) will increase coverage by 0.45%.
The diff coverage is 85.71%.

@@            Coverage Diff             @@
##           master     #220      +/-   ##
==========================================
+ Coverage   47.58%   48.03%   +0.45%
==========================================
  Files           4        4
  Lines         124      127       +3
  Branches       25       27       +2
==========================================
+ Hits           59       61       +2
- Misses         65       66       +1

Impacted Files
Coverage Δ

src/extension.ts
0.00% <0.00%> (ø)

src/blame.ts
83.58% <92.30%> (-0.80%)
: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 3021c9a...c9fa2a2. Read the comment docs.


Spray Paints Don't work

Spray paints don't do anything inside the dungeon.

Also experienced the same thing, We need this in the next update please.

bumping this cuz it my main item to carry too,


Remove workaround for previous io_uring bug related to IOSQE_ASYNC and

IOURING_OP_WRITEV
Motivation:
The bug related to IOSQE_ASYNC and IORING_OP_WRITEV was fixed so no need
to have the workaround
Modifications:
Remove workaround
Result:
Use IOSQE_ASYNC all the time

/cc @1Jo1


Implement monitoring for Java Application

completed for cassandra, tomcat. rest all will be easily extendible. Closing it.


Add a slide on nm and ldd

Both tools are mentioned in the exercise on the compilation chain, but we have no slide that mentions what these tools do and why/when they are needed.

I would still like to have a slide or two on these. I know @sponce explains that as part of an exercise, so we do not need to present  the slides. But they can still serve as a summary and just list the few commands that were shown during the exercise. @sponce or @hageboeck may I assign one of you to this issue?

Fine with me (both the idea and the assignment).

@hageboeck presented these tools again today with several flags. I could never do that, I just would not know the flags. Please add one slide on that :)


[ruby] Handle Constructor Invocation

The constructor invocation is simply a MemberCall and the new method name is not interpreted as a constructor. This needs to be handled.

One should also note the comments under the preceding issue about checking the base of .new https://github.com/joernio/joern/pull/4171


Support wrapX for attributions

The intersection tests for attributions currently fail when testing against tile ranges from an extent of a view that wraps the x-axis. This is fixed by letting attributions know about the world extent.
Fixes #999.

What do you think about https://github.com/elemoine/ol3/commit/6080f864bfc3f6c0bb6faf784975491dd5bc6de8?
If you agree with my commit could you please merge the three commits into one before merging?

Please merge when the build passes on Travis. Thanks!