Loosen version requirements

When running tg-archive -b on Arch this error occurs:
Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 568, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 886, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 777, in resolve
    raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (Pillow 8.4.0 (/usr/lib/python3.9/site-packages), Requirement.parse('Pillow==8.3.2'), {'tg-archive'})

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/tg-archive", line 33, in <module>
    sys.exit(load_entry_point('tg-archive==0.5.1', 'console_scripts', 'tg-archive')())
  File "/usr/lib/python3.9/site-packages/tgarchive/__init__.py", line 138, in main
    from .build import Build
  File "/usr/lib/python3.9/site-packages/tgarchive/build.py", line 5, in <module>
    import pkg_resources
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 3243, in <module>
    def _initialize_master_working_set():
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 3226, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 3255, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 570, in _build_master
    return cls._build_from_requirements(__requires__)
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 583, in _build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 772, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'Pillow==8.3.2' distribution was not found and is required by tg-archive

Running tg-archive -s though works perfectly.
Package from which tg-archive was installed: https://aur.archlinux.org/packages/tg-archive-git/
Version of Pillow installed: 8.4.0
Maybe the version requirements should be relaxed a bit? For example by specifying Pillow>=8.3.2 instead. This should help support package installation on rolling release systems.

Yup, makes sense. Done.


Chart is not updating when chartData state changed.

Hi, I can't get the chart to update/redraw when the chartData state of the component is updated. Thanks.

Can you post a code snippet that replicates it? I've been able to do this successfully.

Here is a code snippet. setState is called in componentWillMount and I am sure that the state is updating from looking at the console log. Thanks for your helps.
render: function render () {
       const component = this;
       const {
           View,
           Text
       } = React;
       const {
           style
       } = component.props;
       const {
           temp,
           sCounter
       } = component.state;
       let chartData = ArchKit.clone([
           {
               name: 'tempChart',
               type: 'line',
               color: appPalette.red,
               lineWidth: 4,
               highlightIndices: [1, 2],
               highlightColor: appPalette.accent,
               showDataPoint: true,
               data: temp.samples
           }
       ]);

       // console log here clearly shows the samples are updating
       console.log(chartData[0].data)

       return (
           <View style = { style.container }>
               <View style = { style.header.statusBar }/>
               <View style = { style.header.actionBar.default }>
                   <View style = { style.header.actionBarFiller }/>
                   <Text style = { style.header.actionBarLabel }> Temp Monitor </Text>
                   <View style = { style.header.actionBarFiller }/>
               </View>
               <View style = { style.body }>
                   <View style = { style.layout.horizontal }>
                       <Text style = { style.layout.cell.tempValueLabel }>
                       {
                           `${temp.value} F`
                       }
                       </Text>
                       <View style = { style.layout.cell.vertical }>
                           <Text style = { style.layout.cell.titleLabel }> MIN 57 F </Text>
                           <Text style = { style.layout.cell.titleLabel }> MAX 98 F </Text>
                       </View>
                       <Chart
                           style = {{
                               height: 200
                           }}
                           animationDuration = { 0.5 }
                           chartData = { chartData }
                           verticalGridStep = { 5 }
                           xLabels = { [ `Time (s)` ] }
                           showXAxisLabels = { false }
                       />
                       <View style = { style.layout.cell.spacer }/>
                       <Text style = { style.layout.cell.infoLabel }> Ideal Temp Range </Text>
                       <View style = { style.layout.cell.vertical }>
                           <Text style = { style.layout.cell.infoLabel }> 0 F </Text>
                           <Text style = { style.layout.cell.infoLabel }> 110 F </Text>
                       </View>
                   </View>
               </View>
           </View>
       );

hmm, okay, thanks. I wonder if it has to do with the chart data not being attached to state directly, but that's just a late night guess. Will try it out in the AM

What's the format of temp.samples? Make sure you have the same number of xLabels as you do data[] values.

I updated to the latest version and it is working now. Thank you very much.

Sounds good, thanks for the update :)


Add GemStone code synchronisation

This will add the ability to enable code synchronisation, which will automatically send class and method changes to GemStone.
A class strategy will select which classes should be synchronised: an explicit list of classes, a list of categories (with pattern matching), subclasses of a specified class, or a custom BlockClosure.
A sessionStrategy will select which sessions should be synchronised: the default session, an explicit list of sessions, all sessions with one of a list of connectors, or a custom BlockClosure.

See GtGemStoneSessionCodeSync.


Training stopped after 5 epochs while Semimtr finetuning

A problem occurred when trying to train the Semimtr:
The training stage will automatically stop after 5 epochs no matter what value of epoch I set in the config file 'configs/semimtr_finetune.yaml'.
However, if I set epoch to less than 5, then everything seems to work just fine.

You should also increase the periods of the scheduler in the configuration file. By default, they set to be: [ 3, 1, 1 ].
Let me know if it works for you.

Oh I see. That works.
Thank you!


Would like to be able to define groups

Attempting to create a group resulted in an error that implied they were read-only.

Groups may only be defined in the groups repository. That being said, these are being updated as expected at the moment, see: #102


Remove ephemeral directory after process exit

This PR addresses left-behind empty directories in host /tmp.
The template is initialized before cloning, and I check for errors at removing the empty directory (could be still busy in an umount operation, or some process using it for some reason).
Sorry if code quality is not up-to-standards, I am pretty rusty in C/C++.

Merged, thanks!


[5.7] Use Location of Inference Sources as a Fallback

Cherry picked from #58434

It's possible for the requirement machine to fail to pick up a source location for its computed errors to attach to when

The declaration has no where clause
Nor does it have a generic parameter list

This is possible because of the magic of desugaring opaque types in input position to generic parameters a la
func foo(_ : some P<T, U>)
Try to use the first valid user-written inference source to derive a location.
rdar://92105516

@swift-ci test


Rename the project

dionysus.gg already exists as a discord bot, we should rename.
Leading candidate is bacchus.

Purchased https://bacchus.gg/ so that's going to be the name

Renamed the repo to bacchus.
Will keep the old bacchus discord app as the dev instance.


Update crazydimka.toml

Description
All previous genesis validators should name their PRs "Update {validator_alias}.toml for tesntet-15" and provide links to previous
#696
#1341
#1944 .
If this is an UPDATE for a previous genesis validator
Checks are made against your net_address. If this has changed since the previous testnet, make sure you provide links of previous prs merged from your previous git username.
Thanks in advance!
Checklist before merging

[x] Only one toml is added in this PR
[x] The file being added is indeed a .toml file
[x] The toml being added is to the correct folder, and only to the correct folder
[x] The eth_hot_key and eth_cold_key are present
[x] The email, discord, elements telegram, and twitter fields are present and valid

Successfully validated transactions.toml file for commit hash 2098e01


Moving while painting

The Friction seems to be affected by the act of moving the mouse and painting in the paint mode.
It looks like your slide speeds up

This is in direct relation with the #36

closing for archiving


Update to bugfix on JsonPath. Floating point numbers in eval statements.

Hey folks. :)
So, I had a bugfix update to jsonpath. It was discovered, that, when using ?@['price'] > 23.33 it would throw a syntax error. So actually floating point numbers could not be used in such statements.
But now it works, and I also added coverage.
Cheers,
Gergely.

Thanks @Skarlso!


fix rpc topic

Feature or Problem

rpc topic exception when Lattice is not default.
Not sure what stage https://github.com/wasmCloud/provider-sdk-go/pull/5  is at, this pr is a smaller fix for the rpc topic issue
Related Issues

Release Information

Consumer Impact

Testing

Unit Test(s)

Acceptance or Integration

Manual Verification

@jordan-rash is there a reason why we are enforcing gpg commit signing or should I turn it off?

@jordan-rash is there a reason why we are enforcing gpg commit signing or should I turn it off?

Its just my prefered default when I set up repos....it can be disabled


Cannot find module 'bluebird'

Is this a regression?
Yes
Description
After running ng add @datorama/akita
I get the below output.
The package<EMAIL_ADDRESS>will be installed and executed.
Would you like to proceed? Yes
✔ Package successfully installed.
An unhandled exception occurred: Cannot find module 'bluebird'
Require stack:
-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>
-<EMAIL_ADDRESS>- C:\Users\...\Development\appp\node_modules\schematics-utilities\dist\package_update\npm.js
- C:\Users\...Development\appp\node_modules\schematics-utilities\dist\package_update\index.js
- C:\Users\...\Development\appp\node_modules\schematics-utilities\dist\index.js
-<EMAIL_ADDRESS>
-<EMAIL_ADDRESS>
-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>
And I cannot run any Akita schematics
Please provide a link to a minimal reproduction of the bug
No response
Please provide the exception or error you saw
No response
Please provide the environment you discovered this bug in
No response
Anything else?
No response
Do you want to create a pull request?
No

