Provide API to unify bank/send and cw20/transfer for native contracts

Builds on #372
CC: @sunnya97

Most modules today are being built for dealing with sdk.coins, and its important to have CosmWasm issued tokens be compatible with them
The big obvious one is IBC
But there's many others.  For example, the AMM module that's being built
Requiring every module support both sdk.Coins and CW20 concurrently will be a large overhead imo

I agree this is difficult (and undocumented) currently. We put some nice work in on the contract side to unify these types. See how we just wrap the input into an enum (Native or Cw20) at the input lines:
https://github.com/CosmWasm/cosmwasm-plus/blob/master/contracts/cw20-escrow/src/contract.rs#L41
https://github.com/CosmWasm/cosmwasm-plus/blob/master/contracts/cw20-escrow/src/contract.rs#L56-L62
And then we can handle them more or less the same: (we add a whitelist for cw20 tokens, but the adding logic is identical): https://github.com/CosmWasm/cosmwasm-plus/blob/master/contracts/cw20-escrow/src/contract.rs#L134
We could provide some go helper functions to allow native modules to use such abstractions and easily support both native and cw20 tokens with the same code. One issue I see if dependencies... if compiling the module for a non-CosmWasm-enabled chain, you just want the native path. Otherwise, you want both. This may be possible compile-time with go tags, but we would need to experiment there as well

As I start working more with cw20 and see the real value is where they deviate from the standard bank tokens, I think this could be problematic. No one really handles failing sends well, and there are some panics in bank as well. Trying to put a complex, possibly failing logic into the same interface can cause issues... especially possible reentrancy attacks.
I don't think this is a good idea - people can support both, but should be conscious of the difference


chore: add logging & disable logging for rust ext

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#232  👈
#231
#230
#229
#228
#227
#226
#225
#224
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @NathanFlurry and the rest of your teammates on  Graphite


Considering the use of ES5 accessors

I find this ES5 plugin awesome working with typescript and knockout. In terms of development I find writing myself Plain Javascript when using this one. Could you consider this to support it by default?

Thanks for the feedback.
There are some issues with the ES5 plugin, but the idea behind it is great.
Another cool option will be ES6 Proxies.
Will mull this. 😀

In ES6 Proxies, what would be the best way for the developers to interact with it?
Is it something like this one?
function Person(){
  this.name = 'Sample'
  this.age = 15
  //Option 1
  return new Proxy(this, makeObservableHandler)
}
//Option 2
var personInstance = new Proxy(new Person(), makeObservableHandler)

Another cool option will be knockout-decorator.
And also can you point me to issue that you mean on ES5 plugin?

Thanks re. knockout-decorator.  Didn't know about that.
ES6 proxies would look something like that -- except they'd trigger dependency checking and potentially update automatically (computeds).  We'd need a whole new and thorough API for that, and since proxies cannot be shimmed and are poorly supported right now it's unlikely to make it into a mainline design anytime soon.
Re. ES5 - There are a few on the knockout/knockout issue tracker e.g. https://github.com/knockout/knockout/issues/1789

I don't think it is an issue(#1789). In order to pass observable in html binding with nested component or plugins, developers need to use ko.getObservable($data, 'propertyName').
I made a pullRequest in order for ko.getObservable to work with knockout-es5 property and normal declared observables.
Also notice this example when passing property name in component's param, knockout evaluates it as a computedObservable. But when passed it using ko.getObservable it becomes observable.


Problem with 'interstitialSection'

I need to get this effect: header and footer.
But if I have more content than the height of the window -  it does not work.
Look: jsfiddle

Thanks, will investigate this

@lukehaas, I'm looking forward :)

@lukehaas if you need another sample let me know, having the same problem.

@lukehaas when can we expect the npm package to update?

Maybe a couple of weeks, trying to resolve a number of issues before the next release.

Sounds great!
On Mon, Mar 13, 2017 at 2:20 PM, Luke Haas<EMAIL_ADDRESS>wrote:

Maybe a couple of weeks, trying to resolve a number of issues before the
next release.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/lukehaas/Scrollify/issues/219#issuecomment-286214934,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKysNbQj3qmyXYdRb96UTqwkEVKsldG0ks5rlZcbgaJpZM4MYASb
.

Fix for this is now available in 1.0.14

Facing the same issue after updating JS too. Unable to scroll on footer.

@lukehaas please look on the same


openAMQPCommunication doesn't call the callback when VHOST doesn't exist

When a certain VHOST does not exist, the openAMQPCommunication should call the callback with the error as response. Right now it never actually calls the callback.
If the VHOST is set up correctly, the callback is executed.
I added the following to my code:
this.socket.on('data', (data) => {
        console.log('\n' + data.toString());
});

And I notice the following output:
NOT_ALLOWED - access to vhost '/random' refused for user 'guest'

Terribly sorry. I should have continued on reading. For future reference:
handle.on('channel.close', function(channel, method, data) {
    console.log('channel ' + channel + ' closed by server');
});

and
handle.on('connection.close', function(channel, method, data) {
    console.log('channel ' + channel + ' closed by server');
});

Will allow you to respond to such errors and act accordingly.


Implementation of measurements of harmonics

It seems that opensauce-python only implements various methods to extract f0 and formants, which voicesauce had more measures implemented, right?
Opensauce is stated to not be updated anymore, so I guess harmonic amplitudes and cpp will be implemented here? Or is VoiceSauce actually the most updated version still? Perhaps the state of packages needs to be clarified so the user may know which one to use.
It seems now that the praatsauce port may be the most up-to-date right now?
https://github.com/kirbyj/praatsauce

Hi Frederik, thank you for your note! We had been working on implementing the harmonic amplitudes and CPP, but it turned out unfortunately that porting from Matlab to Python ended up being surprisingly trickier than anticipated and the personnel working on this left the project.  I am hoping to resume work on this soon, but in the meantime, I would recommend using VoiceSauce, the Matlab version, if you have access to Matlab (or can use the standalone version, if you have a PC), and if you want the most updated version.
PraatSauce is also not a complete port, most importantly because it does not have the F0 implemented with the straight algorithm, which affects computations downstream, but it is much more complete than the python port in progress here and is useable in its current state for voice measures, unlike the software here. So it's a good alternative if you can't use VoiceSauce (the Matlab version).

Thank you for the reply. I see the problem. However, I feel that I need to report here then, as I cant find a github page or similar where I can post voicesauce issues, that I am having huge problems running the analysis on in OSX. The issue seems to be that the snack library is considered not verified by the OS. I disable all snack analyses, but somewhere VoiceSauce still uses snack to do parts of the analysis, so I get no measurements out of it.


Add UI dispatch app

Add an additional field to savedsearches.conf called
request.ui_dispatch_app = SplunkEnterpriseSecuritySuite
This ensures proper tracking/accounting for the context under which searches run in-app.
There are a number of changes to other Jinja2 template files because we now pass the entire app object (from contentctl) into the Jinja2 conf file templates, not just the APP_NAME string.  This gives us more flexibility with what makes it ultimately into the conf file!

@pyth0n1c there seems to be quite a few changes outside adding the field on this PR, can you open one without the other commits?

@pyth0n1c there seems to be quite a few changes outside adding the field on this PR, can you open one without the other commits?

I have removed the original purpose of this PR (see the updated description, we will no longer add request.ui_dispatch_app to savedsearches.conf). This PR is now entirely the other structural and hygiene improvements to the codebase.


get failed: exit status 128 when using dev tag

I am getting get failed: exit status 128 when trying to run a pipeline, the relevant parts of which are here:
resource_types:
  - name: github-pr
    type: docker-image
    source: { repository: teliaoss/github-pr-resource, tag: "dev" }
    check_every: 720h

resources:
  - name: pr-src
    type: github-pr
    source:
      repository: myorg/myrepo
      access_token: ((my-access-token))

jobs:
  - name: pr-check
  plan:
      - get: pr-src
        trigger: true
        version: every

But the only output I'm getting is:
Initialized empty Git repository in /tmp/build/get/.git/
2019/03/21 12:14:37 get failed: exit status 128

I have made sure that the user associated with the access token has write permissions on the repo (not sure if this is actually needed)
I have looked through https://github.com/telia-oss/github-pr-resource/issues/35, which resulted in me attempting this with tags of: v0.6.0, v11.0.0 and dev

Hey and thanks for the issue! The exit status 128 suggests to me that it is an exit code from running git commands, but anything that can return an error usually adds some context via fmt.Errorf("something: %s", err). I.e., your error message should read something like get failed: <reason>: exit status 128 if you are running on the latest dev tag?
So I'm wondering, do you still have this issue or did Concourse suddenly discover a newer SHA for the resource? If so, are you hitting some kind of Docker hub cache? 😂

I think it was a problem with git configuration, as I can run it locally when not run though concourse. I'll close this, as it won't be a problem with github-pr-resource


Add AM/PM selector to Date Time Picker

Feature Request
Description
We would like to have a AM/PM selector to pick times instead of going based on 24 hr format.

This is a duplicate of #574


Is there a plan for C++-weaver?

This framework is really amazing, is there any plan for developing a C++ version?

Hi Collin,
This is a question that has better visibility if posted here. See this thread for discussions around multiple languages support.
If we decide to support multiple languages support, we will probably start with Java and Python.
Thanks,

Robert


Make MPI functions dynamically loadable

...not an empty description...

Codecov Report

Merging #641 (e544ac7) into master (e2737dd) will increase coverage by 0.20%.
The diff coverage is 62.96%.

@@            Coverage Diff             @@
##           master     #641      +/-   ##
==========================================
+ Coverage   54.24%   54.45%   +0.20%
==========================================
  Files         102      106       +4
  Lines        8388     8466      +78
==========================================
+ Hits         4550     4610      +60
- Misses       3838     3856      +18

Impacted Files
Coverage Δ

coreneuron/apps/main1.cpp
48.73% <ø> (ø)

coreneuron/gpu/nrn_acc_manager.cpp
45.28% <ø> (ø)

coreneuron/io/lfp.hpp
100.00% <ø> (ø)

coreneuron/io/nrn_setup.cpp
85.32% <ø> (ø)

coreneuron/io/phase2.cpp
64.41% <ø> (ø)

...eneuron/io/reports/report_configuration_parser.cpp
0.00% <ø> (ø)

coreneuron/io/reports/report_handler.cpp
0.00% <ø> (ø)

coreneuron/mpi/core/nrnmpi.cpp
0.00% <0.00%> (ø)

coreneuron/network/multisend_setup.cpp
81.52% <ø> (+0.07%)
:arrow_up:

coreneuron/network/netpar.cpp
42.18% <ø> (-0.14%)
:arrow_down:

... and 13 more

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 e2737dd...e544ac7. Read the comment docs.

I use corenrn_param.mpi_enable but there is too nrnmpi_use. We should cleaning it a bit...


