Refactor build_schedule and related errors

Objective

break up large build_schedule system to make it easier to read
Clean up related error messages.
I have a follow up PR that adds the schedule name to the error messages, but wanted to break this up from that.

Changelog

refactor build_schedule to be easier to read

Sample Error Messages
Dependency Cycle
thread 'main' panicked at 'System dependencies contain cycle(s).
schedule has 1 before/after cycle(s):
cycle 1: system set 'A' must run before itself
system set 'A'
 ... which must run before system set 'B'
 ... which must run before system set 'A'

', crates\bevy_ecs\src\schedule\schedule.rs:228:13

thread 'main' panicked at 'System dependencies contain cycle(s).
schedule has 1 before/after cycle(s):
cycle 1: system 'foo' must run before itself
system 'foo'
 ... which must run before system 'bar'
 ... which must run before system 'foo'

', crates\bevy_ecs\src\schedule\schedule.rs:228:13

Hierarchy Cycle
thread 'main' panicked at 'System set hierarchy contains cycle(s).
schedule has 1 in_set cycle(s):
cycle 1: set 'A' contains itself
set 'A'
 ... which contains set 'B'
 ... which contains set 'A'

', crates\bevy_ecs\src\schedule\schedule.rs:230:13

System Type Set
thread 'main' panicked at 'Tried to order against `SystemTypeSet(fn foo())` in a schedule that has more than one `SystemTypeSet(fn foo())` instance. `SystemTypeSet(fn foo())` is a `SystemTypeSet` and cannot be used for ordering if ambiguous. Use a different set without this restriction.', crates\bevy_ecs\src\schedule\schedule.rs:230:13

Hierarchy Redundancy
thread 'main' panicked at 'System set hierarchy contains redundant edges.
hierarchy contains redundant edge(s) -- system set 'X' cannot be child of set 'A', longer path exists
', crates\bevy_ecs\src\schedule\schedule.rs:230:13

Systems have ordering but interset
thread 'main' panicked at '`A` and `C` have a `before`-`after` relationship (which may be transitive) but share systems.', crates\bevy_ecs\src\schedule\schedule.rs:227:51

Cross Dependency
thread 'main' panicked at '`A` and `B` have both `in_set` and `before`-`after` relationships (these might be transitive). This combination is unsolvable as a system cannot run before or after a set it belongs to.', crates\bevy_ecs\src\schedule\schedule.rs:230:13

Ambiguity
thread 'main' panicked at 'Systems with conflicting access have indeterminate run order.
1 pairs of systems with conflicting data access have indeterminate execution order. Consider adding `before`, `after`, or `ambiguous_with` relationships between these:
 -- res_mut and res_ref
    conflict on: ["bevymark::ambiguity::X"]
', crates\bevy_ecs\src\schedule\schedule.rs:230:13

added a migration guide


How do you train custom corpus with bert?

I am using a domain specific dataset for text classification.
But major of my data points are treated with [UNK] token in Bert.
Can I please get help on how to keep my custom corpus tokens?

Maybe it's a problem of not setting do_lower_case=False and using a cased model like in #436.
Which pretrained model are you using?

@thomwolf
sorry but this is completely not what I am asking for.
Suppose I have medical data and the names of the medicines and diseases are not in the bert pre-trained corpus. So bert gives me [UNK] token for important medical terms. How can I train it on my custom data?
PS: Medical data was just an example.

Hi, I'm also facing similar issue plz let me know if you have found any solution @shadylpstan

Hi, I'm also facing similar issue plz let me know if you have found any solution @shadylpstan

I was successful in modifying a couple of bert files and train it using my corpus.
Though it was really a mess doing so because by default bert has a classification model of a certain number of classes.
The accuracy wasn't good enough. So no idea it is a worth giving it shot from your end.


Fixes DF-2349 - updates deputy director to Meredith Fuchs

Updates deputy director to Meredith Fuchs.
Additions

Added Meredith Fuchs to Leadership calendar filter.

Changes

Updated Deputy Director information to Meredith Fuchs.
Updated /about-rich-cordray/ URL to /about-director/.
Updated /about-meredith-fuchs/ URL to /about-deputy-director/.
Normalized director and deputy director photos to be format NAME-WxH.jpg.
Fixed gulp copy task that was missing copying PDFs in subdirectories.
Fixed figure element that was inside a p.

Testing

Should be Meredith Fuchs on /the-bureau/.
Should be Meredith Fuchs on /the-bureau/about-deputy-director/.
New URL /the-bureau/about-director/
Visit /newsroom/press-resources/
Visit /about-us/

Review

@sebworks
@jimmynotjim
@duelj

Screenshots

Todos

There are some slight differences in image sizes because I used our existing media image sizing classes. The round images with accompanying link list should be turned into a macro that allows the same code to generate the media image blocks on /newsroom/press-resources/, /the-bureau/, /the-bureau/about-deputy-director/, and /the-bureau/about-director/. These currently have slightly different behaviors across responsive sizes. See [GHE]/flapjack/Modules-V1/issues/5
The float-media and rwd-crop classes should be incorporated into the media image structure in media.less.

Looks good to me. Thanks for going through and doing some light fixes with our headings while adding this biography.

:+1:


use history api to remove token from url

Describe the bug
Currently, the lib uses location.hash to remote the received token from the url. However, this is triggering the Angular router and can lead to race conditions with other routing requests.
To Reproduce
Steps to reproduce the behavior:

Use official example
Use router.navigate on token_received event
You get an race condition with the router

Expected behavior
router.navigate should work
Further notes
We should add an example that shows how to reroute the user to the originally requested url after login.

Ah, good point @jeroenheijmans.


Change transition color on overlay

Hello and thank you for your work here.
Would like to know if I can change the color on the overlay transition - Blue is not in my color scheme.

HI,
This is probably not the best solution, but it's works in my case:
in App.vue, add:

I think to, it's better to change this:
:root {
--overlay-bg: #1867c0;
--transition-duration: .35s;
}
But I don't to do this.

I'm gonna add support for css variables, which will make it easier in the future!


running mvn with java 11

Hi
i am trying to run mvn using
mvn -pl modules/core test -Dtest=org.apache.ignite.internal.storage.pagememory.PageMemoryImplTest#testReadBeforeInitialize
I set mvn java version to 11 and java/Home version also set to 11 but its not woking it shows it should be run in java version 11 or higher.

The command mvn -pl modules/core test -Dtest=org.apache.ignite.internal.storage.pagememory.PageMemoryImplTest#testReadBeforeInitialize works for me, and I only have JDK 11.
Please double check your JAVA_HOME environment variable and make sure java -version returns 11.


helm repo search finds versions with dashes in them

Output of helm version:
version.BuildInfo{Version:"v3.3.4", GitCommit:"a61ce5633af99708171414353ed49547cf05013d", GitTreeState:"clean", GoVersion:"go1.14.9"}
Output of kubectl version:
Client Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.2", GitCommit:"f5743093fd1c663cb0cbc89748f730662345d44d", GitTreeState:"clean", BuildDate:"2020-09-16T13:41:02Z", GoVersion:"go1.15", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.2", GitCommit:"52c56ce7a8272c798dbc29846288d7cd9fbae032", GitTreeState:"clean", BuildDate:"2020-06-03T10:06:47Z", GoVersion:"go1.13.9", Compiler:"gc", Platform:"linux/amd64"}
Doing a helm repo search test gives:
$ helm search repo test
NAME                    CHART VERSION   APP VERSION     DESCRIPTION
repoA/test              1.17.0-0565674  0565674         A Helm chart for test

I thought that only chart versions that had the form x.x.x would be shown and not x.x.x-x. The latter should only be found if using --devel. Did I misunderstand this, or is this a bug?

I've tried to replicated the problem and have been unable to. I tried on both mac and linux using downloaded releases and building Helm myself. Using v3.3.4 and the latest unreleased code.
You're understanding that you need to use the --devel flag to list pre-releases (form of x.x.x-x) is right.
I've tentatively marked this as question/support as we try to figure out why this is happening.
How many versions of the chart are in your Helm repository? Are there a lot for this particular chart? Are there any other details you can share?

Could it be due to the fact that the first character after the dash is a 0 (zero)? I am definitely just doing a helm search repo test and get the result I show above. Which I should not, as the chart version is 1.17.0-0565674, right?

First, the leading 0 is causing this issue. I just reproduced it with that.
Second, a leading 0 in a pre-release of a semantic version is not allowed. See https://semver.org/#spec-item-9 which says:

Numeric identifiers MUST NOT include leading zeroes.

This is in reference to pre-releases.
This is likely why it has not come up before or often. We should still handle the situation.

Yes, I do realize that a leading 0 is not correct, it is an old release that had this problem. But the fact then remains that if there was ever such a problem with such a build, that would show up such as in our scenario. Great that you will still look into fixing it.

Is anyone following this issue, if not, I am willing to try to fix it

@wawa0210 That would be great. If you have questions while trying please feel free to ask.


Trying to create HSMM with left-to-right assumption

So I have been trying to fit a Gaussian HSMM to an observation sequence with monotonic behaviour.

This observation sequence is created with the sample method from a pre initialized HSMM with parameters:
def init4shortMC(hsmm_class):
#initial probability
hsmm_class.pi = np.zeros(5)
hsmm_class.pi[0]=1
# durations
hsmm_class.dur = np.zeros((5,30))
x = np.linspace(0, 30, 30)
y = np.zeros_like(x)

for i in range(len(hsmm_class.dur)):
    for j in range(len(hsmm_class.dur[i])):
        hsmm_class.dur[i, j] = scipy.stats.norm(30, 10).pdf(x[j,])

for i in range(len(hsmm_class.dur)):
    hsmm_class.dur[i, 14] += 1 - hsmm_class.dur[i].sum()

#transition matrix
num_of_states = 5
hsmm_class.tmat = np.zeros((num_of_states,num_of_states))

for i in range(len(hsmm_class.tmat)):
    for j in range(len(hsmm_class.tmat[i]) - 1):
        if i == j and j < len(hsmm_class.tmat[i]) - 2:
            hsmm_class.tmat[i, j + 1] = 0.6
            hsmm_class.tmat[i, j + 2] = 0.4
        elif i == j and j == len(hsmm_class.tmat[i]) - 2:
            hsmm_class.tmat[i, j + 1] = 1

hsmm_class.tmat[-1, -1] = 1

hsmm_class.mean = np.array([10, 20, 30, 40, 50])   # shape should be (n_states, n_dim)
hsmm_class.mean = np.reshape(hsmm_class.mean,(-1,1))
hsmm_class.covmat = np.array([   # shape should be (n_states, n_dim, n_dim) -> array of square matrices
    [[10.]],
    [[10.]],
    [[10.]],
    [[10.]],
    [[10.]],

])

R1 = GaussianHSMM(n_states=5, n_durations=30, n_iter=100)

init4shortMC(R1)
sample1=R1.sample(100)

