[Fix_1960] Always setting enter date

Fixes https://github.com/apache/incubator-kie-kogito-apps/issues/1960

@fjtirado please don't merge this! I'd like to test it tomorrow morning.

@pefernan @porcelli , thank you so much for reviewing this on short notice. Are you ok if we merge it as soon as we have a green build ?

@ederign  yeah - I'm good with merging as soon as green

Thank you so much guys!


History slider implementation

This looks awesome!
My biggest concern is that the placement of the two sliders doesn't make it clear what's going on.  I think we can do something subtle with arranging the parts to make this clearer.  Specifically, what about this layout?
[A] [-----B-----] [C]      [D] [-----E-----] [F]

A = PauseButton or PlayButton, depending on state
B = SpeedSlider
C = FastFowardButton (doesn't exist yet; increases speed)
D = UndoButton, if applicable
E = HistorySlider
F = RedoButton or StepButton, depending on state

This would make sense to me, and I think be nicely discoverable.

It would also help if we add an "x" to the end of the SpeedSlider label, so it reads "2x" instead o just "2".


vscode: Ensure extension.js is rebuilt when deleted

Right now, the vscode-extension:continue-ui:build task deletes extension.js as part of its prepackage.js script.
This wouldn't normally be a problem, because extension.js is generated by the vscode-extension:esbuild, and
vscode-extension:continue-ui:build is a dependency of vscode-extension:esbuild, implying it should always get run first.
But, vscode-extension:esbuild is a background task, that stays running after it's been started once. Future calls to run that task become no ops, because it's already active. This means running
vscode-extension:esbuild ->
vscode-extension:continue-ui:build ->
vscode-extension:esbuild
will lead to the last vscode-extension:esbuild not regenerating extension.js.
In order to resolve that problem, this commit adds a new foreground task into the build pipeline:
vscode-extension:touch-source
that tickles the source so the running background
vscode-extension:esbuild task will "wake up" and regenerate extension.js

other ideas:

Add the file touching to prepackage.js
Use a nonbackground task for doing the esbuild


[Epic] Matmul regression testing in CI

We want to use https://github.com/openxla/iree/tree/main/experimental/dispatch_profiler to report performance statistics over corpuses of matmul micro-benchmarks, and ideally detect regressions in those statistics.

[x] #12943
[x] #12919
[ ] #12899
[ ] #13281
[ ] #13086

Can someone add more context to this issue? Is this related to https://github.com/openxla/iree/tree/main/tests/e2e/matmul ?

Can someone add more context to this issue? Is this related to https://github.com/openxla/iree/tree/main/tests/e2e/matmul ?

I updated the description

Modify IREE Distpach profiler to output results in a standard format, e.g. csv. We should choose something that can be converted readily to the format that our benchmark reporting can ingest.

The dispatch profiler reports the performance as follows:
----------------------------------------------------------------
Dispatch      : matmul_splitk_512x1024x4096_f32t_f32t_f32t_tile_config_64x64_32x3_tensorcore_mmasync
Provider      : IREE Codegen
OpKind        : OperationKind.SplitkMatmul
Operation     : matmul_splitk_512x1024x4096_f32t_f32t_f32t
Configuration : tile_config_64x64_32x3_tensorcore_mmasync
Arguments     : --batch_count=1, --M=512, --N=1024, --K=4096, --lhs=f32t, --rhs=f32t,
                --result=f32t, --split_k_mode=parallel, --split_k_slices=8
Verification  : SUCCESS
Runtime(ms)   : 0.183
GFLOPs        : 23469.77
----------------------------------------------------------------
Dispatch      : matmul_splitk_512x1024x4096_f32t_f32t_f32t_tile_config_64x64_16x10_tensorcore_mmasync
Provider      : IREE Codegen
OpKind        : OperationKind.SplitkMatmul
Operation     : matmul_splitk_512x1024x4096_f32t_f32t_f32t
Configuration : tile_config_64x64_16x10_tensorcore_mmasync
Arguments     : --batch_count=1, --M=512, --N=1024, --K=4096, --lhs=f32t, --rhs=f32t,
                --result=f32t, --split_k_mode=parallel, --split_k_slices=8
Verification  : SUCCESS
Runtime(ms)   : 0.136
GFLOPs        : 31580.64
Writing performance report to data.csv

Additionally, it generates reports in csv format. Example report data.csv.

Provider
op_kind
Operation
bytes
flops
batch_count
M
N
K
lhs
rhs
result
split_k_mode
split_k_slices
Tile config
Core class
Instruction class
Verification
Runtime(ms)
GFLOPs

IREE Codegen
matmul_splitk
matmul_splitk_512x1024x4096_f32t_f32t_f32t
27262976
4294967296
1
512
1024
4096
f32t
f32t
f32t
parallel
2
128x256_16x3
tensorcore
mmasync
SUCCESS
0.182
23598.72

IREE Codegen
matmul_splitk
matmul_splitk_512x1024x4096_f32t_f32t_f32t
27262976
4294967296
1
512
1024
4096
f32t
f32t
f32t
parallel
2
256x128_16x3
tensorcore
mmasync
SUCCESS
0.182
23598.72

Define statistics over the output that we want track for progression and regression purposes
Can we define this with an example? What are we looking for here?

Define statistics over the output that we want track for progression and regression purposes

Can we define this with an example? What are we looking for here?

Image that we profile ~1000 individual dispatches in a single sweep. If we want to run regression testing on this sweep, we shouldn't detect regressions on a 1000 separate series. Ideally, we'd detect regressions on some statistic or several statistics over the set. The simplest (but I suspect a poor choice) would be just to track the average... but maybe instead we track a histrogram with configurable N and run regressions on that?

@qcolombet : Command lines to generate the matmuls and profile them are as follows:
iree-build $ python3 ../iree/experimental/dispatch_profiler/generator.py
iree-build $ python3 ../iree/experimental/dispatch_profiler/profiler.py --output=data.csv

python3 ../iree/experimental/dispatch_profiler/generator.py

@manishucsd I was expecting this to include specific arguments that are aligned with the different sweeps requested to be benchmarked in CI. Is that not what you're shooting for?

The command line above will generate and profile whatever is present in the dispatch profiler by default. One can filter a subset of it by providing command line arguments.

The command line above will generate and profile whatever is present in the dispatch profiler by default. One can filter a subset of it by providing command line arguments.

I see. How long does this take to run? I expected that we would want to specify specific sweeps, etc. so that the benchmark is bounded?

The command line above will generate and profile whatever is present in the dispatch profiler by default. One can filter a subset of it by providing command line arguments.

I see. How long does this take to run? I expected that we would want to specify specific sweeps, etc. so that the benchmark is bounded?

If you just run the default commands (i.e., no filtering), it takes about 2 min on an A100 machine with a weak CPU (compile time included).
This will go up as we add the unaligned cases. But then we can start thinking of filtering if that becomes a problem.

Thanks for the info. I think I put my finger on why I expected this filtering to happen at benchmark generation time:
a) I'm assuming that we want multiple distinct corpuses of micro-benchmarks over which we create reports, have some level of statistics-level tracking and regression detection, and can easily be repro'ed and analyzed by engineers. We want these corpuses to remain stable over time, i.e. we don't want adding new benchmark capabilities to IREE Dispatch Profiler to alter the results of existing benchmarks.
b) We could accomplish (a) with filtering after the run... but if we do this filtering at generation time, the purpose of each benchmark is clear, the repro steps are clear, and the results are easy to grok. Filtering after the run would require an extra tool... and we wouldn't want to this to be a concern of the benchmarking system itself.
Does that make sense?

Thanks for confirming. We are working on IREE dispatch profiler to add more features and speed-up the compilation times. It does filtering when passed --dispatches=<regex>. We plan to to add command line arguments to generate and profile different op shapes by passing things from command line and not. changing the default shapes in the IREE dispatch profiler python code.

@julianwa This Epic looks on track, WIP. Please provide any updates or risks.

I have moved all the issues related to IREE dispatch profiler another epic #13494. This epic strictly contains issues related to CI. cc: @mattwalsh , @allieculp

@julianwa Please update this Epic!

@julianwa Please update this epic.

Dispatch profiler code was removed in https://github.com/iree-org/iree/commit/c2114b897a8a53cd8d0edde1024420dc64a9cbdd, so going to close this issue.
We've had a few other versions of matmul benchmark suites too. Most recently https://github.com/nod-ai/rocm-gemm-benchmark/ (which has a nightly CI). Might restart some continuous benchmarking work here in iree-org soon.


Transaction hash in notification event

Notification events are quite convenient to monitor contract's invocations and produce responding actions.
https://github.com/nspcc-dev/neo-go/blob/b989504d746deef4fd72a92221e22f15e658374e/pkg/core/state/notification_event.go#L17-L21
These responding actions are mostly notary messages: e.g. changes in NeoFSAlphabet role from the main chain trigger new notary message with main tx signed by side chain committee. To create correct notary message, Alphabet nodes need to synchronize nonce and VUB values.
While Alphabet nodes are triggered by the same event, they create the same notary message with the same nonce and VUB. However, if the notification appears twice, notary message will fail with <hash> is already on chain error.
To solve that issue we are doing two things:

produce notification that includes transaction hash, therefore it has a unique set of Items
use current block height with some rounding as the source for VUB.

Those are not optimal solutions, because some events are produced by the native contracts (update of the role management contract), and current block height rounding does not exclude a chance of VUB divergence between Alphabet nodes.
The optimal solution: to have an identifier for events, e.g. transaction hash. With transaction hash, all Alphabet nodes will be able to create the same but unique nonce. As for VUB, Alphabet nodes will get block height where transaction appeared and use it as a base for VUB.

Reminds me of #1081, this actually was requested previously. We'll need to create a new structure for this, but it seems to be useful, so I think we can do this.


Generate SVG's by depth/height and Z, XY operation

It would good to be able to generate the different SVGs for different depths, Its almost impossible to separate the various SVGs manually for different depths when the designs become large and complicated.
Algorithm : 2.5D Feature Generation

Implemented as of commit - 2545e9e5107388d6f9d0fec27bfa0b405c68d20f


Added Markdown formatting to examples/mnist_hierarchical_rnn.py

Summary
Added Markdown formatting to examples/mnist_hierarchical_rnn.py.
Result:

Related Issues
#12219
PR Overview