OK I see, but do you have bluebird installed?

I created a new Angular project.

OK, let me see what's wrong on my side, I will update and close the issue if it's something on my end

I have installed bluebird: npm i bluebird and run ng add @datorama/akita.
It worked, I have uninstalled bluebird after that,
I am not sure what's the issue as the error was also thrown in a new ng project.

Should I close the issue?

happend to me too, running ng add ... again (without installing bluebird) and its work

Same error

Also getting this error. Created a fresh Angular 13 app with ng new then immediately followed up with ng add @datorama/akita. Get the missing bluebird module error.

I am also getting the same error when using Angular 13

+1 Same error with Angular 13 using ng add @datorama/akita.

bump. Angular 13 using ng add @datorama/akita

Same error, I'm on angular version 13.2.0 and it gives same bluebird error when installed using ng add ...

Works after installing bluebird as dependency

@yousafraza39142  why do I need to install bluebird for it to work?  What is bluebird for?

I tried installing bluebird and then re-installing  akita, then i get

does anyone know if there's a patch for this

+1 Same error using ng add on Angular 13

@jerosancho use npm to remove Akita,
ensure all imports/declarations related to Akita are removed from your app.module.ts
then proceed to add the bluebird package and then akita.
this was the fix for my own issue

The repo is updated now. I'll release new versions soon.


What will happen if pulsar-proxy crashes.

Hi, I want some clarification about the crash of pulsar-proxy.
Will the messages that unacknowledged  be redelivered immediately?( e.g. shared subscription).
If the answer is yes. I think it needs to be clarified in the official doc because users may be get confused when different consumers get the same message without any client's disconnection.

hi @umialpha The behavior "when different consumers get the same message without any client's disconnection" is not related with proxy.  it seems the default behavior for shared-sub. the unacked message get re-delivered once message-ack-timeout, and the target consumer may not be the same consumer that handled this message before.


SshSession::connect_mux hangs on MacOS 14.5

When running the example code, Rust will print "SSH before" but fail to print "SSH after". After a while, I will see a warning about my test  "has been running for over 60 seconds". It will continue hang with no error or further output.
Am I missing libraries on my machine? Are there other suggestions on how to find out what is causing this to hang? The russh crate has the same issue.
    println!("SSH before");     let result = SshSession::connect_mux(         format!(             "ssh://{}@{}:{}",             &credentials.username, &credentials.host, &credentials.port         ),         KnownHosts::Add,     )     .await;     println!("SSH after");

sshsession::connect_mux is usually used when you already creates a ssh multiplex master.
Usually you want to use SessionBuilder

@NobodyXu , thanks for the tip. Maybe you could help with a full example? This is what I have right now.
It's hanging after printing "SFTP 201":
`    println!("SFTP 200");
let mut b = SshSessionBuilder::default();
b.keyfile("...");
let dest = format!(
    "ssh://{}@{}:{}",
    &credentials.username, &credentials.host, &credentials.port
);
let (b, d) = b.resolve(&dest);
println!("SFTP 201");

let temp_dir = b.launch_master(&dest).await;
println!("SFTP 202");

// What do I do with temp_dir?
let result = SshSession::connect(&dest,
    KnownHosts::Add,
)
.await;
println!("SFTP 203");
if result.is_err() {
    return Err(format!(
        "Unable to connect to SSH server at {}:{} (error: {})",
        &credentials.host,
        &credentials.port,
        result.err().unwrap()
    ));
}
println!("SFTP 204");

let ssh_session = result.unwrap();

let result = _Sftp::from_session(ssh_session, Default::default()).await;
if result.is_err() {
    return Err(format!(
        "Unable to establish to SFTP session from SSH session at {}:{} (error: {})",
        &credentials.host,
        &credentials.port,
        result.err().unwrap()
    ));
}
println!("SFTP 220");`

Connecting is quite simple;
let session = SshSessionBuilder::default()
    .keyfile("...")
    .connect_mux(format!(
    "ssh://{}@{}:{}",
    &credentials.username, &credentials.host, &credentials.port
)).await?;

It's still hanging following the example provided after SFTP 201:
println!("SFTP 200");

let mut b = SshSessionBuilder::default();
b.keyfile("/Users/macuser/.ssh/id_rsa_0x0-emg");
let dest = format!(
    "ssh://{}@{}:{}",
    &credentials.username, &credentials.host, &credentials.port
);

println!("SFTP 201");
let result = b.connect_mux(&dest).await;
println!("SFTP 202");

if result.is_err() {
    return Err(format!(
        "Unable to connect to SSH server at {}:{} (error: {})",
        &credentials.host,
        &credentials.port,
        result.err().unwrap()
    ));
}
println!("SFTP 209");

let ssh_session = result.unwrap();

let result = _Sftp::from_session(ssh_session, Default::default()).await;
if result.is_err() {
    return Err(format!(
        "Unable to establish to SFTP session from SSH session at {}:{} (error: {})",
        &credentials.host,
        &credentials.port,
        result.err().unwrap()
    ));
}
println!("SFTP 220");

If I run ps -ax | grep ssh I do see
ssh -E .../.local/state/.ssh-connectionbb4jRB/log -S .../.local/state/.ssh-connectionbb4jRB/master -M -f -N -o ControlPersist=yes -o BatchMode=yes -o StrictHostKeyChecking=accept-new -p 22 -l ... -o IdentitiesOnly=yes -I ... ssh://...
But Rust just hangs

I think it might be the ssh multiplex master that is hanging

@NobodyXu , yes I can ssh fine using command line.

@NobodyXu , yes this works:
ssh -S /.../.local/state/.ssh-connectionyNAAbu/master ip

Can you try:
let session = SshSessionBuilder::default()
    .keyfile("...")
    .connect(format!(
        "ssh://{}@{}:{}",
    &credentials.username, &credentials.host, &credentials.port
)).await?;

Maybe it's the openssh-mux-client not working?

@NobodyXu
It's the same unfortunately. It will hang when connect is called.

Ok I think I misunderstood the issue.
It actually stucks in launch_master, it's likely the ssh command never exits.
We expect the ssh to fork and create a server process in background, and then returns.
It's likely not the case here.

@NobodyXu it will run for 1 second and then return to the terminal (exit immediately)
% ssh -E .../.local/state/.ssh-connectionbb4jRB/log -S .../.local/state/.ssh-connectionbb4jRB/master -M -f -N -o ControlPersist=yes -o BatchMode=yes -o StrictHostKeyChecking=accept-new -p 22 -l ... -o IdentitiesOnly=yes -I ... ...
(1 second later with no more user input)
%

In openssh, we just wait for the procees to exit and check its status https://docs.rs/openssh/latest/src/openssh/builder.rs.html#487
Given that we are using tokio::process, I think something might be wrong with it? @justin-elementlabs

Which tokio version are you using?
And what is the kernel (linux or macOS)?
I strongly suspect it's a bug in tokio

[[package]]
name = "tokio"
version = "1.38.0"
macOS 14.5

@justin-elementlabs assuming that this is still an issue, I think it might be caused by you using executor::block_on: https://github.com/elementlabs42/BitVM-playground/blob/e102f23d88fee5c46f8e6f86442f371e857016ba/src/bridge/client/data_store/sftp.rs#L208 .If you call the function from a regular async function in a tokio context it works for me

If block_on causes it to fail, then maybe you can try tokio::spawn and then block_on the handler?


*: turn on line numbers for dev builds

What have you changed? (mandatory)
This should make line numbers appear on unit test failures. The "test" profile crates in cargo seem to be a superset of the "dev" profile crates, so unit test crates ("test" profile) link to the tikv dev crate. So to see line numbers in tikv itself, they have to be turned on for the dev profile.
Fixes #5049
cc @Connor1996
What are the type of the changes? (mandatory)

Bug fix (change which fixes an issue)

How has this PR been tested? (mandatory)
Manual verification (in progress).
Does this PR affect documentation (docs) or release note? (mandatory)
Only README.md, updated.
Does this PR affect tidb-ansible update? (mandatory)
No
Refer to a related PR or issue link (optional)
https://github.com/tikv/tikv/issues/5049
Benchmark result if necessary (optional)
Add a few positive/negative examples (optional)

This will make dev and test compile times slightly slower, but by how much i haven't measured.


Question: pure rendering support