Then I am trying to fit a newly initialized model to the observation sequence. In order for the model to capture the monotonic sequence, I initialize it with the following start prob and tmat:
def init4fit(hsmm_class):
    # initial probability
    hsmm_class.pi = np.zeros(5)
    hsmm_class.pi[0] = 1

    # transition matrix
    num_of_states = 5
    hsmm_class.tmat = np.zeros((num_of_states, num_of_states))

    for i in range(len(hsmm_class.tmat)):
        for j in range(len(hsmm_class.tmat[i]) - 1):
            if i == j and j < len(hsmm_class.tmat[i]) - 2:
                hsmm_class.tmat[i, j + 1] = 0.6
                hsmm_class.tmat[i, j + 2] = 0.4
            elif i == j and j == len(hsmm_class.tmat[i]) - 2:
                hsmm_class.tmat[i, j + 1] = 1

    hsmm_class.tmat[-1, -1] = 1

Then I call the .fit method, with the tmat and start prob frozen so that they are not updated during the EM algorithm. However, the model never converges and outputs nan as the mean, durations and covar matrixes.
Any ideas?

Hello. Will look into this.
I would say for now that I didn't have the left-to-right assumption in mind when I implemented this, so it is likely that I'll add support to the assumption. But I'll look for a work-around.
Thanks!

Thank you for your reply!

Hello.
I cannot get myself to work on this repo anymore 😓. Because of this, I am in the process of archiving this repo. I am sorry that I cannot work on resolving this issue. Thank you for your interest and understanding.
poypoyan


Fix glyphicons

hey! This is awesome! I just made a few comments (mostly due to my own lack of understanding of all things css), but it's DEFINITELY a lot better.
I pulled the branch & the tracks aren't playing for me.... The glyphicons are definitely a lot better, but the tracks don't play when I hit play. Do they work for you?


code error

my configuration file has an error: Invalid config for 'switch' from integration 'rpi_gpio' at configuration.yaml, line 33: 'ports' is an invalid option for 'rpi_gpio.switch', check: ports
This is my code:
Raspberry Pi Cooling Fan
sensor:

platform: command_line
name: CPU Temperature
command: "cat /sys/class/thermal/thermal_zone0/temp"
unit_of_measurement: "°C"
value_template: '{{ value | multiply(0.001) | round(1) }}'
scan_interval: 10
switch:
platform: rpi_gpio
ports:
18: RPI Cooling Fan
climate:
platform: generic_thermostat
name: RPI Cooling Fan Controller
heater: switch.rpi_cooling_fan
target_sensor: sensor.cpu_temperature
min_temp: 55
max_temp: 80
ac_mode: true
target_temp: 55
cold_tolerance: 0.1
hot_tolerance: 0.1
min_cycle_duration:
seconds: 30
keep_alive:
minutes: 5
initial_hvac_mode: "cool"

TY

The obsolete way to configure the integration was removed.
Instead:
switch:
  platform: rpi_gpio
  ports:
     18: RPI Cooling Fan

The way to set it up correctly is:
switch:
  - platform: rpi_gpio
    switches:
      - port: 18
        name: "RPI Cooling Fan"

Please let me know if this did the trick.

Think im seeing a bit of the same. Happend after update to HA 2024.11.1. Have tried to change "pin" to "port", but it then gives me an validation error.
Error:

Logger: homeassistant.components.cover
Source: helpers/entity_platform.py:365
integration: Cover (documentation, issues)
First occurred: 11:25:17 PM (1 occurrences)
Last logged: 11:25:17 PM
Error while setting up rpi_gpio platform for cover
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 365, in async_setup_platform
await asyncio.shield(awaitable)
File "/config/custom_components/rpi_gpio/cover.py", line 85, in async_setup_platform
cover.get(CONF_UNIQUE_ID) or f"{DOMAIN}{cover.get(CONF_RELAY_PORT) or cover.get("relay_pin")}{cover[CONF_NAME].lower().replace(' ', '')}",
^^^^^^^^^^^^^^^
NameError: name 'CONF_RELAY_PORT' is not defined. Did you mean: 'CONF_RELAY_PIN'?`

Config:
cover:
  - platform: rpi_gpio
    state_pull_mode: 'UP'
    invert_state: true
    relay_time: 3
    covers:
      - relay_pin: 27
        state_pin: 11
        name: 'GarageDoor1'
      - relay_pin: 23
        state_pin: 12
        name: 'GarageDoor2'

Think im seeing a bit of the same. Happend after update to HA 2024.11.1. Have tried to change "pin" to "port", but it then gives me an validation error.
Error:
Logger: homeassistant.components.cover Source: helpers/entity_platform.py:365 integration: Cover (documentation, issues) First occurred: 11:25:17 PM (1 occurrences) Last logged: 11:25:17 PM
Error while setting up rpi_gpio platform for cover Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 365, in async_setup_platform await asyncio.shield(awaitable) File "/config/custom_components/rpi_gpio/cover.py", line 85, in async_setup_platform cover.get(CONF_UNIQUE_ID) or f"{DOMAIN}{cover.get(CONF_RELAY_PORT) or cover.get("relay_pin")}{cover[CONF_NAME].lower().replace(' ', '')}", ^^^^^^^^^^^^^^^ NameError: name 'CONF_RELAY_PORT' is not defined. Did you mean: 'CONF_RELAY_PIN'?`
Config:
cover:
  - platform: rpi_gpio
    state_pull_mode: 'UP'
    invert_state: true
    relay_time: 3
    covers:
      - relay_pin: 27
        state_pin: 11
        name: 'GarageDoor1'
      - relay_pin: 23
        state_pin: 12
        name: 'GarageDoor2'

This is another bug, as a workaround you can add unique_id to the cover until this is fixed. @tomer-w

The issue @jramsgaard is a real issue and not just obsolete configuration as @Pols88 was facing.
Fix for the issue is here: https://github.com/thecode/ha-rpi_gpio/pull/317

It worked with the unique_id for the covers. Thanks for the fast response and great work on this project 👍

Fixed in https://github.com/thecode/ha-rpi_gpio/releases/tag/2024.11.0

Updated but show the same error:
Invalid config for 'switch' from integration 'rpi_gpio' at configuration.yaml, line 33: 'ports' is an invalid option for 'rpi_gpio.switch', check: ports, please check the docs at https://github.com/thecode/ha-rpi_gpio

You should not have ports in your configuration. Take a look on the config I sent you in my first reply.

Thankyou so much.


Fix instances of deprecated folder mapping within exports in package.json

Background
Hiya from Shop infra! 👋
A recent PR pulled @shopify/checkout-ui-extensions into Shop, and now we're getting warnings like the following:
(node:25986) [DEP0148] DeprecationWarning: Use of deprecated folder mapping "./" in the "exports" field module resolution of the package at<EMAIL_ADDRESS>Update this package.json to use a subpath pattern like "./*".

It's not a problem unique to us - see other instances in major(ish) projects:

https://github.com/vuejs/vuex/pull/2048
https://github.com/postcss/postcss/pull/1456
https://github.com/microsoft/tslib/pull/135
https://github.com/elastic/elasticsearch-js/pull/1593

Solution
There are two common solutions:

Replace "./": "./" with "./*": "./*"
Add "./*": "./*" above "./": "./"

There was a window where solution 2 wouldn't work for some versions of Node 12 (ref), so some projects opted for solution 1.
I've opted for solution 2 simply because Node 12 is out of LTS in 4 days (and the latest versions of 12.x work fine for anyone still using Node 12), so I doubt it's going to have any meaningful impact.
🎩
The simplest way to test this is just setting up a small project:
Set up
mkdir /tmp/import-test
cd /tmp/import-test
yarn init -y
yarn add @shopify/checkout-ui-extensions
echo 'import("@shopify/checkout-ui-extensions/index.js");' > index.mjs

Existing functionality
$ node index.mjs
(node:29456) [DEP0148] DeprecationWarning: Use of deprecated folder mapping "./" in the "exports" field module resolution of the package at<EMAIL_ADDRESS>imported from /private/tmp/test/index.mjs.
Update this package.json to use a subpath pattern like "./*".
(Use `node --trace-deprecation ...` to show where the warning was created)

Fixed functionality
Updating @shopify/checkout-ui-extensions without publishing can be mimicked by just updating<EMAIL_ADDRESS>to replace "./": "./" with "./*": "./*" (as this PR does)
$ node index.mjs
$ # no warning!

Checklist

[ ] I have :tophat:'d these changes
[ ] I have updated relevant documentation

ping @jamesvidler . Might be that this PR got lost in your notifications.


MySql foreign keys: add CONSTRAINT and REFERENCES regex to search and replace db prefix list

The plugin doesn't correctly handle mysql foreign keys.
Adding this two regex fixes the problem (in a database.sql file we can find, for foreign keys, a line like this: CONSTRAINTwp_2251_ab_staff_services_ibfk_1 FOREIGN KEY (staff_id) REFERENCES wp_2251_ab_staff (id) ON DELETE CASCADE ON UPDATE CASCADE,).

Thanks for the PR.


iOS: Allow the Feed Icon to be hidden completely

I think as a customization that it might be useful to add another notch on the timeline customization for feed icon size so that it is completely hidden.  I think this should be implemented if #1551 is, to free up additional space for an article image.

Could be done on Mac too.


OOM error

Dear all
We want to train a UT model on our dataset. in the training, after some steps, the OOM error occurs. We continued training with decrease bach size, but the error was not resolved!!! even with batch size one!!
We used a Geforce 1080 Ti with 11 gig memory.
For example, This error occurred in the batch size equal one:
ResourceExhaustedError (see above for traceback): OOM when allocating tensor with shape[1,16,230102,230102] and type float on /job:localhost/replica:0/task:0/device:GPU:0 by allocator GPU_0_bfc
[[node universal_transformer/parallel_0_5/universal_transformer/universal_transformer/body/encoder/universal_transformer_basic/foldl/while/self_attention/multihead_attention/dot_product_attention/MatMul (defined at /home/user/anaconda3/envs/tf_gpu/lib/python3.6/site-packages/tensor2tensor/layers/common_attention.py:1464)  = BatchMatMul[T=DT_FLOAT, adj_x=false, adj_y=true, _device="/job:localhost/replica:0/task:0/device:GPU:0"](universal_transformer/parallel_0_5/universal_transformer/universal_transformer/body/encoder/universal_transformer_basic/foldl/while/self_attention/multihead_attention/mul, universal_transformer/parallel_0_5/universal_transformer/universal_transformer/body/encoder/universal_transformer_basic/foldl/while/self_attention/multihead_attention/split_heads_1/transpose)]]
Hint: If you want to see a list of allocated tensors when OOM happens, add report_tensor_allocations_upon_oom to RunOptions for current allocation info.
[{{node universal_transformer/parallel_0_5/universal_transformer/universal_transformer/body/decoder/universal_transformer_basic/foldl/while/encdec_attention/multihead_attention/k/Tensordot/Shape/_481}} = _Recv client_terminated=false, recv_device="/job:localhost/replica:0/task:0/device:CPU:0", send_device="/job:localhost/replica:0/task:0/device:GPU:0", send_device_incarnation=1, tensor_name="edge_769_u...rdot/Shape", tensor_type=DT_INT32, _device="/job:localhost/replica:0/task:0/device:CPU:0"]]]
Hint: If you want to see a list of allocated tensors when OOM happens, add report_tensor_allocations_upon_oom to RunOptions for current allocation info.