[ ] This PR requires new unit tests [y/n] (make sure tests are included)
[ ] This PR requires to update the documentation [y/n] (make sure the docs are up-to-date)
[x] This PR is backwards compatible [y/n]
[ ] This PR changes the current API [y/n] (all API changes need to be approved by fchollet)

Thanks for the PR.
We are postponing the addition of new examples on keras.io pending a future refactor of the docs website (which will have a dedicated examples section).


Locks onto one player and there is no way of breaking the lock-on

When there are a lot of players around, it locks onto someone and there is no way of breaking it. The person could be inside of a building and there could be someone right next to you but it still would stay locked on to the guy it originally locked onto.
It's a really nice aimbot, better than the other, this is just the only problem. This should be treated as a high-priority issue because it often causes death for the user.

What settings are you using?

Do you have auto aim always on in the setting, turn that off and then u can use the right mouse button to autoaim and depress it to break the lock on and repress to lock on again on to a different person.

I do have auto-aim always on. I'm not sure what you mean by using the right mouse button to autoaim


Upgrade unfetch to v4.1.0

unfetch ^4.0.0 is already used by isomorphic-unfetch so this simplifies the dependency tree a tiny bit.
Release notes
https://github.com/developit/unfetch/releases/tag/4.0.0
https://github.com/developit/unfetch/releases/tag/4.1.0

@alexandernanberg Will merge after the tests pass 👀


:sparkles: Rule for @Async detection

Ideally we would want to look for methods that are annotated with @Async and don't return void or Future, but it is not possible at the moment. We can look for methods that do return particular types, but not for methods that return "anything but a type". Also, negating the condition would only tell us that there are no methods that return void or Future, but that does not guarantee that there are more methods which do return something else.
See https://github.com/konveyor/rulesets/issues/141

LGTM for the moment. @jmle is there a way to label this so we come back to it once konveyor/analyzer-lsp#716 is implemented?


Issues with node-stringprep

It seems there are issues with node-stringprep on v4.1.x.
Both https://github.com/node-xmpp/node-xmpp-client and https://github.com/node-xmpp/node-xmpp-core have been updated to 2 and 3.
I believe all that is needed is to update the dependencies to use the new versions.

I'm having this issue as well.

https://github.com/hipchat/hubot-hipchat/pull/261


ci(deps-dev): bump c8 from 8.0.1 to 9.1.0

Bumps c8 from 8.0.1 to 9.1.0.

Release notes
Changelog
Commits

updated-dependencies:

dependency-name: c8 dependency-type: direct:development update-type: version-update:semver-major ...

Issues
Fixes #
Reviewer Suggestions
Where should the reviewer start?
Additional Comments
Anything else?

:tada: This PR is included in version 1.2.35 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Error: Input is too long for this model, shorten your input or use 'parameters': {'truncation': 'only_first'} to run the model only on the first part.

Error: Input is too long for this model, shorten your input or use 'parameters': {'truncation': 'only_first'} to run the model only on the first part.

Did you use a different model than the provided one and if so, could you list which one it was and some steps to reproduce your error?

I'm getting this error as well, both with the default model flax-community/gpt-neo-125M-code-clippy-dedup-2048 and EleutherAI/gpt-neo-1.3B any time I type while editing js or tsx files.

same issue here with flax-community/gpt-neo-125M-code-clippy-dedup-2048 model

Interesting and how large are the files you are modifying? @chrisk8er

Same problem with default and other models.

I also have the same problem using EleutherAI/gpt-neo-1.3B model.

same issue with the same models mentioned above. The files are not really big.

same for models flax-community/gpt-neo-125M-code-clippy-dedup-2048, EleutherAI/gpt-neo-2.7B,  EleutherAI/gpt-neo-1.3B