Hi!
First, thanks for this project, I was pleasantly surprised to know that css classnames concatination is already done after implementing it myself :) So I'll better go with this project.
I have a question about pure rendering optimization. As you always inject new theme object to props pure rendering checking is no longer working using shallowEqual.
There's of course a way to manually check both props without theme and only theme in shouldComponentUpdate but that would be rather tedious to implement in each themed component.
On the other way I believe it's not responsibility of this library to check shouldComponentUpdate.
So it's clear that to use both themr and pure rendering one should write specific mixin/decorator.
I suggest to inject a Symbol to ThemedComponent prototype and export it from the library. Then when decorating a themed component this symbol will indicate that pure decorator should also check props.theme.
I understand that shouldComponentUpdate could just relay on props.theme existance but that would be too restrictive because I want to support a case when props.theme is set not in themr.
There's also another way to investigate - usage of Immutable.Map for the theme, then shallow equality check could just compare two theme objects.
What do you think?
Maybe there's an easier way?

Hi!! First of all thanks for your comment and sorry for this delayed response. I don't fully understand why theme creates an issue for the shallow compare. If I'm getting it right, when you compare prevProps and nextProps it should return true if you are passing the same theme.  Generating a new object on each render is supposed to change the reference but if you compare the values you should get the same.
I'm not very familiar with this level of optimization though, but I understand that themr should be pure itself. I've tested this being what I understand is happening:
import shallowCompare from 'react-addons-shallow-compare'

const themeable = (style = {}, theme) => {
  if (!theme) return style
  return [ ...Object.keys(theme), ...Object.keys(style) ].reduce((result, key) => (
    typeof theme[key] === 'string' && style[key] && theme[key].indexOf(style[key]) === -1
      ? { ...result, [key]: `${style[key]} ${theme[key]}` }
      : { ...result, [key]: theme[key] || style[key] }
  ), {})
}

const getComposed = () => themeable(
  { foo: 'bar1234', baz: 'abc' },
  { foo: 'baz5678', bar: 'cde' }
)

console.log(shallowCompare(getComposed(), getComposed()))
// ---> true

If the theme changes you'd have to re-render because the className are going to be different. Probably I'm missing something :/

You've got the point right - it's all about dynamic theme generation and passing it to the inner component which is also decorated with it's own theme. This way a merge always produces new object and its content should be shallowly compared together with the rest of props.
I'm writing a library of class decorators and currently in @Pure decorator I'm making an assumption that if a theme object is provided to props I'm excluding it from props for a separate shallow compare. That's ok and is working like a charm with the only thing that my decorator can be used in an environment without themr and a theme object passed to props. So I'd like to have some unique way to detect that a component has been already decorated by themr and therefore I suggest using ES6 Symbols.
I'm sorry about plain text with no examples, I'm writing from mobile. If you don't mind I'll provide some examples tomorrow.

Have just reviewed your code - yes, you always create a new object anyway here and here. So there's always a new reference to theme in props which makes shallowCompare to always return true.
Here's the way that I check props now assuming that theme object came from react-css-themr. This was a Symbol marker which was injected here and then should be checked here before deprecation in favor of react-css-themr.
I'd like to have a similar way to indicate that a component passed to @PURE has been already decorated by @themr.

I've rewritter my decorator to expliticly accept array of objects for separate shallow comparation, so this issue can be closed

Thanks @raveclassic !


Linux lag fix

Fixed lag on Linux systems by using solution that was described in referenced issue.
Fixes #28

I added your changes to this commit. Thanks!


All colors in all themes are black since latest tinted-theming-bot commit

It looks like this commit changed 798 colorschemes and set all their color values to 0, producing black-only colorschemes.
For anyone that wants to use the previous colorschemes, you can browse files at the last good commit

Thanks for creating the issue, there was a bug fixed in the builder which should prevent this from happening again https://github.com/tinted-theming/tinted-builder-rust/pull/5


About the error i got.

Hello, I got an error msg when i purchase payment orders via alipay.
It says "Balance not enough".
Please can u fix these problems for me?Thank you.

Not issues related. to rk-grpc, closing issue


Update task.py

First pass at adding support for max_examples to task evaluation.

I like the additions, just want to make sure how we'll roll in this change, as it will require lots of downstream changes to tasks, and JsonTask for example, and some test code changes.

Right right--I was thinking that we could isolate those changes in this branch, but perhaps that will require too many coordinated parts.  These changes are non-breaking right now, at least.

I like the additions, just want to make sure how we'll roll in this change, as it will require lots of downstream changes to tasks, and JsonTask for example, and some test code changes.

Right right--I was thinking that we could isolate those changes in this branch, but perhaps that will require too many coordinated parts. These changes are non-breaking right now, at least.

Sounds good, just making sure I understood how we'd integrate things.

Attention task designers--this PR represents a new expected functionality from the programmatic API.  Note that the evaluate_model function now expects two new kwargs which control how evaluation is done on a subsample of the full task.
The effected tasks + authors are:
bias_from_probabilities_task  (@yasamanb @Sohl-Dickstein )
boolean_expressions (@romanngg )
forecasting_subquestions (@william-r-s )
gender_sensitivity_test_Chinese (@XudongOliverShen )
gender_sensitivity_test_English (@XudongOliverShen )
high_low_game (@dmrd )
question_answer_creation (@lewkowycz )
roots_optimization_and_games (@daniellevy )
simple_arithmetic (@cdfreeman-google )
taboo<EMAIL_ADDRESS>- Dar Gilboa)
text_navigation_game (@cdfreeman-google )
twenty_questions (@Sohl-Dickstein )
web_of_lies (@romanngg )
word_problems_on_sets_and_graphs<EMAIL_ADDRESS>- Benjamin Inden)
As an example of the new expected functionality,
task.evaluate_model(some_model, max_examples=10, random_seed=0)
should evaluate some_model on 10 randomly selected examples from your task.  Repeating this call with random_seed=0 should select the same 10 examples, and should return the same score assuming that model responses are identical.  If max_examples=None then all examples in your task should be evaluated.
A single “example” from your task can involve many queries to some_model.  For example, one example of arithmetic could be a single query to an arithmetic problem.  In contrast, one example from text_navigation_game would be a complete attempted traversal of a maze, involving up to 30 queries to some_model.
This change is to enable rapid partial evaluations of large programmatic tasks, and to enable large tasks to be split into multiple smaller tasks for human eval. Evaluating a small number of examples is already possible for JSON tasks, and is heavily used.
Please make a best effort at implementing this functionality in the next week or so.  If you would like assistance augmenting your task to provide this functionality, reach out to me (@cdfreeman-google) or Ambrose Slone (@ajslone).
Best regards,
Daniel Freeman (@cdfreeman-google)

Hello,
To the effected tasks + authors (below) please be sure to tag @cdfreeman-google or @ajslone once you have implemented the functionality.

bias_from_probabilities_task (@yasamanb @Sohl-Dickstein )
boolean_expressions (@romanngg )
forecasting_subquestions (@william-r-s )
gender_sensitivity_test_Chinese (@XudongOliverShen )
gender_sensitivity_test_English (@XudongOliverShen )
high_low_game (@dmrd )
question_answer_creation (@lewkowycz )
roots_optimization_and_games (@daniellevy )
simple_arithmetic (@cdfreeman-google )
taboo (@dargilboa )
text_navigation_game (@cdfreeman-google )
twenty_questions (@Sohl-Dickstein )
web_of_lies (@romanngg )
word_problems_on_sets_and_graphs (@benjamininden )

Thank you!!
Kristen