try to clean your t2t_train directory, and restart.

Same question.
Even I set batch_size=1, OOM still happends.
Also, I tried to clean my t2t_train directory, still not working...


Decorated function parameter types are not inferred

Bug Report
When decorating a class method, the argument types are not inferred from the decorator. When using the decorator method directly, without decorator syntax, the types are inferred correctly.
🔎 Search Terms
decorator, infer, type, argument
🕗 Version & Regression Information

This happens for decorators introduced in 5.0

⏯ Playground Link

Playground link with relevant code
💻 Code

function decorate(f: (id: number) => void, context?: any): (id: number) => void { return f }

class Foo {
    @decorate
    one(id) { // Parameter 'id' implicitly has an 'any' type.(7006)
        console.log(id as string)
    }

    two = decorate(function two(id) {
        console.log(id as string) // Conversion of type 'number' to type 'string' may be a mistake… (2352)
    })
}

let foo = new Foo();
foo.one("foo")
foo.two("foo") // Argument of type 'string' is not assignable to parameter of type 'number'.(2345)

🙁 Actual behavior
The parameter id for method one is inferred as any
🙂 Expected behavior
The parameter is inferred as number, similar to how it works when calling the decorated function directly for method two.

Is there any progress?


jekyll css-src js-src

Hi, I am trying to deploy your website for use offline with thelastmile.org
I have cloned your www repository and all submodules and run jekyll but there are some missing folders js and css.
I can't find out how main.min.js and main.min.css are generated anywhere, can you point out where that is done?
I tried doing something simple like for f in *.js; do cat $f >>  ../js/main.min.js; done
but I don't think that works correctly.

Nevermind. I see the package.json.
Does github pages run an npm install as well as doing a jekyll build? wow.

Yeah, it is all done through the package.json file.
I don't host the website on GitHub Pages anymore because of their build change about 6 months ago—they changed how code-highlighting worked and it was completely incompatible with my code samples. Now the whole website is hosted as a static site on KeyCDN (except the activities which will be moved soon).


comparing location properly with pathname and search

Bug fix:  Equality check for the object to object won't work
Checking with the pathname and search in nextProps and props

I see the same issue:
https://github.com/bertho-zero/react-redux-universal-hot-example/blob/b7a97ea9b34040db263dea5b3ef24ec539a0391c/src/containers/App/App.js#L66-L72
For here I think a comparison of location.pathname is enough.

@bertho-zero yeah comparing just pathname is enough only when we don't have any query parameters in the URL but in case if someone adding query params dynamically (pagination example) then it would cause an issue.
Example:
For instance, we have pagination then URL's will be like
https://example.com/?page=1
https://example.com/?page=2
Both are two different URLs and in this case, it causes the issue when the user/client navigates to page 2 and it will be at the same scroll position.

On the doc they only compare the object: https://reacttraining.com/react-router/web/guides/scroll-restoration/scroll-to-top

Need to check once. I will raise a PR if I find some ambiguity in restoring the scroll position. Right now I can't able to check.


[FEA] Cache input data to reduce integration test time

As of now, each running of integration tests can take more than 3 hours (more than 4 hours on databricks). We can consider caching the input data, storing all the randomly generated data in some static map and reusing them throughout the tests. By doing so, we could probably save a significant amount of time.

For example, if we have two tests using IntegerGen() then they can share exactly the same input.
Special generators such as IntegerGen().with_special_case() need to be considered as different from the pure IntegerGen() through internal object hashing.

Currently we already have cached dataframes:
https://github.com/NVIDIA/spark-rapids/blob/30c3df35ab7e87f71ecd84789529d25d9a289848/integration_tests/src/main/python/data_gen.py#L758-L763
And have a _cache_repr in dataGens for hashing, is that the same thing as this issue?

Oh wow, I didn't know that. But we still have all tests running very slow. However, such decoration is only caching python lists of values, not Spark dataframes. Is it possible to cache Spark dataframes instead?

However, such decoration is only caching python lists of values, not Spark dataframes. Is it possible to cache Spark dataframes instead?

Yes, it is possible, we are not doing this now because the runtime config in spark session may affect the result dataframes. It is tracked by https://github.com/NVIDIA/spark-rapids/issues/8524


Docs: Model training documentation has no links on how to create database, load data etc.

Add links to create database command.
No explanation of TIME_LIMIT
Need a better explanation for PREDICT

The AI engine page is intended only to show the documentation for the AI engine. We will add a table to illustrate all configurable parameters.
For loading data, we will add a usecase documentation page to cover that.

Merge into #999


<./rust-k256> had no function/method for signing

Seems like <./rust-k256> designed only for verification of a signature, as there's no ready outlet to pub which could sign a message. Should it be so, or does it just lacking it?

Depending on the answer I would raise an issue for changing the struct parts to AsRef or creating some facility methods for instantiation of the signature.

yes we definitely need a plume signing function!

skaunov
should add that it's also needed to

convert tests to integration,
clean hex strings assertions for further comprehensibilty.
(This well might demote AsRef issue to a nice to have thing.)

@Divide-By-0 , what do you think should we provide a sign with given $r$ method? I'm hesitant since it'd encourage nonce reuse and consequence break of the protocol. So I'm inclined to hide such a method in a debug target.

@Divide-By-0 , what do you think should we provide a sign with given r method? I'm hesitant since it'd encourage nonce reuse and consequence break of the protocol. So I'm inclined to hide such a method in a debug target.

Agreed. Sounds good to me


Tight linkage between Annotation and Assembly Services

Assembling a genome using short read data and then annotating the resulting sequence using RASTtk is a common task sequence for PATRIC and RAST users. At present, a user must run these as two separate steps, using the output of one as the input for the next, and waiting until the assembly step is complete before the annotation step can be launched. We will enable users to submit sequencing reads and move through the stages of assembly, annotation, and model construction easily and with the fewest possible steps, greatly streamlining use of PATRIC for researchers.
Requires some UI changes as well, and brings up the issue of chaining services together in a generic way.

10/14 update: Feasible for Nov Release.  Significant discussion regarding UI implications.

10/28: Still feasible.  Andrew writing app specs and doing pull request.  Bob will review.  If OK, Andrew will start on UI work.

11/18: Still feasible.  Straightforward if settle on JSON coming from Assembly.  Set flag to run annotation or just used combined JSON ("annotation child").

11/23: Dependent on Annotation Service updates.

12/2: Not going to make it for November release.

02/24: De-prioritized for now until we get some other things done, such as batch upload.

i'm going through issues that have "upload" word and saw this one. @rkenyon is this the originator of workflow service we are going to deliver in next march? :)

Done via new Comprehensive Genome Analysis Service.


npm run storybook should work in NativeBase/example

Description
npm run storybook should work in NativeBase/example
CodeSandbox/Snack link
N/A
Steps to reproduce
#!/usr/bin/env sh
git clone git@github.com:GeekyAnts/NativeBase.git /tmp/NativeBase
cd /tmp/NativeBase/example
yarn
yarn storybook

NativeBase Version
not sure, not in package.json
Platform

[ ] Android
[ ] CRA
[X] Expo
[ ] iOS
[ ] Next

Other Platform
No response
Additional Information
ERROR in ./node_modules/react-native/index.js 13:7
Module parse failed: Unexpected token (13:7)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| 'use strict';
|
> import typeof AccessibilityInfo from './Libraries/Components/AccessibilityInfo/AccessibilityInfo';
| import typeof ActivityIndicator from './Libraries/Components/ActivityIndicator/ActivityIndicator';
| import typeof Button from './Libraries/Components/Button';
<EMAIL_ADDRESS>26:21-44
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS> @ ./storybook/addons.ts
 @ multi ./node_modules/<EMAIL_ADDRESS>./storybook/addons.ts<EMAIL_ADDRESS>

@silgal Thanks for reporting! We're looking into this.

Any more info on this one?

Any more info on this one?

There is some loader issue with the storybook. Please try running with expo for now. We'll keep you updated. Thanks for your patience.

I would love to get Storybook + native-base work side by side. currently I hit a brick seems that internal structure on how to do styles is not supported with Storybook

Hi @dohomi, by storybook you mean react storybook or storybook inside nativebase repo.

@Viraj-10 Storybook for the use with nativebase.

did anyone found a workaround?


Set a loader on favorite page

Description
When we have some posts as favorite but, when we go to the favorite page it seems empty initially as if there are no favorites which leads to bad user experience.
I want to fix this bug.
Steps to reproduce
Add a post to favorite
Go to favorite page
It is empty until the data is loaded
Screenshots

Desktop (please complete the following information)
No response
Smartphone (please complete the following information)
No response
Additional information
No response

Description
When we have some posts as favorite but, when we go to the favorite page it seems empty initially as if there are no favorites which leads to bad user experience. I want to fix this bug.
Steps to reproduce
Add a post to favorite Go to favorite page It is empty until the data is loaded
Screenshots

Desktop (please complete the following information)
No response
Smartphone (please complete the following information)
No response
Additional information
No response

you're right and you can work on this!


Expand TimeMonzos with a residue exponent

Makes all radicals representable.
The only thing missing will be the dot product as the naïve metric requires a prime factorization.

Has issues with strict equality which requires proper radicals which requires prime factorization which result in slowdown: https://github.com/xenharmonic-devs/xen-dev-utils/pull/22


@conda-forge-admin, please add user @drbixx

Additional comment:
No response

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I added user @drbixx in conda-forge/fitstools-feedstock#4.


The search canot touch

The search canot touch

Duplicate of https://github.com/andreamazz/AMScrollingNavbar/issues/87

thank you~


purple-facebook: 0.9.0 -> 0.9.3

Motivation for this change
Fixes Null value for $.viewer.message_threads.sync_sequence_id error preventing the plugin from working.
Confirmed that it builds, runs and fixes the issue.
Things done

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

[X] NixOS
[ ] macOS
[ ] Linux

[x] 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.

Looks good.

I also backported this one, because the protocol broke: 645137cdc9ba4e3e30bc3fd897b7d4c0b53685e5

Thanks!


Http/2 with TLSv1.3

The following line of code prohibits the ability to use TLSv1.3 with H2 connectors. If you agree, can this please be fixed? Thank you.
https://github.com/dropwizard/dropwizard/blob/33d0dd89f6330f06fc81a29fa058fc70fd9d9f7d/dropwizard-http2/src/main/java/io/dropwizard/http2/Http2ConnectorFactory.java#L94