[R] Add evaluation set and early stopping for xgboost()

ref https://github.com/dmlc/xgboost/issues/9810
This PR adds the evaluation set and early stopping functionality to the new xgboost() function.
Due to the data processings that this new interface does (e.g. encoding of factors for both 'x' and 'y'), it only allows specifying the evaluation data as a subset of the x/y data, either as a random fraction or by selected row indices, as otherwise taking lists of data would require a lot of hassle with encodings, variable reorderings, and so on.

Just realized that verbosity wasn't being passed from xgboost() to params. Fixed it here, so that there's only one verbosity parameter to control.


Is it just me or does every single build from Actions crash whenever you play like 20+ seconds of a song?

What is your question?
Seriously, why does every build crash? I just wanna use function earlyEventTrigger! It’s not even related to the function, it crashes even with base game, no mods if it’s a build from Actions! What’s going on! It doesn’t even give a report, it just dies!

Are you not getting a window when it crashes?

None


PMD: fix other deprecated command line arguments

Commit eac2e95d3e19a3562ace0a741b561a620c5a833e (#15) addressed the deprecation of -filelist by --file-list, but didn't consider other affected command line arguments.
The present change aims at paying that debt:

-auxclasspath by --aux-classpath,
-no-cache by --no-cache.

Short form arguments (-R, -f) are not affected.
See https://pmd.github.io/2021/11/27/PMD-6.41.0/

@illicitonion sorry for having filed an incomplete PR.

Thanks, Daniel!


The configuration file 'Config.json' was not found and is not optional.

i try to run my app and it shows this error:
Excepción no controlada: System.IO.FileNotFoundException: The configuration file 'Config.json' was not found and is not optional.
i declare my config.json as following:
public IConfiguration Configuration { get; set; }
    public Startup(IHostingEnvironment env)
    {
        var builder = new ConfigurationBuilder().AddJsonFile("Config.json");
        Configuration = builder.Build();
    }

Is it running on Linux, where the file system is case-sensitive? Can you upload your project to GitHub?

im running it in windows

@jcsotoo92 which version of MVC are you running? is it the latest out of dev?, if yes then you might need to set the base path ex: https://github.com/aspnet/MusicStore/blob/dev/src/MusicStore/Startup.cs#L24

im using the latest, i put the base path and the problem continue

Could you share a repro project?

https://github.com/jcsotoo92/ProjectGrole.git

https://github.com/jcsotoo92/ProjectGrole.git

Thanks for the repro project. Looks like you need to update the project.json file to have the "content" node and have Config.json specified here.
Example: https://github.com/aspnet/MusicStore/blob/dev/src/MusicStore/project.json#L22

Thanks @kichalla !! it works

@kichalla @jcsotoo92 could you kindly check my similar problem here I didn't quite understand when you asked to update project.json file to have content node with config.json specified there. It would be of great help if you post a snippet to solve my issue.
Thanks

In project.json include all files:
"publishOptions": {
"include": [
"wwwroot",
"web.config",
"config.json"
]
},


json schema for create_shipping_label in shipment_request is wrong

Your JSON schema says that the create_shipping_labelfield accepts a boolean value.
It turned out that this boolean value has to be enclosed by quotation marks to get it to work, which in my mind is not correct. There should be a hint on that issue.
Also the Shipcloud API should accept real boolean values to make things easier.

Hey @PhilReinking we're allowing both (boolean and string value), because of legacy reasons, but would love to receive boolean. Could you send us the request you were trying to send at<EMAIL_ADDRESS>so we can have a look?


Updates to vscode changes

Issue #, if available:
Description of changes:

Updates related to vscode changes
Find cfn templates where the first line is Resources and there is no AWSTemplateVersion

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@kddejong excited for this to be released!


ANC Subs Visit - Symptom Review Follow Up Questions [4h]

Issue
Certain symptoms in the symptom review will require follow-up questions which will later determine the diagnosis. If these symptoms are selected in the first screen, the appropriate follow-up questions will appear.
First, a user will select the symptoms the patient is experiencing. Then they will press save. Next, a screen populates with the follow-up questions for the selected symptoms. If more than one symptom requiring a follow-up question is selected, then the corresponding questions will all populate on one screen. The answers to these questions will then inform diagnoses in the next steps section.
Note: Not all symptoms have follow-up questions.
Here are the symptoms with follow-up questions and their corresponding questions.

Nausea + Vomiting
Pelvic Pain (added onto N+V as an example of stacking
Leg Pain

Leg Redness
>3 Week Cough

Burning on Urination
Vaginal Discharge

Design Files:
You can see the full flow in the Subsequent Visit section in the ANC Health Center file on figma here.
To Do:

Create logic for follow-up questions to populate
Ensure follow-up questions stack

@jeanette-pelizzon

First, a user will select the symptoms the patient is experiencing. Then they will press save. Next, a screen populates with the follow-up questions for the selected symptoms.

This division to 2 screens is technically complex, and may not be necessary.
If we insist on it, there should be an option of going back to first screen to edit the symptoms.
I suggets top make follow up questions dynamic, so, when symptom is selected,
it's questions appear on the bottom.

@jeanette-pelizzon
Leg pain and leg redness, got similar questions (at discription it's same screenshot which is a mistake, but even at Figma we have similar ones).
Can you please make a design when these 2 are stacked together?

@jeanette-pelizzon

Making this dynamic is overcomplicating things. We can have 4 checkboxes with options: No, left, right, both.
Similar to:

Making this dynamic is overcomplicating things. We can have 4 checkboxes with options: No, left, right, both. Similar to:

Okay, updated the design:

We have combined leg pain and leg redness into one symptom called "Leg pain or redness." Here is the new combined follow up screen/questions.

 for this symptom
// @anvmn

https://nutrition-ihangane.pantheonsite.io/
QA Review
Checked and approved:

Nausea + Vomiting
Pelvic Pain
Leg Pain

>3 Week Cough
Burning on Urination
Vaginal Discharge


Uncaught Error: Cannot find module "swipe-js-iso"

I'm getting this error "Uncaught Error: Cannot find module "swipe-js-iso" when I try to use this module in my project. I am using React 0.14.

@justinireland what npm version do you use? swipe-js-iso is peerDependency (https://github.com/jed/react-swipe/blob/gh-pages/package.json#L37) in npm 3+ you need to manually install it by yourself.

I had tried that but I don't think webpack was rebundling it all. Its working now. Thanks.


Kamal, unable to setup different loggin configuration for each accesory

I can setup the loggin driver, but is apply to all the containers that I am starting, Traefick, web, db,. ( all the accessories)
I think will be more powerful to being able to setup the logging drive to each container, independly
like this
service: my_app

image: image

servers:
   web:
     hosts:
      - aaa.bbb.ccc.ddd
     options:
        network: "private" # This is important!

registry:
  username: user
  password:
    - KAMAL_REGISTRY_PASSWORD

env:
  clear:
    DATASOURCES_DEFAULT_USERNAME: "postgres"
    DATASOURCES_DEFAULT_URL: "jdbc:postgresql://my_app-db:5432/my_awesome_app_production"
  secret:
    - DATASOURCES_DEFAULT_PASSWORD

accessories:
  db:
    image: postgres:16
    host: aaa.bbb.ccc.ddd
    env:
      clear:
        POSTGRES_USER: "postgres"
        POSTGRES_DB: "my_awesome_app_production" # The database will be created automatically on first boot.
      secret:
        - POSTGRES_PASSWORD
    directories:
      - data:/var/lib/postgresql/data
    options:
      network: "private" # This is important!
     logging:
   driver: syslog
      options:
        syslog-address: "tcp+tls://other_server.com"
        tag: "my.app.kamal.db:"

traefik:
  options:
    network: "private"
  logging:
    driver: syslog
    options:
      syslog-address: "tcp+tls://xxxxxx.com"
      tag: "my.app.kamal.traefik:"

logging:
  driver: syslog
  options:
    syslog-address: "tcp+tls://xxxxxx.com"
    tag: "my.app.kamal.app:"

Interesting idea, but not something we're likely to pursue. Feel free to open a PR if you pursue it and want feedback on the implementation.

thanks @dhh , I will try although I am not a ruby developer yet :)


Qustions about benchmark

Sorry for filing #2095 before asking an issue! :(
I want to ask some questions as below:

How many types of benchmark do we have?
How can users run benchmark(may be fixed by #2095)?
Is it necessary to post an official benchmark report for each release version?
Store benchmark may be related to disk type, query benchmark may be related to network speed,  resource is also an influencing factor, improve those factors would improve benchmark but limited i think, so where is the limit?(Of course, comparing benchmark with same resource is more meaningful )

cc @thanos-io/thanos-maintainers

update

How many types of benchmark do we have?

Types?
Microbenchmarks and some attempts of e2e benchmarks in https://github.com/thanos-io/thanosbench.
Some ideas were also stated here: https://github.com/yeya24/thanos/pull/26#issuecomment-616067696

How can users run benchmark(may be fixed by #2095)?

funcbench would be awesome. Some automation (but not bash scripts).

Is it necessary to post an official benchmark report for each release version?

It would be nice to have such a rule. Similar to what Prometheus has: https://github.com/prometheus/prometheus/pull/7139#issuecomment-615932542

Store benchmark may be related to disk type, query benchmark may be related to network speed, resource is also an influencing factor, improve those factors would improve benchmark but limited i think, so where is the limit? (Of course, comparing benchmark with same resource is more meaningful )

True. It'is all about the requirements we give. What are we optimize for? Latency?

update

I responded, what else is missing? If nothing, let's close this.


Request: SDXL-Lightning checkpoint model

Could you add the following hugging face model:
https://huggingface.co/ByteDance/SDXL-Lightning

These are already available:
sdxl_lightning_1step_x0.safetensors
sdxl_lightning_2step.safetensors
sdxl_lightning_4step.safetensors
sdxl_lightning_8step.safetensors
So too are the loras and unets.
https://github.com/fofr/cog-comfyui/blob/main/supported_weights.md


Auto-generate CHANGELOG

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: uint:x: CICI seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Idea: rather than appending to the committed file (problematic due to how tags aren't technically related to any branch, error-prone), upload a partial CHANGELOG to the description of a release.


cannot add butterknife on separate android module

im separating my app in different modules in a same android project, i want to use butterknife in one of the modules, but it doesn`t recognize the command @InjectView(R.id.something), i can move everything to one module again and it works fine, but in a separate module it his own graddle and all the config setted up, it just not working, is like a conflict with the R object or something like that.

Butter Knife does not support library projects because the R.id constants are not final. This is a limitation of Java's annotations and the Android SDK. Nothing we can do about it, sorry.

@JakeWharton
Are there any updates on this issue? What is the alternative?


codeowners: Move code ownership to maintainer team

Motivation for this change
Since we now have a maintainer team and @NixOS/php, I thought we can move the code ownership to the team :slightly_smiling_face:
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[X] Fits CONTRIBUTING.md.

Could you change the commit message to clarify that this is for php?


BUG: base_score attribute of the XGBTreeModelLoader is broken for all exponential losses (e.g. tweedie, poisson)

Issue Description
When trying to run a TreeExplainer for a XGBoost model setup with the tweedie loss, I get an error stating that some internal self.base_score of the TreeExplainer object cannot be found.
Minimal Reproducible Example
from xgboost import XGBRegressor
import shap
import numpy as np

X, y = np.random.randn(100, 5), np.random.exponential(size=100)
model = XGBRegressor(
    objective="reg:tweedie",
)
model.fit(X, y)
explainer = shap.TreeExplainer(model)

Traceback
File .../xgboost_error.py:7
      3 model = XGBRegressor(
      4     objective="reg:tweedie"
      5 )
      6 model.fit(X, y)
----> 7 explainer = shap.TreeExplainer(model)

File .../site-packages/shap/explainers/_tree.py:195, in TreeExplainer.__init__(self, model, data, model_output, feature_perturbation, feature_names, approximate, link, linearize_link)
    193 self.feature_perturbation = feature_perturbation
    194 self.expected_value = None
--> 195 self.model = TreeEnsemble(model, self.data, self.data_missing, model_output)
    196 self.model_output = model_output
    197 #self.model_output = self.model.model_output # this allows the TreeEnsemble to translate model outputs types by how it loads the model

File .../site-packages/shap/explainers/_tree.py:1090, in TreeEnsemble.__init__(self, model, data, data_missing, model_output)
   1088 elif safe_isinstance(model, "xgboost.sklearn.XGBRegressor"):
   1089     self.original_model = model.get_booster()
-> 1090     self._set_xgboost_model_attributes(
   1091         data,
   1092         data_missing,
   1093         objective_name_map,
   1094         tree_output_name_map,
   1095     )
   1096     # Some properties of the sklearn API are passed to a DMatrix object in
   1097     # xgboost We need to make sure we do the same here - GH #3313
   1098     self._xgb_dmatrix_props = get_xgboost_dmatrix_properties(model)

File .../site-packages/shap/explainers/_tree.py:1315, in TreeEnsemble._set_xgboost_model_attributes(self, data, data_missing, objective_name_map, tree_output_name_map)
   1308 def _set_xgboost_model_attributes(
   1309     self,
   1310     data,
   1311     data_missing, objective_name_map,
   1312     tree_output_name_map,
   1313 ):
   1314     self.model_type = "xgboost"
-> 1315     loader = XGBTreeModelLoader(self.original_model)
   1317     self.trees = loader.get_trees(data=data, data_missing=data_missing)
   1318     self.base_offset = loader.base_score

File .../site-packages/shap/explainers/_tree.py:1873, in XGBTreeModelLoader.__init__(self, xgb_model)
   1864     self.base_score = scipy.special.logit(base_score)
   1865 elif self.name_obj in (
   1866     "reg:gamma",
   1867     "reg:tweedie",
   (...)
   1871 ):
   1872     # exp family
-> 1873     self.base_score = np.log(self.base_score)
   1874 else:
   1875     self.base_score = base_score

Expected Behavior
The base_score attribute should be initialised properly with no error.
The line 1873 should be self.base_score = np.log(base_score) without referring to self.
Bug report checklist

[X] I have checked that this issue has not already been reported.
[X] I have confirmed this bug exists on the latest release of shap.
[X] I have confirmed this bug exists on the master branch of shap.
[X] I'd be interested in making a PR to fix this bug

Installed Versions
shap==0.45.0

This issue also exists for objective="count:poisson"

using xgboost (2.0.3) and shap (0.45), I get the following error trace. It seems like it might be related to the same issue.
AttributeError Traceback (most recent call last)
Cell In[32], line 2
1 # Create the SHAP explainer with the model
----> 2 explainer = shap.TreeExplainer(fit_xgb)
4 # Compute SHAP values for the training set
5 shap_values = explainer.shap_values(preprocessed_data)
File c:\n\venv\Lib\site-packages\shap\explainers_tree.py:195, in TreeExplainer.init(self, model, data, model_output, feature_perturbation, feature_names, approximate, link, linearize_link)
193 self.feature_perturbation = feature_perturbation
194 self.expected_value = None
–> 195 self.model = TreeEnsemble(model, self.data, self.data_missing, model_output)
196 self.model_output = model_output
197 #self.model_output = self.model.model_output # this allows the TreeEnsemble to translate model outputs types by how it loads the model
File c:\n\venv\Lib\site-packages\shap\explainers_tree.py:1063, in TreeEnsemble.init(self, model, data, data_missing, model_output)
1061 elif safe_isinstance(model, “xgboost.core.Booster”):
1062 self.original_model = model
-> 1063 self._set_xgboost_model_attributes(
1064 data,
1065 data_missing,
1066 objective_name_map,
1067 tree_output_name_map,
1068 )
1069 elif safe_isinstance(model, “xgboost.sklearn.XGBClassifier”):
…
-> 1873 self.base_score = np.log(self.base_score)
1874 else:
1875 self.base_score = base_score
AttributeError: ‘XGBTreeModelLoader’ object has no attribute ‘base_score’

I am having the same bug for v0.45.0 using the cox loss. Downgrading to v0.44.1 is a temporary solution.

Same issue here shap == 0.45.0, pls fix it ASAP! really need it to explain a survival:aft model


Update to version 1.95-4.12, update recipe

Checklist

[x] Used a fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I wanted to let you know that I linted all conda-recipes in your PR (recipe) and found some lint.
Here's what I've got...
For recipe:

Using toolchain directly in this manner is deprecated.  Consider using the compilers outlined here.

two windows builds....  maybe caused by the selectors # [osx and c_compiler=="toolchain_c"] and rerender ... those lines should not be required anymore? ...

@conda-forge-admin, please rerender

Looks better now.


add variant definition of lcurl_url_t

like in lceasy.h
avoid this build error
In file included from src/lceasy.c:12:0:
src/lceasy.h:57:25: error: expected ';', identifier or '(' before 'struct'
     #define lcurl_url_t struct lcurl_url_tag
                         ^
src/lcurlapi.h:26:2: note: in expansion of macro 'lcurl_url_t'
 }lcurl_url_t;
  ^

Error: Build error: Failed compiling object src/lceasy.o

Coverage remained the same at 64.982% when pulling 20a5b3d355b45cb516ee6963a1b5047fcba3d993 on fperrad:patch-1 into e0b1d2ee3db3d7a5ac465eb13dc8e2a920bba9d6 on Lua-cURL:master.

I see no problem with the defenition of lcurl_url_t type.
Its create totaly valid type. I belive problem that I do not undef lcurl_url_t macro in the lceasy.h.
Can you please check out #142.
Also may be you know how to reproduce this error on Travis/AppVeyor?
I do run tests on GCC/MSVC

#142 works for me.


Setting are not being saved

Microsoft PowerToys version
"0.49.1"
Running as admin

[X] Yes

Area(s) with issue?
General, PowerToys Run, Shortcut Guide
Steps to reproduce
If i customize any setting like show 5 lists in Power Run instead of 4 it does not save it and hence reopen with only 4 list , i also turned of shrocut guide but it keeps getting turned on.
✔ Expected Behavior
No response
❌ Actual Behavior
If i customize any setting like show 5 lists in Power Run instead of 4 it does not save it and hence reopen with only 4 list , i also turned of shrocut guide but it keeps getting turned on.
Other Software
No response

Could you attach a full bug report file?
Right-click on the tray icon and click Report Bug. Then drag-and-drop the generated file into the GitHub comment to upload it. Thanks!

i can't repo this, we need to see the report before we can debug

I also tested on Win11 + 0.49.1

PowerToysReport_2021-11-18-12-26-40.zip

@helloitsgaurav
Looking at the logs, it seems your settings are being saved correctly.
I see that the results shown is set to 6 for PowerToys Run and Shortcut Guide is disabled.
But then the settings app seems to be unable to load the files from disk to show the current settings.
In terms of behavior, what are you observing? Are you able to call shortcut guide by pressing the shorcut?
Is PowerToys Run showing 4 or 6 results?

Yes the results shown is set to 6 for PowerToys Run and Shortcut Guide is disabled
In terms of behavior, what are you observing?
Are you able to call shortcut guide by pressing the shorcut?
Is PowerToys Run showing 4 or 6 results?
I have turned on the run at startup option but when i use shortcut to open run it doesn't i first have to open powertoys from the show hidden icons drawer once then it starts working  , it shows 6
I think the issue of saving of settings have been resolved it seems to remember my settings

Weird. What might've happened? Some sort of two instances at the same time?
Glad it's fixed now. Thank you for the feedback.


Fix missing event argument in Banking App Part 1

Event must be passed as argument when binding onClickLink to onclick attribute, otherwise event is undefined and an error is thrown on event.preventDefault().

@sinedied could you take a look? Thanks, Ari, for all the translations files edits!!

Thanks for the catch!


Automator: update<EMAIL_ADDRESS>dependency in<EMAIL_ADDRESS>

Generated by Automator - 2022-01-21T15:15:31+00:00

@istio-testing: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

unit-tests_istio_release-1.13
c42ebf67feb8b4e5f2a6a9efbf6b8b6b7cc66ab6
link
true
/test unit-tests_istio_release-1.13

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Shrink SocketInput lock

Reduce work in lock.
Follow up to #801

Makes LargeFileUpload even more grumpy :(


Word wrapping for dynamic data

Would it be possible to add some way of wrapping text so that it doesn't go out of the bounds of the text object

In this example the text is too long to fit on the label but it would fit if it went onto another line

Fixed. It's a wonder I didn't do it sooner 😄

Wow, that was so quick.
Thank you so much
On Tue, Nov 5, 2024 at 8:12 PM MultiMote @.***> wrote:

Fixed. It's a wonder I didn't do it sooner 😄
image.png (view on web)
https://github.com/user-attachments/assets/0e4b0445-9447-4794-935b-9844ca64dd8a
image.png (view on web)
https://github.com/user-attachments/assets/9541bcdc-bcd0-4a1f-b318-3f3107548e7d
—
Reply to this email directly, view it on GitHub
https://github.com/MultiMote/niimblue/issues/44#issuecomment-2457858460,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMX7UOV2XUB2ZRS37DWALRLZ7EDATAVCNFSM6AAAAABRG4V5ZSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJXHA2TQNBWGA
.
You are receiving this because you authored the thread.Message ID:
@.***>


How do i use this without composer.

You may wanna check this: https://github.com/CharlotteDunois/Yasmin
It's well written PHP Library for Discord. I was using DiscordPHP and migrated over to this one.

Lol writing discord bot in php

You can't.


[math] interactive math tutorials

tutorials

circles-sines-signals
complex-analysis
d3 graph theory

open-source tools

sagemath: a free open-source mathematics software system
CoCalc: Collaborative Calculation in the Cloud
geogebra

collections

awesome-scientific-computing

lecture notes

Linear-Algebra-and-Its-Applications-notes
A-Complete-Digital-Communication-System: matlab demo


fix: dev-2057: width is auto adjustable

calculate row width based on the biggest visible taxonomy item

merged a while ago


Implement GroupedDataset API at spark 1.6.0

We are not currently supporting Datasets as a strongly typed Object is not a good fit for JavaScript

This will be needed for Spark 2.0 DataFrames replaced with Datasets,Row> #204


Run Smoke Tests in CI

Adds:

Http service to the beacon relayer to check if the relayer is running
Bash script to run the smoke tests
Bash script to check if the beacon relayer is running
Minor changes to get the e2e stack to work in GA

Resolves: SNO-857
Polkadot-sdk companion: Smoke Tests in CI #113

Why do we need the health check?

@alistair-singh The start-services.sh script is run in the background: https://github.com/Snowfork/polkadot-sdk/pull/113/files#diff-ebcd3a3b6186ad4cf5cf2337ff84cc4692492610301fefb171509d671bf9f507R62
So I needed a way to know if the E2E stack is complete. I'm open to better ideas. 😅 I guess I could just check if the relayer process is running 🤷🏻♀


provide a RESTful API

in order to use the bigchaindb remotely in a fully language agnostic way, there should be a RESTful interface with JSON as serialization format.
this way, 3rd party developers can provide wrappers for various programming languages.

+1 Upvote and :heart:

A client-database API/protocol is definitely in our roadmap.
We've talked a bit about the options, including a RESTful API with JSON serialization. Some databases do have an API like that, but JSON wasn't designed to be an easy-to read query language format, so you end up with really convoluted-looking queries-as-JSON.
Most application developers shouldn't be thinking about the client-database API anyhow; they should be working with the API presented by their language-specific SDK/driver, which should follow the conventions of their programming language. Because of that, the client-database API is somewhat irrelevant to application developers, so long as it can do everything it should do.
Anyway, there are pros and cons to the various choices and we're happy to discuss them.

usually the queries are not in JSON format. only the response from the server is.
queries are usually done with the Open Data Protocol (OData) or something similar.

GraphQL also seems to be quite popular now. Or maybe a CRUD JSON-RPC API with different endpoints mapping to a query builder that runs the query based on passed arguments.

We had an internal discussion about this today and the client-server API will indeed be RESTful with JSON as the serialization format. @vrde will start by documenting the API using Apiary; everyone can then review that.

@MovGP0 @genecyber @Mec-iS please take a look at PR #102 - it adds a RESTful API and is currently under review. It will probably be merged sometime today. The comments there mention stuff that is deferred until later.
https://github.com/bigchaindb/bigchaindb/pull/102
There is also some documentation of the new API at http://docs.bigchaindb.apiary.io/#

I just merged the PR. There are still features missing. Some of them are here.


Connection address isn't shown for local connection in DB Navigator

Hi,
with the last update of Dbeaver I have seen that near the connection's name it appears the address of the database.
I noticed that not in every connection this is activated/implemented. Why?
Is a bug or a wrong configuration?

Hi @Ferrox12 , can you tell for which connection address isn't shown? thanks in advance

I use only OracleDB connection

Is it something special in database where host isn't visible? probably they are local?

Yes they are local

Fixed

verified


Support for serializing to Spans

I propose new overloads for Serialize and Deserialize which operate on a Span<Byte> and ReadOnlySpan<T>, respectively.
Additionally, a new method would be required which returns the calculated size of the serialized object. Something like GetSerializedByteLength.
Together, it would enable zero-allocation serialization on the stack like this:
const int maxStackAllocSize = 4096;
var length = MemoryPackSerializer.GetSerializedByteLength(v);
Span<byte> buf = length <= maxStackAllocSize ? stackalloc Byte[length] : new Byte[length];
MemoryPackSerializer.Serialize(v, buf);
var val = MemoryPackSerializer.Deserialize<Person>(bin, buf);

If zero-allocation is the goal, how about the following approach?
[ThreadStatic]
static ArrayBufferWriter<byte>? threadStaticBufferWriter;

public void Do<T>(in T? value)
{
    var bufferWriter = threadStaticBufferWriter;
    if (bufferWriter == null)
    {
        bufferWriter = threadStaticBufferWriter = new ArrayBufferWriter<byte>();
    }
    else
    {
        bufferWriter.Clear();
    }

    MemoryPackSerializer.Serialize(bufferWriter, value);

    var span = bufferWriter.WrittenSpan;
    // do anything...
}

Something like GetSerializedByteLength does not work very well.
The above approach is better from a performance standpoint.


Create a function to trim constants from the PBT mutations dict

Constant values that are not mutatable should be removed from the hyperparameter_mutations argument of PopulationBasedTraining.
Traceback (most recent call last):   File "i-score.py", line 59, in <module>     attempt_tuning(   File "/renal_allograft/code/utils/attempt_tuning.py", line 35, in attempt_tuning     scheduler = PopulationBasedTraining(   File "/usr/local/lib/python3.8/dist-packages/ray/tune/schedulers/pbt.py", line 360, in __init__     raise TypeError( TypeError: hyperparam_mutation values must be either a List, Tuple, Dict, a tune search space object, or a callable.

hyperparameter_mutations is a nested dict and top-level constants will trigger this error.
Nested constants will pass this check: https://github.com/ray-project/ray/blob/8427de2776717b30086c277e5e8e140316dbd193/python/ray/tune/schedulers/pbt.py#L360. Need to determine if they will trigger subsequent errors and need to be trimmed.

Recurse into dicts and locate and remove constant values. We will need a list of types that qualify (it might be easier to rule-in than to rule-out).


Querying about a schema using its seq# doesn't work.

Querying about a schema using its seq# still doesn't work.
The SwaggerUI doesn't accept an integer input.
I also tried using the curl request:
curl -X GET "http://__IP__:11021/schemas/42" -H "accept: application/json"

It gives me this error:
{"schema_id": ["Value 42 is not an indy schema identifier"]}

Originally posted by @Sarangc1203 in https://github.com/hyperledger/aries-cloudagent-python/pull/223#issuecomment-647133947

It's fine. Try latest master.

Yeah, it's working now. Thanks!

@sklump So this has been closed, but I think the real issue is that the OpenAPI output from Aca-py is returning "schema_json" NOT "schema" as the field in the response (version 0.5.3). I hit this with the 'typescript-fetch' output from openapi meaning I had to explicitly untype the returned API structure to get at the "schema" object returned in the body.
This is a snippet from the 'json' output when openapi/swagger codegen is run against a running 0.5.3 ACA-py for the schema get operation :
"SchemaGetResults" : {
  "type" : "object",
  "properties" : {
    "schema_json" : {
      "$ref" : "#/definitions/Schema"
    }
  }
},


Migrate from express v3 to v4

Updated minimatch to v2.0.0.
Migrated from express v3 to v4
update package.json and .travis.yml

Thanks dude! :)

Could you release a patch-updated version?

done :)

:+1:


feat(odd): labware setup hifi designs

Overview
This PR applies HiFi styling to the ODD's labware setup page
Closes RCORE-733
Test Plan
Existing unit tests were modified to expect new designs. Also manually tested on both the simulated app and the devkit.
Changelog

Added deck-map icon from Figma
Moved Map View button to its own shared component
Applied HiFi styling to labware setup page

Review requests
Please start protocol setup and look at the labware setup page.
Risk assessment
Low risk. No new functionality was added.

@koji The Map View button work (creating the new Floating Action Button component) has been done on another branch: https://github.com/Opentrons/opentrons/commit/f656453f2e418e3a2f03fb8c87956b4f64b37d16
Can you ignore all that on this branch? I don't think you had any other concerns on this branch.

@koji The Map View button work (creating the new Floating Action Button component) has been done on another branch: f656453
Can you ignore all that on this branch? I don't think you had any other concerns on this branch.

feel free to close the PR.

feel free to close the PR.

I mean I refactored the button on the other branch (since it also uses that button). This branch is still good and needs to get reviewed and merged, knowing that your requested button refactoring is coming later.

feel free to close the PR.

I mean I refactored the button on the other branch (since it also uses that button). This branch is still good and needs to get reviewed and merged, knowing that your requested button refactoring is coming later.

Why do you need to keep both branches? f656453 is pretty similar to this. If the change is big or the change is complicated, dividing changes into multiple PRs would make sense, but this is mostly button component and it doesn't use any data. I recommend you to merge f656453 into this PR.

Why do you need to keep both branches?

That button was only about 40 lines of code -- the focus of this branch is a re-skinning of the Labware Setup page.
The RCORE-734-odd-module-setup-hifi branch also uses that button but its focus is the Modules Setup page. Different ticket, different branch. I created it off of this branch so if you compare it to edge yes, everything here is there too. I do believe in good Git hygiene, with smaller focused branches containing even smaller focus commits, so that's how. my work is structured.
It's all going to the same place in the end, so really it doesn't matter. It only affects how big a PR everyone has to review, and how far it has diverged from edge in the meantime.


Configure CI

Note: builds on #77 to reduce merge conflicts
Adds to the CI:

nightly fmt
clippy
build docs
run tests

@hackaugusto see https://github.com/0xPolygonMiden/miden-vm/pull/1158

@hackaugusto can I merge this into your branch?

@hackaugusto can I merge this into your branch?

sure :)


Submissions should also be able to include new files that are part of the assignment

Is your feature request related to a problem? Please describe.
Right now files that are added by the user are ignored in the grading process.
Describe the solution you'd like
There should be an option to allow users to add files, which are then also submitted and can be referenced in auto-grading tests and manual inspection when grading.

Since we may want to limit file size or run other checks we should look into pre-receive hooks for our repositories: https://git-scm.com/docs/git-receive-pack#_pre_receive_hook

The first step will be to introduce a flag to grader-convert such as --copy-files so that this feature is supported on the convert level. User configuration will follow.

Basic functionality has been implemented. Next step is #28.


[Feature] bookcase-like shortcode

As mentioned in #28 and #20 , a bookcase-like shortcode with bookcase_resources can bring more flexibility to the advanced users.

Implemented in v2.0.0.


Proguard settings

Hello, could you guys provide proguard settings that are not the super board ones below?
-keep class com.opentok.{ ; }
-keepclassmembers class com.opentok.{ ; }
-dontwarn com.opentok.**
-keep class org.webrtc.* { ; }

In 2.17 they should look like this:
-keep class com.opentok.{ ; }
-keepclassmembers class com.opentok.{ ; }
-dontwarn com.opentok.**
-keep class org.otwebrtc.* { ; }

Hope it helps

it is 2.22.1 now and I need to add the below:
-keep class com.vonage.** { *; }


Update README to align license

The license file specifies MIT license, yet the README mentioned Apache 2.0

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


[SMALLFIX] Retry for object store open

This PR introduces a retry for the open call instantiated as part of UnderFileSystemBlockReader. Due to eventual consistency in object stores, an open (GET) after a create might fail on first attempt.
Note: UFS:open is only called for files Alluxio already has the meta-data for and expects to exist in the UFS.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/18046/
Test PASSed.

Merged build finished. Test PASSed.

Earlier I had thought about open options or the ObjectUnderFileSystem config; and decided w/ the latter. I think I prefer that as well. Reverting.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/18049/Failed Tests: 0
Test FAILed.

@calvinjia

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/18054/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/18055/
Test PASSed.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/18059/Build result: FAILURE[...truncated 2369 lines...][JENKINS] Archiving /home/jenkins/workspace/Alluxio-Pull-Request-Builder/core/client/fs/pom.xml to org.alluxio/alluxio-core-client-fs/1.7.0-SNAPSHOT/alluxio-core-client-fs-1.7.0-SNAPSHOT.pom[JENKINS] Archiving /home/jenkins/workspace/Alluxio-Pull-Request-Builder/core/client/fs/target/alluxio-core-client-fs-1.7.0-SNAPSHOT.jar to org.alluxio/alluxio-core-client-fs/1.7.0-SNAPSHOT/alluxio-core-client-fs-1.7.0-SNAPSHOT.jar[JENKINS] Archiving /home/jenkins/workspace/Alluxio-Pull-Request-Builder/core/client/fs/target/alluxio-core-client-fs-1.7.0-SNAPSHOT-sources.jar to org.alluxio/alluxio-core-client-fs/1.7.0-SNAPSHOT/alluxio-core-client-fs-1.7.0-SNAPSHOT-sources.jar[JENKINS] Archiving /home/jenkins/workspace/Alluxio-Pull-Request-Builder/core/client/fs/target/alluxio-core-client-fs-1.7.0-SNAPSHOT-tests.jar to org.alluxio/alluxio-core-client-fs/1.7.0-SNAPSHOT/alluxio-core-client-fs-1.7.0-SNAPSHOT-tests.jar[JENKINS] Archiving /home/jenkins/workspace/Alluxio-Pull-Request-Builder/core/common/pom.xml to org.alluxio/alluxio-core-common/1.7.0-SNAPSHOT/alluxio-core-common-1.7.0-SNAPSHOT.pom[JENKINS] Archiving /home/jenkins/workspace/Alluxio-Pull-Request-Builder/core/common/target/alluxio-core-common-1.7.0-SNAPSHOT.jar to org.alluxio/alluxio-core-common/1.7.0-SNAPSHOT/alluxio-core-common-1.7.0-SNAPSHOT.jar[JENKINS] Archiving /home/jenkins/workspace/Alluxio-Pull-Request-Builder/core/common/target/alluxio-core-common-1.7.0-SNAPSHOT-sources.jar to org.alluxio/alluxio-core-common/1.7.0-SNAPSHOT/alluxio-core-common-1.7.0-SNAPSHOT-sources.jar[JENKINS] Archiving /home/jenkins/workspace/Alluxio-Pull-Request-Builder/core/common/target/alluxio-core-common-1.7.0-SNAPSHOT-tests.jar to org.alluxio/alluxio-core-common/1.7.0-SNAPSHOT/alluxio-core-common-1.7.0-SNAPSHOT-tests.jar[JENKINS] Archiving /home/jenkins/workspace/Alluxio-Pull-Request-Builder/core/server/worker/pom.xml to org.alluxio/alluxio-core-server-worker/1.7.0-SNAPSHOT/alluxio-core-server-worker-1.7.0-SNAPSHOT.pom[JENKINS] Archiving /home/jenkins/workspace/Alluxio-Pull-Request-Builder/logserver/pom.xml to org.alluxio/alluxio-logserver/1.7.0-SNAPSHOT/alluxio-logserver-1.7.0-SNAPSHOT.pom[JENKINS] Archiving /home/jenkins/workspace/Alluxio-Pull-Request-Builder/core/client/pom.xml to org.alluxio/alluxio-core-client/1.7.0-SNAPSHOT/alluxio-core-client-1.7.0-SNAPSHOT.pom[JENKINS] Archiving /home/jenkins/workspace/Alluxio-Pull-Request-Builder/examples/pom.xml to org.alluxio/alluxio-examples/1.7.0-SNAPSHOT/alluxio-examples-1.7.0-SNAPSHOT.pom[JENKINS] Archiving /home/jenkins/workspace/Alluxio-Pull-Request-Builder/examples/target/alluxio-examples-1.7.0-SNAPSHOT.jar to org.alluxio/alluxio-examples/1.7.0-SNAPSHOT/alluxio-examples-1.7.0-SNAPSHOT.jar[JENKINS] Archiving /home/jenkins/workspace/Alluxio-Pull-Request-Builder/examples/target/alluxio-examples-1.7.0-SNAPSHOT-sources.jar to org.alluxio/alluxio-examples/1.7.0-SNAPSHOT/alluxio-examples-1.7.0-SNAPSHOT-sources.jar[JENKINS] Archiving /home/jenkins/workspace/Alluxio-Pull-Request-Builder/core/pom.xml to org.alluxio/alluxio-core/1.7.0-SNAPSHOT/alluxio-core-1.7.0-SNAPSHOT.pom[JENKINS] Archiving /home/jenkins/workspace/Alluxio-Pull-Request-Builder/core/server/proxy/pom.xml to org.alluxio/alluxio-core-server-proxy/1.7.0-SNAPSHOT/alluxio-core-server-proxy-1.7.0-SNAPSHOT.pom[JENKINS] Archiving /home/jenkins/workspace/Alluxio-Pull-Request-Builder/core/server/proxy/target/alluxio-core-server-proxy-1.7.0-SNAPSHOT.jar to org.alluxio/alluxio-core-server-proxy/1.7.0-SNAPSHOT/alluxio-core-server-proxy-1.7.0-SNAPSHOT.jar[JENKINS] Archiving /home/jenkins/workspace/Alluxio-Pull-Request-Builder/core/server/proxy/target/alluxio-core-server-proxy-1.7.0-SNAPSHOT-sources.jar to org.alluxio/alluxio-core-server-proxy/1.7.0-SNAPSHOT/alluxio-core-server-proxy-1.7.0-SNAPSHOT-sources.jar[JENKINS] Archiving /home/jenkins/workspace/Alluxio-Pull-Request-Builder/shell/pom.xml to org.alluxio/alluxio-shell/1.7.0-SNAPSHOT/alluxio-shell-1.7.0-SNAPSHOT.pom[JENKINS] Archiving /home/jenkins/workspace/Alluxio-Pull-Request-Builder/shell/target/alluxio-shell-1.7.0-SNAPSHOT.jar to org.alluxio/alluxio-shell/1.7.0-SNAPSHOT/alluxio-shell-1.7.0-SNAPSHOT.jar[JENKINS] Archiving /home/jenkins/workspace/Alluxio-Pull-Request-Builder/shell/target/alluxio-shell-1.7.0-SNAPSHOT-sources.jar to org.alluxio/alluxio-shell/1.7.0-SNAPSHOT/alluxio-shell-1.7.0-SNAPSHOT-sources.jar[JENKINS] Archiving /home/jenkins/workspace/Alluxio-Pull-Request-Builder/tests/pom.xml to org.alluxio/alluxio-tests/1.7.0-SNAPSHOT/alluxio-tests-1.7.0-SNAPSHOT.pomchannel stoppedArchiving artifacts
Test FAILed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/18061/
Test PASSed.


Rotating does not reset aspect ratio.

Steps to reproduce:

set rotation enabled
set custom aspect ratio
open CropActivity
Click on Rotate icon
Cropping window will not be reset according to aspect ration given,

Expected Behaviour:
Without clicking anywhere, crop window should reset automatically according to aspect ratio given.

I can't reproduce it. Used 3-to-1 aspect ratio in quick-start app and it worked as expected.

I used the latest version and it looks fixed now. I am closing this, Thanks.


prometheus: 2.1.0 -> 2.2.1

Motivation for this change
Upstream release
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
Built on platform(s)

[ ] NixOS
[x] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build prometheus

Success on aarch64-linux (full log)
Attempted: prometheus
Partial log (click to expand)
checking for references to /build in /nix/store/2ldf8vslc4ikhlqpc3ll428sj14c3qmd-prometheus-1.8.1-bin...
shrinking RPATHs of ELF executables and libraries in /nix/store/c2643fjqil3j14qvgqq7mvh4nhz535ng-prometheus-1.8.1
strip is /nix/store/3zq400fri5dv7d30lpxlqm2v9y1iis6j-binutils-2.28.1/bin/strip
patching script interpreter paths in /nix/store/c2643fjqil3j14qvgqq7mvh4nhz535ng-prometheus-1.8.1
/nix/store/c2643fjqil3j14qvgqq7mvh4nhz535ng-prometheus-1.8.1/share/go/src/github.com/prometheus/prometheus/scripts/check_license.sh: interpreter directive changed from "/bin/sh" to "/nix/store/3gg2p6n4kv2f0lsxd41f5iz1ivkbzyzr-bash-4.4-p19/bin/sh"
/nix/store/c2643fjqil3j14qvgqq7mvh4nhz535ng-prometheus-1.8.1/share/go/src/github.com/prometheus/prometheus/vendor/golang.org/x/sys/unix/mkall.sh: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/3gg2p6n4kv2f0lsxd41f5iz1ivkbzyzr-bash-4.4-p19/bin/bash"
/nix/store/c2643fjqil3j14qvgqq7mvh4nhz535ng-prometheus-1.8.1/share/go/src/github.com/prometheus/prometheus/vendor/golang.org/x/sys/unix/mkerrors.sh: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/3gg2p6n4kv2f0lsxd41f5iz1ivkbzyzr-bash-4.4-p19/bin/bash"
/nix/store/c2643fjqil3j14qvgqq7mvh4nhz535ng-prometheus-1.8.1/share/go/src/github.com/prometheus/prometheus/vendor/google.golang.org/appengine/internal/regen.sh: interpreter directive changed from "/bin/bash -e" to "/nix/store/3gg2p6n4kv2f0lsxd41f5iz1ivkbzyzr-bash-4.4-p19/bin/bash -e"
checking for references to /build in /nix/store/c2643fjqil3j14qvgqq7mvh4nhz535ng-prometheus-1.8.1...
/nix/store/2ldf8vslc4ikhlqpc3ll428sj14c3qmd-prometheus-1.8.1-bin

Success on x86_64-linux (full log)
Attempted: prometheus
Partial log (click to expand)
checking for references to /build in /nix/store/c3y35db94asn3nlka60ipsz4b59vwd55-prometheus-1.8.1-bin...
shrinking RPATHs of ELF executables and libraries in /nix/store/2g2mcvrrczn3mk2vw7waldchx2riisj0-prometheus-1.8.1
strip is /nix/store/fzcs0fn6bb04m82frhlb78nc03ny3w55-binutils-2.28.1/bin/strip
patching script interpreter paths in /nix/store/2g2mcvrrczn3mk2vw7waldchx2riisj0-prometheus-1.8.1
/nix/store/2g2mcvrrczn3mk2vw7waldchx2riisj0-prometheus-1.8.1/share/go/src/github.com/prometheus/prometheus/scripts/check_license.sh: interpreter directive changed from "/bin/sh" to "/nix/store/q1g0rl8zfmz7r371fp5p42p4acmv297d-bash-4.4-p19/bin/sh"
/nix/store/2g2mcvrrczn3mk2vw7waldchx2riisj0-prometheus-1.8.1/share/go/src/github.com/prometheus/prometheus/vendor/google.golang.org/appengine/internal/regen.sh: interpreter directive changed from "/bin/bash -e" to "/nix/store/q1g0rl8zfmz7r371fp5p42p4acmv297d-bash-4.4-p19/bin/bash -e"
/nix/store/2g2mcvrrczn3mk2vw7waldchx2riisj0-prometheus-1.8.1/share/go/src/github.com/prometheus/prometheus/vendor/golang.org/x/sys/unix/mkerrors.sh: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/q1g0rl8zfmz7r371fp5p42p4acmv297d-bash-4.4-p19/bin/bash"
/nix/store/2g2mcvrrczn3mk2vw7waldchx2riisj0-prometheus-1.8.1/share/go/src/github.com/prometheus/prometheus/vendor/golang.org/x/sys/unix/mkall.sh: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/q1g0rl8zfmz7r371fp5p42p4acmv297d-bash-4.4-p19/bin/bash"
checking for references to /build in /nix/store/2g2mcvrrczn3mk2vw7waldchx2riisj0-prometheus-1.8.1...
/nix/store/c3y35db94asn3nlka60ipsz4b59vwd55-prometheus-1.8.1-bin


[Nuke] Expose additional make_texture options through the txWriter

Description
Updates to the Nuke txWriter knob interface, based on changes we needed to make internally:

Expose "highlight compensation" option (necessary for HDR processing)
Expose constant color, monochrome, and opaque detection options
Remove mostly redundant (and broken) "output stats" knob
Write "Software" metadata containing OIIO and Nuke version strings

At some point I want to try building a more general interface for setting attributes in the outgoing ImageSpec using the available Nuke knob types (which are... limited), but I'll submit a separate PR later if that experiment comes to anything.
Tests
Not really CI-compatible, but I've put it through its paces pretty well internally.
Checklist:

[x] I have read the contribution guidelines.
[x] If this is more extensive than a small change to existing code, I
have previously submitted a Contributor License Agreement
(individual, and if there is any way my
employers might think my programming belongs to them, then also
corporate).
[ ] I have updated the documentation, if applicable.
[ ] I have ensured that the change is tested somewhere in the testsuite
(adding new test cases if necessary).
[x] My code follows the prevailing code style of this project.

Fixed up a couple of clang-format issues and squashed everything.

Yeah, that would be great. Thanks!
On Sat, Jul 13, 2019, 10:03 Larry Gritz<EMAIL_ADDRESS>wrote:

@lgritz approved this pull request.
LGTM!
Should I backport for the next 2.0 release?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/OpenImageIO/oiio/pull/2290?email_source=notifications&email_token=AAFSLO3YELHCVQ7K4IJP6EDP7IDFRA5CNFSM4ICTBF22YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB6LOX4A#pullrequestreview-261549040,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAFSLO5SKHY7GTXLGHN7BC3P7IDFRANCNFSM4ICTBF2Q
.


From where to get checkpoints please?

Hi,
From where to get checkpoints please? --ckpt_dir <ckpt dir>

Based on the act project https://github.com/tonyzhaozh/act , You will get a checkpoint after you train the policy for one task.

Cheers


[WFLY-6684]: JMS Bridge should display statistics about messages that have been processed.

Displaying 2 new statistics on JMSBridge:

number of processed messages
number of aborted messages

Jira: https://issues.jboss.org/browse/WFLY-6684
JBEAP: https://issues.jboss.org/browse/JBEAP-16579
This PR depends on https://github.com/wildfly/wildfly/pull/12178

retest this please

Dependency Tree Analyzer Output:
New Dependencies:

org.apache.activemq:activemq-artemis-native:jar:1.0.0:compile
org.glassfish:javax.el-impl:jar:3.0.1-b08-jbossorg-1:compile

Removed Dependencies:

org.apache.activemq:artemis-native:jar:2.6.3.jbossorg-00014:compile
org.glassfish:jakarta.el:jar:3.0.2:compile

This could use a rebase since some of the other PR's here have been merged.

I'm not sure why all the CI jobs either didn't run or report back, but retest this please

@ehsavoie SM failure at https://ci.wildfly.org/viewLog.html?buildId=155604&buildTypeId=WF_PullRequest_LinuxSm is related.


ProgressBar exits on error with get_sync

Due to some convoluted logic in when and how the finish callbacks were run in get_async, the finish method wouldn't be called if raise_on_exception was True. Since get_sync sets this as True, the ProgressBar would never exit if exceptions occurred.
This simplifies the logic, and ensures that finish is always called on exceptions.
Fixes #1791.

Merging soon if no comment.


Misc. Cleanups

Current coverage is 69.59%

Merging #1622 into develop will decrease coverage by -0.01% as of 346335a

@@            develop   #1622   diff @@
=======================================
  Files           908     908
  Stmts         67393   67365    -28
  Branches          0       0
  Methods           0       0
=======================================
- Hit           46910   46886    -24
  Partial           0       0
+ Missed        20483   20479     -4

Review entire Coverage Diff as of 346335a

Powered by Codecov. Updated on successful CI builds.

Looks good. Builds and tests fine in Windows. It looks like this is one of those cases where we can't help but decrease code coverage, because covered code was removed. :+1:

:+1:  Belatedly.  Nice cleanup.

Merged as f2cdeb7d9a27d692325332bf00c07df27d266e61 and 4a78b343d9453a9a4ba8f5119a4f4a65980603dd


New design Stamp Card for the loyalty system

The design of the stamp card loyalty system in the our-city-app is built by a design of former paper stamp cards. We have several merchants who use an amount of 300 stamps and up to have a full stamp card. An amount of that magnitude is very obscure for the customer when they want to check how many stamps they have got at that moment.
Example: A customer has about 240 stamps. When he wants to check his stamps he would have to scroll more than 10 times below and has to count every single stamp.
Solution: An easy design with on the upper side a text box with the amount of stamps in text, at the bottom the distribution of the prices.

Price 1: 50 stamps
Price 2: 100 stamps
-...

Hi,
Can we have a ETC of this issue so we can update.
Else If the issue is solved please put the status_resolved lable and close the issue.
Thanks!


Issue with checking motor connection

Issue:

In robot_fault_logs() when checking if a motor is disconnected it assumes that the motor was connected to begin with, so if a drive motor wasn't plugged in when the program was started the the logger would not say it was disconnected

Fixed in  v0.4.4


Drag and Drop

Is there any known issues with drag and drop functionality. Because in the newer versions of egui >24 this functionality doesnt work anymore. I cant drag and drop files from outside into my window.

Drag-dropping files works great for egui_demo_app both on my Mac and on egui.rs
Please check out this repository and run cargo run -p egui_demo_app. If drag-dropping files into the app does not work, open a new issue with details about your system!


Subreddit made for dnscrypt-proxy

I've started a subreddit for the project, it'll auto-post the new releases feed to the page. Please let me know if you'd like to be added to the moderation queue.

This is great, thank you!

Please let me know if you'd like to be added to the moderation queue.

Yes, that would be great!

Great, if I can get a list of reddit usernames to be added to the mod queue. I can have everyone added.

jedisct1 :)

Great!

Great!
The css could use some work on the old layout, I can't figure out how to toggle reddit's new layout.

The css could use some work on the old layout, I can't figure out how to toggle reddit's new layout.

No problem and thanks for the feedback @brainscar , I'm testing out the new layout by visiting https://new.reddit.com/r/dnscrypt/

Hello, I've talked to Eric of Debian in early spring this year that he may update the official packages for easy installation:
https://github.com/jedisct1/dnscrypt-proxy/issues/254#issuecomment-376846783
It took a little longer than expected, but he released a first version a few days ago and now is fully up-to-date:
https://packages.debian.org/sid/net/dnscrypt-proxy
Can the wiki be updated?
https://github.com/jedisct1/dnscrypt-proxy/wiki/Installation-linux
It should be as easy now as simply doing this on ubuntu/debian linux:
sudo apt-get install dnscrypt-proxy

Interesting label, how is an announcement off-topic? I don't have a reddit account so I merely told about the Debian packages being finally available and that the wiki still falsely claims we are on 1.9.x
https://github.com/jedisct1/dnscrypt-proxy/wiki/Installation-Debian-Ubuntu
It is your wiki, I'd probably wouldn't edit it to your liking.


move PR gate to github actions

move the PR gate to use github actions instead of azure devops

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@8bb715c). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #486   +/-   ##
=========================================
  Coverage          ?   86.61%
=========================================
  Files             ?       62
  Lines             ?     4042
  Branches          ?        0
=========================================
  Hits              ?     3501
  Misses            ?      541
  Partials          ?        0

Flag
Coverage Δ

unittests
86.61% <0.00%> (?)

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

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 8bb715c...bb20588. Read the comment docs.


New param Max

Max param will set the maximum quantity of chosen attributes must to be filled.
If you have 3 attributes but just 1 must to be filled then set max=1. Default value for max is 0(all attributes can be filled).

Resolving #12

Hello!
Someone can merge this pull request on master?

Sorry, I have been very busy studying other things last months... I will review your PR and merge if it is ok. Thank you so much for your contribuition.

@Maykonn, thank you for your work. I will wait you fix the minor details appointed here and resend the PR.

@slinstj Done :smile:

It will be closed till it is ok. Thank you for your contribution!

@slinstj The pull-request was accepted?

@Maykonn, it was not accepted for now. Please, read the messages I attached into the code. Thank you.

I don't understand. See https://github.com/slinstj/yii2-at-least-validator/pull/12/commits/b418475e99cd5ffbf35745e3020a2904523369f6


Windows Dialog: How to control buttons?

I am playing around with the native buttons in Electron 0.30 on Windows and I feel that the placement of buttons is quite random. I realize that Windows 8 shows some buttons within the dialog and some outside:

Code
<!DOCTYPE html>
<html>
  <head>
    <title>Hello World!</title>
    <script>
    var remote = require("remote");
    var dialog = remote.require("dialog");
    dialog.showMessageBox(
remote.getCurrentWindow(),
    {
      type: "question",
      buttons: ["Save All", "Revert All", "Cancel"],
      title: "Shutdown",
      message: "Do you really want to quit?"
    });

      </script>
  </head>
  <body>

  </body>
</html>

Is this a platform thing or can we have a way to force showing the options in one place instead of two?

@bpasero There are two types of buttons in the native dialog: custom buttons like "Save All" and stock buttons like "Cancel", and there are two ways of showing them: displaying as links or buttons. Currently Electron identifies stock buttons from their labels and shows them as buttons, the other buttons are treated as custom buttons and are showed as links.
Identifying stock buttons can add some goodies to the dialog: some buttons will have accelerators associated, and they will be localized automatically. But the downside is Windows always separates stock buttons from custom buttons, even if we show custom buttons as buttons in the dialog, the sequence of buttons would become a mess.
So I chose to show custom buttons as links in Electron, and the results turned out to be quite well, for your "Shutdown" dialog as example, I think it actually matches the style of other modern Windows apps?
Or maybe I should provide options to let users have complete control of how the dialog shows? I think the safest choice is to treat all buttons as custom buttons and show them as buttons.

Regarding @zcbenz "I think it actually matches the style of other modern Windows apps?", Microsoft encourages the behavior; on MSDN > Dialog boxes:

Always provide an explicit Cancel button. Don't use a command link for this purpose.

 The documentation should also probably link to the aforementioned MSDN design guidelines.

@bpasero If you want to play around with twerking this dialog, clone Electron, then have a look inside the vendor/brightray folder, it should be in there somewhere (just edit the code then rebuild Electron, don't try to build Brightray independently)

+1 for full control. though I like the fact that you encourage people to follow OS UX guidelines I would still want to be able to choose how dialogs are shown on windows.

I would still want to be able to choose how dialogs are shown on windows.

In this case I would just use node-ffi to invoke the Task dialog APIs directly, then you can do whatever you want

@zcbenz thanks!


23.9.1 minor release introduces a breaking change in LevelDB dependency

Description
Using Ubuntu 20.04, when upgrading from 23.9.0. to 23.9.1, Teku reports a LevelDB error and stops.
If I run from scratch, without using an existing DB, Teku reports the same error and starts a new DB with RocksDB instead of using the existing LevelDB database.
Teku failed to start: java.lang.UnsatisfiedLinkError: Could not load library. Reasons: [Can't load library<EMAIL_ADDRESS><EMAIL_ADDRESS>/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/leveldbjni@14976013304512060760/libleveldbjni.so), no leveldbjni64-1.8 in java.library.path: /usr/java/packages/lib:/usr/lib/x86_64-linux-gnu/jni:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/jni:/lib:/usr/lib, no leveldbjni-1.8 in java.library.path: /usr/java/packages/lib:/usr/lib/x86_64-linux-gnu/jni:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/jni:/lib:/usr/lib, no leveldbjni in java.library.path: /usr/java/packages/lib:/usr/lib/x86_64-linux-gnu/jni:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/jni:/lib:/usr/lib]

Updating Ubuntu to the latest updates from the official repos does not solve the problem.
I searched online, and having GLIBC 2.33 on Ubuntu 20.04 seems complex. The current repo seems stuck to GLIBC 2.31.
I noticed the LevelDB native library in the Teku repo was updated from 0.2.0 to 0.3.0 in the 23.9.1 release with PR #7504
Using 23.9.1, I downgraded that native library back to 0.2.0, and everything seems to work fine - both unit tests and the execution of Teku on an existing DB.
❯ ./gradlew
...
BUILD SUCCESSFUL in 9m 13s
539 actionable tasks: 537 executed, 2 up-to-date

Steps to Reproduce (Bug)

Use Ubuntu 20.04
Run Teku 23.9.0, and stop it
Run Teku 23.9.1 on the same DB

Expected behavior:
Teku continues to work as expected before the upgrade.
Actual behavior:
Teku reports the following error and stops.
Teku failed to start: java.lang.UnsatisfiedLinkError: Could not load library. Reasons: [Can't load library<EMAIL_ADDRESS><EMAIL_ADDRESS>/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/leveldbjni@14976013304512060760/libleveldbjni.so), no leveldbjni64-1.8 in java.library.path: /usr/java/packages/lib:/usr/lib/x86_64-linux-gnu/jni:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/jni:/lib:/usr/lib, no leveldbjni-1.8 in java.library.path: /usr/java/packages/lib:/usr/lib/x86_64-linux-gnu/jni:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/jni:/lib:/usr/lib, no leveldbjni in java.library.path: /usr/java/packages/lib:/usr/lib/x86_64-linux-gnu/jni:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/jni:/lib:/usr/lib]

Frequency:
Always
Versions (Add all that apply)

Software version: teku/v23.9.1/linux-x86_64/-privatebuild-openjdk64bitservervm-java-17
Java version: openjdk version "<IP_ADDRESS>" 2023-08-24 - OpenJDK Runtime Environment (build <IP_ADDRESS>+1-Ubuntu-0ubuntu120.04) - OpenJDK 64-Bit Server VM (build <IP_ADDRESS>+1-Ubuntu-0ubuntu120.04, mixed mode, sharing)
OS Name & Version: Ubuntu 20.04.3 LTS (Focal Fossa)
Docker Version: N/A
Cloud VM, type, size: N/A

Thanks @Neurone for opening! We realized the issue today as well.
We are in the process of releasing a new leveldb lib moving back GLIBC requirements.
Reference to https://github.com/Consensys/leveldbjni-native/pull/12 for the upcoming version.

@Neurone do you have the chance to compile https://github.com/Consensys/teku/pull/7557 so we can double-check that the problem is solved?

Hi @tbenr , yep, it works. I tried that branch and tests pass and also Teku starts correctly over the old LevelDB.


[core] Create issue labeled

[x] I have followed (at least) the PR section of the contributing guide.

HI, @oliviertassinari
Last time, when you type Duplicate of #xx, it will add the duplicate label automatically.
And I found that you often need to manually remove these 2 labels, so I added this. It will only remove these 2 labels if the issue has these 2 labels or one of them and has no effect on others. If there are any omissions labels, you can tell me.

@xrkffgg Nice automation :)

@xrkffgg Nice automation :)

I'm not sure that it's working https://github.com/mui-org/material-ui/issues/24297#event-4176801560

I'm not sure that it's working https://github.com/mui-org/material-ui/issues/24297#event-4176801560

Let me check it

Let me check it

This is my mistake. I thought that GitHub Actions bot would trigger this condition, but it doesn't seem to be right now. The bot not trigger this.😅
Two ways:

Use one actual token

For example, create a mui-issue-bot or just mui-bot

If still use the default token, I will upgrade the program, which is also convenient.

This is my mistake. I thought that GitHub Actions bot would trigger this condition, but it doesn't seem to be right now. The bot not trigger this.😅
Two ways:

Use one actual token

For example, create a mui-issue-bot or just mui-bot

If still use the default token, I will upgrade the program, which is also convenient.

I see you already have mui-pr-bot.
I think you can rename this to mui-bot and configure the token name as this user's token.

I see you already have mui-pr-bot.
I think you can rename this to mui-bot and configure the token name as this user's token.

At the same time, I will also upgrade my program so that this mark-duplicate supports removing labels at the same time.
At first, I just thought about adding labels but missed removed.
@oliviertassinari Which solution do you choose?

At the same time, I will also upgrade my program so that this mark-duplicate supports removing labels at the same time.
At first, I just thought about adding labels but missed removed.
@oliviertassinari Which solution do you choose?

At the same time, I will also upgrade my program so that this mark-duplicate supports removing labels at the same time.
At first, I just thought about adding labels but missed removed.

@xrkffgg This sounds like a great option

At the same time, I will also upgrade my program so that this mark-duplicate supports removing labels at the same time.
At first, I just thought about adding labels but missed removed.

@xrkffgg This sounds like a great option


Account banning

Enhancement Description

Accounts should, unfortunately, be able to be banned from the game.
Solution

The user table should have an isBanned flag. Or potentially we just have a role that is named banned which will prevent a player from accessing their account. This also means that the bug reports & suggestions area should likely have a ban appeal option as well.

In addition to a isBanned flag it might be an option to add a timestamp bannedUntil for temporary bans.


Sending alarm messages from not existing child devices while mapper is stopped does not create the child devices when mapper is started again

Describe the bug
Sending alarm messages from not existing child devices (more than 2) while mapper is stopped does not create the child devices when mapper is started

To Reproduce
Precondition:

thin-edge is installed on DUT
Device is connected to c8y
no child devices are existing

Steps to reproduce:

Stop tedge-mapper sudo systemctl stop tedge-mapper-c8y.service
Send alarm message for 1st child device sudo tedge mqtt pub 'tedge/alarms/critical/temperature_high/child_device_1' '{ "message": "Temperature is very high", "time": "2021-01-03T05:30:45+00:00" }' -q 2 -r
Send alarm message for 2nd child device sudo tedge mqtt pub 'tedge/alarms/critical/temperature_high/child_device_2' '{ "message": "Temperature is very high", "time": "2021-01-03T05:30:45+00:00" }' -q 2 -r
Send alarm message for 3rd child device sudo tedge mqtt pub 'tedge/alarms/critical/temperature_high/child_device_3' '{ "message": "Temperature is very high", "time": "2021-01-03T05:30:45+00:00" }' -q 2 -r
Start tedge-mapper sudo systemctl start tedge-mapper-c8y.service
Check on c8y and observe that only last 2 child devices will appear
Delete the two created child devices on c8y
Stop tedge mapper sudo systemctl stop tedge-mapper-c8y.service
Repeat steps 1 - 5
Check on c8y, only last child device will be created

Expected behavior
All devices for which alarm was sent should be created on c8y

Screenshots

Environment (please complete the following information):

OS [incl. version] Build: 818
Hardware [incl. revision] Raspberry pi 4GB
System-Architecture [e.g. result of "uname -a"] arch64
thin-edge.io version [e.g. 0.1.0]0.7.3

Additional context

I have tested it and it's working as expected. So, I @gligorisaev will verify and try to reproduce it on his side.

@gligorisaev couldn't reproduce it again. So, close the issue.


devcontainer canonical dev environment

Not sure what most folks use for dev, but getting bazel test //... to pass requires:

well, bazel, which requires java
imagemagic

Is Sematic supposed to build on windows or mac? i have no idea!  But at least in this change, we introduce a canonical Dockerized development environment.  It's half based on the CI docker image and half based on worker.  Right now I've only run unit tests (did you know bazel cache for the tests takes 50GB?) I have not yet tried running the webui stuff, which might require opening a port in the docker-compose config.
I primarily use VSCode and the terminal, but devcontainer has a variety of IDE integrations.
IDK does this look useful?  IMO at least having a standard dev docker image (that has bazel and required stuff, and perhaps a few other tools) and docs of how to use it would be good.  This goes a little further, embracing devcontainer.

Thanks for this! After chatting with the rest of the team, I think the best option here would be to incubate this in a repo in your own GitHub namespace (ex: sematic-devcontainer) with a README on how to use it. We can link to it from our docs as a community maintained dev environment.

Is Sematic supposed to build on windows or mac?

No to windows, yes for Mac

did you know bazel cache for the tests takes 50GB

That surprises me quite a bit, actually! Thanks for reporting, I'll take a look.

did you know bazel cache for the tests takes 50GB

Actually I just did a full test suite on my Mac and got 405MB for /private/var/tmp/_bazel_augray/cache/ at the end. Mind sharing the output of du -h from your cache dir? You can file a GitHub issue and put it there.

maybe this sort of stuff could linked from that page

Yes, that would be a good place to link to it from. I still think having the actual code for the devcontainer setup in your own repo is a good place to start though.

root README.md link to that page

Good point! Opened #1066 for that.

perhaps also this PR could pivot to being a template for contributing example pipelines, depending on how much it is desired to have the examples integrated into this repo longer-term....

We have a docs page for contributing examples. I'll also link that from the root readme in #1066

bazel cache:

I tried on a linux VM and got closer to your result. Possibly there was some operator error when I tried on my Mac? Anyway, I'll take a look. May not be avoidable though; bazel + python does a lot of things inefficiently.

Found it! #1067


SUGGESTION options for declare function return type

TypeScript Version:  2.6.2

Search Terms:
Code
export function getOptions(patterns?, options: IOptions = {})
{
	let ret: {
		patterns: string[];
		options: IOptions;
	};

	return ret;
}

we can get
export declare function getOptions(patterns?: any, options?: IOptions): {
    patterns: string[];
    options: IOptions;
};

but when we add
export function getOptions(options: IOptions)
export function getOptions(patterns?: string[], options?: IOptions)
export function getOptions(patterns?, options: IOptions = {})
{
	let ret: {
		patterns: string[];
		options: IOptions;
	};

	return ret;
}

can we get a option for without add retturn type when we didn't set any return type on each declare function
make it auto follow return type
Expected behavior:
i hope return type is
{
    patterns: string[];
    options: IOptions;
}

export declare function getOptions(options: IOptions): {
    patterns: string[];
    options: IOptions;
};
export declare function getOptions(patterns?: string[], options?: IOptions): {
    patterns: string[];
    options: IOptions;
};

Actual behavior:
d.ts will become return any
export declare function getOptions(options: IOptions): any;
export declare function getOptions(patterns?: string[], options?: IOptions): any;

Playground Link:
Related Issues:

still hopw can have this

what i suggestion is
when all overwrite didn't set return type, make all overload return follow function's return type
function getShape(name: "circle", radius: number)
function getShape(name: "square", length: number)
function getShape(name: string, radiusOrLength: number) {
    return name === "circle" ? new Circle() : new Square();
}

=>
declare function getShape(name: "circle", radius: number): Circle | Square;
declare function getShape(name: "square", length: number): Circle | Square;

when any overwrite has set return type , then  same as current typescript do
function getShape(name: "circle", radius: number): Circle
function getShape(name: "square", length: number)
function getShape(name: string, radiusOrLength: number) {
    return name === "circle" ? new Circle() : new Square();
}

=>
declare function getShape(name: "circle", radius: number): Circle;
declare function getShape(name: "square", length: number): any;


Github sees this action as a Node v16 action

When running the action in a Workflow as of 2024-01-24 I receive the following Annotation warning in the results of the Workflow run:

Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: kota65535/github-openvpn-connect-action@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.

Should be pretty straight forward on updating the action to remove the warning. As a matter of fact, PR 56 addresses this.

Facing the same issue, can we get the PR merged and the version bumped?

Hi @kumichou @antmarot, I've released v3. Please try it.


conhost VK_F4 regression

Environment
Windows 10.0.18363.592 (bug also present in some earlier build(s))

Steps to reproduce

cmd.exe
C:\>aaa bbb ccc ddd
Home, Ctrl-Right. Cursor should now be before the first 'b'.
F4, Space. 'bbb' gets deleted.

Expected behavior
Visual cursor position remains (i.e. now just before ' ccc').
Actual behavior

Visual cursor position moves to EOL.
To make it worse, the insertion-point still is where the caret was, If you now type 'x' command line goes from 'aaa  ccc ddd' to 'aaa x ccc ddd', while the cursor remains at EOL!

Yikes yep that's annoying. I bet that this regressed in one of our earlier COOKED_READ refactors, though it's hard to know when exactly.

Regressed in 19H1 (10.0.18362)

(Verified using CHOP)

note to self: still reproing in 10.0.22518.1000

Sharing notes because it's too close to 5pm:
Important to remember that the cmdline functions that open a popup do not get handled in CommandLine::ProcessCommandLine. It has to wait for more input, so it gets processed later. So somewhere inside of CopyFromCharPopup::Process is where I need to be doing the final call back to AdjustCursorPosition, not at the bottom of CommandLine::ProcessCommandLine

Back when you announced with fanfare "Console will get TLC!" I had hopes you would do something good. We had hopes.
It saddens us, but unfortunately doesn't surprise me, to finally accept that was, like almost everything Microsoft nowadays, just lies. You have completely abandoned the console, seemingly care more about implementing slow and maddeningly resource hungry rendering of translucent unicode turds than working on what matters to your customers, like reducing resource usage, speed up rendering, and most certainly reverting or fixing stuff you break, and now it's too late.
Your use of #fuckitshipit clearly displays your arrogance, and it shows in the product. We have used Windows since back in the 3.11 days. This was the straw. Our next operating system will be a unix derivative. With any luck it will also become a punishable offence to even suggest Microsoft products in the future. No need to thank us, you deserve it.

FYI I'm currently working towards rewriting the command line implementation from scratch, because the original code was hard to maintain and the rewrite that brought this issue is even worse (and incorrect on top of it). Thanks for pinging this issue - now I know to remember to test it.
Contrary to what you said, you will be able to use it on Windows 10, even in conhost, and I'd be happy to show you how.
Also, while I understand your anger,  don't write comments like that please.


[Bug/Glitch] World save corruption and data rollbacks

Version : 1.21-1.7.2
Loader : Fabric
I could be playing for like a minute or two and then after a bit I break a block and notice it doesn't drop anything, then I look at the mobs and the'yre all standing still. Attempting to save does nothing even with autosave and then when I click "exit world" it softlocks me in the exiting world screen til I kill process and then load the instance up again to see I've been rolled back. Its gotten so bad I can't even get 20 seconds into my world without the game doing this. I've tried my world without legacy4j and its just a legacy4j issue. I have footage of this as well and literally have no idea what could be causing it
Video :
https://github.com/user-attachments/assets/0ea9e3bc-9559-47dc-a8d2-b6bbf55ec89e
Only other mods :
3d skin layers
Appleskin
Enhanced block entitites
Entity Model Features
EntityCulling
Mod Menu
Modern Beta
Mouse Tweaks
No Telemetry
Architectury
Cloth Config
Fabric API
(IT STILL DOES THIS EVEN IF IT IS THE ONLY MOD INSTALLED, IT WORKS FINE WITHOUT LEGACY4J)

Make sure autosave is on, and that minecraft has more ram dedicated to it. Hoping this will be fixex next update

Make sure autosave is on, and that minecraft has more ram dedicated to it. Hoping this will be fixex next update

tried that, autosave actually DISABLES ITSELF and I have like 10gb of ram allocated so its not that, without the mod installed saving works fine so this is a bug that is actually making playing with the mod impossible

I would also like to add that the vines you'd get from the jungle biome are literally invisible in the hotbar, its not that they blend in I mean the texture isn't in the hotbar

Everything is stated in #526


enhancement preprocessing

support OnehotEncoder, LabelEncoder, OrdinalEncoder like sklearn.

What Dataset methods are you trying to call that are bound by Float? You can access the records and targets of a Dataset via the records() and targets() methods respectively, even if the data type isn't Float. Typically those methods are all you need to implement Fit.


Fix make targets that weren't running properly in a container

Some make targets (test, lint and gosec) failed when running in a container. This PR intends to fix this error.

/assign @henderiw

/lgtm

/kind bug

@henderiw @johnbelamaric this is ready to be approved

/approve
/lgtm


feat: US129214 Add bottom tray option to mobile dropdown

Design : https://xd.adobe.com/view/5205ec02-86e7-48b0-ad0a-04aa76db7759-0756/?fullscreen
Visual diff changes: https://visual-diff.d2l.dev/screenshots/BrightspaceUI/core/dropdown-content/2021-06-29-<IP_ADDRESS>-8f2920715bef3d77af598bfa71e63e51314e161f-report.html
Added a mobile-tray="bottom" option to slide in from the bottom of the screen.

In addition to adding the dropdown, I had some other fixes for all the mobile trays:

Fixing RTL behaviour to make sure the 'close' button is centered on the tray
Adding the footer line, even if there is no footer content (other than the close button)
If there is a close button:
with NO other footer contents: pad 12px around as in design
WITH other footer contents: pad top of close button with 12px, but adhere to dropdown style of 20px footer padding

Closing this PR since the merge commit made some css changes. I've made a new PR with the same changes and the correct merge.


Custom type using Attributor::Type not serialized properly

I have a custom type called RecurrenceRule, it represents a native type of IceCube::Rule and does some special serialization from a specific string format to the native type and back.
In the past (before Praxis 0.19), media types using the RecurrenceRule would be rendered properly. But now, the dump method on RecurrenceRule is no longer called when rendering the media type. Resulting in the native type being returned as a JSON object.

It would be nice if we also allow this to work with custom types that implement member_attribute. In this case the fields argument to Renderer#render will be [true].
As an example we have a custom set type (https://gist.github.com/aliscott/afa5db20f885423cc5c9) that needs this.


Auth failures report NullPointerException instead of full error

I have a project based closely on the java web app sample. When attempting to redeem the auth code for a token it occasionally fails. However instead of reporting a AD exception it encounters a NullPointerException within the logging step: AuthenticationResultSupplier.logException(AuthenticationResultSupplier.java:139.
Stack trace: msal4j nullpointer.txt
I am using v1.5.0 but based on v1.6.1 the issue appears to be that MsalClientException does not have an error code in that scenario and fails comparison.

Thanks for bringing this to our attention, I've just created a PR that should take care of this issue, and it will go into the next release: https://github.com/AzureAD/microsoft-authentication-library-for-java/pull/254

Released in 1.6.2