How should this be implemented if we have subtasks?
That is: my task (#275) has approximately 15 levels of difficulty which it scores separately. Should I interpret max_examples as asking for max_examples examples from each subtask or max_examples total drawn randomly from all subtasks with the results pooled?

Thanks, @cdfreeman-google, one more question: are the results from each of the subtasks returned separately as a list (the previous behaviour) or are all the results pooled in this instance?

My task #294  has been defined as a json task, do I understand correctly that tagging me in this PR is equivalent to asking me to redefine the task as a programmatic?

Definitely still a list of ScoreData objects--one per subtask.  Good q!
On Tue, May 25, 2021 at 11:55 AM Richard Barnes @.***>
wrote:

Thanks, @cdfreeman-google https://github.com/cdfreeman-google, one more
question: are the results from each of the subtasks returned separately as
a list (the previous behaviour) or are all the results pooled in this
instance?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/google/BIG-bench/pull/288#issuecomment-848175947, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AR2UW4PEQ5TZC4WS6L2JQPDTPPXDBANCNFSM45BRSFTA
.

Ah apologies, you seem to have been tagged in error. No action needed on
your part!
On Wed, May 26, 2021 at 3:51 AM mswedrowski @.***>
wrote:

My task #294 https://github.com/google/BIG-bench/pull/294 has been
defined as a json task, do I understand correctly that tagging me in this
PR is equivalent to asking me to redefine the task as a programmatic?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/google/BIG-bench/pull/288#issuecomment-848669357, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AR2UW4NEP34F6V6KGRSCJP3TPTHB7ANCNFSM45BRSFTA
.

If I understand correctly, the open PRs with programmatic tasks are also affected by this change.
@dieuwkehupkes
@dptam
@gentaiscool
@kaustubhdhole
@lksenel
@millerjohnp
@nayeon7lee
@PurestEarth
@Randl
@sylinrl
@vyraun
Folks, take a look at https://github.com/google/BIG-bench/pull/288#issuecomment-844333336
TLDR: you need to add support for 2 new kwargs (max_examples, random_seed) in your programmatic task

You should implement it to sample evenly (as best it can) from the subtasks, so setting max_examples=15 would sample 1 example from each subtask, and 30 would be 2 from each subtask. If it's some number between 15 and 30, then I'd expect at least 1 example from each subtask, and then some number of subtasks with 2 examples (and none with three), sampled in some way that's deterministically reproducible via random_seed.

@cdfreeman-google, could you please check if the deterministic allocation solution below is ok?
def allocate_examples(max_examples, subtasks):
   """Calculates the number of examples each subtask should evaluate.

   Args:
       max_examples: Int. How many examples total should be evaluated in this task
       subtasks: List of strings. Each string is the name of a subtask
   Returns:
       Dict. Each key is a subtask name. The value is the number of examples that the subtask should evaluate
   """
   if isinstance(max_examples, int):
       examples_per_subtask = int(max_examples / len(subtasks))
       examples_nums = {k: examples_per_subtask for k in subtasks}
       rest = max_examples % len(subtasks)
       for key, value in examples_nums.items():
           if rest > 0:
               examples_nums[key] += 1
               rest -= 1
           else:
               break
   else:
       examples_nums = {k: None for k in subtasks}
   return examples_nums

If ok, we could add it to the documentation about max_examples.
The solution is deterministic for Python 3.7+.

What is the expected behavior if no random seed parameter is passed? Should it be deterministic (i.e., default seed) or random (i.e., randomly initialized seed)?

If I understand correctly, the open PRs with programmatic tasks are also affected by this change.
@dieuwkehupkes
@dptam
@gentaiscool
@kaustubhdhole
@lksenel
@millerjohnp
@nayeon7lee
@PurestEarth
@Randl
@sylinrl
@vyraun
Folks, take a look at #288 (comment)
TLDR: you need to add support for 2 new kwargs (max_examples, random_seed) in your programmatic task

The task I've submitted is JsonTask with addition of custom metric, I've checked if changes affect my code and I believe that isn't the case.

If I understand correctly, the open PRs with programmatic tasks are also affected by this change.
@dieuwkehupkes
@dptam
@gentaiscool
@kaustubhdhole
@lksenel
@millerjohnp
@nayeon7lee
@PurestEarth
@Randl
@sylinrl
@vyraun
Folks, take a look at #288 (comment)
TLDR: you need to add support for 2 new kwargs (max_examples, random_seed) in your programmatic task

The task I've submitted is JsonTask with addition of custom metric, I've checked if changes affect my code and I believe that isn't the case.

I haven't checked yet if the changes affect my code, but also my task is a JsonTask with a custom metric.

What is the expected behavior if no random seed parameter is passed? Should it be deterministic (i.e., default seed) or random (i.e., randomly initialized seed)?

Either is fine--we really just want to enforce deterministic behavior with a seed set.

Alright, submitting this PR, now.  Will start merging in the tasks that have made the API change over the next week!
@RomanPlusPlus , that looks good to me--good idea to add to the docs as well.  Will take a pass on that early next week.


Get information about a Microsoft Graph schema extension

Get information about the specified MS Graph schema extensions using https://graph.microsoft.com/v1.0/schemaExtensions/<id>

command: graph schemaextension get --id <id>

Note: requires #10
More information: https://developer.microsoft.com/en-us/graph/docs/api-reference/v1.0/api/schemaextension_get

Hi @waldekmastykarz ,
I can take this one as well as #15 if you are OK with it

Actually I already have this one complete 😄 , but branched from PR of #13. Should I wait for this one to be processed before submitting PR?
by the way can I include #15 in this PR or do you prefer only one command per PR ?

Ideally 1 command per PR: it makes it easier to process the PR and in case something needs to be adjusted, it doesn't hold up the whole PR.
If you have this one ready but branched of #13 then you need to wait until it's merged. Otherwise, you will get errors when trying to submit the PR because there are things missing in dev on upstream.

Hey @ypcode, are you still working on this?

Hi @waldekmastykarz , I unfortunately had to delay my tasks on the schema extension due to sliding pro priorities..., I won't probably be able to work on it before June. But you can leave them assigned to me except it there are more urgent need for them :)
Regards,
Yannick

June is ok. Thank you for the update 👍

Hey @ypcode, are you still planning to work on this?

Moving back to the backlog due to lack of response.
Free to be picked up.

hey @VelinGeorgiev  I really want to learn more about MS Graph schema extensions, could you please assign this to me ? thanks :)

All yours Rabia (@rabwill), thanks!


Add "FlowTimeout" property under Virtual Networks

Resource Provider

Microsoft.Network
Description of Feature or Work Requested

Need addition of FlowTimeout property under Virtual Networks.
FlowTimeout enables connection tracking for intra-VM flows. The value should be between 4 and 30 minutes (inclusive) to enable tracking, or null to disable tracking.
It is similar to the 'idleTimeoutInMinutes' property of public IP address.
In SDK, the property name is 'FlowTimeoutInMinutes'.
Under Powershell, it has been implemented as FlowTimeout in the request, but in the response, we get 'FlowTimeoutInMinutes'.
https://github.com/Azure/azure-powershell/pull/14665
az network vnet create \
  --name myVNet \
  --resource-group CreateVNetQS-rg \
  --subnet-name default \
  --flowtimeout 10

Minimum API Version Required

2020-11-01 (In Swagger /  PS, it is 2021-02-01 API version)
Swagger Link

https://github.com/Azure/azure-rest-api-specs/pull/13519
Target Date

NRP 155 Manifest update release (Target May 2021)

network

waiting for 'network-february-release' merge into 'master'


Unique Paths

Description
There is a robot on an m x n grid. The robot is initially located at the top-left corner (i.e., grid[0][0]). The robot tries to move to the bottom-right corner (i.e., grid[m - 1][n - 1]). The robot can only move either down or right at any point in time.
Given the two integers m and n, return the number of possible unique paths that the robot can take to reach the bottom-right corner.
Domain
Competitive Programming
Type of Contribution
Addition
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of LearnCPP.

/assign


Update README.md Added missing Requirement: xlwt Package

Added missing Requirement: xlwt Package

I dont directly import xlwt itself as the Excel writing is done using pandas. I think it would be sufficient to have only pandas installed (which may install xlwt as its own dependency) and not have to manually install xlwt. Can you confirm whether everything works with just pandas and no xlwt?

I encountered ModuleNotFoundError: No module named 'xlwt' when a task is started, which was fixed after installing xlwt using "conda install xlwt".


Unable to install laravel package, composer conflicts

Environment
How do you use Sentry?
Sentry SaaS (sentry.io) (altho so far I am not as far as actually using it)
Which SDK and version?
Sentry Laravel ^2.7
Steps to Reproduce

> composer require sentry/sentry-laravel --with-all-dependencies

Expected Result
Package installs
Actual Result
 composer require sentry/sentry-laravel --with-all-dependencies
Using version ^2.7 for sentry/sentry-laravel
./composer.json has been updated
Running composer update sentry/sentry-laravel --with-all-dependencies
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires laravel/framework 6.*, found laravel/framework[v6.0.0, ..., 6.x-dev] but these were not loaded, likely because it conflicts with another require.
  Problem 2
    - laravel/tinker is locked to version v1.0.10 and an update of this package was not requested.
    - laravel/tinker v1.0.10 requires illuminate/console ~5.1|^6.0 -> found illuminate/console[v5.1.1, ..., 5.8.x-dev, v6.0.0, ..., 6.x-dev] but these were not loaded, likely because it conflicts with another require.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.