[#118103013] Fix breadcrumbs for brief response page

Fixes the breadcrumbs on the brief response page and adds the right title if you're returned to the response page after getting a form error.
Adds a few more tests; pretty exciting.
>> Bug on Pivotal

🍞  > 🍞  > 🍞

Also updated frameworks accordingly.

👍


Commodore 1541 format: 40 vs 35 tracks

All the online sources I've found indicate that the 1541 (at least as used by a C64) only used the first 35 tracks of the disk.
When dumping my own disks, they all seem to "fail" on tracks 35-40:
Cyl-> 0         1         2         3
H. S:<PHONE_NUMBER>012345678901234567890123456789
0. 0: ...................................XXXXX
0. 1: ...................................XXXXX
0. 2: ...................................XXXXX
0. 3: ...................................XXXXX
0. 4: ...................................XXXXX
0. 5: ...................................XXXXX
0. 6: ...................................XXXXX
0. 7: ...................................XXXXX
0. 8: ...................................XXXXX
0. 9: ...................................XXXXX
0.10: ...................................XXXXX
0.11: ...................................XXXXX
0.12: ...................................XXXXX
0.13: .........X.........................XXXXX
0.14: ...................................XXXXX
0.15: ...................................XXXXX
0.16: ...................................XXXXX
0.17: ..............................
0.18: ........................
0.19: .................
0.20: .................
Found 682 sectors of 768 (88%)

Is there a reason gw attempts to read these extra tracks by default? I've not used the C64 myself, I'm just dumping some old family disks.

C64 isn't my system either, but by all accounts it wasn't that uncommon to squeeze in extra tracks. Hence it makes sense to try dumping them because otherwise you would miss those tracks and make bad images. If you are confident that your disks are all going to be the regular 35-track sort, you can add to your command line: --tracks=c=0-34 will reduce the cylinder range.

Arguably the default should be 0-34 and need override for more, but the risk of missing tracks by default got to me.

No worries! I thought it might have been that and wanted to check.
I'd vote for setting 35 the default since it's more "correct" but I've got no idea how widespread 40-track disks are.

Actually given how I've hacked in the 35- to 40-track variability, it's probably not entirely trivial to change it. So I won't. :)


Chrome: Default scrollbar on some screen-sizes is not hidden correctly

If I customize default scrollbar by "::-webkit-scrollbar", I'll get this:

Unforeseen shifting to right.

Have the same problem

I can resolve it by using attribute like this : renderView={({ style, ...props }) =>                 <div {...props} style={{ ...style, marginBottom: '-16px' }} />}
, but i suppose, that a not universal decision

I have the same problem with Chrome

How I can fix that?

Any update on this?

I'm seeing this problem in Chrome too.

I see this problem too.
But I can resolve this issue by using:
renderView={({ style, ...props }) => <div {...props} style={{ ...style, marginRight: '-18px' }} />}

I think in some specific cases, the width or height of scrollbar could not be calculated truthly and it made our problems.

have the same problem in chrome, @tungvn renderview is a props inside scrollbar?

have the same problem in chrome, @tungvn renderview is a props inside scrollbar?

Yes. See the documentation at https://github.com/malte-wessel/react-custom-scrollbars#usage

@tungvn thank you, it works for me!, however, this is not supposed to be happen. should we open a PR to fix this?

@mustofa-binary I am really not sure the problem is, so I think just treat like that first

I have met same problem.
as i see, this happen when in os setted option "Make everything bigger".
default scroll width(17px) has problems with round after zoom.
when i set global scrollbar width to 20px it fix the problem.


Use Expression Language to define rules

It should be possible to define rules with an Expression Language (like OGNL, MVEL, JBoss EL, Spring EL).
Conditions are easy to express using an expression language.
The challenge here is how to define actions, their order, on which facts do they act, etc...
Still need to investigate and find a clean (and easy!) way to express actions.
Any suggestions or ideas are welcome!

any chance for that feature in near future?

Hi,
To be honest, not sure.
With all major changes planned for v3, I can't give you a precise answer.
Any contribution is welcome!
Kind regards
Mahmoud

A possible solution would be to have a rules descriptor file, something like:
[
 {
   "name": "my rule",
   "facts": [ "person", "account"],
   "condition": "EL",
   "actions": [
       { "action": "EL", "order": 1 },
       { "action": "EL", "order": 2 }
   ]
 }
]

And then create a rule proxy from this definition. EL in condition/actions should operate on declared facts. for example:

condition: "person.age > 18"
action: "account.balance = 0"

Suggestion: action could be defined to call a predefined rule function using one or more facts defined in the facts section to take an "in-direct" action.

Hi @jinjingfarm
Thank you for this suggestion! Where would this predefined rule function be defined?

Rule function could be part of a RuleEngine implementation or from outside through a factory. As far as a standard fact processing interface is defined, it would be helpful to deal with some complex situations, doing little bit more than { action: "account.balance = 0" }.

Ok, I see. Interesting indeed. We can register functions through a factory at engine creation time. These functions can then be used in rules actions. Great suggestion! thank you. I'll add that to the feature 👍

Looking forward to this new feature. Thanks a lot.

Hi @jinjingfarm
I recommend a better rule & flow engine to you, https://github.com/wangwei86609/osmanthus
It is more convinent than easy rules

@wangwei86609 I added a comment in #103 . Let's continue the discussion there and keep this issue focused on EL.
@jinjingfarm If you want to give feedback or discuss about "osmanthus", please join the discussion in #103
Kind regards
Mahmoud

@benas I like your decoupled component approach. One can always integrate these components together to build a more complex system.

After introducing Condition and Action APIs in #119 , it is now possible to use any EL library with Easy Rules!
For example, we have added a module to use MVEL to define conditions and actions on given facts. Here is an example:
// given
Condition isAdult = new MVELCondition("person.age > 18");
Facts facts = new Facts();
facts.put("person", new Person("foo", 20));

// when
boolean evaluationResult = isAdult.evaluate(facts);

// then
assertThat(evaluationResult).isTrue();

// given
Action markAsAdult = new MVELAction("person.setAdult(true);");
Facts facts = new Facts();
Person foo = new Person("foo", 20);
facts.put("person", foo);

// when
markAsAdult.execute(facts);

// then
assertThat(foo.isAdult()).isTrue();

This makes it possible to store/load rules to/from an external resource (file, database, etc) and change them without recompiling the code. This is a huge improvement to Easy Rules.
@jinjingfarm In regards to predefined function, it will be added in a future release. Step by step..
@pats Almost done with v3.1. It will be ready for Christmas 😄 You can already try it with the current snapshot version and give your feedback. Keep tuned.

@pats v3.1 is out! You can find a complete MVEL example in the shop tutorial.


Allow publishing apps to request a specific version.

During the Specialist Publisher migration work, we found that we need to be able to retrieve the published version of content so that we can re-trigger email alerts if they fail to send (for whatever reason). Currently, you can only retrieve the latest piece of content, which is sometimes a draft if the content has been redrafted.
Additionally, existing applications provide features that allow users of those apps to view superseded content. Travel Advice Publisher, for example, allows users to view "archived" content which is not currently supported by the Publishing API.
https://trello.com/c/rPoiiBbz/762-allow-get-content-item-requests-to-specify-a-user-facing-version

Implementation here: https://github.com/alphagov/gds-api-adapters/pull/538


Count of ids estimation

Hello devs,
Thank you very much for awesome library.
Could you please help me to estimate count of ids based of characters limit.
For example,
6 character long id with alphabet of X chars will provide Y of unique ids
I've tried to calculate via simple <alphabet length>^<length of id> as it would work with baseX algorithm. But this is not the case.
Please help

@ducu sorry for late response. Unfortunately that was just a temporary script and didn't make notes about results. You may easily repeat them using your own script. The way to optimize it is to avoid checking each +1 id, but increase a scale after each character change instead. E.g. between 4 chars and 5 chars you may easily do +100 instead of +1 and so on. It took less then 5 min for my script to provide good estimation.

Cool no problem, thanks for the tip!
—
Sent from Mailbox
On Wednesday 7 Jan 2015 at 21:17, Andrii Skaliuk<EMAIL_ADDRESS>


cannot find java port

From Slack conversation on April 3, 2019
Configured my GKE cluster (using config map) with -agentlib:jdwp=transport=dt_socket,server=y,address=8000,suspend=n
My JAVA_OPTS is
JAVA_OPTS: -javaagent:/usr/local/aspectjweaver-1.8.11.jar -Dcom.sun.management.jmxremote
    -Dcom.sun.management.jmxremote.local.only=false -Dcom.sun.management.jmxremote.port=9000
    -Dcom.sun.management.jmxremote.rmi.port=9000 -Dcom.sun.management.jmxremote.authenticate=false
    -Dcom.sun.management.jmxremote.ssl=false -Djava.rmi.server.hostname=<IP_ADDRESS>
    -Djava.net.useSystemProxies=true -Xmx3g -agentlib:jdwp=transport=dt_socket,server=y,address=8000,suspend=n

Now, when I run the squashctl-windows.exe against my cluster, trying to debug a java service I keep getting -
Can't find port in java command line arguments for PID: 197711

and
{"level":"fatal","ts":1554296914.100451,"caller":"plank/main.go:27","msg":"debug failed!","error":"Can't find port in java command line arguments for PID: 197711","stacktrace":"main.main\n\t/workspace/gopath/src/github.com/solo-io/squash/cmd/plank/main.go:27\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:201"}

even plank doesn't honor  JAVA_TOOL_OPTIONS, which is a recommended way of passing java_opts. Jib uses same.


Problem Migrating from multisite to single site

I was hoping that wp-stateless would help me to migrate images as I moving my hosting server at the same time I am moving from a multi-site WordPress setup to a single-site setup, as my other sites in the multi-site are getting retired.
I set up wp-stateless on my multi-site, I use a single site for the folder settings and use the Backup mode to backup files to GCS.
On the new hosting - I am using Google Cloud Run, I activate wp-stateless and I use the Stateless mode, i can upload an image gives me errors.
Warning: Undefined variable $media in /var/www/html/wp-content/plugins/wp-stateless/lib/classes/class-utility.php on line 349
Warning: Trying to access array offset on value of type null in /var/www/html/wp-content/plugins/wp-stateless/lib/classes/class-utility.php on line 522
Warning: Undefined variable $media in /var/www/html/wp-content/plugins/wp-stateless/lib/classes/class-utility.php on line 349
Warning: Trying to access array offset on value of type null in /var/www/html/wp-content/plugins/wp-stateless/lib/classes/class-utility.php on line 522
Warning: Undefined variable $media in /var/www/html/wp-content/plugins/wp-stateless/lib/classes/class-utility.php on line 349
Another problem is that the uploaded file is getting a prefix - a random number - d62db080-screenshot-2022-10-31-at-16.44.13.png - when I upload a file in multi-site I do not get this prefix.
I think this prefix causes me an issue when using WordPress export and import, so I export from my multi-site all the pages, post etc.
When I import in my single-site Cloud Run instance I get this error "Sorry, there has been an error. The file does not exist, please try again." - my import file name is  socialclimatetechnews.xml this is the file name when stored in GCS  711fc3b0-socialclimatetechnews.xml_.txt. Not sure if this is related to wp-stateless or something else, wp-stateless is used to upload files.
I have tried to use wp-stateless on my local test environment, to import the socialclimatetechnews.xml with wp-stateless enabled and in stateless mode, I get the same error - "Sorry, there has been an error. The file does not exist, please try again."
If I switch to wp-stateless mode to backup, I do not have a problem importing socialclimatetechnews.xml,
And yes, I have disabled all other plugins and tried them one by one.
One other thing, I am running WordPress in a Docker container, on the local machine I use Docker Desktop, and in the cloud, I use Cloud Run, same code base, only difference between running locally and with Cloud Run is only the wp-config.php file.
I hope there is someone that has experience a similar issue.

Released. Closing the ticket.
Please let us know if you have any further questions


[1pt] Create basic structure for Rockets - Setup

Create a route and a view component. Use <NavLink /> for the page navigation links and style active class to indicate which section/page the user is currently on (underline active navigation link).
Create a directory for all Redux state slice files.

https://github.com/inspecta/react-group-project-1/pull/27

https://github.com/inspecta/react-group-project-1/pull/27#pullrequestreview-1180659108


Provisioners and BidList should be immutable, and come from a single source of truth

As of right now, the Provisioners and BidList are instantiated once per component that uses them, and they are either self-managed, or managed by the component using them. This is unnecessary and perhaps even dangerous, since risk of being out of sync greatly increases. As these structures are mostly mutated by new information put on the blockchain, the Chain should hold these data structures and be able to provide copies of them on request (RPCBus). This ensures that the provided data is continuous between different components, and reduces the risk of a desync due to a message delivery failure.

+1
This would also present the advantage to eliminate a whole lot of unnecessary locking, since it could provide the opportunity of returning the BidList and the Provisioners by value, without the need for a shared reference.

Let me add as well that we should absolutely persist these structures to disk storage - see #55


Fix image libintern

Note that we had the same bug in fluence: https://github.com/flux-framework/flux-k8s/pull/85


Make (Unsafe|Checked)Continuation's Sendable conformance conditional.

Make the continuation type's conformances to the Sendable protocol
conditional on the sendability of the result yielded when the
resumption is performed. This ensures that one cannot silently escape
a continuation's result out of a task or actor, closing a safety hole
in Sendable checking.
Fixes rdar://85419546.

@swift-ci please smoke test and merge


Added support for key vault to FHIR Export Quickstart and other updates

The 4 updates in this pull request:

Improved README documentation
Added Key Vault support for sensitive information
Turned on secure output on the API calls to key vault. This will prevent FHIR client id and secrets from being written to logs
Cleaned up the parameter names to match the naming of the FHIR Export with Anonymization

Looks good

The PR has been reviewed and approved.


gpt-2-simple: init at 0.8.1

Description of changes
For https://github.com/Xe/x/blob/master/mastodon/robocadey/gpt2/main.py
cc @Xe (::

https://github.com/minimaxir/gpt-2-simple
https://pypi.org/project/gpt-2-simple
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Haven't tested yet, running nixpkgs-review now..

Result of nixpkgs-review pr 170713 run on x86_64-linux 1

2 packages built:

python310Packages.gpt-2-simple
python39Packages.gpt-2-simple

+1 I have tested this in one of my own projects and this works perfectly.


remove -lgeos_c and link to .o file

There is no shared library built for libgeos
The GDAL build is static anyway, so it is not needed either
There is a static .o file that gyp will automatically include if -lgeos_c is omitted
#20

Thanks - looks like this was a holdover from the previous repo. I'll test it out and release as a patch bump if everything works out.


Support cluster

https://redis.io/topics/cluster-spec

I will start looking at this if that's ok.


Page redirection

This is a feature request.
When we rename a page, previous link to the old URL would be dead. It would be great if we can edit the old page with things like this:
#REDIRECT [[new page]]

And it automatically redirects visitors to the new page.

Yes, that would be a great addition, but Jingo doesn't have a database so it's hard to image the correct place to save those redirects... maybe embedding the information directly in the page itself? I don't know. I will leave it open for Jingo 2 :)

I would suggest to save it as normal file. When Jingo render it, if the file contains the magic words, return a redirection instead of “200 OK” rendering the words.


Add shellcheck to Travis tests and fix existing shell lint errors.

@lesv PTAL.

apt-get install failed. :(

Yep. Looks like I need to add the repo info. Updating now. https://github.com/koalaman/shellcheck/wiki/TravisCI

LGTM - once Travis passes it.

[Current coverage][cc-pull] is 44.59%

Merging [#273][cc-pull] into [master][cc-base-branch] will not change coverage

@@             master       #273   diff @@
==========================================
  Files            78         78
  Lines          2267       2267
  Methods           0          0
  Messages          0          0
  Branches        154        154
==========================================
  Hits           1011       1011
  Misses         1225       1225
  Partials         31         31

Powered by Codecov. Last updated by [60deba5...f9acb1c][cc-compare]
[cc-base-branch]: https://codecov.io/gh/GoogleCloudPlatform/java-docs-samples/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/GoogleCloudPlatform/java-docs-samples/compare/60deba51d78e4584141045265efa6bce476d3bf3...f9acb1c3f0a92222af0bdf71f13769f6158a1642?src=pr
[cc-pull]: https://codecov.io/gh/GoogleCloudPlatform/java-docs-samples/pull/273?src=pr


Add exchange BW

Exchange API URL
https://github.com/bw-exchange/api_docs_en/wiki
https://github.com/bw-exchange/api_docs_en/wiki/WebSocket-API-Subscribe-instructions
https://github.com/bw-exchange/api_docs_en/wiki/WebSocket-API-Reference
Additional information about Websocket connection
Supports tickers, trades, and L2 orderbook with an initial snapshot.

Refer to Contributing Guide for additional information.

@bmancini55
Investigated this, and getting errors like this below:

{dataType:"90_TRADE_BTC_USDT",dataSize:20,action:"ADD"}
<< { msg: 'data not exist', code: '5016', dataType: '90_TRADE_BTC_USDT' }

The same with Ticker.
l2update works - should we implement it?

Dev notes:

Connect to non-mainland china url: wss://kline.bw.com/websocket
Prior to connection load a list of market_ids from https://www.bw.com/exchange/config/controller/website/marketcontroller/getByWebId
Supports candles (refer to https://github.com/bw-exchange/api_docs_en/wiki/WebSocket-API-Reference#subscribe-kline-data-marketid_kline_klinetype_symbol)
Supports l2 updates with an initial l2 snapshot (refer to https://github.com/bw-exchange/api_docs_en/wiki/WebSocket-API-Reference#subscribe-to-market-depth-data-marketid_entrust_add_symbol)
Supports trades (refer to https://github.com/bw-exchange/api_docs_en/wiki/WebSocket-API-Reference#subscribe-trade-detail-data-marketid_trade_symbol)
Supports tickers (refer to https://github.com/bw-exchange/api_docs_en/wiki/WebSocket-API-Reference#subscribe-tickers-data-all_trade_statistic_24h)


Does testcafe support chrome to save session

Are you requesting a feature or reporting a bug?
What is the current behavior?
What is the expected behavior?
How would you reproduce the current behavior (if this is a bug)?
Provide the test code and the tested page URL (if applicable)
Tested page URL:
Test code

Specify your

operating system:mac
testcafe version:
node.js version:

I do not want to log in every time I use the test case

Hi @haoshasha,
The User Roles feature should meet your need.

Hello @AlekseyMartynov i tried using User Roles feature, but it's always failed when i try switch roles
can you provide an example how to use it as the helpers file? Thanks!

Hi @fkartika,
Take a look at the An Easier Way to Authenticate Users in E2E Tests article.
You can find an example in the Example: Authenticating on GitHub section there.

Thanks for the reply @AlekseyMartynov !
and then i found the problem is the first credential still stored on session, so when i switch to other role the page is reloaded to login page, but not with the new credential. It's still previous credential. I test an Angular page. Do you know why this happen?

@fkartika Do you reproduce the same for example on github.com with the same test code?

no @AlexanderMoskovkin it's not happen in your example. Your example works well.

no @AlexanderMoskovkin it's not happen in your example. Your example works well.

In this case it seems the problem is specific for you page. Could you please share your page and test code with us or create a simple example that allows to reproduce the problem on our side?
Meanwhile try to set the preserveUrl option to true. It possible it has a sense for your project.

Is that settled?

@haoshasha TestCafe runs each test in a clear environment (with empty cookie, local storage etc..). Have you tried the User Role feature? Does it meet your need?

@AlexanderMoskovkin   I'll try it

@AlexanderMoskovkin Each test case requires each login，but I don't want to


configuration of ts 1.5 beta with vs 2015 rc

Hi, I installed 2015 rc and ts 1.5 beta.
I created a sample ts file, and I see that source map is disabled: I would like to configure the map source to create a single file and deploy in the wwwroot so I can debug the code.
I added a tsconfig file in the root of the project with the following settings

"compilerOptions": {
"module": "amd",
"noImplicitAny": false,
"noEmitOnError": true,
"removeComments": false,
"sourceMap": true,
"target": "es5",
"out": "~/wwwroot/application.js",
"watch": true
}

but seems that the settings are ignored. How can I configure vs and ts to work as described above?

removing the ~/ from out and running it using visual studio Code compiles and deploys correctly, but not from vs

VS 2015 does not support tsconfig at the point. The support should be available in the next public release.
Meanwhile in VS to set configuration properties:

create a new project using File> New Project
use tempalte TypeScript > HTML Application with TypeScript
got to project property pages > TypeScript Build

will vs2013 support tsconfig?

@designxtek this is not planed at the moment.


Developer guide fix

This change is

Fix issue #130

Coverage remained the same at 83.897% when pulling 597ee61f6a6cf5e32db3db1360b9bc90d7873f80 on developer-guide-fix into 43b1d75e0e0012333655037d4b3f3f72b9f5fea0 on master.


tv malta epg

https://www.tvmi.mt/mt/tvmi/skeda/

Added.
https://iptv-org.github.io/epg/guides/mt/tvmi.mt.epg.xml


DoNotMock false negatives

We have a case like this in the slack codebase that shows as red in the IDE but does not result as an error in the lint command line invocation
class SomeTest : SlackTest() {
    @Mock lateinit var reaction: UserReacted // UserReacted is a data class
}

It doesn't appear to be disabled as it's visible in the list of ExtraIssues

Wondering if it's to do with our older minApi and hoping bumping to latest lint will fix it

Big sigh https://issuetracker.google.com/issues/283654244
Some potential workarounds
A. Parse metadata ourselves by shading in and using kotlinx-metadata. Worried about overhead and caching though.
B. See if this is fixed by checkDependencies=true, but that comes with its own major costs.
C. Write a compiler plugin that adds @DoNotMock annotations to these implicit DoNotMock types, then rely on that lint detector to recognize them.
I think A or C are the best options. C solves the DoNotMock case only, while A solves it more generally (and probably other detectors with similar issues). If we can make sure it's performant, A seems like the more ideal solution.


feat: add option to overwrite default with custom config file

This feature is useful for using a custom config file to overwrite all or parts of the default configuration without the need to change the code and pass the settings as kwargs.

Hey, do you have any feedback on this PR? Anything I should add such that it could be merged?


add grayscale image example

Thank you!
I'll add a couple more comments and refer to it from the README in a follow-up commit sometime soon. This will be of great help for newcomers dealing with non-RGB images.

I've gone over it and turned it into a tutorial because why not :) One thing you might want to be aware of is that you had a mixup of width and height at some places, and thus it would give strange results for rectangular images.
This is understandable, because in images (and the original DenseCRF library) the ordering is WH, while in numpy/matlab it's HW.
Have a look and thanks again for the great example :tada:


Add baseHref option

I'm not sure how this PR sits with the philosophy of bankai being almost zero-conf. I'm also not sure that this fills out all the places that a <base href="some-url" /> would cover. Lets' discuss!
Ref: #309

yeah, i guess we don't have many other options here. @emilbayes I think this approach is good, if you rename it to --base we can get this in.
@yoshuawuyts i believe nanorouter has a similar issue and does not work correctly inside a subdirectory unless you use hash routing only; maybe we should also add a base or root property to it? I'll check if there's an issue open about that already

@goto-bus-stop Do you also want the internal option and variable names to be just base?

i think it would make the most sense for them to be the same, yes

updated to use 'base'

@emilbayes There's an issue, run:
 bankai build index --base boowa

generate:
<script src='boowa,boowa/ac78130558410d00/bundle.js'>


Generalized parsing of conditional expressions

This allows parsing some corner cases of the cond expression default values, in particular #1118.
The current condForm greedily parses the list of branches as, roughly speaking, valueLevel >> valueLevel (I'm omitting handling their results for brevity), and the default/fallback clause of the form (a b) gets consumed by this as well, so the final default clause parser doesn't see it and errors out.
To generalize, the problem is that we need to parse a list of ps followed by a single q, where p recognizes a (proper) subset of strings from q. The current parser effectively does some p >> q, which fails if that last element is in p (where, un-generalizing back to our problem, p is the branches parser, and q is the default clause parser).
Looks like the only solution (besides some post-processing and reshuffling of parsed terms, which is probably not something we'd like to do) is to do some lookahead. The way it's done here is as follows:

We first try to parse q ensuring it's not followed by another q. If it isn't followed, then it must be the final q and we're good.
If it is, then it must really be the (non-final) p, so we backtrack and parse with p.

As a side note, this parser now also accepts a cond with a single default clause and no branches — it makes the implementation a tad simpler and more readable in what's already a somewhat non-trivial code, without sacrificing correctness. If somebody wants an effectively no-op cond, shall we let them?

PR checklist:

[x] Test coverage for the proposed changes
[x] PR description contains example output from repl interaction or a snippet from unit test output
[x] Documentation has been updated if new natives or FV properties have been added. To generate new documentation, issue cabal run tests. If they pass locally, docs are generated.
[x] Any changes that could be relevant to users have been recorded in the changelog
[x] In case of  changes to the Pact trace output (pact -t), make sure pact-lsp is in sync.

Additionally, please justify why you should or should not do the following:

[ ] Confirm replay/back compat
[ ] Benchmark regressions
[ ] (For Kadena engineers) Run integration-tests against a Chainweb built with this version of Pact

Closing this without merging since getting corner cases ironed out in the type checker proves to be harder than expected. It seems to be more reasonable to delay this until type checker gets overhauled.


Upgrade scala-parser-combinators from 2.1.1 to 2.3.0

About this PR
📦 Updates org.scala-lang.modules:scala-parser-combinators from 2.1.1 to 2.3.0
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scala-lang.modules", artifactId = "scala-parser-combinators" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.scala-lang.modules", artifactId = "scala-parser-combinators" }
}]

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

Superseded by #144.


Newtests

Coverage increased (+8.0%) to 50.559% when pulling bb293588d3380c511561997d38a2fde3463cb854 on lmazuel:newtests into d472f10b2522e35e5f46e8ad3f671cf005d49541 on Azure:dev.

Coverage increased (+8.2%) to 50.745% when pulling 9ca39d06a3f0327e1d1432cae940f42afd61665f on lmazuel:newtests into d472f10b2522e35e5f46e8ad3f671cf005d49541 on Azure:dev.


e2e: increase the timeouts on the e2e tests

What this PR does / why we need it:
Give more time for the state to converge.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer (optional):

Thanks it solves all the flakes locally ? some of them happens easier locally than on CI

I never had a flake locally.
Try for yourself, then provide feedback please :) Never trust a developer.


Adds the correct path information to the release notes links for #1163

The release notes md file is in a separate directory so the links added have a ../ in front of them, however when rendered on the site the release notes are at the root of the guides folder.
This change just fixes that.

Argh! Thanks for the catch and PR.
Unfortunately we render the content to two separate pages: https://lit-html.polymer-project.org/guide/release-notes and https://lit-html.polymer-project.org/guide/release-notes/1.2.0.html (trying to follow the pattern TypeScript uses). That means they each need different URLs. I think we'll need a 11ty helper to fix it.

@justinfagnani Or we could just make sure the links in the release notes are absolute paths--/guide/template-reference should work in either case.

Thanks @PaulKinlan and @arthurevans !


Vsp upgrade new steps

Added new steps that are mentioned in the VSP upgrade guide

Also, please resolve the merge conflict in release notes

Also, please resolve the merge conflict in release notes

Done


After getting latest v9.1 code, build solution gives "Syntax error, ',' expected"

After getting latest v9.1 code, build solution gives "Syntax error, ',' expected"

EasyRepro/Microsoft.Dynamics365.UIAutomation.Api/Pages/Entity.cs

EasyRepro/Microsoft.Dynamics365.UIAutomation.Api/XrmPage.cs

Are you by any chance using an old Visual Studio version (2015 or older)? This language feature was introduced in C# 7.0.
https://www.c-sharpcorner.com/article/out-variables-in-c-sharp-7-0/
https://stackoverflow.com/questions/39461407/how-to-use-c-sharp-7-with-visual-studio-2015

I am using:

I recommend switching to a newer Visual Studio. If that's not an option, then you can try to follow the second link (https://stackoverflow.com/questions/39461407/how-to-use-c-sharp-7-with-visual-studio-2015) from my previous comment. I didn't try myself, but that might work.

Thanks, switching to newer Visual Studio worked.


Add example project

I'm familiar with upgradeable contracts, but the Diamond Standard is a peculiar implementation.
An example project that shows how to import the library and use it in a base Counter or Greeter contract would be awesome.

Check out the example contract I used in the Contracts directory:
https://github.com/lampshade9909/DiamondSetter/tree/master/Contracts
There is one proxy contract and two logic contracts.  I deployed them on mainnet and called the set command which generated this tx to associate the logic contracts & function selectors with the proxy -> https://etherscan.io/tx/0x6fa3da9f80c1ee3f7d4128c866a3fd98c9f6a7d18e09980fe3f9303c141e20f2

Sorry, what I meant is separate the core contracts from the example.
Maybe worth publishing this as an npm package and have another repo refer to it by importing the core contracts from node_modules.

Yep.  Ideally, the core components would be a package and the example project would be separate.  Unfortunately, I'm swamped and don't have the bandwidth this month.  Releasing this is better than releasing nothing.  At some point, I will make it into a python package.


follow owner reference to find clusterdeployment if possible

this should avoid a case where a certificaterequest using a
certificateSecret with a name other than "clustername-primary-cert-bundle" can
find the clusterdeployment and reconcile
for OSD-11949

/hold
@blrm @dustman9000 please review

the "discover clusterdeployment if certrequest ownerref is missing" test case should be covered by the new logic: if the ownerReferences are missing, it gets a list of the clusterdeployments in the namespace and uses the first (hopefully only) one it finds

/hold cancel

/lgtm


update &preview in extensions.vim

Hi! Cristian.
This patch is to resolve #2041 suggested by @chrisbra
Could you check this Pull Request?
If you don't need this pull request, feel free to close it. 🙇

thanks!


Update InstanceFieldLayout tests for Roslyn update

https://github.com/dotnet/corert/blob/master/src/ILCompiler.TypeSystem/tests/CoreTestAssembly/InstanceFieldLayout.cs#L163
IsByRefLikeAttribute is reserved in latest Roslyn and cannot be used to create invalid byref-like types. The tests that need to create invalid byref-like types need to be written in IL.

@MichalStrehovsky I have disabled these tests in #4664. Could you please take a look?

https://github.com/dotnet/corert/commit/796aeaa64ec09da3e05683111c864b529bcc17e8


Complete json logic

The analysis revealed that some overloads of and and or are missing, but the new versions take params lists, so there's not breaking change.  Additionally, the nature of this change is such that people likely weren't using the factory functionality, so no harm done.

The analysis revealed that some overloads of and and or are missing, but the new versions take params lists, so there's not breaking change.  Additionally, the nature of this change is such that people likely weren't using the factory functionality, so no harm done.


Error during the install of bower dependencies

Hi,
I tried to deploy IRMA but I cannot get passed the install of bower dependencies. The bower binary is missing as far as I understand. Below is the output I got. I deleted the irma-frontend directory on the frontend server and relaunch the install but it did not change anything.
The server is a debian 8.1.

Thanks

:) debian 8.1 is not yet supported, sorry. There is something for debian 8.1 in the pipeline, please wait few more days.

@andrirad you should follow commits done on this branch: https://github.com/quarkslab/irma-ansible/tree/2130-move-to-debian-8. It works with the allinone_prod environment.
Do not hesitate to give us feedbacks if it works, and if something fails. Thanks in advance and happy beta-testing !

@kamino I tried the allinone_prod environment and it worked. The VM is up and running. I submitted some files to make sure that the probes are working too :)
I got one error during the install of rabbitmq-server. See the screenshot for the complete output. Vagrant or the server could not fetch the updated apt files. I don't know why. To solve the problem, I manually executed sudo aptitude update on the server, then relaunched the provisionning.
My next test is to deploy IRMA on different servers so I'll let you know how it goes !

The prod environment works too. I had to disable three probes to make it works however: Avast, Zoner and EScan. Avast and Zoner required a license key and a license file so I assume the errors should be gone once the requirements are fulfilled. For EScan, the download link is not valid anymore.
I guess the new link should be:
"http://www.microworldsystems.com/download/linux/soho/deb/escan-antivirus-wks-7.0-18.amd64.deb"

The provisioning of a production environment works too with Debian 8.1
ansible-playbook -i hosts/example playbooks/playbook.yml -u vagrant -K.
Thanks for all the work

Hi @andrirad,
Good Catch, We will make a pull request as soon as we will finish the Debian 8.1 provisioning.
Can we close the issue which was "Error during the install of bower dependencies"?
Regards,

@guillaumededrie yes, you can


Last Week in Pony - June 30, 2019

Pony 0.29.0 has been released.
https://www.ponylang.io/blog/2019/07/0.29.0-released/


[BUG] Delete required capability in a contribution throwing error

Describe the bug
When deleting a capability, if the capability is a "required capability" in a talent, it throws an error.
To Reproduce
Steps to reproduce the behavior:

Create a contribution with capability and talent
In the talent, select the capability as a required capability
Try to delete the capability using "Delete capability" button
See error

Expected behavior
Do a validation before deleting the capability.
Additional context
Add any other context about the problem here.

Not able to reproduce the error as above. However, the error still persists in another fashion.
Steps to reproduce the behavior:

Create a contribution with capability and talent
In the talent, select the capability as a required capability
Try to delete the capability using "Delete capability" button. The capability will be deleted
See the talent details page. Click the link to the required capability.
See Error in screenshot
The capability id and link persists and arises in a KeyError.

This is kept on hold for now.


UI Support for CARB/US ICE v BEV and International ICE

#1099 assumes the existence of a check box for CARB/US ICE to distinguish CARB (l)(1) ICE testing from alternate uses.
When CARB/US is indicated, the criteria demand one of 4 values be provided by all OBD modules, for OBD compliance.
This permits manufacturers to run tests, for international certs, without complaints that the value doesn’t meet CARB allowed numbers.
Such a box is envisioned to be selected by default, and must be deselected for International CI and SI circumstances.

See #1101 for SOW UI needs for XEVs and BEVs

All section 6 changes consolidated in one document.

Is the Fuel Type of "Battery/electric vehicle" sufficient?

#1107 is about creating an escape hatch for say a Brazilian Euro VI adaption, or a China 6 off road vehicle, which won’t use 13h or 14h …
when the box is un checked failure messages for 13h 14h are turned off.
We need to accept Bev values with the box checked
The box isn’t in the displayed content above…

6.1.3 Provides the new criteria.
6.1.3	DM5: Diagnostic Readiness 1
<IP_ADDRESS>	Actions
a.	Global  DM5 [send Request (PG 59904) for PG 65230 (SP 1220, OBD Compliance)].
b.	Create “OBD ECU”  list (comprised of all ECUs that indicate OBD compliance values other than 0, 5, FBh, FCh, FDh, FEh, or FFhthat indicate 13h, 14h, 22h, or 23h for OBD compliance) for use later in the test as the “OBD ECUs.”
<IP_ADDRESS>	Fail Criteria
a.	Fail if no ECU reports as an OBD ECU.
b.	Fail if any ECU responds with a NACK (to DM5, PG 65230 request).
c.	Fail if a BEV vehicle response provides a value other than 1Bh (27) for OBD compliance.
d.	Fail if any response from a function 0 device provides OBD Compliance values of 0, 5, FBh, FCh, FDh, FEh, or FFh.
e.	Fail if a US/CARB vehicle does not provide OBD Compliance values of 13h, 14h, 22h, or 23h.
<IP_ADDRESS>	Warn/Info Criteria
a.		Warn if more than one ECU responds with a value for OBD compliance where the values are not identical (e.g., if one ECU reports 13h and another reports 22h, if one reports 13h and another reports 11h, or if one ECU reports 00h and another reports 14h).
b.	Warn if any response received from a non-OBD ECU provides OBD Compliance values of 0, FBh, FCh, FDh, FEh, or FFh.
c.	Info for DM5 replies from non-OBD ECUs.
// The above changes incorporate #1099

8/12/2023 Task 5 Artifact Updated to
e. Fail if a vehicle with a US EPA/CARB CI or SI engine does not provide OBD Compliance values of 13h, 14h, 22h, or 23h.


Add more comprehensive type support

Currently, only the *64 bit dtypes are supported by pandera.

explicitly cover all valid pandas dtypes, including category dtype: https://pandas.pydata.org/pandas-docs/stable/user_guide/categorical.html

fixed by b01eef07015dc76cae4b2a5be060417be3288c11


Main

expect(tableRows).toHaveLength(2);
was changed to expect(tableRows).toHaveLength(1);

Thank you so much for your contribution! I'll think of a way to give credit to all the people who spent some time collaborating with me. =)


vkEnumeratePhysicalDevices doesn't return VK_INCOMPLETE

There's a subtle problem with vkEnumeratePhysicalDevices function. It should be possible to get VK_INCOMPLETE from it, if the following conditions are met:

pPhysicalDeviceCount < number of physical devices reported by the instance
pPhysicalDevices != nullptr

Currently this isn't possible. The function always returns VK_SUCCESS and overwrites the count with the number of physical devices available. Instead, it should leave the count untouched (number of physical devices returned is zero), don't modify memory at pPhysicalDevices, and return VK_INCOMPLETE.
I'm also getting this warning, which I suppose is fine:

DL(WARN): object: 0x0 type: 2 location: 11374 msgCode: 6: Call to vkEnumeratePhysicalDevices() w/ pPhysicalDeviceCount value 0, but actual count supported by this instance is 2.

This is needed by CTS as it leads to a failing test.
One side note: there seems to be interference between normal loader behavior and VK_LAYER_NV_optimus, so be sure to disable this layer if you wish to reproduce the bug. Otherwise API will return VK_INCOMPLETE as expected.

I don't see anywhere in the spec that VK_INCOMPLETE should be returned if pPhysicalDevices != nullptr.  The other issue appears valid.

Committed with 87070d81bca386e4a3fb1295e8d7dc232ec48622


[path] normalize each directory match into single zone

Is this a BUG REPORT or FEATURE REQUEST?:
feature
What happened:
Currently a directory such as v0.11.0 would result not in one subzone, but in a request such as _redirect.v0.11.0.
What you expected to happen:
Normalize into allowed DNS chars and replace . with - to keep each match in its own zone.
Anything else we need to know?:
Does - make sense as replacement for .?

"They [zones] must start with a letter, end with a letter or digit, and have as interior characters only letters, digits, and hyphen" from https://tools.ietf.org/html/rfc1034
So various options.
We strip out all non allowed chars.
We transform it into ascii.
We define specific rulesets.
Stripping out all non-allowed chars would be most consistent. Might run into the issue that different paths end up on the same record, but that's an edge case, that might be something that makes sense anyway.
We could provide a tool on the website to showcase, what record would be looked up with various settings or so in the long run, if it becomes intuitive.
Transforming seems another thing the user needs to learn.
Same as defining a specific ruleset.


Frontmatter is using system default encoding instead of template encoding or even app.encoding

Minimal reproduce:
For a haml file
---
title: 中文
date: 2012/09/08
tags: tech
---

%div
  blah

with its layout file
-# coding: utf-8
!!! 5
%html
  %head
    %meta{:charset => "utf-8"}
      / Always force latest IE rendering engine (even in intranet) & Chrome Frame
    %meta{:content => "IE=edge,chrome=1", "http-equiv" => "X-UA-Compatible"}
      /[if lt IE 9]
        %script{:src => "http://html5shim.googlecode.com/svn/trunk/html5.js", :type => "text/javascript"}
    %meta{:content => "width=device-width, initial-scale=1.0", :name => "viewport"}
    %title= current_page.data.title
    = yield_content :head
  %body
    #container
      #main{:role => "main"}
        %div.content
          = yield

will encounter
Encoding::CompatibilityError at /tech_blog/2012/09/08/encoding-test.html
incompatible character encodings: UTF-8 and GBK

I looked around, and it seems that when middleman render the template, it's using the encoding of the haml file(the -# coding: utf-8) or the encoding set in config.rb(the set :encoding,    "utf-8"), and when middleman parse the frontmatter, it's using the system default encoding(in my case, GBK), so when meta data is concating into template(%title= current_page.data.title ), encodings got incompatible.
Specifically, in C:\Ruby192\lib\ruby\gems\1.9.1\gems\middleman-core-3.0.2\lib\middleman-core\core_extensions\front_matter.rb:
      # Get the frontmatter and plain content from a file
      # @param [String] path
      # @return [Array<Thor::CoreExt::HashWithIndifferentAccess, String>]
      def frontmatter_and_content(path)
        full_path = File.expand_path(path, @app.source_dir)

        content = File.read(full_path)
        data = {}

        begin
          if content =~ /\A.*coding:/
            lines = content.split(/\n/)
            lines.shift
            content = lines.join("\n")
          end

          if result = parse_yaml_front_matter(content)
            data, content = result
          elsif result = parse_json_front_matter(content)
            data, content = result
          end
        rescue => e
          # Probably a binary file, move on
        end

The content in content = File.read(full_path) is GBK, so when it's parsed by  parse_yaml_front_matter(content), strings in metadata are GBK. That's what's causing the problem.
Other than simply bundle exec middleman server, I also tried LANG=zh_CN.utf-8 bundle exec middleman server under MinGW/MSYS, but gem execjs can't work in that case(due to trying to split PATH(which is GBK) as utf-8), I have to stick to not setting Encoding.default_external or Encoding.default_internal.

It is too bad the above ending is not happy enough.
Problem still exists while loading YAML files in data
application.rb
---------------------------
281      # Before config is parsed. Mostly used for extensions.
282      execute_callbacks(:before_configuration)
... ...
298      if Object.const_defined?(:Encoding)
299        Encoding.default_external = config[:encoding]
300      end

error stacktrace
/usr/local/rvm/gems/ruby-2.1.8/gems/middleman-core-4.1.10/lib/middleman-core/util/data.rb:60:in `match': invalid byte sequence in GB18030 (ArgumentError)
        from /usr/local/rvm/gems/ruby-2.1.8/gems/middleman-core-4.1.10/lib/middleman-core/util/data.rb:60:in `parse'
... ...
        from /usr/local/rvm/gems/ruby-2.1.8/gems/middleman-core-4.1.10/lib/middleman-core/application.rb:282:in `initialize'
        from /usr/local/rvm/gems/ruby-2.1.8/gems/middleman-cli-4.1.10/bin/middleman:51:in `new'
        from /usr/local/rvm/gems/ruby-2.1.8/gems/middleman-cli-4.1.10/bin/middleman:51:in `<top (required)>'
        from /usr/local/rvm/gems/ruby-2.1.8/bin/middleman:23:in `load'
        from /usr/local/rvm/gems/ruby-2.1.8/bin/middleman:23:in `<main>'
        from /usr/local/rvm/gems/ruby-2.1.8/bin/ruby_executable_hooks:15:in `eval'
        from /usr/local/rvm/gems/ruby-2.1.8/bin/ruby_executable_hooks:15:in `<main>'

Can I reopen this issue or make a new?


Update to TF 0.13.x

Update to TF 0.13.x and AWS provider 3.x
This is a potentially backwards incompatible upgrade, so consumers updating from the previous major version should take note before upgrading.
What's new?
The major update here is that the AWS provider has now made the region attribute read-only in major version 3. Previously, the bucket and the rest of the resouces could be created in different regions. In the new module, everything should be created in us-east-1 with the additional provider (see README and examples). This will be a breaking change for users with buckets outside of us-east-1.

Because a resource is tied to the provider that created it, passing a new aliased provider to the module with the same region will not resolve the regional issue. The usage of the module should continue as before, but users who have created the bucket in a region other than us-east-1 will experience breaking changes if they attempt to continue to use the same bucket.


Anyone with example working code on this package, i were using the previous versiom now this gets difficult for me to go with

Anyone with sample code or article or tutorial on implementation of this package please share to help us lern faster about the package

The package is still in alpha so I haven't written a tutorial yet. There is however exceptionally extensive documentation at https://laraveljsonapi.io that I think most people are using if they're giving this new version a go.

😢you don't have any sample repo on GitHub, it will be so helpful others are learning fast through a working example like this one
https://howtojsonapi.com/laravel.html from the previous version. But thank you for the quick reply. I Just started watching the package today, I am trying to understand the function of each directory and it is getting tough for me

Unfortunately it's not worth me writing a tutorial while I'm still developing the package - as I'd just end up having to modify the tutorial the whole time. I'll definitely add a tutorial once the package is settled.
In the meantime, there is actually a demo app sitting within the tests directory of this package:
https://github.com/laravel-json-api/laravel/tree/develop/tests/dummy
That would be a good place for you to start.

I have started using this package to create a things api endpoint that authenticates with Sanctum.
https://github.com/shadow81627/pocketpasta-api

So I have written 90% of a tutorial for the official docs. Hoping to finish it off relatively soon.
In the meantime, this blog article has been published which provides a great tutorial to the package:
https://graffino.com/web-development/how-to-use-laravel-json-api-to-create-a-json-api-compliant-backend-in-laravel

Tutorial now added to the official docs: https://laraveljsonapi.io/docs/1.0/tutorial/


Created Weighting function for gap fill. Example data needed for testing function.

Function has been tested with small scale dummy data, but real example data is needed.

@cshenry Waiting on example data for the function.  File is linted and should pass tests now

@cshenry This should be ready to go. Please test this yourself at your earliest convenience. Happy to make any changes.
Example run:

com_media = msrecon.get_media("KBaseMedia/Complete")
gmm_media = msrecon.get_media("KBaseMedia/Carbon-D-Glucose")
auxo_media = msrecon.get_media("94026/Auxotrophy_media")

#Pulling super annotated ecoli genome
genome_ref = "77537/Eco_RAST_Prokka_BlastKOALA_PTools_DeepEC_DeepGO"
#Link to AnnotationOntology code in github:
annoont = AnnotationOntology.from_kbase_data(annoapi.get_annotation_ontology_events({
    "input_ref" : genome_ref
}),genome_ref)
#Pulling ecoli model
model = msrecon.get_model("151253/GCF_000005845.2.RAST.NewGMM.mdl")
media = msrecon.get_media("KBaseMedia/Carbon-L-Phenylalanine")
model.pkgmgr.getpkg("KBaseMediaPkg").build_package(media)
#Loading transcriptome
expression = pd.read_csv("ExpressionData.tsv",sep="\t")

#Getting MSGapfill object
msgapfill = MSGapfill(
    model,
    [msrecon.get_template(model.model.template_ref)],
    [],
    [],
    blacklist=[],
    default_target="bio1",
    minimum_obj=0.01
)

msgapfill.reaction_scores = msgapfill.compute_reaction_weights_from_expression_data(expression,annoont)
msgapfill.gfpkgmgr.getpkg("GapfillingPkg").compute_gapfilling_penalties(reaction_scores=msgapfill.reaction_scores)
msgapfill.gfpkgmgr.getpkg("GapfillingPkg").build_gapfilling_objective_function()

msgapfill.run_multi_gapfill([media],target="bio1")

The code seems to be INCREDIBLY SLOW for what it's doing... taking more than 10 minutes to compute the scores... doesn't feel right to me...

I think it's all this numpy and dataframe stuff... it's just killing your performance. A nested hash really is vastly better as a datastructure

I’ll make those changes this weekend or early next week.

I have a fix for this that I'll be pushing shortly. It should reduce time to about a minute.


Feature Request: Set max height of options [scrollable]

Adding an option for max height  of option choice box would make it more usable for longer lists of options. Currently they just fly off the page.

isn't that possible by adding some CSS, say overflow-y: scroll; to the underlying box?

I will try jrief and let you know thanks for the suggestion

Yep that works if you set max-height as well thanks.
bsp-select .bsp-container {
background-color: #fff;
border: 1px solid #c6c6c6;
border-radius: 4px;
margin-top: 4px;
overflow-y: scroll; /added/
max-height: 300px; /added/
}


Plugin not more working.

Hi, possible to update the Plugin? this is not more working.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

What's the problem?

after copy the files in folder white screen :)

Do you have delete the old files

i dont have old files :) i have a brand new WHMCS setup :)

It seems that you need help setting up this gateway module, you can contact the original developer for paid support: www.0100dev.nl ;)

Closing the issue for now. Please provide more information if you'd like to get support from the awesome community. Some additional information could be:

Install steps you've taken
Errors you see when debugging the issue.

Otherwise please contact 0100Dev to let them help you with the install, but this is paid.


docs: change misspelling at the next and back button and fix 404 not found button result

Description

Change misspelling at the next button on the Streetlights - Interactive (Alpha) tutorials page.
Change the misspelling at the back button on the v2.2.0 specification page.
fixing 404 error link not found when clicking the next and back button (both above button results are not found).

Related issue(s)

Resolves #684

/rtm


tinyint column don't return a 8-bit integer value but a boolean value #2528

Fixes #2528.

Pull Request Test Coverage Report for Build 8421

0 of 2 (0.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.3%) to 60.783%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

sharding-core/sharding-core-execute/src/main/java/org/apache/shardingsphere/core/execute/sql/execute/result/StreamQueryResult.java
0
2
0.0%

Totals

Change from base Build 8420:
0.3%

Covered Lines:
8258

Relevant Lines:
13586

💛  - Coveralls


Failed to install 'cordova-plugin-qrscanner': CordovaError: Failed to fetch plugin cordova-plugin-add-swift-support via registry.

I am trying install qrcode scanner iOS platform but I am getting below error 👎
Failed to install 'cordova-plugin-qrscanner': CordovaError: Failed to fetch plugin cordova-plugin-add-swift-support via registry.  Probably this is either a connection problem, or plugin spec is incorrect. Check your connection and plugin name/version/URL.

cordova platform rm ios
cordova platform add ios@latest
fixed it for me.


New version: HerbConstraints v0.3.0

Registering package: HerbConstraints
Repository: https://github.com/Herb-AI/HerbConstraints.jl
Created by: @ReubenJ
Version: v0.3.0
Commit: 9500cf0b64aeba0806a7df0d5836c5acf6e610b2
Reviewed by: @ReubenJ
Reference: https://github.com/Herb-AI/HerbConstraints.jl/commit/9500cf0b64aeba0806a7df0d5836c5acf6e610b2#commitcomment-142001411
Description: Constraints for Herb.jl

Skipping 0.2.0 was indeed an accident. This PR can be ignored.


Node duration times are incorrect in run logs

https://github.com/dataform-co/dataform-co/blob/master/ts/app/components/runs/run_view.tsx#L178
Should be 1000 not 360

Additionally, the executionTime field should be renamed to something like execution_duration_millis


Skip compile sources for watch apps

Including an empty compile sources build phase for targets with the application.watchapp2 product type causes a build error.

As you can see from the test fixture diff, this was successfully building before. Is it on a certain version of Xcode that it's failing to build? CI is using 12.5.1 and 13.0 at the moment

The change to the test fixture was intentional. The compile sources build phase was removed for the watch target since these shouldn't be generated.

I mean that the project was compiling fine on CI before your change, but I can see now it wasn't compiling the watch app


Bump version of the API

Bumps version of the operator and default NATS server to be used, plus some doc updates for the TLS with secrets feature.

Thanks @pires , ok so following a similar deprecation policy as in Kubernetes (https://kubernetes.io/docs/reference/deprecation-policy/) objects from v1alpha1 would then be deprecated (mainly the tls block which was inherited from the etcd-operator code), with an action required to uninstall previous v1alpha1 version of the operator (which would remove the pods too) and then recreate new clusters using v1alpha2 version instead.
That is not very graceful but design around multiple CRD versions and objects migrations in k8s is still in flux so have to work around those constrains for now (https://github.com/kubernetes/kubernetes/issues/57316)
Also rather than jumping into v1beta1, we'd would bump into v1alpha2 instead as that seems to fit better the current state, then bump into v1beta1 once community has used it a bit more (PR updated to reflect this change).


Spark comparison docs

Very nice to see this written up -- thanks!

Critical feedback welcome

@stephenpiment @twiecki you've both asked for docs comparing Spark and Dask.  Here you go!
Can I ask you, in return to read and tell me your thoughts?  I'd particularly be interested in other questions you have after reading this doc so that I can better answer those as well.

Matthew,
This strikes me as a very fair-minded and detailed comparison that zeros in
on the key points of similarity and difference. I would have to dig much
more into Dask have to have further questions or input.
I do have a bit of experience in using PySpark, and I would say that the
JVM issue has impacted me most:

during project setup, to get PySpark initially configured. There's a bit
of JVM environment wrangling that Python programmers may not be familiar
with; and,

during debugging, when Spark spits out stack traces that have nothing to
do with my Python code.

It is also no doubt true that 3) you pay a performance price in
serialization/deserialization, but I've never had cause to measure that.
I do wonder whether Scala will continue to gain ground in data science due
to Spark, and how the PyData ecosystem will fare as (if?) the world shifts
to large clusters. I guess one way to frame the question would be: what is
the "mean cluster size" that will be most important for data science a
decade from now?
In any case, I think you're doing awesome work.
Regards,
Stephen
On Mon, Jun 29, 2015 at 8:07 PM, Matthew Rocklin<EMAIL_ADDRESS>wrote:

@stephenpiment https://github.com/stephenpiment @twiecki
https://github.com/twiecki you've both asked for docs comparing Spark
and Dask. Here you go!
Can I ask you, in return to read and tell me your thoughts? I'd
particularly be interested in other questions you have after reading this
doc so that I can better answer those as well.
—
Reply to this email directly or view it on GitHub
https://github.com/ContinuumIO/dask/pull/376#issuecomment-116929309.

Looks good

I predict that mean cluster size will remain very close to one until the end of humanity.  The vast majority of problems are small.  Honestly, the combined utility of PyData and Spark pales in comparison to the utility of Excel.
For business analytics problems, who knows.  My money is still on Postgres, but I'm fairly ignorant.

@mrocklin I think this is great, definitely what I was looking for.


Prettify usage

Related issue #64

Move global flags to the command options.
Classify commands

And the final effect is:

rudrx

rudrx

rudr is a command-line tool to use OAM based micro-app engine.

Usage:
  rudr [flags]
  rudr [command]

Available Commands:
  help              Help about any command

Base Commands:
  traits            List traits
  workloads         List workloads
  init              Initialize RudrX on both client and server
  delete            Delete OAM Applications
  ls                List applications
  env:init          Create environments
  env:sw            Switch environments
  env:delete        Delete environment
  env               List environments
  version           Prints out build version information

WorkloadPlugin Commands:
  deployment:run    Run deployment workloads
  deployment:run    Run deployment workloads
  containerized:run Run containerized workloads
  deployment:run    Run deployment workloads
  deployment:run    Run deployment workloads

TraitPlugin Commands:
  ManualScaler      Attach ManualScaler trait to an app
  route             Attach route trait to an app
  SimpleRollout     Attach SimpleRollout trait to an app

Flags:
  -h, --help   help for rudr

Additional help topics:
  rudr options           Displays rudr global options

Use "rudr [command] --help" for more information about a command.

rudrx options

rudrx options

The following options can be passed to any command:
       --as string                      Username to impersonate for the operation
      --as-group stringArray           Group to impersonate for the operation, this flag can be repeated to specify multiple groups.
      --cache-dir string               Default HTTP cache directory (default "/Users/dingxiaohua/.kube/http-cache")
      --certificate-authority string   Path to a cert file for the certificate authority
      --client-certificate string      Path to a client certificate file for TLS
      --client-key string              Path to a client key file for TLS
      --cluster string                 The name of the kubeconfig cluster to use
      --context string                 The name of the kubeconfig context to use
      --insecure-skip-tls-verify       If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure
      --kubeconfig string              Path to the kubeconfig file to use for CLI requests.
  -n, --namespace string               If present, the namespace scope for this CLI request
      --password string                Password for basic authentication to the API server
      --request-timeout string         The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests. (default "0")
  -s, --server string                  The address and port of the Kubernetes API server
      --tls-server-name string         Server name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used
      --token string                   Bearer token for authentication to the API server
      --user string                    The name of the kubeconfig user to use
      --username string                Username for basic authentication to the API server

Sub command usage, like rudrx ls -h

rudrx ls -h

List applications with workloads, traits, status and created time

Usage:
  rudr ls

Examples:
  rudr ls

Flags:
  -a, --app string   Application name
  -h, --help         help for ls

The format of commands is changed in https://www.yuque.com/wonderflow/lbastq/dgyium, new commands please put in base command, I'll modify according to https://www.yuque.com/wonderflow/lbastq/dgyium after all command finished.

I've clean up at #107  thanks for your contribution!


Crashes instantly

It crashes as soon as i press on the app.i have a Samsung Galaxy A5 SM-A500FU

Same but I have a droid turbo and crashes instantly

That happens to me to...

It happens to me too pls fix this

Were working on it, sorry for the wait!

Plz, close this report cause, were spending pore time dealing with reports than porting BL!
Thx!


[SIL Opt][OSLogOptimization] Add -enable-ownership-stripping-after-serialization flag

to OSLogPrototypeCompileTest and fix couple of bugs in the OSLogOptimization
pass that manifests on ownership SIL.
Also, update the constant folding of Builtin.globalStringTablePointer so that it can look through ownership instructions.

@swift-ci Please test

Build failed
Swift Test Linux Platform
Git Sha - 641cc8b660d623b8c4b3684806102e12c9ead76b

@swift-ci Please test Linux Platform

@atrick  @gottesmm I have added a SIL test for OSLogOptimization, especially for testing the constant folding logic used by the pass for folding constant strings.  I have also update the constant folding logic so that it uniformly handles ownership and non-ownership SIL. The function replaceAllUsesAndFixLifetimes has the new implementation.
@atrick  The constant folding logic for strings is very similar to what we discussed. Basically, it looks all uses of the originalValue that are consuming and release the originalValue before the consuming use and copies the newValue and uses it in place of the originalValue.
This also required factoring out  a utility function from ConstantPropagation.cpp that checks whether a use of non-trivial (non-address) SILValue is consuming or not.  I have made a separate PR on this: https://github.com/apple/swift/pull/27794.

@swift-ci Please test

Build failed
Swift Test OS X Platform
Git Sha - 641cc8b660d623b8c4b3684806102e12c9ead76b

Build failed
Swift Test Linux Platform
Git Sha - 641cc8b660d623b8c4b3684806102e12c9ead76b

@atrick Rebased this work on top of the utility function created in this PR: https://github.com/apple/swift/pull/27876. This served quite handy and is used in a couple of places in this code base and also simplified/generalized the functions replaceAllUsesAndFixLifetimes and getEndPointsOfDataDependentChain oil OSLogOptimizations.cpp. I have also added a SIL test: testPostdominatorComputation in OSLogPrototypeCompileTest.sil that specifically tests the post dominator aspects of the OSLogOptimization pass.

@swift-ci Please test

Build failed
Swift Test OS X Platform
Git Sha - 8d51a579f3d1bd710d33d91f0302069be730dde3

Build failed
Swift Test Linux Platform
Git Sha - 8d51a579f3d1bd710d33d91f0302069be730dde3

@swift-ci Please test

@atrick I updated this pass to use ValueLifetimeAnalysis. It depends on this PR: https://github.com/apple/swift/pull/27892 , and have removed all dependency on completJointPostdominatorSet utility.

Build failed
Swift Test Linux Platform
Git Sha - 011829e93e49f96ae81ce4b676dc2eee5b4ed991

Build failed
Swift Test OS X Platform
Git Sha - 011829e93e49f96ae81ce4b676dc2eee5b4ed991

completeJointPostdominatorSet is fine in theory as a CFG utility, but I don't know of any need for it and I think there's a high potential for misuse. If you want to remove it in this PR or a separate PR, that's fine with me.

@atrick @gottesmm  I have pushed a commit that avoids having to use isConsuming. It handle non-OSSA SIL by just folding only struct_extract and giving up on other cases. This suffices for this optimization pass. Anyway eventually this pass should only be seeing OSSA.

@swift-ci Please test

Build failed
Swift Test Linux Platform
Git Sha - 028c54f4ef9861d2482568f2cbf71d054e6b0a4f

Build failed
Swift Test OS X Platform
Git Sha - 028c54f4ef9861d2482568f2cbf71d054e6b0a4f

@swift-ci Please test and merge

@swift-ci Please test and merge


Icon always no show.

Hi,
Why Icon always no show (or show like error)
Here is my code
import {
  BottomNavigation,
  Button,
} from 'react-native-paper';
import Icon from 'react-native-vector-icons/FontAwesome';

...
<Button icon="camera" onPress={() => alert('qwe')}>
        ALERT
</Button>
<Icon.Button
        name="facebook"
        backgroundColor="#3b5998"
        onPress={() => alert('qwe')}>
        Login with Facebook
</Icon.Button>
...

Show like this  ↓

package.js
{
  "name": "pj0815",
  "version": "0.0.1",
  "private": true,
  "scripts": {
    "android": "react-native run-android",
    "ios": "react-native run-ios",
    "start": "react-native start",
    "test": "jest",
    "lint": "eslint ."
  },
  "dependencies": {
    "@react-navigation/material-bottom-tabs": "^6.2.2",
    "react": "18.0.0",
    "react-native": "0.69.4",
    "react-native-paper": "^4.12.4",
    "react-native-vector-icons": "^9.2.0"
  },
  "devDependencies": {
    "@babel/core": "^7.12.9",
    "@babel/runtime": "^7.12.5",
    "@react-native-community/eslint-config": "^2.0.0",
    "babel-jest": "^26.6.3",
    "eslint": "^7.32.0",
    "jest": "^26.6.3",
    "metro-react-native-babel-preset": "^0.70.3",
    "react-test-renderer": "18.0.0"
  },
  "jest": {
    "preset": "react-native"
  }
}

Waht should i do to fix this
or
Is there any setting wrong in my project?
Thank you!

Sorry I found the miss
should add this in app/build.gr...
apply from: "../../node_modules/react-native-vector-icons/fonts.gradle"
Closed!


Accept button doesn't work on VS Internal Web Browser

https://devdiv.visualstudio.com/DevDiv/_workitems/edit/960955

@ryanbrandenburg  given we removed
services.Configure<CookiePolicyOptions>(options =>
{
    // This lambda determines whether user consent for non-essential cookies is needed for a given request.
    options.CheckConsentNeeded = context => true;
    options.MinimumSameSitePolicy = SameSiteMode.None;
});

From 2.2 and higher, can we close this issue? The fix would be in the internal web browser.
Should I open an issue suggesting we remove the internal web browser? I don't think it's heavily used.

I don't think there's any reason to ask them to remove the Internal Browser, it's just not a scenario we care about for these templates. So I'll close this issue.


Use container interface when creating ORM instance

For the following block of code in the bootloader:
    private function orm(
        FactoryInterface $factory,
        SchemaInterface $schema = null
    ): ORMInterface {
        return new ORM($factory, $schema);
    }

It would be great to use the container with autowire. The idea is that people could include cycle/entity-behaviour and declare their own CommandGeneratorInterface binding it to EventDrivenCommandGenerator.
Or maybe this could somehow be configured via config?

Hi, @rauanmayemir. Thank you for your suggestion.
I've just finished working on this issue, could you please check the result #2? Maybe do you have any additional suggestions?

Perfect. 👌


RedisException "Unexpected exception while processing command" caused by NPE

Redisson Configuration:
singleServer
Redisson version: 3.27.2
retryAttempts: 6
subscriptionConnectionPoolSize: 100
retryInterval: 3000
dnsMonitoringInterval: 60000
pingConnectionInterval: 50000
RedisException "Unexpected exception while processing command" occurred and it was caused by "Caused by: java.lang.NullPointerException: Cannot invoke "java.lang.Throwable.getMessage()" because the return value of "java.lang.Throwable.getCause()" is null"
The detail is:
org.redisson.client.RedisException: Unexpected exception while processing command
at org.redisson.command.CommandAsyncService.convertException(CommandAsyncService.java:353)
at org.redisson.command.CommandAsyncService.get(CommandAsyncService.java:168)
at org.redisson.RedissonObject.get(RedissonObject.java:95)
at org.redisson.RedissonLock.tryAcquire(RedissonLock.java:152)
at org.redisson.RedissonLock.tryLock(RedissonLock.java:231)
at org.redisson.RedissonLock.tryLock(RedissonLock.java:315)
...
at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63)
at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException: Cannot invoke "java.lang.Throwable.getMessage()" because the return value of "java.lang.Throwable.getCause()" is null
at org.redisson.command.CommandAsyncService.lambda$handleNoSync$25(CommandAsyncService.java:916)
at java.base/java.util.concurrent.CompletableFuture.uniHandle(Unknown Source)
at java.base/java.util.concurrent.CompletableFuture$UniHandle.tryFire(Unknown Source)
at java.base/java.util.concurrent.CompletableFuture.postComplete(Unknown Source)
at java.base/java.util.concurrent.CompletableFuture.completeExceptionally(Unknown Source)
at org.redisson.command.RedisExecutor.handleError(RedisExecutor.java:623)
It seems a bug and please take a look. Thanks.

Can you try 3.39.0 ? It looks like has been fixed.

Fixed in https://github.com/redisson/redisson/issues/4153

Sure, will upgrade to new version. Thanks all.

Does 3.31.0 include this fix? @mrniko

yes


Pint makes Github API requests returning in422 Validation Failed during Pint comment process

There seems to be a scenario where Pint cannot make a correct comment on PR.

level=ERROR msg=“Execution completed with error(s)” err=“submitting reports: POST https://api.github.com/repos/.../comments: 422 Validation Failed [{Resource:PullRequestReviewComment Field:pull_request_review_thread.line Code:custom Message:pull_request_review_thread.line must be part of the diff} {Resource:PullRequestReviewComment Field:pull_request_review_thread.diff_hunk Code:missing_field Message:}]”

The message

Message:pull_request_review_thread.line must be part of the diff

Indicates that Pint is trying to leave a comment where it shouldn't
The message

Field:pull_request_review_thread.diff_hunk Code:missing_field

indicates the API request had a missing field.
Github Rest API docs for missing_field Validation Failed for

A parameter that was required was not specified. Review the documentation for the endpoint to see what parameters are required.

I don't really use pint with GitHub, so unless you can provide more details or (better) a way to reproduce it there isn't much I can do here unfortunately.

@prymitive thanks for the response - we had someone look a bit into the pint code and they shared this tidbit

that the problem is the algorithm thats used for multi-line expressions, if the Github Diff doesn't contain the line where the expr: starts, it fails

How you'd reproduce would be to create an alert with a multi-line expression like so:
groups:
- name: example_alerts
  rules:
  - alert: HighCpuUsage
    expr: |
      avg by (instance) (
        rate(node_cpu_seconds_total{mode!="idle"}[5m])
      ) * 100 > 70
    for: 5m
    labels:
      severity: critical

If you make a PR against this alert - an change a line thats not on the same line as expr: it should fail. For instance if you change the threshold from 70 -> 60

I've tried to reproduce it but not getting any such error - https://github.com/prymitive/test-pint/pull/58.
Is it promql/series that's triggering comments here or something else?
Are you using latest pint? If not can you retest with latest version please?

This should be fixed via #1080


installing raspotify and mopidy

as title said can i install both of them in same os in the raspberry pi zero?

Sure you can run them both on a zero. The benefit of raspotify is the ease of using the mobile phone as remote control, but you can do that with mopidy too, check out the extension mopidy-iris, which has a nice web interface.


Look at incorporating "transition features" into segments

Right now our segments taken from OSM ways are linestrings between two termination points (e.g. A and B) which are either endpoints (dead-ends) or intersections. These are extracted using "strict" sampling in OSMNX.
OSM may actually have multiple ways between two termination points, for example the road between A and B may have two ways: one part that has 2 lanes, the other which has 3.
For now we are going to ignore these situations and stick with strict extraction, but in the future it may be worth picking up this type of change and adding it to our segment as a transition feature.

@j-t-t let me know if this summarises the situation or feel free to adjust as needed, thanks.

@j-t-t it's been quite a while since we talked about this, do you think it has a place in 1.2 in terms of effort & pay-off?

I'm not sure this is worth putting in 1.2, except maybe in creating data standards for it.

Closing for now as stale - not quite sure the way to address this.