@HaiderRazvi Thanks for reporting this!
A fix will be available in the next version of Dropwizard 2.0.x. 😄

Thanks so much. Appreciate the super quick response and fix.


Fix minor translation issues

Irish is now added to the 'LOCATION' dictionary properly
Change 'how it looks like' to 'what it looks like'

(also see #479)
Thank you for the fix!


Enable GitHub Actions

This PR includes changes from #44.
Resolves #43.
It includes the following changes:

Sets up Github Actions to run installation and build for Python versions 3.8, 3.9, and 3.10 on Linux and MacOS (I couldn't get Windows to work, for some reason)
Runs flake8 checks as part of build process as well
Automatically builds documentation on every commit and publishes it to Github pages (pages will need to be enabled on repo) -- this will/can replace the external dependency on Readthedocs.
Tests installation using pip to ensure it's possible
Pushes coverage reports to codecov.io (will need to be enabled on main repo as well)

I like codecov.io, since the checks are integrated with PRs and specifies both total coverage and the PR diff coverage. We use it on HyperSpy and I've been happy with it

Adds a few pretty badges to the README.md
Updates a few dependencies (pycalphad and pymatgen)
Some minor documentation updates to describe the new changes

Tagging @blaiszik and @WardLT for visibility on this one (also #44). Happy to chat more about it here or on a call as you need.
Here's an example of how the documentation looks on Github Pages: https://jat255.github.io/MaterialsIO/

@WardLT this is sort of unrelated to this issue, but I'm running into an issue in that my extractors produce un-serializable values sometimes (which is potentially unavoidable by including "raw metadata"). I see that the approach to solve that is through the adapters... I've implemented what I'm calling a "greedy" adapter that will serialize everything it can and otherwise report that it cannot. Hopefully that's within intended scope.


Refactory the FirebaseUI-Storage binding of SDWebImage using the 5.0 modern Custom Image Loader API.

Some of old public API is not compatible for the Custom Image Loader. Need upgrade or check later
Hey there! So you want to contribute to FirebaseUI? Before you file this pull request, follow these steps:

Read the contribution guidelines.
If this has been discussed in an issue, make sure to mention the issue number here.  If not, go file an issue about this to make sure this is a desirable change.
If this is a new feature please co-ordinate with someone on FirebaseUI-Android to make sure that we can implement this on both platforms and maintain feature parity.

Propose
Hi, Googlers. 😃
I'm the collaborator and maintainer of the iOS image loading framework, SDWebImage. I found that Firebase provide a UI-binding for some third-party framework. Like this FirebaseUI-Storage. Which binding the storage API with SDWebImage's API.
We'll recentlly release SDWebImage 5th major version update. The 5.0 version, it's aimed to provide a extensible and powerful architecture, to let SDWebImage be used for more posibility and work together with others.
In 5.0, we refactoried our framework, to make both Cache and Image Downloader become customizable. See the wiki page about this: Custom Loader. Which it aimed to emmbed third-party or Apple's system framework to become a downloader instead of the default SDWebImageDownloader.
Actually, it's not hard to write one custom loader. And it's a great replacement for some hack code before 5.0. We have already done one custom loader for Apple's PhotoKit, see SDWebImagePhotosPlugin
So, as a maintainer of SD, as well as open-source contributor. I'd want to contribute to use the new 5.0 API to update the binding of FirebaseUI-Storage component.
Why WIP
SDWebImage 5.0 is current in the last beta. It's aimed to be released in April. So I create this MR to show how to use the API. After the 5.0.0 released, maybe I can update the MR of Podspec dependency and remove the WIP.
Changes
After I checking the current FirebaseUI-Storage implementation, there are one UIImageView+FirebaseStorage category. All logic is here, including cache query and downloader.
With the custom loader API of SDWebImage. The user don't need to worry about the cache component, and don't need to carry about the decoding component. They are all built-in but replaceable.
During some effort, today I created one simple implementation using new API. I create one SDWebImageFirebaseLoader class for custom loader, and also the related component, for example, the context option for the maxImageSize arg, the NSURL category to build a URL representing FIRStorageReference.
But there are still some detail changes need to be polished, and there are also some incompatible API need to find a solution. And some usage make me a little confused and I want to get some reply about it.
Problems
Problem1. cache arg in UIImageView category
The sd_setImageWithStorageReference:maxImageSize:placeholderImage:cache:completion: have a cache arg. The description is below:

An image cache to check for images before downloading.

But I check the implementation files, it seems user can provide a nil, to totally disable the cache query. Is this is designed behavior ? If so, I can use the 5.0's new option SDWebImageFromLoaderOnly to totally avoid cache query for single image request.
Problem2. The cache key for FIRStorageReference *
Current version, the UIImageView category, using FIRStorageReference.fullPath as its cache key.
From the comment, the fullPath represent the Path, without the bucket. Like this:
path/to/object.jpg
But when using the new API constructed with +[NSURL sd_URLWithStorageReference:], the default cache key will become this one (By default, we using the absoluteString as cache key):
gs://bucket/path/to/object.jpg
Yes I can keep the old version's compatible using the custom cache key mapping. But I have one question: using only fullPath as cache key, how to solve cache conflict for these two Firebase path ?
gs://test_bucket/path/to/object.jpg
gs://deploy_bucket/path/to/object.jpg

I think using the full URL's string it's a better way. But note this will break old version compatible for caches already on the device.
Problem3. The return value FIRStorageDownloadTask * in UIImageView category
The sd_setImageWithStorageReference:placeholderImage: series method, have a return value, which type is FIRStorageDownloadTask *. The description is below

Returns a FIRStorageDownloadTask if a download was created (i.e. image could not be found in cache).

But when I want to using the new API. I found the problem. Why ? Because the key point of SDWebImage original loading logic, it's the following pipeline.

Query Memory Cache (sync), if failed
Query Disk Cache (async), if failed
Download from network (async), if failed // <----Only here we have the download task
Mark load failed

When I check the implementation, I surprisely found that current implementation, will query disk cache on the main queue, and even do a image decoding on the main queue (!). The code is here:
https://github.com/firebase/FirebaseUI-iOS/blob/v6.2.1/Storage/FirebaseStorageUI/UIImageView%2BFirebaseStorage.m#L104-L111
Decoding a compressed image data is really time-consuming (for example, you're using WebP and libwebp codec, a 100KB WebP may need 200ms to be decoded on iPhone 7). And this call will blocking the main queue for long time. It's not a good idea for UI rendering.
So, instead, currentlly I mark this issue, and suggest to change the return value from FIRStorageDownloadTask * to void.
I know some people, who use FIRStorageDownloadTask, it's to monitor prorgess changes of the download percent. Here I introduce a new arg progressBlock which represent the progress change. It's the same arg like SDWebImage original category.
But since this change it's an API-breaking, I wonder whether or not it's suitable to do here. So I need your guys' reply.
More enhancement in future
The Custom Image Loader, actually can support the progressive image loading and rendering. Like our built-in SDWebImageDownloader with SDWebImageProgressiveLoad option. It's also supported by the PhotosKit loader using the Apple's API PHImageRequestOptionsDeliveryModeOpportunistic.
It's not hard to implements since the decoding part it built-in. Custom Loader just need to supply a image data progressively.
Current I found there are some API to grab the current downloaded data. But it seems need some private API ?(Or am I wrong?). So I don't implements that now. Maybe todo in the future.
Final
Sorry for this long MR description. I want to express my idea about this changes, and also some consideration on behalf of SDWebImage's maintainer. If this MR it's not suitable or have something wrong on the implementation, I can check and change again. I'm glad to cooperate with FirebaseUI community and provide the help of SDWebImage.

Thanks for doing this @dreampiggy!
Agreed that the API should be made async and return void instead of returning a download task. This is something I wanted to do for a while, but haven't had the time to. Moving the image-constructing logic off of the main thread is a significant bonus as well.
We have a scheduled major breaking change coming up in May when Google I/O happens, since we need to bump our Firebase dependency by a major version anyway. It's ok to make breaking changes in this pull request.

Thanks for your reply. So this means I can polish the API to match it match the current 5.0 version of SD.
Your reply is about the question 3. Which means I can change the FIRStorageDownloadTask * return value to avoid.
How about another 2 questions ?

cache arg in UIImageView category

If this arg is useless for most people, I can suggest to remove this arg totally. User who want to customize single image request level cache instance, can using the context option:
// assign a new cache instance
SDWebImageManager *manager = [[SDWebImageManager alloc] initWithCache:nitWithCache:SDImageCache.new loader:SDWebImageFirebaseLoader.sharedLoader];
// load with context option
[sd_setImageWithStorageReference:storageRef maxImageSize:size placeholderImage:nil options:0 context:@{SDWebImageContextCustomManager: manager}];

User who don't need to query cache, can using the SDWebImageFromLoaderOnly option.
// load with context option
[sd_setImageWithStorageReference:storageRef maxImageSize:size placeholderImage:nil options:SDWebImageFromLoaderOnly];

The cache key for FIRStorageReference *

What about this one ? If we need to keep old version of cache compatible (using the fullpath of cache key), we need a custom cache key filter for each image request.
SDWebImageCacheKeyFilter *cacheKeyFilter = [SDWebImageCacheKeyFilter cacheKeyFilterWithBlock:^NSString * _Nullable(NSURL * _Nonnull url) {
    return url.sd_storageReference.fullPath;
}];

Cache Key: path/to/object.jpg.
If not, we can remove these code. Which use the URL representation of FIRStorageReference.
Cache Key: gs://bucket/path/to/object.jpg.

The cache arg can be removed as long as there's still a way to avoid using the cache for users who want to skip the cache (looks like you've included this in your implementation).

We can change the cache keys since we don't guarantee that cache items will be preserved across major version bumps.

OK. I've follow your reply for the 3 questions. And do a renaming of previous MR (SDWebImageFirebaseLoader -> SDWebImageFIRStorageLoader), since this naming match the Firebase Storage UI-Binding.
I'll provide the detail of API breaks after this change.

Current break change (Need change code)
UIImageView+FirebaseStorage.h

sd_defaultMaxImageSize Removed.
sd_setImageWithStorageReference Removed.

Use SDWebImageFIRStorageLoader.defaultMaxImageSize for global level control
Use SDWebImageContextFIRStorageMaxImageSize context option for single imge request level control

sd_setImageWithStorageReference:zmaxImageSize:placeholderImage:cache:completion: Removed. The cache arg can be replcaed with the new option and context arg.

To disble cache, use SDWebImageFromLoaderOnly option
To supply custom cache instance, use SDWebImageContextCustomManager with the manager of custom cache instance.

Hi there !
SDWebImage 5.0.0 is official released today. See: SDWebImage 5.0.0
I've update the API changes to match the release version. And update the podspec. Maybe we can have a look at this and talke about some review ideas ?

Another idea, I saw the Firebase-UI, have the custom Swift class name for better Swift support. Such as FIRStorageRef (Objective-C) -> StorageReference (Swift).
The current loader's naming is SDWebImageFIRStorageLoader, sounds a little verbose. Maybe this naming can be polished. Like:
FIRStorageImageLoader (Objective-C) -> ~StorageImageLoader (Swift)

@dreampiggy sorry for the slow response. I've taken a look at this PR and it looks good. I'll try to give it a more in-depth review over the next few days.
The naming suggestion also sounds good. Thanks for working on this!

@morganchen12 Hi. I'm glad that you can take the time to review this PR.
And, do I need to change the naming of this class (see my above comment), which avoid the SDWebImage prefix and just use FIR instead (Swift name without that FIR)? If so, I can change it quickly.

Classes in this repository should use the FUI prefix, since FIR is used by the Firebase SDKs.

I found the test case failed reason. It should be passed now. 😅
It seems that FirebaseUI, does not keep the CocoaPods installed project into git repo. (The Pods_FirebaseStorageUITests.framework etc).
Is this step listed in the contribution guideline? I didn't find somewhere mention this, only when I run the ./test.sh, I found there are strange pod deintegrate >/dev/null; shell for each test cases.

We've been deintegrating pods for mostly deprecated reasons. It's definitely not necessary to continue doing so. But the breakages shouldn't be related to pod deintegrate.

I'm confused about the CI test pipeline. I saw many ** TEST FAILED ** output even in a sucessfuly Pipeline, like this: https://travis-ci.org/firebase/FirebaseUI-iOS/builds/525471083
I can definitely run the local Test Scheme by Xcode. Any help for this ? Seems a little struggle...

Seems still something about the test script? Or env issue?

The tests are failing upstream--I'm ok with merging this as long as Storage tests pass locally. Don't worry about the failures on Travis for now.

😢Any update about this PR ?
It seems this PR has already been opened for 1 and a half month...I remember the Google/IO 2019 is now begin. But this PR still sucking here.
Does FirebaseUI supports open source contribution outside Google ? Or is there anything I can do to make this PR to be take on ? Please reply me if you have idea about this.

Or if this FirebaseUI have no plan to support the new Image Loader API, please at least update the dependency without no API breaking. To make this Pod compatible for user who already use SDWebImage 5.0.
Currently, even I change the old v6.x version of FirebaseUI's dependency to use SDWebImage 5.0, it still can not compile because a little incompatible issue (One header include issue, and one SDImageCache API naming issue). It just take a little time to fix. It does not effect the logic for current users.

@dreampiggy sorry about that, I got caught up in some I/O stuff. We can merge this and target it for a mid-year breaking change.

Thanks for your support! Wish you and your team have a good Google I/O event. 👍

And, during these days, I have some other idea about this. If you some free time, maybe you can try to consider my below description.
FirebaseUI seems combine many CocoaPods Subspecs for different components, and bind each of them with different dependency for third-party library. But actually, the main part of FirebaseUI which used by users, are the OAuth component for Facebook/Twitter.
What about try to seperate them into a standalone one, to make it easy to upgrade and to avoid version bump for other components which does not change at all ?
Or, if you find the maintain of this FirebaseUI/Storage component, which bind SDWebImage's API, is a little tricky. Is there any plan, to make this component to be SDWebImage orgnization driven and maintained ? We follow the Firebase Core Storage API update and we consider SDWebImage's API changing, make it easy to move on.
Just a little curious, don't need to be seriously considering. If Firebase has its own milestone plan, don't be limited to this.


update ios sdk to version 1.8.4 using cocoapods

This pr resolves the wechat ios sdk via cocoapods and updates it to version 1.8.4 because the currently used version 1.7 is already deprecated since a while and support will be dropped soon. It also fixes apples UIWebView deprecation.
I intentionally did not upgrade to the latest version 1.8.7 because the apis have some major changes.

@yorkie

closing in favor of https://github.com/yorkie/react-native-wechat/pull/562


Object-detection pipeline improvements + better documentation

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


Separate system tasks from user tasks to avoid choking under load

Separate system originating tasks from user tasks to avoid choking under load. Currently we only have one celery worker and one queue that is shared for provisioning tasks triggered by both users and system.

Fixed by #245


Nix rust upgrade

build: upgrade rust package deps

Signed-off-by: Tiago Castro<EMAIL_ADDRESS>

build: upgrade nix to 23.05 and h2 to 0.3.20

The h2 submodule now points to 0.3 to make it simpler to upgrade.

Signed-off-by: Tiago Castro<EMAIL_ADDRESS>

@datacore-vvarakantham could you also upgrade nats on separate PR, seems like there's now 0.31.0 but there's code changes required so I'm not updating it here.


[Question]: How to run multi windows?

Is your question not already answered in the FAQ?

[X] I made sure the question is not listed in the FAQ.

Is this a general question and not a technical issue?

[X] I am sure my question is not about a technical issue.

Question
Hello,
I'm trying to run multi container, each container run 1 windows version. Like container 1 runs windows 10, container 2 runs windows 11, etc...
Can someone show me the ways? Thank
Best Regard.

Well... I think I understand your question. To make it possible you have 2 options.
Option A
Run a single docker compose and separate each windows in different services (This way u can start all 3 windows in the same time).
docker-compose up -d
Your docker-compose.yml should looks kinda like this:
(make sure to set unique container_name for each of them and the ports)
services:
  windows11:
    image: dockurr/windows
    container_name: windows11
    environment:
      VERSION: "win11"
    devices:
      - /dev/kvm
    cap_add:
      - NET_ADMIN
    ports:
      - 8006:8006
      - 3389:3389/tcp
      - 3389:3389/udp
    stop_grace_period: 2m

  windows10:
    image: dockurr/windows
    container_name: windows10
    environment:
      VERSION: "win10"
    devices:
      - /dev/kvm
    cap_add:
      - NET_ADMIN
    ports:
      - 8007:8007
      - 3390:3389/tcp
      - 3390:3389/udp
    stop_grace_period: 2m

  windows7:
    image: dockurr/windows
    container_name: windows7
    environment:
      VERSION: "win7"
    devices:
      - /dev/kvm
    cap_add:
      - NET_ADMIN
    ports:
      - 8008:8008
      - 3391:3389/tcp
      - 3391:3389/udp
    stop_grace_period: 2m

Option B
Create 3 docker-compose.yml files, each with a sevice like showing up and build each with docker compose up -d

Well... I think I understand your question. To make it possible you have 2 options.
Option A
Run a single docker compose and separate each windows in different services (This way u can start all 3 windows in the same time).
docker-compose up -d
Your docker-compose.yml should looks kinda like this: (make sure to set unique container_name for each of them and the ports)
services:
  windows11:
    image: dockurr/windows
    container_name: windows11
    environment:
      VERSION: "win11"
    devices:
      - /dev/kvm
    cap_add:
      - NET_ADMIN
    ports:
      - 8006:8006
      - 3389:3389/tcp
      - 3389:3389/udp
    stop_grace_period: 2m

  windows10:
    image: dockurr/windows
    container_name: windows10
    environment:
      VERSION: "win10"
    devices:
      - /dev/kvm
    cap_add:
      - NET_ADMIN
    ports:
      - 8007:8007
      - 3390:3389/tcp
      - 3390:3389/udp
    stop_grace_period: 2m

  windows7:
    image: dockurr/windows
    container_name: windows7
    environment:
      VERSION: "win7"
    devices:
      - /dev/kvm
    cap_add:
      - NET_ADMIN
    ports:
      - 8008:8008
      - 3391:3389/tcp
      - 3391:3389/udp
    stop_grace_period: 2m

Option B
Create 3 docker-compose.yml files, each with a sevice like showing up and build each with docker compose up -d

Dear  U-L-M-S,
I tried, but it doesn't seem to be able to access the web using port (8006, 8007,...) so I won't know if these docker containers are actually working or not. And if it runs, how can it properly connect to RDP when all ports are mapped to port 3389 (like 3391:3389). I tried 3390:3390 but it doesn't seem to work.
Thanks for your reply.

@eovipmak I don't want to sound rude broh... but you need to learn docker first.
Just go to Youtube and search for 'Lern docker in minutes' I'm pretty sure you will find videos around 20 mins till 2 hours. Choose one and learn it.
ps: You can use the command docker ps to check all current running containers.
:smile:  I hope I could help you...

The port mappings on each of those services for the first port should be 8006:8006, 8007:8006, 8008:8006 respectively otherwise you aren't forwarding the vnc on each of them


Health-check service CI/CD

Github actions:

Go build
Deployment - needed secrets

Done in https://github.com/LimeChain/hashport-validator-healthcheck-service/pull/3


The game has been updated 0x37E4918 address has been invalid, need to update the author.

The game has been updated 0x37E4918 address has been invalid, need to update the author.

I will update it later this week. And I think I will stop updating it in the future anyways as I don't use this personally any more.

This project is very good, there will be more people concerned, if the  to stop the update is really a pity.

I see TJ888 has shared the new offset ,but i haven't deploy this map yet  :(
Maybe you can use.
https://github.com/TJ888/PUBG-SDK

UWorld- 0x37E2908
GNames- 0x36E5710
GObjects- 0x36EDDC0
GetBoneMatrix- 0x1398140
WorldToScreen- 0x144F900

@Jeff-Ace Where do you see that new offset?

UWorld- 0x37E2908  我试了  不行 也许还需要改其它的

UWorld- 0x37E2908 I tried, maybe I need to change something else

I mean: what position do you see in that PUBG-SDK? I did not find

@cryzlasm
Refer to other website ,
https://www.unknowncheats.me/forum/1880245-post1821.html

@BegYouNoXiu Have you tried it?

UWorld 0x37E5988
GNames 0x36E8790


[Automated] Sync main after 0.1.0 release

Sync main after 0.1.0 release

Codecov Report

Merging #2 (2a99ce2) into main (a4dc4d5) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##               main       #2   +/-   ##
=========================================
  Coverage     96.92%   96.92%
  Complexity        9        9
=========================================
  Files             5        5
  Lines           130      130
  Branches         60       60
=========================================
  Hits            126      126
  Misses            4        4

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


Config Not Ready: Error communicating with API

Region and Brand of car
2021 Hyundai Kona EV
Germany
Version of the integration
v2.6.1
Describe the bug
When starting the integration and put my data in there will be the short message:
“Setup erneut versuchen: Config Not Ready: Error communicating with API: No Data Found v2 - No Data Found v2”
Debug logs if an error occurred
Logger: homeassistant.config_entries
Source: config_entries.py:1244
First occurred: 10:22:07 (1 occurrences)
Last logged: 10:22:07

Config entry 'Hyundai Europe<EMAIL_ADDRESS>for kia_uvo integration not ready yet: Config Not Ready: Error communicating with API: No Data Found v2 - No Data Found v2; Retrying in background

Thanks for help guys. I feel lost.

Does the car work corectly in the native app?

Does the car work correctly in the native app?

Yes, without any problems.

Do you have a second car on the app that doesn't work?

The error means it logged in and fetched data but the server didn't have any data to give.
If all cars in your app work enable debug logs and provide them.

Do you have a second car on the app that doesn't work?

Hm, have an old car in the app that is no longer active. But I can't delete it in the app. Maybe that is the cause of the problem. Will try to get in touch with the Hyundai support first.

Yes that is.   Support can remove it.

Good evening, I hope that I place my contribution here correctly. Since yesterday I have problems with the integration that it gives me the following error "Config Not Ready: 'int_user_id'". In the app - week by the way works perfectly - Are 2 cars registered to me


Unsupported phi use of const or let variable: add explanation

Thanks to @bmeurer: https://twitter.com/bmeurer/status/801698858908708864

Nice, thanks a lot!


Marker path doesn't work on Windows

I have just installed a script that works fine on OSX onto a windows box with Python27.
When I run the script and create a HTML file it doesn't render any markers.
Looking at the Chrome console I see:
file:///C:/Python27libsite-packagesgmplotmarksers/FFA500.png
ERR_FILE_NOT_FOUND
It seems that the path separator is incorrect and not used.
Looking at the actual HTML file the path separators are all backslashes
Changing the HTML to use forward slash as separator seems to work,

Change the following line
self.coloricon = os.path.join(os.path.dirname(file), 'markers/%s.png')
in the class init definition to
self.coloricon = "http://www.googlemapsmarkers.com/v1/%s/"

Looks like a good solution - also gets around the issues that the created file only works when opened on the machine it was generated from.

While open the html with Google Chrome, I didn't see any markers. Here is sample output from the html:
`function initialize() {
var centerlatlng = new google.maps.LatLng(41.059124, -71.922194);
var myOptions = {
zoom: 10,
center: centerlatlng,
mapTypeId: google.maps.MapTypeId.ROADMAP
};
var map = new google.maps.Map(document.getElementById("map_canvas"), myOptions);
	var latlng = new google.maps.LatLng(-71.937142, 41.078977);
	var img = new google.maps.MarkerImage('http://www.googlemapsmarkers.com/v1/000000/');
	var marker = new google.maps.Marker({
	title: "no implementation",
	icon: img,
	position: latlng
	});
	marker.setMap(map);`

What's wrong here? Chrome can't render the markers

I found a simpler solution, building on AlanTJohnstone's comment.  After declaring the GoogleMapPlotter object:
gmap=gmplot.GoogleMapPlotter(39.833333, -98.583333, 5)
I add the following line of code into my program
gmap.coloricon = "http://www.googlemapsmarkers.com/v1/%s/"
And, then my markers display without a problem on any browser and platform. This has the benefit of being easy to implement and you don't have to touch the original source code.  If it gets fixed eventually in the source code, it should still work (unless the variable name changes).

@derrickeckardt This does not seem to work anymore. I even downloaded a marker image locally and tried setting the gmap.coloricon property but I get an error message.
My sample code:
``
gmap = gmplot.GoogleMapPlotter(latList[0],lonList[0], zoom = 10)
gmap.scatter(latList, lonList,  edge_width=10)
gmap.coloricon = "marker.jpg"
gmap.draw("test.html")
and the Error message:
TypeError                                 Traceback (most recent call last)
 in ()
2 gmap.scatter(latList, lonList,  edge_width=10)
3 gmap.coloricon = "marker.jpg"
----> 4 gmap.draw("test.html")
~/anaconda3_501/lib/python3.6/site-packages/gmplot/gmplot.py in draw(self, htmlfile)
189         self.write_map(f)
190         self.write_grids(f)
--> 191         self.write_points(f)
192         self.write_paths(f)
193         self.write_shapes(f)
~/anaconda3_501/lib/python3.6/site-packages/gmplot/gmplot.py in write_points(self, f)
237     def write_points(self, f):
238         for point in self.points:
--> 239             self.write_point(f, point[0], point[1], point[2], point[3])
240
241     def get_cycle(self, lat, lng, rad):
~/anaconda3_501/lib/python3.6/site-packages/gmplot/gmplot.py in write_point(self, f, lat, lon, color, title)
283                 (lat, lon))
284         f.write('\t\tvar img = new google.maps.MarkerImage('%s');\n' %
--> 285                 (self.coloricon % color))
286         f.write('\t\tvar marker = new google.maps.Marker({\n')
287         f.write('\t\ttitle: "%s",\n' % title)
TypeError: not all arguments converted during string formatting

markerimage path gets wrong in windows:
var img = new google.maps.MarkerImage('C:\Users\mortenb\.virtualenv\frost\lib\site-packages\gmplot\markers/FF0000.png');
if I replace them with:
var img = new google.maps.MarkerImage('C:\\Users\\mortenb\\.virtualenv\\frost\\lib\\site-packages\\gmplot\\markers\\FF0000.png');
it works in google chrome, but not in firefox.
Path is fine in linux though


should the closed issues be purged?

Replicate the closed issues in this Issue, and purge that content from the publication

These issues have been resolved and documented in the publication.
mmXDE-102: Should other Deployment Models be considered besides the two described in Section 45.7, if any?
→ Resolution: The two models provided seem sufficient. During trial implementation the need to add other deployment models to Section 45.7 may be considered.
mXDE_103: Integration of a document sharing environment where an XDS Document Consumer is grouped with a Data Element Extractor.
The need to introduce an actor grouping option where an XDS Document Consumer is grouped with the Data Element Extractor to gain access to documents content and extract data elements along with creation of Provenance Resources has been considered (see diagram).

Given the “pull” behavior of the XDS Document Consumer and the need to limit the update delays for the Data Element Extractor, it has been considered that the introduction of such an option needs further study. Feedback from implementers during Trail Implementation may result in input to address the architectural challenges of such a grouping.
PROS: this option would allow a Data Element Extractor to be an independent product from the XDS Document Registry, and to be able to work in both XDS and XCA environments.
CONS: this approach would likely be less efficient than the already document option integrating with a Document Registry. It might be possible to mitigate some of those inefficiencies through document subscriptions and content prefetching.
→ Resolution: Not introduce that option in the trial implementation version of mXDE. Experience gained through trial implementation may provide input on the need of this additional grouping option.
mXDE_101: The actor diagram is shown as three alternative groupings of actors. Should we simplify the presentation by showing a single diagram and include some text explaining the choices that are introduced later as options?
→ Resolution: Implementers are likely to choose one of these alternative groupings. It was felt simpler for the readers to keep these diagrams distinct.
mXDE_201: How to manage fine-grained data 'Location’ and Reconciliation in an Affinity Domain with N Repositories?
We are defining a data locator service that allows to collect all the fine-grained information of interest by querying in a 'central point'.
Case #1: 1 XDS Registry + 1 XDS Repository (& Fine-Grained Data Repository)

The Clinical Data Source can be providing data elements resources as the central point for querying & retrieving ALL fine-grained data

Reconciliation may be placed at this central point

→ OK (for centralized reconciliation & access)
Case #2: 1 XDS Registry (with a central Clinical Data Source or Fine-Grained Data Repository) + N XDS Repositories

The unique XDS Registry still works well as master top-level index for coarse-grained XDS Documents,
The Clinical Data Source & Reconciliation grouped with the Registry/Responder still works well as a central point to query/access fine-grained information.
The Clinical Data Source is grouped with a Document Consumer to access and extract data elements out of documents content from the N Document Repositories, each providing a subset of the data (this may happen with caching when new documents are registered or on demand when the Clinical Data Source is queried for data elements.

Case #3: 1 XDS Registry + N XDS Repository (Each with a Clinical Data Source or Fine-Grained Data Repository)

The unique XDS Registry still works well as master top-level index for coarse-grained XDS Documents, but there is no longer have a central point to query/access fine-grained information.
When the Clinical Data Source Actors placed at the level of each Doc Repository, each provides a subset of the data
This case raises two issues:

The Clinical Data Sources are no longer unique. Is that an issue? It may imply that some deduplication/reconciliation may be necessary by the Clinical Data Consumers
This deployment requires specific behavior from the Clinical Data Consumers to locate the various Clinical Data Sources.

→ Resolution: When multiple Doc Repositories in an affinity domain deployment, Case 2 should be supported, but case #3 appears to be a very particular case that need not be covered by mXDE. Case #1 and # 2 will be the two deployment models to be discussed in an informative section (See Section 45.7 on Deployment Models).
mXDE_203: Privacy and BPPC consent policies
Any specification about privacy?
It is necessary to provide some “guidance”, but no need for a solution as this would be the topic of the grouping of mXDE with existing or future privacy IHE profiles.
The grouping with existing profiles may be of interest.
→ Resolutions:

To apply the existing BPPC/APPC consent from the source document to each “fine-grained” element (privacy properties inheritance). This may be a simple and effective way to ensure consistent policies for both document-level and fine-grained data element level access.
For fine-grained data elements not coming from documents it’s suggested to consider a new BPPC/APPC consent for specifying if someone can query or not for a certain category of information (e.g., consent to access the Vital Signs)

mXDE_204: Integrity and credibility of information accessed
The profile provides a controlled approach to access the same health information either in a document level coarse grain level granularity or in a fine-grained data element granularity.
The relationship between these two levels results in a number of situations that could result in “defects in information integrity and/or credibility in the information being accessed. The following points should be discussed in the profile:

Different forms of mappings may have to be performed. Although it is beyond the scope of the mXDE Profile to specify such mapping between data elements in documents and fine-grained data elements accessed directly, it is important that implementers note that:

Such mappings may not be perfect (typical limitations in semantic mappings).
Some information contained in the documents may not be “expressed” as data elements (e.g., textual elements) and be “lost” in the data element queries vs the documents.

→ Resolution: The profile will provide a good discussion on the above issues and “guidance” on the profile to help implementers of the profile.
mXDE_205: Check/add the key requirements to ensure that health data is consistently exchanged at different level of granularity
The following points of consistency seem to be most important:

When a data element is accessed by a Clinical Data Consumer and found relevant, one need to offer a simple way to extract:

Identifiers from the data element in order to access one or more documents in which this item was initially shared.
Use the above identifiers to access these documents content and “related” items that may have been shared.

Some of those ‘identifiers” may also be needed for clinical decision traceability.

→ Resolution: mXDE shall precisely define the identifiers that grant consistency between documents and/or fine-grained data elements (e.g., from data element → discover the document from which the resource is extracted). The concept of a Provenance Resource is profiled by mXDE to address these requirements.


Min, max, ceil, floor in ParameterExpression

What is the expected enhancement?
Support functions min, max, ceiling, and floor in ParameterExpression.
Discussion points
ParameterExpression will support comples numbers: #5192.
min and max are not well defined for complex numbers (ceiling and floor do not have this characteristic). A possible implementation could use Sympy and allow Sympy to raise errors. For example:
import sympy as sym
x = sym.Symbol('x', complex=True)
y = sym.Max(x*1.0j, -2)
y.subs(x, 1.0j)  # This works and returns -1
y.subs(x, 1.0)  # This raises ValueError: The argument '1.0*I' is not comparable.

Update for Santa:elf:- QGoGP
:white_check_mark: PR #5278 Fixes this and is awaiting approval for being merged!
Will update comment/add more comments if cause is found/fixed!

Python version 3.9.7
qiskit-terra version: 0.19.1


Hi,

What is the issue? (required)
A clear and concise description of what the bug is.
What exactly did you do to produce the issue? (required)
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior (required)
A clear and concise description of what you expected to happen.
Screenshots (optional)
If applicable, add screenshots to help explain your problem. On a Mac you can click control+command+shift+4 to create a screenshot that you can paste into this field with command+4.
Error logs
If you know how a terminal works, please paste the content of battery logs here. This allows me to see potential errors on your device.
Additional context (optional)
Add any other context about the problem here.

Hi,
I tried to install the 1.0.8 version on a MacBook Pro M1 with Monterey.
I got the following errors during the update process after launching the app:

Is there something I missed?
Thanks

duplicate of #74

OK. Just needed to install command tools.
Didn't even know those existed, even less installing them was needed.
Thanks


As a user, I should be able to login to the website

This is pretty much ready. We only need to merge environmentTest to the master.

Still need to address the other issues for this sprint

User can successfully enter the website after logging in.

A user can login to the website given they are registered with a valid email and password, or if they have       a google account.

After successfully logging in the user will be directed to the schedule exporter page.

After logging out, the user will be redirected to the login page.

Hours: 4


"mkdir" Operation Not Permitted

Whenever I execute atom.exe (even in safe mode) I get the following error:

Error: EPERM: operation not permitted, mkdir
'C:\WINDOWS\system32\config\systemprofile\AppData\Local\atom'

Does anyone know how to resolve this?
Atom Version: 1.0.7
Apm version: 1.0.1
Node version: 0.12.7
Npm version: 2.5.1
System: Microsoft Windows 10 Home

It seems Atom is installed in the wrong place (under the Windows folder, to which by default the application won't have write access).
Normally, it should be installed under your user account's Appdata, for example:
C:\Users\[yourUsername]\AppData\Local\atom
It seems to me that some pre-configured path was misconfigured on your machine when you installed Atom.
The "systemprofile" portion of the path is not standard Windows, so my first guess would be that some environment variable that is supposed to point at your current user account's directory (C:\Users\[Username)... isn't pointing at that.

There are no pre-configured atom paths. But just to be sure I cleared the ATOM_HOME environment variable created during installation, then uninstalled and re-installed atom. When doing so, I noticed that windows creates a shortcut "Atom.exe" with the following parameters:
Target: C:\Users\Ari\AppData\Local\atom\Update.exe --processStart atom.exe
Start in: C:\Users\Ari\AppData\Local\atom\app-1.0.7
When I execute this shortcut, it seemingly creates another folder within C:\Users\Ari\AppData\Local\atom named app-1.0.7 -- within this folder it creates a folder literally named %USERPROFILE% whenever I install packages from an atom instance started with this shortcut, packages are installed to the aforementioned %USERPROFILE% literal folder name.
However, from the search panel if I execute atom.cmd an atom instance is launched that uses C:\Users\Ari\.atom to store packages.

That all sounds correct except for creating a folder named '%USERPROFILE%'.
Are you still having this issue with recent versions?

No response, closing issue. Please re-open if still experiencing issue.


MT 3.3.4 build broke ability to connect

if my connection string is rabbitmq://localhost/ it works.
if my connection string is rabbitmq://rabbit.internal.domain.com/vhost it does not work.
2016-06-06 21:39:03.280 -04:00 [Error] RabbitMQ connection failed: "Connect failed: username@rabbit.internal.domain.com:5672/"
2016-06-06 21:39:03.343 -04:00 [Fatal] The service did not start successfully
MassTransit.RabbitMqTransport.RabbitMqConnectionException: Connect failed: username@rabbit.internal.domain.com:5672/ ---> RabbitMQ.Client.Exceptions.BrokerUnreachableException: None of the specified endpoints were reachable ---> RabbitMQ.Client.Exceptions.OperationInterruptedException: The AMQP operation was interrupted: AMQP close-reason, initiated by Library, code=541, text="Unexpected Exception", classId=0, methodId=0, cause=System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)

I reverted back to 3.3.3 and it connects once again.

Looks like this
https://github.com/MassTransit/MassTransit/blob/532c3ce83477007d720be192264e5f46b85af2d1/src/MassTransit.RabbitMqTransport/Configuration/Configurators/RabbitMqHostConfigurator.cs#L28
Should be
_settings.VirtualHost = GetVirtualHost(hostAddress);

I don't think so, the virtual host is actually set by the first call. The second is just to verify that only a host is specified to keep the existing exceptions consistent.

Well, interesting. Technically there should be a trailing slash in the host, but now it seems that by enforcing it the behavior breaks existing configurations. I'll go ahead and update it to ignore the missing trailing slash.


x/build/dashboard: many builders are configured with GO_DISABLE_OUTBOUND_NETWORK=1, but it has effect only on linux-386-stretch, linux-amd64-stretch

Issue #51439 demonstrates that linux-386-stretch, linux-amd64-stretch builders correctly failed when internet access (to something other than https://proxy.golang.org and https://vcs-test.golang.org) was accidentally needed for a test to run, but many other Linux builders did not, despite their configuration including "GO_DISABLE_OUTBOUND_NETWORK=1".
The buildlet binary is currently responsible for implementing the internet shut-off, perhaps something broke? Maybe by now we have a better way available to implement this?
CC @golang/release.

We install the iptables package both in stretch (here) and bullseye (here) images. But in bullseye it's available at a slightly different path:
~# which iptables
/usr/sbin/iptables


Middleware problen in deeplink

please change in the file routes/web.php the middleware for deeplinking to LtiInstanceResolver
thanks you soo much 👍🏽

Thanks @felimoles, it was fixed here. And tagged as 7.0.2


bump version in package.json to v2.22.5

release version v2.22.5

 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.


how to calculate PSNR of salient regions

hello!,sorry to disturb you !
I download your  code ,but it cant not calculate PSNR of salient regions. which is very import metric.
And this metric demonstrates that this  compression method is indeed able to
preserve visual quality in targeted region.
Would  you please tell me  how to do that ? I would  be grateful to you. It does trouble me a lot.

I have set a threshould to divide the picture into two parts(ROI and background), then create two pictures:         1)ROI the same as semantic compressed pic, while background region replaced by pixels of the standard JPEG pic
2)background the same as semantic compressed pic,  while ROI region replaced by pixels of the standard JPEG pic
pic1 is compared with the standard JPEG pic to measure the quality of ROI region
pic2 is compared with the standard JPEG pic to mearure the quality of background
since we pay more attention to ROI region compared with background, we can give a higher weight for the PSNR value of ROI region while measuring the quality of the whole picture.
This does work for me, and I hope it will help you too.

my email address is<EMAIL_ADDRESS>

I am very grateful for your patience reply. The experimental method you designed is very good. Thank you for your thoughts. wish you a happy life.


[Add]

Site URL
https://www.programiz.com/cpp-programming/online-compiler/
Description of the above provided site
The user friendly online compiler that allows you to Write code and run it online. The text editor also supports taking input from the user, process and display output.
Category
Frontend
Sub Category
Online Code Editors
Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I am willing to work on this issue (optional)
[X] I am participating in Hacktoberfest 2023

@Kritika30032002
I have assigned you the issue. Please proceed with it, and don't hesitate to tag me @Anmol-Baranwal or @CBID2 if you require any assistance.

@Kritika30032002 & @Anmol-Baranwal this site has already been added

As the reason being mentioned, i'm closing this issue, though @Kritika30032002 you can work on #1958 :)

Okay, I forgot to check this one I think.
@Kritika30032002
Sorry, I usually check resources.


Windows toolchain cache causing failures

ERROR at dynamically parsed input that //build/config/win/visual_studio_version.gni:27:7 loaded :1:42: Invalid token.
Calculating hash of toolchain in vs_files\27370823e7. Please wait...
                                         ^
I have no idea what this is.
See //build/toolchain/win/BUILD.gn:19:1: whence it was imported.
import("//build/config/win/visual_studio_version.gni")
^----------------------------------------------------
See //BUILD.gn:5:1: which caused the file to be included.
group("default") {
^-----------------

Link to build: https://ci.chromium.org/p/flutter/builders/try/Windows Engine Drone/186259?

Link to revert https://flutter-review.googlesource.com/c/recipes/+/49400


how to remove SAM from the desktop

I moved SAM to the desktop to quickly get and put the program in a folder, but SAM does not move to the folder and is not deleted. what to do?

Try to edit your permissions of editing this file:

Right click on the file > Properties
Go to the "Security" tab.
Edit > Add > Advanced > Find Now (On the right, below "Columns")
Some search results will appear on the bottom, try to find "All" and double click on it (I may be wrong about the object name because my OS is in another language, but it is something like this).
Then check all the "Agree" boxes: Total control, Modify, Read and execute, etc.
Click "Apply" and you are done! Try to move or delete the file now.


Features: option to disable the suicide/reset key and command to toggle watermark

Suicide/Reset Key:

This can cause problems during events like online multiplayer matches where, like normal SR records, its usage is not allowed. However, as there were no easy options to disable this feature, players have to resort to setting the key to an obscure one on the keyboard or just trust themselves to not mishit.
This non-disable-able feature has also been used as an excuse for map creators to not fix their own problems in their maps where player balls may get trapped, as Ballance Mod Loader is now commonplace and its usage is ubiquitous due to compatibility issues with the original/vanilla version.

Non-Togglable BML Watermark:

The original rationale for this was to prevent players from faking records. However, this was only possible on the assumption that all speedrun players can't code - if they can and do intend on faking some, then the watermark won't be of any importance in their detection.
The Debug Mode Watermark is still visible anyways.
By now the BML Watermark has been a nuisance for players who want to create Ballance content without any text interferences.

Some Afterthoughts: maybe we should rename the suicide key to the reset key (different from restart) as the suicide name has some unfortunate connotations and can be misunderstood.

Also - should we disable the suicide/reset key on default? It's not a vanilla/original feature after all.


Update http4s-async-http-client to 0.21.23

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

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.http4s", artifactId = "http4s-async-http-client" } ]

labels: library-update, semver-patch

Superseded by #183.


Making (more) Impossible States Impossible

I watched this short and sweet talk by Richard Feldman and was reminded of some things one should refactor in the janno data type (some of these things are still in #152): The column families Date_*, Relation_* and Contamination_* all come with states that should not be representable. Right now validation functions ensure that the input read from .janno files is correct, but it would be more reliable and more elegant to solve this on a type level.

I've checked out the talk. Very nice. And indeed, that's a good idea.

As discussed in #163 another helpful type in this context might be NonEmpty, which defines lists that have at least one element. We could use this e.g. for Group_Names.


Feature: Escape Button Exits Individual Media View

As a user, I want to press the Escape (ESC) button when viewing an individual media item to return to the main gallery view. This should function similarly to a modal window, allowing a quick exit.
Acceptance Criteria:

Pressing ESC while viewing an individual media item that has not been edited closes that view and returns the user to the main gallery view. No confirmation prompt is required for this action.
if the user has made unsaved edits to the individual media item, before returning to the main gallery view, a modal should ask if they want to save their edits.

Originally posted by @colbyfayock in https://github.com/cloudinary-community/photobox/issues/14#issuecomment-2171681975

I can take this one as well @colbyfayock. For the modal, I'd just go with https://github.com/nickytonline/photobox/blob/efbe4c8180c42f2e350eb6dc0ac808d066be37ca/src/components/ui/dialog.tsx.


Amazon supports empty values

https://github.com/spulec/moto/blob/55e7caccfe2482c90e4fb52214ef9e031ccdda1e/moto/dynamodb2/responses.py#L24
https://aws.amazon.com/about-aws/whats-new/2020/05/amazon-dynamodb-now-supports-empty-values-for-non-key-string-and-binary-attributes-in-dynamodb-tables/

Thanks for raising this @icevita! Will mark it as an enhancement.

This is now supported as of moto >= 1.3.16.dev126


Fixed #24950 -- Added unicode_literals to models.py in app template

Thanks to Tim Graham for the patch

Added a small test without introducing too much more overhead to the (already) slow admin_script tests

Looks good. I guess the proper semantics would be to use six.PY2 since we probably wouldn't unicode_literals on Python 4 if such a thing existed -- not that it will be a practical problem.

Merged in 5d428908218e3692d1bc7e4ada6235029ae9e45c.


[Enhancement] Possibility for 1.0 World Gen?

Hi,
I was wondering if it was possible to add 1.0 world gen, I don't really understand how world gen works unfortunately. But this would be extremely cool to add as it was the version when ender dragons and strongholds were added.
Thanks,
TechSupportRed

I've made a pull request for this exact feature. However, in case b3spectacled is away for a while, I'll give you a link to my jar.

Oh wow! Thank you so much

I'll keep this open however until it is pushed into main branch

Bump


[tweaks]: Edge Removal x86 Compat

Edge Removal x86 Compatibility (TWEAKS)
Type of Change

[x] Bug fix

Issue related to PR

Resolves #2584

Additional Information
Pushing this from handheld device. So, sorry for the code dup. If Anyone have time rewrite it more efficient.
Checklist

[x] My code adheres to the coding and style guidelines of the project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have made corresponding changes to the documentation.
[x] My changes generate no errors/warnings/merge conflicts.

@MyDrift-user It might leave the shortcuts in user and public desktops.
Could you add some lines to strip that out?

Man I feel bad as I've hit like 3 of your last PRs with the close button.
Sadly, 32-bit support is going away and is Windows 10 Only. So adding this will just add to the code base and not needed imo.

As of September 30, 2024, Microsoft will no longer provide product upgrades or reinstallments for 32-bit versions of Windows 10

Man I feel bad as I've hit like 3 of your last PRs with the close button.
Sadly, 32-bit support is going away and is Windows 10 Only. So adding this will just add to the code base and not needed imo.

As of September 30, 2024, Microsoft will no longer provide product upgrades or reinstallments for 32-bit versions of Windows 10

Alright, No more PR's from me!

You could always fork it to make an x86-specific version if it's going to start causing issues. Heck, this isn't even a CTT-specific issue, it's Microsoft.


feat: Add check to disable migration warning for specific models

Introduced a new check to disable migration warnings for specific models based on the presence of the DISABLE_MIGRATION_WARNING environment variable. This check enhances flexibility in managing migration warnings, allowing for more targeted handling of warnings according to specific model requirements.

Thanks for the PR!
This is making me realise that this warning could just be omitted if the migrations generator isn't used, and turned into an error log if it is. Now how this could be determined is another story.


dblatex: do not depend on PATH order, use HTTPS

Use the full path to the Python 2 executable so brew install works independently from the PATH order. This is helpful if brew install is called while a venv based on Python 3 is enabled.

Use the canonical homepage URL and HTTPS according to brew style

Thank you!


Send CE information to CMS monitoring/Elasticsearch

Fixes #8355
Status
Ready
Description
Propagate CE name as: MachineAttrGLIDEIN_Gatekeeper0 in ElasticSearch
Is it backward compatible (if not, which system it affects?)
YES
Related PRs
This is a follow-up of: #9352

Provided this information get pushed upstream to the monitoring tools, I have nothing against a standard way (MachineAttrGLIDEIN_Gatekeeper0) of monitoring the CE name.

@khurtado weren't we going to use MachineAttrGLIDEIN_Gatekeeper0, which is the recommended way of fetching such info?

I see! Would you like to also cleanup all the previous CE juggling implemented in WMCore?
Or it might be even better to get that in a separate PR and have a reference to this one.

@amaltaro Wouldn't that imply cleaning up the old dashboard monitor, which comprehends more than the CE information? I would rather create a new issue+PR for that.
https://github.com/dmwm/WMCore/blob/0615bd977edd4ad103db7ea24f461aa794c9a104/src/python/WMCore/WMRuntime/DashboardInterface.py
https://github.com/dmwm/WMCore/blob/9692f4bdfdbaa057452792d9dee8446903d99a7a/src/python/WMCore/WMRuntime/Monitors/DashboardMonitor.py


Features/brotlimagick

it brotlifies text encoded messages, so long as they are more than 10 chars (as brotli doesn't do anything at all for small strings anyways)
the server shows brotlified messages
the tests run
it uses a new content-encoding header, tag 8

http://localhost/preview/b882ff711cfb777e491d89aa13effe51a45f952189df85e2db821c1746677289i0 (testnet)

Would it be better to start with gzip instead of brotli for better browser support? Certainly worth giving people the choice.
IMO, this should be opt-in via a flag, at least to begin with. This would be useful for non text categories as well, such as image/svg+xml or application/json. So, it could be something like: ord wallet inscribe --encoding gzip --file art.svg

If brotli is supported everywhere, it'd make sense to start with just that. Still think it should be opt-in. Inscriptions that require content encoding header will break on all the previous versions of ord, which maynot always be desirable.

I think they plan to do compression on everything and then decode it at the server level to be uncompressed in the content route.

@elocremarc Just setting the Content-Encoding header and serving compressed content should be sufficient for the browser to automatically decompress.

Just noticed that the PR has the server serving decompressed content. IMO, the server should to be serving compressed content with the appropriate Content-encoding header based on the accept encoding header. If the request doesn't have a compatible accept encoding header, then the server can send a decompressed response.
This approach would provide a pretty significant speed/performance boost as well.

Closing in favor of #1713.


MAINT: Run black on the full repo, address pep8 errors

This is a just so you know kind of PR.

Hello @oesteban! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file nirodents/_version.py:

Line 123:57: E203 whitespace before ':'
Line 193:27: E203 whitespace before ':'
Line 210:36: E203 whitespace before ':'
Line 310:57: E203 whitespace before ':'

In the file nirodents/viz.py:

Line 152:36: E203 whitespace before ':'

In the file versioneer.py:

Line 1005:27: E203 whitespace before ':'
Line 1022:36: E203 whitespace before ':'
Line 1122:57: E203 whitespace before ':'
Line 1196:57: E203 whitespace before ':'

okay, I'm going to merge. I've opened #28, which surfaced after I addressed all formal problems.


Simplify redeploy action, specify production

To accompany changes in deploy repo which allows specifying an environment

Checked that everything is working after merging in deploy repo


fix(): language for reshift

[x] I have not changed the README.md directly.

Oh. Thanks for the fix @AzimovS. 🪐


Issue - 199 - POJO generation inheritance in array types

Fixes issue generating POJOs from a RAML file with array type and inheritance

That was fast.

Way to go, @agluquetc !

Good job @agluquetc !


Preliminary fix for p3wnage exploit

TODO:

[ ] Need testing by others
[ ] Does it break other prompts?
[ ] Review by p3wange reporter or original author
[ ] Remove commented code
[ ] Thoughts on good names for the local variables such as ${PROMPT_P1}?
[ ] Fix coding style. I use ${} inside double quotes for variable reuse
[ ] Should those variables be non-local to be consistent with overall coding style?

Details:

The construction of ${RPROMPT} and ${PROMPT} uses shell expansion
via $() that I believe is at the root of exploit.
I have extracted out the relevant expansions into a local variable, and
the construction of the prompt variables reuses those strings.

TODO:

[ ] Remove commented code
[ ] Thoughts on good names for the local variables such as ${PROMPT_P1}?
[ ] Fix coding style. I use ${} inside double quotes for variable reuse
[ ] Should those variables be non-local to be consistent with overall coding style?

Nice work, @wadkar!
It would be great to have this tested by the folks that discovered the original breakage in #487: @Strayer @maddie @qifei9
Original reporter of the exploit was: @sethdeckard, with confirmation from @theSoenke
Would like to have the code reviewed and tested by @dritter and @shibumi.

Unfortunately this does not fix it on omz. I was able to reproduce the vulnerability in the test-vm again (with vagrant-omz user).

I believe setopt prompt_subst will cause this to trigger, in the same way that OMZ does without requiring the use of OMZ.

#496 supersedes this, closing.


chore: release 4.1.0

:robot: I have created a release *beep* *boop*
4.1.0 (2019-06-14)
Bug Fixes

deps: update dependency is-html to v2 (#280) (00187c9)
deps: update dependency teeny-request to v4 (#292) (5d608f2)
docs: move to new client docs URL (#294) (ecb6cab)
types: use Metadata types for apiResponse (#277) (cf7899f)

Features

support apiEndpoint override (#285) (dc8fe12)
support apiEndpoint override in client constructor (#289) (35f1229)

This PR was generated with Release Please.

Release is at https://github.com/googleapis/nodejs-translate/releases/tag/v4.1.0

The release build has started, the log can be viewed here. :sunflower:

:egg: You hatched a release! The release build finished successfully! :purple_heart:


[OC] Revert https://github.com/code-ready/snc/pull/578 once original bug fixes

This is for tracking purpose once https://bugzilla.redhat.com/show_bug.cgi?id=2097830 is fixed.

Use following command to check when the oc binary is built for >=1.19.5  and then we can remove this hack.
curl -L https://mirror.openshift.com/pub/openshift-v4/x86_64/clients/ocp/candidate-4.12/openshift-client-mac-arm64.tar.gz |tar zx -O oc |strings |grep "^go1."

This is already reverted.


⚠ Processors has degraded performance

In ea271e6, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 103 ms

Resolved: Processors performance has improved in 9c90bd5.