This all seems to be core stuff, so I'm not sure why it wouldn't work, but I don't have much experience with diagnosing composer conflicts.
I've attached my composer.json & .lock files.
composer-files.zip

Honestly, I have no clue why this is happening...!
But adding "sentry/sentry-laravel": "^2.7", manually to your require section and running composer update afterwards works like a charm with your composer.json (after removing your private package).

yep, that worked, thank you!

This still does not work.


v5.1.0 has breaking changes - ERROR ReferenceError: require is not defined

I accidentally updated to v5.1.0 and it does not work with Angular 12.
ERROR ReferenceError: require is not defined
    at e.get codeMirrorGlobal [as codeMirrorGlobal] (main-es2017.288b33d35bec7fd4a44d.js:1)
    ...

Downgrading to v5.0.1 fixed it.

I get the exact same error, on Angular v12.2.4 when using the development server (haven't tried other situations) and only once I activate/show a component which wraps the code mirror component. When using v5.0.1 of ngx-codemirror as @Clashsoft suggested, everything works as expected.

5.1.1 might have fixed it, not sure https://github.com/scttcper/ngx-codemirror/releases/tag/v5.1.1

Yes, indeed. 5.1.1 fixes the error. Thanks @scttcper

This should be documented in the Readme


"run cell" does not work for a new ipython console until it has executed something else.

Clicking "run cell" normally runs the cell in the ipython console.
With a new ipython console then nothing happens. However if you type something in the ipython console such as "a" and . Then click "run cell" and it works fine.

I can't reproduce this bug. These are the steps I'm following:

Start Spyder
Create a new file with a cell in it.
Press Run cell (or Shift+Enter). The cell is ran.
Open a new IPython console.
Get back to the Editor
Press Ctrl+Enter again. Everything is working normally.

I think you're not going back to the Editor after opening a new console, and that's why you can't run cells.

I have existing file open with cells are marked with #%% and highlighted in
yellow when selected.
Open a new console.
Click on the cells in the file and they highlight in yellow
Press the "execute cell and move to next cell" button. The next cell is
now yellow but nothing appears in the ipython window.
Type anything in the ipython window and try the exec cell and move on. This
time it works.
Have updated to 2.3.7 and tried in python2 and python3. Have also turned
off my auto exec file in preferences and made no difference.
On 17 October 2015 at 16:14, Carlos Cordoba<EMAIL_ADDRESS>wrote:

I can't reproduce this bug. These are the steps I'm following:

Start Spyder
Create a new file with a cell in it.
Press Run cell (or Shift+Enter). The cell is ran.
Open a new IPython console.
Get back to the Editor
Press Ctrl+Enter again. Everything is working normally.

I think you're not going back to the Editor after opening a new console,
and that's why you can't run cells.
—
Reply to this email directly or view it on GitHub
https://github.com/spyder-ide/spyder/issues/2773#issuecomment-148922476.

Please tell us

What operating system are you on
What's your Python, Qt and PyQt versions.

El 17/10/15 a las 10:34, simon escribió:

I have existing file open with cells are marked with #%% and
highlighted in
yellow when selected.
Open a new console.
Click on the cells in the file and they highlight in yellow
Press the "execute cell and move to next cell" button. The next cell is
now yellow but nothing appears in the ipython window.
Type anything in the ipython window and try the exec cell and move on.
This
time it works.
Have updated to 2.3.7 and tried in python2 and python3. Have also turned
off my auto exec file in preferences and made no difference.
On 17 October 2015 at 16:14, Carlos Cordoba<EMAIL_ADDRESS>wrote:

I can't reproduce this bug. These are the steps I'm following:

Start Spyder
Create a new file with a cell in it.
Press Run cell (or Shift+Enter). The cell is ran.
Open a new IPython console.
Get back to the Editor
Press Ctrl+Enter again. Everything is working normally.

I think you're not going back to the Editor after opening a new console,
and that's why you can't run cells.
—
Reply to this email directly or view it on GitHub

https://github.com/spyder-ide/spyder/issues/2773#issuecomment-148922476.

—
Reply to this email directly or view it on GitHub
https://github.com/spyder-ide/spyder/issues/2773#issuecomment-148925187.

Info of point 2. is reported in
Help > About Spyder

El 17/10/15 a las 10:38, Carlos Córdoba escribió:

Please tell us

What operating system are you on
What's your Python, Qt and PyQt versions.

El 17/10/15 a las 10:34, simon escribió:

I have existing file open with cells are marked with #%% and
highlighted in
yellow when selected.
Open a new console.
Click on the cells in the file and they highlight in yellow
Press the "execute cell and move to next cell" button. The next cell is
now yellow but nothing appears in the ipython window.
Type anything in the ipython window and try the exec cell and move
on. This
time it works.
Have updated to 2.3.7 and tried in python2 and python3. Have also turned
off my auto exec file in preferences and made no difference.
On 17 October 2015 at 16:14, Carlos Cordoba<EMAIL_ADDRESS>wrote:

I can't reproduce this bug. These are the steps I'm following:

Start Spyder
Create a new file with a cell in it.
Press Run cell (or Shift+Enter). The cell is ran.
Open a new IPython console.
Get back to the Editor
Press Ctrl+Enter again. Everything is working normally.

I think you're not going back to the Editor after opening a new
console,
and that's why you can't run cells.
—
Reply to this email directly or view it on GitHub

https://github.com/spyder-ide/spyder/issues/2773#issuecomment-148922476.

—
Reply to this email directly or view it on GitHub
https://github.com/spyder-ide/spyder/issues/2773#issuecomment-148925187.

[image: Inline images 1]
windows 10
Also if i click on the ipython console when it opens then it works fine. No
need to actually enter anything just a click.
But if I leave the cursor on the editor and click the run cell key then it
does not get sent to the ipython console.
On 17 October 2015 at 16:38, Carlos Cordoba<EMAIL_ADDRESS>wrote:

Please tell us

What operating system are you on
What's your Python, Qt and PyQt versions.

El 17/10/15 a las 10:34, simon escribió:

I have existing file open with cells are marked with #%% and
highlighted in
yellow when selected.
Open a new console.
Click on the cells in the file and they highlight in yellow
Press the "execute cell and move to next cell" button. The next cell is
now yellow but nothing appears in the ipython window.
Type anything in the ipython window and try the exec cell and move on.
This
time it works.
Have updated to 2.3.7 and tried in python2 and python3. Have also turned
off my auto exec file in preferences and made no difference.
On 17 October 2015 at 16:14, Carlos Cordoba<EMAIL_ADDRESS>wrote:

I can't reproduce this bug. These are the steps I'm following:

Start Spyder
Create a new file with a cell in it.
Press Run cell (or Shift+Enter). The cell is ran.
Open a new IPython console.
Get back to the Editor
Press Ctrl+Enter again. Everything is working normally.

I think you're not going back to the Editor after opening a new
console,
and that's why you can't run cells.
—
Reply to this email directly or view it on GitHub

<https://github.com/spyder-ide/spyder/issues/2773#issuecomment-148922476
.

—
Reply to this email directly or view it on GitHub
<https://github.com/spyder-ide/spyder/issues/2773#issuecomment-148925187
.

—
Reply to this email directly or view it on GitHub
https://github.com/spyder-ide/spyder/issues/2773#issuecomment-148925398.

python 3.4.3 64 bit. qt 4.8.6, pyqt api v2 4.10.4. windows 10
On 17 October 2015 at 16:42, simon mackenzie<EMAIL_ADDRESS>wrote:

[image: Inline images 1]
windows 10
Also if i click on the ipython console when it opens then it works fine.
No need to actually enter anything just a click.
But if I leave the cursor on the editor and click the run cell key then it
does not get sent to the ipython console.
On 17 October 2015 at 16:38, Carlos Cordoba<EMAIL_ADDRESS>wrote:

Please tell us

What operating system are you on
What's your Python, Qt and PyQt versions.

El 17/10/15 a las 10:34, simon escribió:

I have existing file open with cells are marked with #%% and
highlighted in
yellow when selected.
Open a new console.
Click on the cells in the file and they highlight in yellow
Press the "execute cell and move to next cell" button. The next cell is
now yellow but nothing appears in the ipython window.
Type anything in the ipython window and try the exec cell and move on.
This
time it works.
Have updated to 2.3.7 and tried in python2 and python3. Have also turned
off my auto exec file in preferences and made no difference.
On 17 October 2015 at 16:14, Carlos Cordoba<EMAIL_ADDRESS>wrote:

I can't reproduce this bug. These are the steps I'm following:

Start Spyder
Create a new file with a cell in it.
Press Run cell (or Shift+Enter). The cell is ran.
Open a new IPython console.
Get back to the Editor
Press Ctrl+Enter again. Everything is working normally.

I think you're not going back to the Editor after opening a new
console,
and that's why you can't run cells.
—
Reply to this email directly or view it on GitHub

<
https://github.com/spyder-ide/spyder/issues/2773#issuecomment-148922476>.

—
Reply to this email directly or view it on GitHub
<
https://github.com/spyder-ide/spyder/issues/2773#issuecomment-148925187>.

—
Reply to this email directly or view it on GitHub
https://github.com/spyder-ide/spyder/issues/2773#issuecomment-148925398
.

I'm afraid to tell you that we haven't tested Spyder on Windows 10.
If you're using Anaconda, there are some promising news. Qt and PyQt are
going to be updated in a couple of weeks, which could fix these
problems, but we don't know for sure.
If that's not the case, you should have to live with these bugs until
Spyder 3.0 (expected by the end of the year :-)
El 17/10/15 a las 10:46, simon escribió:

python 3.4.3 64 bit. qt 4.8.6, pyqt api v2 4.10.4. windows 10
On 17 October 2015 at 16:42, simon mackenzie<EMAIL_ADDRESS>wrote:

[image: Inline images 1]
windows 10
Also if i click on the ipython console when it opens then it works fine.
No need to actually enter anything just a click.
But if I leave the cursor on the editor and click the run cell key
then it
does not get sent to the ipython console.
On 17 October 2015 at 16:38, Carlos Cordoba<EMAIL_ADDRESS>wrote:

Please tell us

What operating system are you on
What's your Python, Qt and PyQt versions.

El 17/10/15 a las 10:34, simon escribió:

I have existing file open with cells are marked with #%% and
highlighted in
yellow when selected.
Open a new console.
Click on the cells in the file and they highlight in yellow
Press the "execute cell and move to next cell" button. The next
cell is
now yellow but nothing appears in the ipython window.
Type anything in the ipython window and try the exec cell and
move on.
This
time it works.
Have updated to 2.3.7 and tried in python2 and python3. Have also
turned
off my auto exec file in preferences and made no difference.
On 17 October 2015 at 16:14, Carlos Cordoba
<EMAIL_ADDRESS>wrote:

I can't reproduce this bug. These are the steps I'm following:

Start Spyder
Create a new file with a cell in it.
Press Run cell (or Shift+Enter). The cell is ran.
Open a new IPython console.
Get back to the Editor
Press Ctrl+Enter again. Everything is working normally.

I think you're not going back to the Editor after opening a new
console,
and that's why you can't run cells.
—
Reply to this email directly or view it on GitHub

<

https://github.com/spyder-ide/spyder/issues/2773#issuecomment-148922476>.

—
Reply to this email directly or view it on GitHub
<

https://github.com/spyder-ide/spyder/issues/2773#issuecomment-148925187>.

—
Reply to this email directly or view it on GitHub

https://github.com/spyder-ide/spyder/issues/2773#issuecomment-148925398

.

—
Reply to this email directly or view it on GitHub
https://github.com/spyder-ide/spyder/issues/2773#issuecomment-148925822.

Is this fixed for you after upgrading to PyQt 4.11.4?

yes
On 16 November 2015 at 00:46, Carlos Cordoba<EMAIL_ADDRESS>wrote:

Is this fixed for you after upgrading to PyQt 4.11.4?
—
Reply to this email directly or view it on GitHub
https://github.com/spyder-ide/spyder/issues/2773#issuecomment-156879841.


Extending Webpack config with SVGO loader.

Laravel Mix Version: 0.10.0
Node Version: 7.4
NPM Version: 4.1.2.
OS: Ubuntu 16.04

Description:
I am trying to get SVGO set up to I can optimize SVG images and remove all the metadata. I would love webpack to do this alongside the config I already have. I have tried the following to no avail:
mix.webpackConfig({
    devServer: {
        overlay: true,
    },
    module: {
        rules: [
            {
                test: /.(vue|js)$/,
                loader: 'eslint-loader',
                enforce: 'pre',
                exclude: /node_modules/
            },
            {
                test: /\.svg$/,
                loader: 'svgo-loader',
                options: {
                    plugin: [
                        { removeDocType: true }, // Changed from default of `false`
                    ]
                }
            }
        ]
    }
});

mix.copy('resources/assets/images/**/*.svg', 'public/images/svg');

I assume that when the assets are copied that webpack picks up on this and the test regex will call the svgo-loader. Is this correct?
My assets are being copied to their output directory but the svgo-loader is not taking effect. I am not getting any errors and in my console I can see the SVG images, but they are completely unchanged.
I tried adding more plugin options to SVG to make sure of this.
What am I doing wrong here?
Edit
I tried to just require() a file to test it out but it works perfectly fine then. How can I mimic this behavior for an entire folder so that the contents are being watched compared with another folder and minified if they do not exist in the build folder(or even have a different modified date)?
Preferably I would like run the svgo-loader on images whenever I copy them. Is it even possible to chain this somehow?

@stephan-v did you ever get this working?

tried this as well, seams just not to work, but also no error, I guess doing in "manually" via CLI is the way to go
I guess mix is great when juts using standard compiling stuff and similar, otherwise use native webpack


Pluggable matching algorithms

Besides FIFO matching there are various algorithms used on different exchanges. For example "pro-rata" i.e. every order on a best level is filled according to it's relative size vs total size. I.e. if there are two orders for 2500 lots and 500 lots on a level a fill of 100 lots would be allocated as (100_5/6) for a first order and (100_1/6) for a second order. Reminder is typically filled at FIFO.
Anyway, there are a lot of rules out there, would be great to have an abstract interface that fills best level.

Thanks, I'll have to look into these in more detail.

This is interesting, but unlikely to be implemented any time in the near future. 🙂


noodling around with included AVDL from js

cc: @chrisnojima, let's hack on this when you get a chance....

My PR fixes the js stuff: https://github.com/keybase/client/pull/3091

my pr was merged down

@mmaxim can you help me to review this?  the guts are rather simple but I've had to pull in a bunch of stuff.

:mag_right: The commits 54db08097875...e4d657257baf introduced some visual changes:

Changed: unlock_folders-Success (before) (after)

Changed: Passphrase-Error (before) (after)

@cjb, I need an assist here.  I need to set:
KEYBASE_PUSH_SERVER_URI=fmprc://api0.ci.keybase.io:9911

And also I need to expose that port on api0.ci
Not urgent....
Also @mmaxim, this might be worth another look.  I changed the mechanism for plugging into the gregor handler, but still aren't replaying gregor messages on sync. We should chat with @chrisnojima tomorrow to see if this makes sense...

Also, @cjb, I have no idea how these tests passed Windows CI. They should have failed for the same reason they failed OSX.   Is it possible Windows isn't reporting errors properly?

:mag_right: The commits 51c89290fcd9...a5c3a0caf13f introduced some visual changes:

Changed: Request_Invite-Start (before) (after)

Changed: Profile-Changed (before) (after)

:mag_right: The commits 97dbe3edccac...484aa8032a52 introduced some visual changes:

Changed: Device_Name-Start (before) (after)


coverity 1021720_1021721_1254795_1021722: ESI plugin

coverity fixes for  1021720_1021721_1254795_1021722 in ESI plugin

RAT check successful! https://ci.trafficserver.apache.org/job/RAT-github/526/

clang format successful! https://ci.trafficserver.apache.org/job/clang-format-github/516/

AU check successful! https://ci.trafficserver.apache.org/job/autest-github/513/

Intel CC build successful! https://ci.trafficserver.apache.org/job/icc-github/642/

FreeBSD11 build successful! https://ci.trafficserver.apache.org/job/freebsd-github/2209/

clang-analyzer build successful! https://ci.trafficserver.apache.org/job/clang-analyzer-github/770/

Linux build successful! https://ci.trafficserver.apache.org/job/linux-github/2105/

clang format successful! https://ci.trafficserver.apache.org/job/clang-format-github/541/

RAT check failed! https://ci.trafficserver.apache.org/job/RAT-github/554/

AU check failed! https://ci.trafficserver.apache.org/job/autest-github/539/

Intel CC build failed! https://ci.trafficserver.apache.org/job/icc-github/668/

FreeBSD11 build failed! https://ci.trafficserver.apache.org/job/freebsd-github/2235/

Linux build failed! https://ci.trafficserver.apache.org/job/linux-github/2131/

clang-analyzer build failed! https://ci.trafficserver.apache.org/job/clang-analyzer-github/797/


Make easier switch between MySQL and HSQLDB #184

Signed-off-by: Mariusz Borwin<EMAIL_ADDRESS>

Thank you @bozzwin


Missing file browser toolbar items with JupyterLab 3.4.0

Description
The file browser toolbar is missing a couple of items with JupyterLab 3.4.0.
With JupyterLab 3.3.4

With JupyterLab 3.4.0

Reproduce

pip install jupyterlab>=3.4.0 jupyterlab-filesystem-access
Open JupyterLab

Context
This is most likely related to https://github.com/jupyterlab/jupyterlab/pull/12281

Python package version: 0.4.0

Extension version: 0.4.0

Operating System and its version:  Ubuntu 20.04 - Chromium 101

Assigning myself on this, if you don't mind.

Sure, thanks!


Support multiple network definitions inside a Package

Rationale
It is very cumbersome right now to specify the configuration, initial blocks and parameterization for each networks. They need to be in separate files, and we get into a combinatorial problem when we also try to do sink configurations, for each network.
With the current model, we are also forced to ship a new spkg for each network configuration, making substreams.dev's interface a bit more ugly. Ideally, we would select an spkg, which is known to work for multiple networks, and through a dropdown, for a given version, we could select which network to use dynamically.
This puts the onus on the client sending the request to pick up the configs for a given network (taken from network or as a command-line argument to override it), and apply them to the right modules. The next-level overrides will come from the command-line p flags.
Proposition
Support this syntax in the manifest:
imports:
  erc20: spkg.io/streamingfast/erc20.spkg
  src: spkg.io/streamingfast/uniswap-v3-v1.2.3.spkg  # Now upon importing, we also namespace and import the `networks` definitions.

modules:
- name: my_mapper
  initialBlock: 123123
  inputs:
  - params: string
    value: "alskdjfalskdj"

network: mainnet

networks:
  mainnet:
    initialBlocks:
      # we've got an implicit definition of
      #  src:map_pair_created: 76098098
      # from the import of `src` up there ^^ And it needs to be defined for ALL networks we're going to query here.
      module1: 123123
    params:
      module1: "address=0x123123123123"
  goerli:
    initialBlocks:
      module1: 234234
    params:
      module1: "address=9x234234234"

The deriveFrom directive would allow one to either OVERWRITE or APPEND a network configuration. Or to replace the functionality of deriveFrom, one could now use substreams pack --network polygon ./substreams.yaml which would write a new .spkg, preconfigured (with network = polygon, and all parameters and initial block in place in their Module definition), with the filename appended with -polygon.spkg (before the version? after the version?). This ought NOT TO CHANGE the package.name to be able to deduplicate once on substreams.dev ...
The imports manifest declaration needs to also import the networks definitions, and remap the module_name to imported_name:module_name .. so it cascades when someone selects a network from a child spkg (one that imports multiple spkgs for instance).

The network application, will then apply the changes for all of its parents.

Validation for substreams.yaml's networks:

build a set of all keys, for each network
the set of keys need to be equal for each network, so no missing key.
This means that: if you define a module that needs override for a given network, it needs to be defined for all networks.
This also means we will not validate or force the overriding of the initialBlock or original params value for a module, unless it uses this networks override mechanism.

In the above example, if goerli was not defined within the src import, the algorithm above would halt with the error:  missing initialBlock for network "goerli", on module "src:map_pair_created".

That is still annoying because we don't want to see published all sorts of spkg for individual networks. substreams.dev can cross-check my comparing module count, and module hash for each network in equality, + version and package.name.
Selected a network is a deploy-time concern, not a package-time concern. If we do that, we still encourage the packaging of an spkg per network, which complexifies and makes substreams.dev ugly and unintuitive.

Q: Rename network to defaultNetwork or selectedNetwork? Keep it as is? preconfiguredNetwork

One could think that the init codegen could write a parameterized module, and put the contract address in the networks section, along with the initialBlock, for the selected network. This way, the scaffolded code would be ready to accomodate other networks.

This would be great. substreams init could keep asking user for networks in a loop verifying that ABIs match and querying initialBlock, and add entries to the networks section.

Ok, we refined and updated the thing, @YaroShkvorets please re-read.

After more discussions:

we can't validate that a) all networks have the same modules defined in them, nor b) that all the existing modules have the same values in all networks.

This is because:
a) and b) I may create a substreams that supports only a subset of the networks that an imported .spkg does. I wouldn't have to define values the other networks that I don't want to serve.
b) an .spkg that I import may have network-defined values for some modules, but my own modules do not depend on them -- instead, they depend only on modules that are not affected by the values in networks.

we have to keep ALL the networks overrides of the packages that we import, so that someone could import our spkg from another package and fill in the blanks to make it work...

the default values of a module for initialBlock and Params are redundant if they are overriden in Networks (with a default network set -- which will be mandatory).

This leads to the following decisions.

Before merging the params from an imported module, we will ensure that EACH PACKAGE has consistency (same modules defined for all networks) but we won't check this accross different packages.
When running a substreams, we will check "global" consistency only for the modules that are required to run the requested output_module (looking at the graph). When packing a substreams, we will do the same but ONLY for the modules and networks that are declared locally, and the modules on which they depend.
The substreams client should fail when packing the default values of a module are different than the ones that are overriding them. When setting per-network values, the ones that correspond to the default network should be written over the ones directly written in the module when these ones don't exist or when overriden from another module.

Eventually, we could remove the client-side burden of computing all this and send the packed spkg in the request, along with the parameters like 'network' and 'params'. Maybe...

https://github.com/streamingfast/substreams/pull/358 reviews welcome!

This is great and needed for a long time for us! I think one last touch is to update the schema.json file to reflect these changes. I can make a PR to update but it may be a couple days before I get back around to it
https://github.com/streamingfast/substreams/blob/develop/schemas/manifest-schema.json


Cluster template import error

Hi @asdaraujo
We are trying to update the attached Hive configuration through the definition.yml file and it fails with an error "Failed to Create Hive Metastore Database Tables"

This config is automatically done when specifying the databases in the definition file :
clusters:
- name: cdp
  databases:
    HIVE:
      name: hive


SSH doesn't work with Dopamine 1.0.3, iOS 15.4.1, iPhone 13

% ssh -l root -p 2222 localhost
(root@localhost) Password for root@iPhone13:
UNIX authentication refused
Can not connect, the password is correct.

same happened to me but I did download Mterminal typed sudo su it did worked

PSA: Logging in as root
Logging in as root is no longer supported. Nor is it recommended. Instead you can use the mobile user and run commands with sudo which will run them as root. You should have set your sudo password when jailbreak for the first time. (Dopamine has you do this)
Sudo is a better practice than root login. So please stop, thank you!
Closing this as its not an actual issue.

 Nor does it specify ANYWHERE how or what the username is to log into--outside of root--to even run sudo. You can't use one without the other. Also, say you put in the wrong password from the beginning, what then? You can't reconfigure it without wiping completely.

Username: mobile
Password: (whatever you set on first jailbreak)
1.x versions had the ability to reset this password from the Dopamine app but 2.x currently does not.

Right, but then any tweak or application that require non-rootless will fail to install without an external shell. No?

Why would writing files to the file system as root brick the device? I literally have a phone here on 13 with unc0ver with plenty of written files to it, either by vi/ftp, you name it. With this I can't even edit the hosts file...

Why would writing files to the file system as root brick the device? I literally have a phone here on 13 with unc0ver with plenty of written files to it, either by vi/ftp, you name it. This isn't a new thing. With dopamine I can't even edit the hosts file...

Yes it is a new thing in iOS 15 in case you've been living behind a rock. Also the hosts file isn't even used by the system anymore, you can install LetMeBlock and then put on inside the /var/jb filesystem.

Then I guess I have been living behind a rock, nice and sweet with a great ios that still does what I want. If what you say is true, that breaks everything. That means 90% of the debs won't work. So then if that's the case, what does this soft jailbreak have over any other file reading apps or sideloadly?

Then I guess I have been living behind a rock, nice and sweet with a great ios that still does what I want. If what you say is true, that breaks everything. That means 90% of the debs won't work. So then if that's the case, what does this soft jailbreak have over any other file reading apps or sideloadly? It's essentially rootless.

it's not a soft jailbreak, it is a full jailbreak. there is not a single thing that actually needs to write to rootfs.

Then you should have no problem answering that question? The file system isn't unlocked, therefore it isn't a jailbreak. A jailbreak literally means releasing opening the file system from its jail. This doesn't do that. Big deal.

Then you should have no problem answering that question? The file system isn't unlocked, therefore it isn't a jailbreak. A jailbreak literally means releasing opening the file system from its jail. This doesn't do that. Big deal.

No, a jailbreak consists of three things: universal codesign bypass, system wide code injection and root code execution, all of which Dopamine offers.


Build Cookie Class

Separated cookie class will help us to use cookie in whole  framework such as. Security::sendCookie(), Session::setCookie(), Response::sendCookies(), now we are able to do this from one main class \CodeIgniter\Cookie\Cookie
after merge: i'll update other classes with new cookie class methods
and will deprecate some methods and properties
userguide not finished yet
Checklist:

[x] Securely signed commits
[x] Component(s) with PHPdocs
[x] Unit testing, with >80% coverage
[x] User guide updated
[x] Conforms to style guide

Fails i'll fix when i back to home

Initially looks good. I don't have time to do a proper review but I approve the approach. Thank you!

Some of tests were failed I'll fix it soon

Before you progress further, please rename your subsequent commits to be more descriptive of the change. If it will just be the same, I assume that it is only an amended commit and should be forced pushed instead.

This looks like a real quality PR. @paulbalandan it looks to me like your requests have been addressed - okay with merging? I don't do a lot with cookies so would like someone else to confirm the merge.

This looks like a real quality PR. @paulbalandan it looks to me like your requests have been addressed - okay with merging? I don't do a lot with cookies so would like someone else to confirm the merge.

Oh, missed this one. I'll do another review this evening after work. 😄

Oh, missed this one. I'll do another review this evening after work. 😄

Thanks for the review with many good points, but about current names  I thinkCookie for cookie collection and CookiePresenterfor present single web cookie is much cooler regardless of the logic,, I belive that you are right but i would like to hear others opinions

Thanks for the review with many good points, but about current names  I thinkCookie for cookie collection and CookiePresenterfor present single web cookie is much cooler regardless of the logic,, I belive that you are right but i would like to hear others opinions

Personally, I would go for Cookie to present a single cookie.
How is this handled with other collections throughout the framework?
E.g., for files, we have FileCollection and File.

Personally, I would go for Cookie to present a single cookie.
How is this handled with other collections throughout the framework?
E.g., for files, we have FileCollection and File.

@MGatner what about this PR :)

@MGatner what about this PR :)

@michalsn would you take a look here please?

@michalsn would you take a look here please?


Android back button event breaks the app

When pressing back button on a raylib Android app, it breaks.
Related functions [gestures.c]
static int32_t AndroidInputCallback(struct android_app *app, AInputEvent *event);

Android back button event should be properly managed.

Fixed on commit https://github.com/raysan5/raylib/commit/d32feaa6685584e9856aa94f4d5bf80b7f5b861c


python310Packages.pymunk: 6.2.1 -> 6.3.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python310Packages.pymunk is: "2d physics library"
meta.homepage for python310Packages.pymunk is: "https://www.pymunk.org"
meta.changelog for python310Packages.pymunk is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
Warning: a test defined in passthru.tests did not pass
found 6.3.0 with grep in /nix/store/qrs2gapswq5s8kagpcqdbxp7yghsisl9-python3.10-pymunk-6.3.0
found 6.3.0 in filename of file in /nix/store/qrs2gapswq5s8kagpcqdbxp7yghsisl9-python3.10-pymunk-6.3.0

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath
python310Packages.pymunk
python39Packages.pymunk

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/qrs2gapswq5s8kagpcqdbxp7yghsisl9-python3.10-pymunk-6.3.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python310Packages.pymunk https://github.com/r-ryantm/nixpkgs/archive/1172afbef14e8dbeed4c930be001b46eb121e6ca.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/qrs2gapswq5s8kagpcqdbxp7yghsisl9-python3.10-pymunk-6.3.0
ls -la /nix/store/qrs2gapswq5s8kagpcqdbxp7yghsisl9-python3.10-pymunk-6.3.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

2 packages built:

python310Packages.pymunk
python39Packages.pymunk

Maintainer pings
cc @emilytrau for testing.

@ofborg eval


:book: indexrst & readme updated for 12.0

Also, the image is confusing. I'd say "No more reference to Odoo". But for this module it's better to make a screenshot of odoo backend, make the arrows to all "Odoo" references and state "Replace all Odoo reference to your Brand"

Так подойдет?

This is not a backend and the module may not replace odoo there

This is not a backend and the module may not replace odoo there

Со скриншотом проблемы, не понимаю, что показать в web_debranding

This is not a backend

This is backend


ws! returns Incomplete incorrectly (4.0.0-alpha2 and on)

Rust: nightly-2018-02-07 and nightly.
Nom: 4.0.0-alpha2, beta1, beta2.
Features: None.
Description
The ws! macro has regressions when consuming input that has no whitespace to trim.
In alpha1, ws! sees a trimmed string and passes it unmodified to its inner function.
In alpha2, ws! aborts early when there is no TRAILING whitespace in the input. It works correctly when there is trailing whitespace, regardless of LEADING whitespace.
In beta1, ws! fails entirely, with unknown incomplete data.
In beta2, ws! fails entirely, with incomplete data of size 1.
Test Cases
#[macro_use] extern crate nom;

ws!("  hello  ", tag_s!("hello")).unwrap();
ws!("hello  ", tag_s!("hello")).unwrap();
ws!("  hello", tag_s!("hello")).unwrap();
ws!("hello", tag_s!("hello")).unwrap();
ws!("\thello\t", tag_s!("hello")).unwrap();

alpha1: Ok, Ok, Ok, Ok, Ok
alpha2: Ok, Ok, Err(Incomplete(Unknown)), Err(Incomplete(Unknown)), Ok
beta1: Err(Incomplete(Unknown)), Err(Incomplete(Unknown)), Err(Incomplete(Unknown)), Err(Incomplete(Unknown)), Err(Incomplete(Unknown))
beta2: Err(Incomplete(Size(1))), Err(Incomplete(Size(1))), Err(Incomplete(Size(1))), Err(Incomplete(Size(1))), Err(Incomplete(Size(1)))

Update: The above test case also fails on master, commit ffb0783.

as mentioned on twitter, this happens because nom is now much stricter on Incomplete usage, so we can use CompleteByteSlice and CompleteStr instead: https://github.com/Geal/nom/blob/master/doc/upgrading_to_nom_4.md#dealing-with-incomplete-usage


Feature | import token (DAO)

Description
This pull request updates the 'proposals' page by adding wrap and unwrap buttons. These buttons open a modal form that enables users to perform the wrap and unwrap actions. The modals have been built, and Yup validation has been added to the form. A new custom hook, useApproval, has been created to handle the approval steps.
Notes

Added wrap and unwrap buttons to the 'proposals' page
Implemented modal forms for wrap and unwrap actions
Added Yup validation to the form
Created a custom hook useApproval for handling approval steps

Issue / Notion doc (if applicable)
Testing

Navigate to the 'proposals' page
Click on the wrap or unwrap button to open the respective modal form
Fill out the form and observe Yup validation in action
Submit the form and verify that the approval steps are handled by the useApproval custom hook

Screenshots (if applicable)

@Da-Colon not sure what happened here, but I created a new DAO with the Fractal Falcons token (which is already IVotes), and the wrap button appears but clicking it turns the screen blank:
https://deploy-preview-1144--fractal-framework-interface-dev.netlify.app/daos/0x740e6621CF7E7dE352a49a09dc220941279f3fe0/proposals
I've sent you some tokens so hopefully you see the same thing.

@Da-Colon this DAO was created wit wrapped Eth as the governance token, but the governance wrap button never appears, I sent you 1 weth as well to test:
https://deploy-preview-1144--fractal-framework-interface-dev.netlify.app/daos/0xdFA2dEa4B64E2Cd82905e989b9cf88B66F4462Fe/proposals
https://goerli.etherscan.io/token/0xb4fbf271143f4fbf7b91a5ded31805e42b2208d6#writeContract

Cool.
The first issues was missing checking for underlyingToken in a conditional was causing unwrap token to appear.
The second issue was cause by Wrapped ETH passing the checkVotesToken test I was doing. I've now updated it to:
  const checkVotesToken = useCallback(
    async (address: string) => {
      try {
        const votesContract = ERC20Votes__factory.connect(address, provider);
        await votesContract.delegates('0x0000000000000000000000000000000000000001');
        await votesContract.getVotes('0x0000000000000000000000000000000000000001');
        return true;
      } catch (error) {
        return false;
      }
    },
    [provider]
  );