(PUP-11846) Handle unprocessed, deferred sensitive

Prior to this commit, evaluating a deferred resource that includes a Sensitive value would fail during munging.  This commit marks these resources as sensitive and unwraps them during catalog application.

Looks like this does solve the problem from PUP-11846.
~/src/puppetlabs/puppet [PUP-11846 ?2]$ cat reproduce-PUP-11846.pp                                                                                $secret = Deferred('new', [Sensitive, "hello world\n"])
file { '/tmp/test.txt':
  ensure  => 'file',
  content => $secret,
}

 ~/src/puppetlabs/puppet  PUP-11846 ?2  be puppet apply reproduce-PUP-11846.pp
Notice: Compiled catalog for adot.local in environment production in 0.02 seconds
Notice: Applied catalog in 0.01 seconds

 ~/src/puppetlabs/puppet  PUP-11846 ?2  git co main
Switched to branch 'main'
Your branch is up to date with 'origin/main'.
 ~/src/puppetlabs/puppet  main ?2  bundle install >/dev/null && bundle update >/dev/null
 ~/src/puppetlabs/puppet  main ?2  be puppet apply reproduce-PUP-11846.pp
Notice: Compiled catalog for adot.local in environment production in 0.01 seconds
Error: Failed to apply catalog: Munging failed for value #<Sensitive [value redacted]> in class content: no implicit conversion of Puppet::Pops::Types::PSensitiveType::Sensitive into String

@m0dular Thanks for the patch. Do you think you'd be able to add spec tests for this?

Ah I'm working on specs, so don't worry about that part.

I rebased the PR onto 7.x and added tests. This will also get merged to puppet#main automatically.

Have to close and reopen to rekick GH actions with the correct matrix


update framework arguments to accept a single config argument

In GitLab by @Schumann on May 1, 2020, 13:10
The current framework requires a single argument indicating which protocol file to use, and an optional argument locating the algorithms directory. This should be improved to add a config file indicator. The config file should be passed to the protocol as a filepath argument, allowing the protocol to handle it.

In GitLab by @Schumann on May 31, 2020, 16:51
changed due date to June 04, 2020

In GitLab by @Schumann on May 31, 2020, 17:32
changed the description

In GitLab by @Schumann on Jun 1, 2020, 14:51
changed the description

In GitLab by @Schumann on Jun 1, 2020, 14:52
changed the description

In GitLab by @waxlamp on Jun 3, 2020, 14:58
mentioned in merge request !24

In GitLab by @Schumann on Jun 11, 2020, 13:31
assigned to @waxlamp

In GitLab by @waxlamp on Jun 11, 2020, 14:34
closed

In GitLab by @waxlamp on Jun 11, 2020, 14:34
Closed by !24


⚠ Cioos Pacific CKAN Sitemap has degraded performance

In f5c22cf, Cioos Pacific CKAN Sitemap (https://catalogue.cioospacific.ca/sitemap/sitemap-1.xml) experienced degraded performance:

HTTP code: 200
Response time: 14135 ms

Resolved: Cioos Pacific CKAN Sitemap performance has improved in 0c9142b after 5 minutes.


proc-macro + -Zsanitizer=address = Linking error

Problem
If you give -Zsanitizer=address and use a proc-macro crate, you get an ugly linking error. It should either compile, or give a nicer error message.
Steps
Take this example crate
cargo build works fine, but
$  RUSTFLAGS="-Zsanitizer=address" cargo build
   Compiling otherlib v1.0.0 (/home/volker/Documents/bug/mycrate/otherlib)
   Compiling mycrate v1.0.0 (/home/volker/Documents/bug/mycrate)
error: /home/volker/Documents/bug/mycrate/target/debug/deps/libotherlib-b3d905195a09f55e.so: undefined symbol: __asan_register_elf_globals
 --> src/lib.rs:1:5
  |
1 | use otherlib;
  |     ^^^^^^^^

error: could not compile `mycrate` due to previous error

Possible Solution(s)
No response
Notes
$ rustc --version -v
rustc 1.62.0-nightly (52ca603da 2022-04-12)
binary: rustc
commit-hash: 52ca603da73ae9eaddf96f77953b33ad8c47cc8e
commit-date: 2022-04-12
host: x86_64-unknown-linux-gnu
release: 1.62.0-nightly
LLVM version: 14.0.0

Version
cargo 1.62.0-nightly (e2e2ddd 2022-04-05)
release: 1.62.0-nightly
commit-hash: e2e2dddebe66dfc1403a312653557e332445308b
commit-date: 2022-04-05
host: x86_64-unknown-linux-gnu
libgit2: 1.4.2 (sys:0.14.2 vendored)
libcurl: 7.80.0-DEV (sys:0.4.51+curl-7.80.0 vendored ssl:OpenSSL/1.1.1m)
os: Arch Linux Rolling Release [64-bit]

Thanks for the report!  The issue is that RUSTFLAGS is passed to proc-macros without the --target flag. The workaround is to use --target. I believe sanitizers only fully work with build-std as well. This is discussed a bit in the documentation here.
I'm going to close as a duplicate of https://github.com/rust-lang/rust/issues/63986, https://github.com/rust-lang/rust/issues/48199, #3739 and others.  If you have further issues with using sanitizers, I would recommend filing issues at https://github.com/rust-lang/rust/issues as Cargo doesn't really have any interaction with them.


Wrong path to User location setting

Hi :)
A small detail regarding the path to access  the Usage location setting. This should be User > Profile > Edit instead of User > Profile > Settings
Issue location : first paragraph of this section.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: cb0fc0fc-b772-de61-258a-a6fd4ea9711c
Version Independent ID: 04e86827-c8da-a01a-2cb5-aeb2fbcef610
Content: Resolve group license assignment problems - Azure Active Directory
Content Source: articles/active-directory/users-groups-roles/licensing-groups-resolve-problems.md
Service: active-directory
Sub-service: users-groups-roles
GitHub Login: @curtand
Microsoft Alias: curtand

@Molx32 Thank you for catching this. We will investigate and update the thread.

@Molx32 Thank you for pointing this out . I have verified this form the portal.

We have initiated a change on the page and this will be updated in the next 24-48 hours. We will now close this issue.
Thank you.


Laravel Blade plugin not working

To reproduce:

Install LAravel
Install Tailwindcss - Refer to tailwind docs for laravel setup
I have the prettier plugin in VScode as well
Run npm install -D prettier prettier-plugin-blade prettier-plugin-tailwindcss
Create a .prettierrc file in the root directory. (Not needed but there are formats I like)
If you declare the plugins in the .prettierc file as below:

{
"plugins": [
"./node_modules/prettier-plugin-blade/",
"./node_modules/prettier-plugin-tailwindcss/"
],
}
and run npx prettier --write resources/ your get the following error:
[error] Only URLs with a scheme in: file and data are supported by the default ESM loader. On Windows, absolute paths must be valid file:// URLs. Received protocol 'c:'
Okay let's not declare the plugins because of auto-discovery.

remove plugins from .prettierrc and run npx prettier --write resources/ again

this is the output:
PS C:\xampp\htdocs\prettier> npm run format

format
npx prettier --write resources/

resources/css/app.css 28ms
resources/js/app.js 66ms
resources/js/bootstrap.js 15ms
PS C:\xampp\htdocs\prettier> npm run format
The welcome blade file is ignored.
Oh sorry I have also added a .blade.format.json file with the following contents
{
"useLaravelPint": true
}

I have the same issue with the same conditions ... i use laragon in Windows 11.

Currently this plugin does not support prettier 3 (in progress). The configuration issue on Windows can be tracked within the prettier git repository:


Fix failing Cadence tests

Related: #161

FYI need to add EMULATOR_ACCOUNT_PRIVATE_KEY to repo secrets in order for Cadence tests to run

I think there is an issue with the emulator path
Successfully installed Flow CLI v2.0.6 as 'flow' in /home/runner/.local/bin.
Make sure /home/runner/.local/bin is in your $PATH environment variable.

Run echo "/root/.local/bin" >> $GITHUB_PATH


Feature Request: ability to copy/paste issue list or export it or provide an equivilant CLI to get it

Specifically the code quality results; I cannot seem to figure out how to get these in any other form.

Thanks for the idea @bbarry. We have it on our deck to consider but no exact ETA for it yet.

Hi, since GitHub issues are not officially monitored by Snyk support, we will be disabling "Issues" tab on this repository very soon.
Please raise the current issue directly by contact Snyk Support on the web or emailing us at<EMAIL_ADDRESS>


Tutorial uses Hack Partial

On http://hacklang.org/tutorial.html, the tutorial uses <?hh the entire way through, instead of <?hh // strict. Even if it's purely cosmetic at the tutorial level, it's still probably a good idea to suggest strict out of good practices.

Tutorial has been removed.


adopt to new kube-proxy changes

the kube-proxy container has a warning for insecure access https://github.com/kubernetes-sigs/kubebuilder/pull/3899, we need to adopt as per https://github.com/kubernetes-sigs/kubebuilder/blob/master/designs/discontinue_usage_of_kube_rbac_proxy.md

Fome rge summary:

Existing users are encouraged to switch to images hosted by the project on quay.io OR to adapt their projects to utilize Network Policies, following the updated scaffold guidelines.

NetworkPolicies would require additional configuration on the deployment by users. They need to open-up the port of the CSI-Addons sidecar that is running as part of their CSI-driver. This requires a bit more consideration than replacing the container-image repository.


Master

The provided layout is not valid. It doesn't fit into the specified heliostats field area and two heliostats are too close together. Read Files section in README file. See also Hypothetical-Plant.ipynb notebook in notebooks directory.


Support East Asian font

Add supporting East Asian font for:

[x] Shape text
[x] Theme font

@adamshakhabov
The eastAsianFont value parsing logic is incorrect. The Typeface should be +mj-ea or +mn-ea.
https://github.com/ShapeCrawler/ShapeCrawler/blob/master/ShapeCrawler/Texts/IFont.cs#L274

Fixed (v0.41.1)


WebSocket Example on homepage no longer working

Describe the bug
I recently updated salvo from 1.16 to 1.29. Sadly my webSocket server would no longer compile.
So I went grab the example at the bottom of salvo homepage, that one ain't compiling as well.
Cargo.toml:
[package]
name = "noname-server"
version = "0.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
salvo = { version = "0.*", features = ["full"] }
tokio = { version = "1", features = ["full"] }
tokio-stream = "*"
futures = "*"
futures-util = "0.3"
once_cell = "1"
tracing = "0.1"
tracing-subscriber = "0.2.0"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1"
rand = "0.8"
thiserror = "1"

Error:
error[E0412]: cannot find type `HttpError` in this scope
 --> src/main.rs:6:71
  |
6 | async fn connect(req: &mut Request, res: &mut Response) -> Result<(), HttpError> {
  |                                                                       ^^^^^^^^^ not found in this scope

error[E0698]: type inside `async` block must be known in this context
 --> src/main.rs:5:1
  |
5 | #[handler]
  | ^^^^^^^^^^ cannot infer type
  |
note: the type is part of the `async` block because of this `await`
 --> src/main.rs:5:1
  |
5 | #[handler]
  | ^^^^^^^^^^
  = note: this error originates in the attribute macro `handler` (in Nightly builds, run with -Z macro-backtrace for more info)

Some errors have detailed explanations: E0412, E0698.
For more information about an error, try `rustc --explain E0412`.
error: could not compile `noname-server` due to 2 previous errors

To Reproduce
Steps to reproduce the behavior:

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

Expected behavior
The example should compile(hopefully).
Screenshots

Desktop (please complete the following information):

OS: macos
Version 0.29.1

I tried https://github.com/salvo-rs/salvo/blob/main/examples/ws/src/main.rs
That one is working.🥲

You use salvo = { version = "0.*", features = ["full"] } here, can you confirm is latest salvo version is used? Please check your Cargo.toml

Try change HttpError to StatusError.

You use salvo = { version = "0.*", features = ["full"] } here, can you confirm is latest salvo version is used? Please check your Cargo.lock

Yes I'm using the latest version of salvo.
Changing HttpError to StatusError fixes the issue.


adds orderby=name query param when fetching profiles

fixes #2274

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-trafficcontrol-PR/1603/
Test PASSed.


MHR:S Crashing to desktop

Went with the recent Dev-Build, but i keep crashing to desktop with error c0000005.
MonsterHunterRise.zip

Found the issue - uninitialized onboard graphics without a driver that kept being addressed even though the main graphics output is a different one. This bug comes from RE Engine itself though, i had the same crash without REFramework.


Deduplicate RPC types

We have some number of types defined in the rpc package that represent the structures being passed from server to client, but those are mostly used by the client code. At the same time we have similar types defined in the rpc/wrappers that are used by the server code. There is an obvious duplication there but to make things even more fun we have a third definition of these types for test code in the rpc/server_helper_test.go.
I think we should move all of them into one package separate from the rpc logic, that package can be shared between server and client code (that technically are also good candidates for package split).

Take a look at dedup-rpc-types branch. I think we can also separate client and server code into different packages while here.


National insurance errors

Added new National Insurance errors.
Part of a discussion with @timpaul and @36degrees.
https://github.com/alphagov/govuk-design-system/pull/528/files#r216234512

You can preview this change here:
Built with commit 69180d92a6c2b6c45cc34768a451aad52e1fb0a4
https://deploy-preview-547--govuk-design-system-preview.netlify.com


Failed to delete selected data in Data Query

Describe the bug:
Users can not delete selected data in Data Query
Steps to reproduce:

select some item in Data Query

click the "Delete button", and delete the selected data

attu shows that the deletion was successful

refresh the attu，requery the data，In fact, the deletion was not successful.

Re-delete the selected data, The prompt error is as follows：

Attu version:
v1.22.10
Attu version:

Already fixed, you can try with attu v2.0.5.
Thanks for the issue, any more questions are welcome!


Refactoring server tests

@dermidgen Here's a bunch of changes I worked on today. I'm trying to merge live and mock servers and treat the mock as any other server (only we'll be adding those nocks manually and those will be committed).

Somewhat inspired by this.
Note that these tests may make sense in rets.test.js but keeping them separate for now.

Note that there's a new way to run these tests in this branch:

npm test runs
npm run tester prepends DEBUG=rets.js:test:* and appends --watch --recursive to npm test.

Also, from a previous PR, we are now running jshint . in the pretest hook to make sure we don't forget to lint. Yes, lint errors now break CI.

@dermidgen Help me out here... I need to know if you can get this to run. All tests in Integration are skipped except login. Can you get it to work with your servers? I'm afraid nock's got me confused at this point. Just wanna get the fixtures in there and close this. We'll make testing live servers easier once this is fixed.

Closing this. It's too old and direction changed regarding tests.


isNaN accept all types of arguments

According to https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/isNaN the argument can be a boolean, a string, a number or an object.

Hi @dcharbonnier, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

TTYL, MSBOT;

On one hand, I feel like this would fail to catch bugs, and if one really needs, they can always use a type guard (i.e. typeof a === "number" && isNaN(a)). On the other, the function is more general in its inputs, so this is a valid change.

I'm struggling with utility of this. isNaN is just going to coerce the argument to a number, so writing isNaN(+x) is always going to be clearer in intent than isNaN(x) for non-number types of x.
Other function like Math.pow work the same way (e.g. Math.pow("3", "  5 ")) but aren't typed as accepting any type.

Reading more the ecmascript doc the argument is specified as Number. String is a 'free' implementation of the specs.
Sorry for the noise

No worries - always worth discussing!

According to the ES5.1 specification, the isNaN and isFinite functions use the ToNumber abstract operation on the argument and return true if that result coerces to NaN or ±Infinity. To me, this implies that the argument to these functions can be any type. I think TypeScript should follow this as well.
Why check if a variable is a number before checking if it's not a number (NaN)? Why manually coerce a variable into a number before calling a function that, according to the specification, does just that?


New language meanings

Translation of messages with authorization errors
For https://github.com/wintercms/storm/pull/115

See https://github.com/wintercms/storm/pull/115#issuecomment-1277342036


Combine CoAP Client and Server into a single CoAP agent.

Resolves #1662.
This also has the nice side effect of reducing both code and RAM requirements.
Using arm-none-eabi-gcc 5.4.1 20160919.
Before:
$ arm-none-eabi-size output/cc2538/bin/ot-cli-ftd
   text	   data	    bss	    dec	    hex	filename
 214056	   4588	  27880	 246524	  3c2fc	output/cc2538/bin/ot-cli-ftd

After:
$ arm-none-eabi-size output/cc2538/bin/ot-cli-ftd
   text	   data	    bss	    dec	    hex	filename
 213504	   4588	  27680	 245772	  3c00c	output/cc2538/bin/ot-cli-ftd

text: -1002 bytes
bss: -200 bytes

@GiedriusM @rlubos @bukepo , thanks for your comments.  Please review my updates.

LGTM:+1:


Replica fails to initialize from s3 with wale backups. Instance profile has no s3 access since it's shared by multiple pods.

When scaling a cluster that uses wal-e backups, replica fails to initialize due to wrong s3 permissions in the wal-e-wal-fetch.sh script in spilo, which is called with --aws-instance-profile.
In my case, i don't have dedicated pg machines, so i haven't allowed the machine to access that backups bucket. Instead I pass the aws env vars to the pg pods, but the scripts don't account for that.
Spilo forces the wal-e based restore command to use the instance credentials, even if AWS_ACCESS_KEY/AWS_SECRET_KEY_ID are present. See here
Combined with the fact that the replication slots are initially set to inactive as the replica boots so if it takes too long for base backup-fetch, those WAL files are deleted from the master - so it can't start this way either.
In one instance i manually removed that --aws-instance-profile flag from the restore_command.sh script, but that's not great.
Do you have any suggestions re. this situation? Thanks!

@CyberDem0n do you have suggestions ?

When scaling a cluster that uses wal-e backups, replica fails to initialize due to wrong s3 permissions in the wal-e-wal-fetch.sh script in spilo, which is called with --aws-instance-profile

It was always like this. On AWS we always rely on AWS instance profile. https://github.com/zalando/spilo/commit/0778db8ac58d5f39433ebc58095e5b5d3e58e2b8#diff-e6c13f6ffe3c8b153ee81ed7ce44235bL17
And actually this is not the only place where such argument is used: https://github.com/zalando/spilo/search?q=--aws-instance-profile&unscoped_q=--aws-instance-profile
I am not sure how exactly wal-e is handling the case when --aws-instance-profile is set and at the same time AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY are available, but they probably also could fail.

Combined with the fact that the replication slots are initially set to inactive as the replica boots so if it takes too long for base backup-fetch, those WAL files are deleted from the master - so it can't start this way either.

This is strange. What version of spilo and postgres do you use? Starting from version 1.5.1 Patroni immediately reserves wals on postgres 9.6+.

In one instance i manually removed that --aws-instance-profile flag from the restore_command.sh script, but that's not great.

Indeed, that should be fixed. Here is the idea:

Start using AWS_INSTANCE_PROFILE=1 environment variable instead of --aws-instance-profile argument. It actually will also simplify a lot of scripts.
https://github.com/zalando/spilo/blob/master/postgres-appliance/scripts/configure_spilo.py should write 1 into the AWS_INSTANCE_PROFILE file in the envdir if it detects that we are on AWS and AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY aren't set.


Performance Issue

Hi,
I am performing a left join between two tables containing about 7000 rows. The query is taking about 20 s. to execute. Is there any performance issue with alaSql for this type of query?
Is there a workaround to cope to this performance issue?
Thank you
Damien

Please add example code if you want more feedback.
Are you using any indexes on the data?


Req: Allow specifying typescript functions that return prompts

The templating works nicely up until prompts get more complicated. Currently I'm constructing the prompt and history of messages in code, where there's stages of extracting data from objects and encoding them in various ways. This doesn't play so nicely with (e.g. put a json encoded string inside  a). Even long multi-line prompts are awkward in a json file with no newlines.
If prompts could (as well as being a file or list of files) include functions that take as an argument the named variables and return a string, I think that could more neatly integrate with existing typescript projects.
This could probably fit in the yaml and be callable from the cli, but a first pass could be to add this functionality to evaluate - so it's available within the node package. Prompts could have a renderer on them which defaults to renderPrompt if not defined.
Would you be interested in this being added? I think the change could be relatively small for the node package change, I'm less sure of dynamic imports for adding it to the yaml. Perhaps it would work more easily for js config.

Hi @IanCal,
I see what you're saying.  Something similar is supported by custom providers, but this functionality doesn't extend to the prompts themselves.
I'm definitely open to adding this support for prompts as well.


PEP8 cleanup

The library needs some PEP8 cleanup

I mean mostly things like imported but not used modules

Thoughts?

Hmm, perhaps - but you should be aware that we'll soon discontinue this SDK in favour of a totally rebuilt one (that is not based on PHP methods etc)...

So although we really appreciate all these feedbacks and PRs, perhaps I could add you to the private beta of the new SDK to get your thoughts on that one instead?

Yeah, sure :)
We just finished implementing a library on top of this SDK and are now in the process of integrating it into our app. It might be helpful to see any upcoming changes and evaluate what it would mean to switch to the newer library.

OK, no problem - just added you :-)

(Feel free to create issues/PRs over there)

Hey @alexei, with the release of the new v3 version, we're no longer maintaining the previous versions so I'm closing this for now I'm afraid.

Yeah, it's ok. We finished our client based on v2 (we were almost done when you told me about v3) and then I started to work on other features. I'll probably have some feedback for v3 when we decide to switch.

Damn it, I'm sorry for that unforunate timing :-(


unable to convert llama2 7b model

hi,
I am trying to convert the llama2 7b model by below script.
python export_meta_llama_bin.py ~/projects/75_NLP/llama-main/llama-2-7b llama2_7b.bin
it always popup "killed" message.
My hardward is  i7-12700H 16G RAM & NVIDIA GeForce RTX 3060 6G VRAM running on ubuntu 22.04
Any idea why this happen?
tks

Most likely because you don't have enough RAM.
llama-2-7b is around 13GB. The export file loads the whole model at once into RAM. Usually 4-5 GB RAM is already taken up by existing processes so 16GB RAM isn't enough to open llama-2-7b. To confirm this run htop command & see RAM usage while running export script

@edisondeng I have encountered the same problem, switch to a machine with more memory, it is ok, the suggestion is more than 20 GB.

tks to all. Yes, it is due to insufficient memory.
On Thu, Aug 17, 2023 at 3:36 PM Madroid Ma @.***> wrote:

@edisondeng https://github.com/edisondeng I have encountered the same
problem, switch to a machine with more memory, it is ok, the suggestion is
more than 20 GB.
—
Reply to this email directly, view it on GitHub
https://github.com/karpathy/llama2.c/issues/288#issuecomment-1681788002,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABZRV5S6ZKG5IVDD5L7J66TXVXCXRANCNFSM6AAAAAA3PGTDNQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

I used the old script and it worked: https://github.com/karpathy/llama2.c/issues/341#issuecomment-1694503671

I also was not able to convert llama2-7B despite having 32GB ram (closed everything out, and htop reported only 2GB being used by other processes, and swp was totally clear).
The old script worked for me as well.

I have been getting an error when trying to convert Meta-Llama-3-8B-Instruct.Q4_0.gguf to .bin format
python3 export.py llama2_7b.bin --meta-llama /home/####/llm_inferences/llama.cpp/models/meta Traceback (most recent call last):   File "/home/####t/llm_inferences/llama2.c/export.py", line 559, in <module>     model = load_meta_model(args.meta_llama)   File "/home/####/llm_inferences/llama2.c/export.py", line 373, in load_meta_model     with open(params_path) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/####t/llm_inferences/llama.cpp/models/meta/params.json'


Missing space after Publisher, Language on Information dialog

In the section More Info there is space between 'Publisher' and the name of the publisher, but not with Language and Identifier, which are concatenated with their respective field values.
Screenshot below:

Thank you for reporting. This problem was fixed in the develop branch some time ago. The fix can be tested using the automated "pre-release" builds available from this GitHub link:
https://github.com/readium/readium-desktop/releases

Indeed, the identifier is now missing (thank you for pointing this out, Richard!). I am investigating ...
Note that your bug report prompted me to fix a few other issues related to metadata formatting / display:
https://github.com/readium/readium-desktop/compare/36fbca41c4307b4a0703164cd9873bc7364d47ea...7ed4e1eade6e0a0f68e9445e50736db54270148a

The publication identifier metadata was removed in this Pull Request:
https://github.com/readium/readium-desktop/pull/881
@llemeurfr I seem to remember that you advocated for the removal of the publication unique identifier (ISBN or otherwise) in the information / metadata popup dialog, but I cannot find a record of related conversations / decisions. Sorry if I am being wrong :)
Personally, I feel that even though the unique publication identifier is likely irrelevant / useless to most (human) readers, it may be important to some people, for some usage scenarios. So I would be in favour of re-instating it.

I created a Pull Request to discuss this further: https://github.com/readium/readium-desktop/pull/961


Thumbnail images in iOS WeChat Share

We can share links to WeChat but we always get a oddly thumbnail images as shown below.

This issues occurred ONLY on iOS.
May I know how can I set the thumbnail images? or maybe hide this thumbnail image?
Thank you. :)

No new functionality will be added to this library and all are moving to https://github.com/xamarin/Essentials


TA.3.3 When losing or winning, have the option to restart (button)

b858b420e58b3a77886044d8f59b48e2df55c1c6

This task has been finished on the day with posted SHA comment, in the interest of correctly closing the issue (and us having to first learn how to), it has been closed a while after the finishing of the task.

We have in the meantime figured out, that we can not correctly close it once it is done (otherwise the commit is kinda useless).


Update Japanese translation

Coverage remained the same at 39.84% when pulling 644b2965a0d0b1fd5c264b490849b1c5dc376991 on MMP0:patch-31 into 782fcfdd90aedce7534f5bc044162aff13684257 on NyaaPantsu:dev.


Bug at Mi Box - Half season only

First of all, MUITO OBRIGADO! You and Groogy did what those geniuses at F1 TV should have done 3 years ago.
I have downloaded v2.0.0 to my MiBox 4K and, besides those small bugs, it worked great.
Now, with v2.0.2, it still works great, but the 2018 to 2020 seasons only shows the first half of the season. The 2nd half races are nowhere to be seen. For example, 2020 season stops at Tuscany GP, see pic below. The v2.0.0 showed all 2020 season. It would be great if you could see what happened (I tried everything before I came here: reinstalled, reset HW, cleared cache, restarted box, but no avail). I have F1 TV Access and I can watch all races at the official app.

Thanks in advance for your effort.

Hi,
In terms of loading the seasons there is no changes from v2.0.0 to v2.0.2 I will investigate a bit, but I suspect that this is somehow an outage on F1 side (not rare to be honest), I think they are still developing very hard the API, but I see bellow of the Tuscan Grand Prix the styrian one... are you sure there is no more items bellow it ?

Hi again I quickly looked at the APIs and there is something weird going on there
You only see 10 race weekends on the list because the api is only returning these 10 events, interesting enough if I remove this parameter from the api call &filter_orderByFom=Y it returns another 10 different events like the Turkish Grand Prix.
There is probably an underline change in the API that we need to adapt on the app.
Let's leave this issue open for now I will check in other repositories if there is some changes related to this already and attempt to patch it.

HA!, Founded it here:
https://github.com/robvdpol/RaceControl/commit/64d49a6ce390e650ddb2ed7a1c881146391f0cae
It is a small change on F1 api, I will push a fix today

Yes!
I published the update to the store now, it should be available in some hours
https://github.com/leonardoxh/race-control-tv/releases/tag/v2.0.3

Thank you very much again. Full seasons on display now. I thought at first it could be some temporary problem with the F1 app, but I was having this problem for a couple of days straight. All good today. Hoping that when (if?) they decide to do an Android TV version, it could work as good as yours. Will call for help again if I see something weird.

I think when they release an app probably it will be much better with official support (or not) 😂😂😂😂


Fixed operator precedence problem in GUIDE examples.

The examples all needed parentheses to work.
Fixes #56.

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

Newbies like me are really helped by examples which work out of the box.  ;-)

🤦♂ Thanks!


LoadConfigurationFromAppSettings(reloadOnChange: true) not reload after edit appsettings.json

NLog version: 5.2.2
Platform: .net6 on windows
Current NLog config (xml or C#, if relevant)
{
  "NLog": {
    "throwConfigExceptions": true,
    "targets": {
      "async": true,
      "logfile": {
        "type": "File",
        "fileName": "c:/temp/nlog-${shortdate}.log"
      },
      "logconsole": {
        "type": "Console"
      }
    },
    "rules": [
      {
        "logger": "WebApplication1.Controllers.WeatherForecastController",
        "writeTo": "logfile",
        "finalMinLevel": "Info"
      },
      {
        "logger": "*",
        "minLevel": "Info",
        "writeTo": "logconsole"
      },
      {
        "logger": "*",
        "minLevel": "Debug",
        "writeTo": "logfile"
      }
    ]
  }
}

var logger = LogManager.Setup()
    .LoadConfigurationFromAppSettings(reloadOnChange: true)
    .GetCurrentClassLogger();

var builder = WebApplication.CreateBuilder(args);

// NLog: Setup NLog for Dependency injection
builder.Logging.ClearProviders();
builder.Host.UseNLog();

public class WeatherForecastController : ControllerBase
{
    private static readonly string[] Summaries = new[]
    {
        "Freezing", "Bracing", "Chilly", "Cool", "Mild", "Warm", "Balmy", "Hot", "Sweltering", "Scorching"
    };

    private readonly ILogger<WeatherForecastController> _logger;

    public WeatherForecastController(ILogger<WeatherForecastController> logger)
    {
        _logger = logger;
    }

    [HttpGet(Name = "GetWeatherForecast")]
    public IEnumerable<WeatherForecast> Get()
    {
        _logger.LogTrace("============trace============");
        _logger.LogDebug("============debug============");
        _logger.LogInformation("============info============");
        _logger.LogWarning("============warn============");
        return Enumerable.Range(1, 5).Select(index => new WeatherForecast
            {
                Date = DateTime.Now.AddDays(index),
                TemperatureC = Random.Shared.Next(-20, 55),
                Summary = Summaries[Random.Shared.Next(Summaries.Length)]
            })
            .ToArray();
    }
}

What is the current result?
while finalMinLevel of WebApplication1.Controllers.WeatherForecastController changed from debug to info, it won't reload, it still log "============debug============" to log file.
What is the expected result?
after app started, if change finalMinLevel from debug to info while app is running, it will no longer log debug message. if change finalMinLevel from info to debug, it will log debug message.

Duplicate of https://github.com/NLog/NLog.Extensions.Logging/issues/592 ?
Try adding "internalLogToConsole": true, + "internalLogLevel": "Debug", and use the console-output to see what is going on. Maybe you are modifying a appsettings.json-file in a different location ?

Believe the issue is the missing "autoReload": true in appsettings.json. I guess it could be nice if LoadConfigurationFromAppSettings with reloadOnChange = true somehow forced enabled the auto-reload-feature, but right now one have to set both.

@snakefoot while use "autoReload": true with LoadConfigurationFromAppSettings(reloadOnChange: true), it works.
may be a hint comment on method LoadConfigurationFromAppSettings's source code will help somebody?

Created https://github.com/NLog/NLog.Web/pull/973 to improve XML docs for LoadConfigurationFromAppSettings

NLog.Web.AspNetCore v5.3.3 has been released: https://www.nuget.org/packages/NLog.Web.AspNetCore


Error 1001 on installing on SBS2008 - certificate issue

Hi,
Just tried to install this on an old SBS2008 server, which is as far as I know is essentially a Windows Server 2008 (not R2), and couldn't complete the setup due to the following error:
Product: Myrtille -- Error 1001. Error 1001. CertEnroll::CX509Enrollment::CreatePFX: The requested property value is empty. 0x80094004 (-2146877436).
Evidently it has an issue with the installation of the certificate. If this isn't fixable, is there a way to bypass installing the certificate, so I can add one afterwards?
Thanks.

Hi,
It seems that the SBS2008 is missing the COM object CertEnroll. You can disable the self-certificate creation by disabling the following code into the myrtille installer:
                // create a self signed certificate
                var cert = CertificateHelper.CreateSelfSignedCertificate(Environment.MachineName, "Myrtille self-signed certificate");

                // bind it to the default website
                IISHelper.BindCertificate(cert);

and also this code:
                // retrieve the myrtille self signed certificate
                var store = new X509Store(StoreName.My, StoreLocation.LocalMachine);
                store.Open(OpenFlags.ReadWrite);
                var certs = store.Certificates.Find(X509FindType.FindByIssuerName, Environment.MachineName, false);
                if (certs.Count > 0)
                {
                    foreach (var cert in certs)
                    {
                        if (cert.FriendlyName == "Myrtille self-signed certificate")
                        {
                            // unbind it from the default website
                            IISHelper.UnbindCertificate(cert);

                            // remove it
                            store.Remove(cert);

                            // normally, there should be only one myrtille self-signed certificate, but let's check further (just in case)...
                            //break;
                        }
                    }
                }

                store.Close();


Delete multiple containers at once

Is your feature request related to a problem? Please describe.
Some tools run commands through Docker but are not as effective as one would like at deleting the temporary containers. It would be nice to be able to delete the containers "beautiful_cannon", "charming_bhabha", "compentent_haslett", etc. all at once instead of one at a time.
Describe the solution you'd like
When selecting multiple containers, unhide the Delete option from the context menu.
Describe alternatives you've considered
The alternative is deleting each one by one.
Additional context

It shouldn't be disabled. Can you figure out how to reproduce that? e.g. a sequence of actions before the batch selection?

Looks like I was a couple of point releases behind. Confirmed that it works in the most recent version. Congrats on v1.0 by the way!


tests: Append to test_events.

Added test for updating presence on user with 'None' last-connected. Achieved 100% Coverage on zerver/actions/*.
Previous test_presence_event would only cover existing user, hamlet. The problem was that hamlet's last connection time would always be initialized by the UserPresence model as some timestamp instance by default. Thus, testing the 'do_update_user_presence' on null last_connected would almost never be covered. I had to bypass the default value of the UserPresence Model to achieve 100% coverage on the actions/presence.py.
Under the test_presence_events function, I created a new user with last_connected None, and tested the update logic in similar manner as the existing testing logic for 'do_update_user_presence' in presence.py.
Fixes: #25498

Self-review checklist

[x] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[ ] Explains differences from previous plans (e.g., issue description).
[x] Highlights technical choices and bugs encountered.
[x] Calls out remaining decisions and concerns.
[x] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[x] Each commit is a coherent idea.
[x] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[ ] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[ ] Corner cases, error conditions, and easily imagined bugs.

ready for review


Disable the Soft Delete Function?

How to disable the Soft Delete Function?

If you don't need it at all, you could just remove the ISoftDelete interface from the AuditableEntity class.


ext-sockets failing

Describe the bug
Our project uses "php-amqplib/php-amqplib" which requires the sockets extension.  I have enabled it using extensions: sockets and I see the logging showing "sockets enabled".  When the system gets to doing a composer install though, I get the following error:
Problem 1
    - php-amqplib/php-amqplib is locked to version v3.0.0 and an update of this package was not requested.
    - php-amqplib/php-amqplib v3.0.0 requires ext-sockets * -> it is missing from your system. Install or enable PHP's sockets extension.

Version

[X] v2
[ ] v1

Runners

[X] GitHub Hosted
[ ] Self Hosted

Operating systems

Ubuntu
PHP versions

v8
To Reproduce

Make sure your project requires: "php-amqplib/php-amqplib": ">=3.0"
runs-on: ubuntu-latest
steps:
- uses: shivammathur/setup-php@v2
  with:
    php-version: '8.0'
    extensions: sockets
- uses: actions/checkout@v2
- name: Copy .env
  run: php -r "file_exists('.env') || copy('.env.testing', '.env');"

- name: Cache Composer dependencies
  uses: actions/cache@v2
  with:
    path: /tmp/composer-cache
    key: ${{ runner.os }}-${{ hashFiles('**/composer.lock') }}

- uses: php-actions/composer@v5
- name: Generate key
  run: php artisan key:generate
  run: vendor/bin/phpunit

Expected behavior

Tests will run
Screenshots/Logs

Your lock file does not contain a compatible set of packages. Please run composer update.
Problem 1
- php-amqplib/php-amqplib is locked to version v3.0.0 and an update of this package was not requested.
- php-amqplib/php-amqplib v3.0.0 requires ext-sockets * -> it is missing from your system. Install or enable PHP's sockets extension.
To enable extensions, verify that they are enabled in your .ini files:
Additional context

Are you willing to submit a PR?

Yes

Setup PHP installs PHP directly on the GitHub Actions container, so other actions which spin up their own containers are not compatible with it. Please run composer directly instead of using php-actions/composer. That would work and also actually use the composer dependency cache you set up in the above step.
- name: Composer Install
  run: composer install --prefer-dist

That worked perfectly.  Thank you.


No guest retrieval as the query is too long (no index on column)

This should fix #42 for now.
A solution is still to be found to get guest orders as well. After a quick test, adding an index on the column does not seem to solve the problem.

:+1:


Generated action?

"This will create an action autocomplete_brand_name on your controller, don't forget to add it on your routes file"
This never happens. I always get an exception that the action is not there.

@BeeZerk Can you provide more information.  Duplicate it with a basic project on a git repo or something?  There is too little information here to go on.

@BeeZerk closing since there has been no further contact.  If you are still having issues please provide additional information and we can re-open.


add reset data feature

In case an application is upgraded, we might want to reset app rate
dialog data. So the dialog will be showed after some days or several
time used.

Thanks

When will this branch be merged into master? I need this feature soon. Thanks

I'm gonna release new version this night.

Great! Thanks

waiting...

Oh sorry.

I prepare but forgot credential key at home. Just a minute!

@thanhbinh84 0.5.5 will be out soon.

I got it now. Great.


Adapt NetworkPolicys for components scraped by Prometheis in shoot namespaces

How to categorize this PR?

/area networking security
/kind enhancement
What this PR does / why we need it:
This PR adapts the components which are scraped by the Prometheis in the shoot namespaces to the functionality of the NetworkPolicy controller introduced with https://github.com/gardener/gardener/pull/7392 and extended with https://github.com/gardener/gardener/pull/7437.
As a result, the current approach with labeling pods with networking.gardener.cloud/from-prometheus=allowed and having container ports with name metrics is deprecated and will be removed in the future.
The PR enables gardener-resource-manager's NetworkPolicy controller for the shoot namespaces. However, most of the created NetworkPolicys are not used yet (this will follow in subsequent PRs).
Which issue(s) this PR fixes:
Part of #7352
Special notes for your reviewer:
/cc @ScheererJ @timuthy @istvanballok @rickardsjp
Release note:

Extensions which deploy components that need to be scraped by the Prometheis in the shoot namespaces need to adapt to the new `NetworkPolicy`s. For more information, read [this section](https://github.com/gardener/gardener/tree/master/docs/development/seed_network_policies.md#network-policies-for-logging--monitoring).

/assign

@timuthy, @rfranzke meant the plural of prometheus, ref https://prometheus.io/docs/introduction/faq/#what-is-the-plural-of-prometheus

Since no essential parts already reviewed by @ScheererJ have been changed, I think it's safe to
/approve

/test pull-gardener-e2e-kind

/test pull-gardener-e2e-kind-migration


update FAQ questions about ports

Updated for accuracy.

Why

Closes #[Issue Number]

Changes

@cmknox @shishirb-MSFT please review


Distinguish between the three kinds of group in Azure AD

What kind of request is this (question/bug/enhancement/feature request):
Enhancement
Steps to reproduce (least amount of steps as possible):

Hook Rancher up to Azure AD.

In Azure/Office 365, configure

an Office 365 Group (from admin.microsoft.com),
a Distribution Group (from admin.microsoft.com),
a Security Group (from portal.azure.com),

all with the same name.

Go to e.g. the Add Project Member page and search for the name.

Result:
You're presented with three groups, all with identical names. This seems not unreasonable, except that there genuinely are three separate groups, and if the membership differs, the results will be very confusing indeed.
Other details that may be helpful:
What would be good is if Rancher was able to distinguish between the three types of group.  Believe me, having wasted a couple of days of my life trying to work out why someone who plainly had permission to do a thing seemed actually to not have that permission after all, while all the rest of us did, I'd be the first person to criticise that as Really Stupid.

Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI): v2.5.1
Installation option (single install/HA): HA

I doubt you've fixed it, so it's probably still relevant (though not to me because I've changed job).

I doubt you've fixed it, so it's probably still relevant (though not to me because I've changed job).

Good to know stale bot works properly then (this shouldn't have been closed).


Implement versioning of the golang CLI to match the Java SDK

Surely there's a way to have versioned releases of the CLI bits alongside the Java SDK? This would solve the current situation where external repos are linking a specific version of the Java SDK but are tracking master of the CLI.
An alternative is to defer responsibility and recommend that all downstream repos use golang vendoring but let's see if there's a better way, as that feels like a lot of overkill givn the size of the CLI bits.

The ideal solution would be support in go get for fetching tags but that doesn't exist yet
In the meantime we may be able to use gopkg.in to handle this, but that'll involve building some kind of integration whenever a new tag is published.

Actually it looks like gopkg.in isn't so great for us either. They specifically want tags to start with a v (e.g. v1.2.3) which we don't do, and it's not worth it to rename all our tags just to get around an issue in golang that only affects a relatively small portion of the SDK.
Probably going to just defer solving this until golang have added real tag support to their repo import statements. In the meantime if downstream repos are worried about breaking golang changes in master (mostly avoided so far), they can resort to suffering through golang's current vendoring hack.


ENYO-1483-added a new property called 'state'

To demonstrate the addition of a new property, a simple change is done
to the sample. Hover on the input to observe the change.
Enyo-DCO-1.1-Signed-off-by: Rajyavardhan P<EMAIL_ADDRESS>

Closing in favor of


Automating token generation for the rest api?

Hello @ciur ,
I wanted to ask if there is any way of generating the token without the use of the front end UI of papermerge. I want to use papermerge REST API in my system and I really wanted to know if token generation is possible without the hassle of accessing the webpage of papermerge.
Thank you.

no, there is nothing like that.
What would be the use case of automatic token generation?

Hello @ciur ,
Sorry for such a late reply.
I only want to use papermerge for it's REST API capabilities and getting the token from something like oauth or anything would have been great. My system wants to integrate papermerge as its DMS but I don't want my users to go and create API tokens and all.

I see. At this moment there is no such feature. I will add oauth integration starting with 2.1 (aprox march 2021)


Please invite me to the GitHub Community Organization

Name
Abhinav Pathak
Discord Username (if applicable)
AbhinavPathak#9007
Additional Context
I received the link

You have received an email to join, or press this link - https://github.com/Jaidevstudio- , and you'll see a banner, for you to join the organisation! 🎉
You can also show that you are part of this org, by making yourself public. This will show our profile org on your profile:
Follow This:

After you join the organisation, search your name in the list of people. 🔍
Follow this below: ⬇


Implement configurators for VLANs and Bonds

This is the last missing piece needed to enable support for VLANs
and LAGs for EVE management and local network instances.
This functionality is described and designed in this document:
https://wiki.lfedge.org/display/EVE/EVE+VLAN+support+-+create+VLAN+and+bond+interfaces
A part of this commit is also a fix for Switch network VLANs,
where we forgot to configure the network uplink port as trunk, therefore
all tagged packets coming in and out of it would be dropped by bridge VLAN
filtering. As a result, VLANs were working correctly only for air-gapped
switch networks.
Test for VLANs and LAGs: https://github.com/lf-edge/eden/pull/753
Signed-off-by: Milan Lenco<EMAIL_ADDRESS>

If we have a vlan I assume we create vlan10 on top of eth0 and then we do a kvlan10 rename and create a vlan10 bridge. Is that correct?
In such a case do we also allow creating a network instance directly on eth0 (for untagged frames?) or not. That would end up causing a eth0->keth0 rename etc.

Actually it was not planned to support this case (design document is here), at least not for now. Mostly to simplify (both EVE and the controller) we decided that it would not be allowed to attach network instance to a port which has higher-layer adapters (see this diagram).
So if eth has VLANs then it will not be possible to use it directly anymore. Do you think that this is a too much of a limitations for the future users of EVE?

I don't think bonds cause the same potential complexity since a child of a bond is exclusive hence can not be used directly AFAIK. But bond0 could be used by both a local network instance and a switch network instance (just like vlan10 can be) which means we'd need a kbond0 rename AFAIU

Yes, renaming is done and bridge is created for bond IF there is nothing defined on top of it (like vlans).


add CZSWAP gate

This should be easy to do, and makes reasoning about ISWAP-y circuits a little easier in some cases

Seems reasonable. Another step towards adding all variations of XCYSWAP .
On Tue, Jan 23, 2024, 6:28 a.m. Matthew McEwen @.***>
wrote:

This should be easy to do, and makes reasoning about ISWAP-y circuits a
little easier in some cases
—
Reply to this email directly, view it on GitHub
https://github.com/quantumlib/Stim/issues/683, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAATQRN35WH7Q5S6BW2GYHTYP7CIVAVCNFSM6AAAAABCHC43AGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGA4TMMRRGIZDMNY
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


https://schema.lab.fiware.org/ld/context to wrap the Core @context

We need that https://schema.lab.fiware.org/ld/context returns
Content-Type: application/ld+json
{
   "@context": [
     "https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context.jsonld",
     "https://schema.lab.fiware.org/ld/fiware-datamodels-context.jsonld"
   ]
}

and https://schema.lab.fiware.org/ld/fiware-datamodels-context.jsonld should return what is currently returned by https://schema.lab.fiware.org/ld/context (application/ld+json)

Done. Please, check the result.

@caa06d9c works perfectly, thanks!


Add XML Documentation to public methods

Add documentation from https://www.bitgo.com/api/ to all service methods and types.
Examples: bitgo-dotnet/src/BitGo/Services/InstantService.cs and bitgo-dotnet/src/BitGo/Types/Instant/InstantGuarantee.cs
Offering bounty: 0.3 BTC

0.3 BTC bounty still on offer?

@bitcoinbrisbane This version of the SDK is already out of date. We will update it to the 2nd version of the BitGo API soon and will offer the same bounty for documentation.


Error:"timed out" is occurred by using Command "swanky compile".

Hi. I have a problem about "swanky compile".
Any settings which I have to do?

Not sure where the timeout is coming from, can you manually run
cargo +nightly contract build from inside testProject/contracts/CONTRACT_NAME and see if the timeout happens again?

I could compile in the contract directory without time out.
shin.takahashi@shintakahashinoMacBook-Pro flipper % pwd
/Users/shin.takahashi/develop/swanky/testProject/contracts/flipper
shin.takahashi@shintakahashinoMacBook-Pro flipper % cargo +nightly contract build
 [1/5] Checking ink! linting rules
Checking with toolchain `nightly-2022-03-14-x86_64-apple-darwin`
   Compiling secp256k1-sys v0.5.2
    Checking libc v0.2.126
   Compiling quote v1.0.20
-- snip --
   Compiling swanky_contract v0.1.0 (/private/var/folders/ft/fdfzmmz129lb72kygrn257gh0000gn/T/cargo-contract_SyCjkf)
   Compiling metadata-gen v0.1.0 (/private/var/folders/ft/fdfzmmz129lb72kygrn257gh0000gn/T/cargo-contract_SyCjkf/.ink/metadata_gen)
    Finished release [optimized] target(s) in 1m 14s
     Running `target/ink/release/metadata-gen ''`
 [5/5] Generating bundle

Original wasm size: 48.6K, Optimized: 22.7K

The contract was built in DEBUG mode.

Your contract artifacts are ready. You can find them in:
/Users/shin.takahashi/develop/swanky/testProject/contracts/flipper/target/ink

  - swanky_contract.contract (code + metadata)
  - swanky_contract.wasm (the contract's code)
  - metadata.json (the contract's metadata)

I've traced the issue to @oclif/core dependency: https://github.com/oclif/core/issues/453
..and made a new build using the version before the issue was introduced:
<EMAIL_ADDRESS>
Please give it a try!

Thank you for your helping!
But I could not install<EMAIL_ADDRESS>Would you help me how install<EMAIL_ADDRESS>

oh, that's interesting 🤔
Can you try npm i -g @astar-network/swanky-cli@latest

The version "0.1.3" has be installed when I used the command that is "swanky-cli@latest".

Only thing that comes to mind is trying npm cache clean --force

Great! Great! Great!
Thanks to you, this problem has been resolved.
I think the WASM integrated environment "swanky" project is a great project!
I will support you!

Great that it's resolved, thank you for the kind words! 😁
Happy building!


Pdo_oci in PHP 7

I was two days trying to install the extension pdo_oci in PHP7 on a CentOS 7, however when running the command "pecl install pdo_oci" returns me a message saying that the extension is deprecated for version 7 of PHP.
When trying to compile PHP extension as the PHP manual also generates errors.
The concern is, how Yii works with PDO believe that there is no support today for Oracle database. In fact PHP 7 does not support the Oracle database via pdo_oci
I spoke via chat with Wez Furlong, creator of pdo_oci, and he said he no longer works on it for years.
Accessing the page PECL, there is a warning that pdo_oci is no longer maintained: https://pecl.php.net/package/PDO_OCI
Only with the OCI8 extension could not connect to the oracle. Is there any way to do it?
I think that would be the time Yii incorporate into your core something that circumvents this issue. Or in the case of Oracle, using the OCI8 - that developed and actively maintained by Oracle.

Have you tried PHP PDO drivers such as https://github.com/yajra/pdo-via-oci8 ?

I'll try this: https://github.com/apaoww/yii2-oci8 ... Is it good?
But anyway, I think this issue critical to the global adoption of yiiframework

I have no idea if it's good. If it is, please confirm it here. We'll add it to offical guide.

I tested both and had problems in CRUD and to connect to Oracle.
Unfortunately, they are not fully ripe libraries.
PHP 7 and YiiFramework without access to Oracle database via PDO layer :)

@wwebdevelop you can compile the extension

Hello df2, I tried to compile with PHP but gave error.
PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/pdo_oci.so' - /usr/lib64/php/modules/pdo_oci.so: undefined symbol: php_pdo_register_driver in Unknown on line 0

@wwebdevelop if it matches your setup you can try this:
/usr/local/php7/lib/php/extensions/no-debug-non-zts-20151012/oci8.so
Download oci8.so.zip

The OCI8 extension is installed.
I can not is to install the pdo_oci

Try this manual. I did not test it on PHP7, but maybe it will work

No success :(

What about these:
https://blogs.oracle.com/opal/entry/major_news_php_7_0
https://blogs.oracle.com/opal/entry/php_7_oci8_2_1

These aren't PDO/

That's right, Samdark.
There's been a misunderstanding. You see, there is nothing wrong with the OCI8 extension. It continues to be maintained and actively increased by Oracle.
Now you see the problem involving Yii. Access to databases of Yii2 was entirely Constructed under the PDO layer.
Only now, with version 7 of PHP, there is no active and valid extension pdo_oci. I spoke via Facebook with Wez Furlong, founder of pdo_oci extension - it does not work more with it.
See: https://pecl.php.net/package/PDO_OCI
Thus, Yii does not work with Oracle databases when running in an environment with PHP 7.
In my humble opinion, Yii should use from the beginning OCI8 and OCI11 extension since they were created by Oracle are actively maintained and have numerous features and optimizations that pdo_oci not have.
Yii in their next releases must implement a solution to work around this limitation, under penalty of having their impaired worldwide adoption. The Lavarel, for example, is supported via OCI8.
For me this is extremely worrying regarding the adoption of the framework for enterprise applications involving Oracle databases.

The link I've posted above (https://github.com/yajra/pdo-via-oci8) is PDO based on oci8 from the same guy who maintains unofficial Laravel driver.
There are more:

https://github.com/intersvyaz/pdo-oci8
https://github.com/apaoww/yii2-oci8
https://github.com/SergioMadness/oci8Pdo
https://github.com/neutrinobg/yii2-oci2pdo
https://github.com/crazycodr/pdo-via-oci8
https://github.com/nineinchnick/pdo_oci8
https://github.com/alfmel/pdo-via-oci8

If you read carefully the article posted by SilverFire
https://blogs.oracle.com/opal/entry/major_news_php_7_0
It say that an updated version of oci8 is avail via pecl but the new version of pdo_oci is only in source:

Thanks also to the Oracle staff who have worked on the internal rewrite necessary to make the OCI8 and PDO_OCI extensions work with PHP 7's completely revamped Extension API.
The Oracle Database OCI8 and PDO_OCI extensions are included in the PHP source distribution.
PDO_OCI will remain solely part of the core PHP source distribution.

In fact if you download php7 sources you find it, and looking at code comments you can easily verify that is for php7
The only pitfall is that you need to compile and install it by hand and not via pecl, I give you some steps on how to.
At first you need to install oracle client and sdk, use the full version of the oracle client.
Unfortunately I installed them ages ago and I don't remember the various steps to make them ready to compile pdo_oci and oci8.
By memory the steps I made should be the same you find here https://github.com/tassoevan/pdo-oci-extension#first-step-install-the-oracle-client
The instruction to compile pdo_oci are for debian/ubuntu system, but is easy to adapt for other systems.
Php7 source download
mkdir /opt/php7
cd /opt/php7
apt source -y php7.0
Note: ensure you have deb-src enabled
Compiling
cd php7.0-7.0.8/ext/pdo_oci
phpize
export ORACLE_HOME=/opt/oracle/instantclient/
./configure
make
make test
Installing
cd module
cp pdo_oci.so /usr/lib/php/20151012/
cd /etc/php/7.0/mods-available
create a file pdo_oci.ini with
; configuration for php pdo_oci module
extension=pdo_oci.so
enable the new php module
phpenmod pdo_oci
restart php fpm or apache if you installed php as apache mod
service php7.0-fpm restart
Works done!
Just a side note, strangely restarting php fpm didn't load the module, while at command line was working. In the end I had to restart the computer to have the module loaded on php-fpm.
Hope it helps others. Maybe some note can be inserted in the manual so the people know that pdo_oci has been revamped by Oracle and yii2 is fully working with php7.

Getting
SQLSTATE[HY000]: OCIEnvNlsCreate: Check the character set is valid and that PHP has access to Oracle libraries and NLS data (/opt/php7/php7.0-7.0.8/ext/pdo_oci/oci_driver.c:619)
The problem is charset in connection string
oci:dbname=//<IP_ADDRESS>/DECK;charset=UTF8'
Any ideas?

Are you sure you are using Basic oracle client ?
The Basic Lite client has only usa charset therefore oracle goes in error at connection time if you use a charset that is not supported.
Check your instant client dir for this file libociei.so (104MB more or less), if you miss it,  Basic Lite version installed
Download
Instant Client Package - Basic: All files required to run OCI, OCCI, and JDBC-OCI applications
and not
Instant Client Package - Basic Lite: Smaller version of the Basic package, with only English
Just substitute the client, you do not need to recompile.

Yes, of course. I am using Basic client and I've got this file.
I've tried with rpm package too

Does it connect by using plain connection? (by removing charset=UTF8 so if use default charset)
If yes the problem is with the charset, if no the problem can be something about the configuration.

Yes it connects without charset, but we are getting incorrect data.

I'm looking pdo_oci code. In oci_drive.c there is the part that initialize the connection.
 	/* allocate an environment */ #if HAVE_OCIENVNLSCREATE 	if (vars[0].optval) { 		H->charset = OCINlsCharSetNameToId(pdo_oci_Env, (const oratext *)vars[0].optval); 		if (!H->charset) { 			oci_init_error("OCINlsCharSetNameToId: unknown character set name"); 			goto cleanup; 		} else { 			if (OCIEnvNlsCreate(&H->env, PDO_OCI_INIT_MODE, 0, NULL, NULL, NULL, 0, NULL, H->charset, H->charset) != OCI_SUCCESS) { 				oci_init_error("OCIEnvNlsCreate: Check the character set is valid and that PHP has access to Oracle libraries and NLS data"); 				goto cleanup; 			} 		} 	} #endif
It seem that is not a problem with an unknown charset but more that the driver is unable to locate the instantclient (gogoled around about OCIEnvNlsCreate)
Did you moved the directory of the instantclient after compiling?
Have you try to set ORACLE_HOME pointing at you client dir?

Yes, I've tried to set ORACLE_HOME and LD_LIBRARY_PATH in php-fpm config and in php-fpm init.d script. Nothing changed for me.

Saw after posting you answer.
Lets try something else, in you db connectio define the on after connect function

Side note: sqlplus works fine with my ORACLE_HOME

Saw you answer after posting .
Lets try something else, in you db connection define the on after connect function
        'db' => [
            'class' => 'yii\db\Connection',
            'dsn' => 'oci:dbname=//localhost:1521/XE',
            'username' => 'MYDB',
            'password' => 'password',
            'on afterOpen' => function($event) {
                //$event->sender refers to the DB connection
                $event->sender->createCommand("ALTER SESSION SET NLS_TERRITORY = 'ITALY'")->execute();

Change according you country. The above set various things charset, numeric separator, date format ordering and so on.
Eventually you can change only the charset setting
'php LS_LANG = [NLS_LANGUAGE]_[NLS_TERRITORY].[NLS_CHARACTERSET'
So for italy should be something like (just try UTF8)
 $event->sender->createCommand("ALTER SESSION SET NLS_LANG = 'ITALIAN_ITALY.UTF8'")->execute();

in yii/db/Connection.php

$stmt=$this->pdo->prepare("alter session set NLS_TERRITORY = 'RUSSIA'");
$stmt->execute();
$stmt=$this->pdo->prepare("ALTER SESSION SET NLS_LANG = 'RUSSIAN_RUSSIA.UTF8'");
$stmt->execute();

Nothing changed.
Additionaly: Looks like there is no NLS_LANG varriable in session.

Hummm using
$event->sender->createCommand("ALTER SESSION SET NLS_TERRITORY = 'ITALY'")->execute();
solved my char problem...
But you mean you still get the error?

Looks like there is no NLS_LANG varriable in session.
Yes looking deeper on the web it can only be set at environment level.

Maybe you defined ORACLE_HOME only at your user level.

But you mean you still get the error?

Yes. :disappointed:
How can I check that env variable for php-fpm user is set?

in phpinfo()
ORACLE_HOME	/usr/lib/oracle/12.1/client64
LD_LIBRARY_PATH	/usr/lib/oracle/12.1/client64/lib
NLS_LANG	AMERICAN_AMERICA.AL32UTF8

@bobonov Thank you for replies.
NLS_LANG = RUSSIAN_CIS.AL32UTF8
Works for me.

I had difficult to by passing the charset via dsn, but in my case non error but oracle was ignoring it.
Probably, but didn't investigate it, the problem is that there is not UTF8 charset in oracle but is AL32UTF8.
When I'll have time I'll make some test.

Hello, @bobonov
I compiled pdo_oci.so via your instruction. And have problem with charset while connecting to Oracle 12c.
I tried to set different enviroment variable like
NLS_LANG=RUSSIAN_CIS.AL32UTF8
NLS_LANG=UKRAINIAN_UKRAINE.AL32UTF8
also tried your suggestion about
$event->sender->createCommand("ALTER SESSION SET NLS_TERRITORY = 'RUSSIA'")->execute();
Nothing help.
Is there any hope that this pdo_oci will work fine with dsn like
"oci:dbname=//localhost:1521/XE;charset=AL32UTF8" ??
ps. We try it in OpenServer+php7 and it work fine when you adding charset to dsn

I can solve the problem :)
We use Oracle Linux 7. OL7 use for service(like php-fpm) not user environment variables but systemctl variables. so for make it work you need to set up this variables
systemctl set-environment NLS_LANG=UKRAINIAN_UKRAINE.AL32UTF8
systemctl set-environment  ORACLE_HOME=path to oracle home or to client home
systemctl set-environment  LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib

Solved this problem today. In my case the propblem was only in 1 environment variable: ORACLE_HOME.
If i run the script with php-cli, then ORACLE_HOME is set to /usr/lib and everything works fine, so charset=UTF8 in dsn is ok.
But if i run the same script with php-fpm, then ORACLE_HOME is not set, and only this is the reasonfor charset=UTF8 in dsn to break the runtime.
So my solution was add this:
putenv('ORACLE_HOME=/usr/lib');
to the action method of my controller.

Did anyone face PHP Startup: Unable to load dynamic library '/Applications/XAMPP/xamppfiles/lib/php/extensions/no-debug-non-zts-20151012/pdo_oci.so'
i got that file but cant load. know why?

How did you got the file? Did you compile it? On the target machine did you install the oracle client?

hi bobonov, I managed to compile and get the pdo_oci.so. But when I load and print phpinfo. The php error log shows this.
I get from Php source
https://github.com/php/php-src/tree/master/ext/pdo_oci
I successfully compile with oracle client.
but fail to load. u guys can load?

Which server (ubuntu, centos...)  are you running and which version?
Did you get exactly the source of same php version you have installed on your server?
Is the oracle client present on the target machine? I mean if you compile locally and uploaded the file on the server you need the oracle client on the server as well.
if you do at command line:
ls -la /Applications/XAMPP/xamppfiles/lib/php/extensions/no-debug-non-zts-20151012/pdo_oci.so
does it find the file?

i m using mac. for local use. not server

Yes bro. The file is there.

I use Ubuntu+Nginx+PHP7 and the only way I got the Oracle driver working with specific charset was by running:
sudo systemctl set-environment ORACLE_HOME=/usr/lib/oracle/12.2/client64
sudo service php7.0-fpm restart
How can I automatically set ORACLE_HOME when server starts?

I am PHP 7.1.30 with apache2.4.34 on Debian.  I faced the same error.  I installed three packages using dpkg.

oracle-instantclient12.2-basic_<IP_ADDRESS>.0-2_amd64.deb
oracle-instantclient12.2-devel_<IP_ADDRESS>.0-2_amd64.deb
oracle-instantclient12.2-sqlplus_<IP_ADDRESS>.0-2_amd64.deb

Post installation, We need to remove the libphp.so file from apache modules to get it replaced when we recompile and install php.  When recompiling use these options,
--with-oci8
--with-pdo-oci
Recompile with ./Configure ... --with-oci8 --with-pdo-oci ... .  Post make and make install, restart apache.
I'm using oci in 2019 it still works I think its not true that it php 7+ version won't support Oracle with pdo-oci.

Thanks @samdark your suggestions were too useful for me


kubeone: 1.8.1 -> 1.8.2

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/kubermatic/kubeone/releases.
meta.description for kubeone is: Automate cluster operations on all your cloud, on-prem, edge, and IoT environments
meta.homepage for kubeone is: https://kubeone.io/
meta.changelog for kubeone is: https://github.com/kubermatic/kubeone/releases/tag/v1.8.2
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.8.2 with grep in /nix/store/lal3yvna4z21gy2j6zafp2m75isv7r2x-kubeone-1.8.2
found 1.8.2 in filename of file in /nix/store/lal3yvna4z21gy2j6zafp2m75isv7r2x-kubeone-1.8.2

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

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

kubeone

Instructions to test this update (click to expand)

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

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

Or:
nix build github:r-ryantm/nixpkgs/456330fb727ff2a9d41a4ad64100844f28d07dd1#kubeone

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/lal3yvna4z21gy2j6zafp2m75isv7r2x-kubeone-1.8.2
ls -la /nix/store/lal3yvna4z21gy2j6zafp2m75isv7r2x-kubeone-1.8.2/bin

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

1 package built:

kubeone

Maintainer pings
cc @lblasc for testing.

Add a :+1: reaction to pull requests you find important.

@NixOS/nixpkgs-merge-bot merge


HttpOnly cookie

How to set http only for all cookies?

https://stackoverflow.com/tags/spark-java

I asked this question on Stack-overflow but unfortunately there is no answer for this question. Would you please give me a solution to do it?


Spellchecker is not working

The spellchecker is not working when I edit a blog post (tested in firefox and chrome).
I'd expect some red squiggly line showing up here:

Hello @lepinay and welcome to Ghost!
Spellcheck is currently not possible due to the use of CodeMirror as editor. There is an ongoing effort however to move off of CodeMirror and enable spellcheck (https://trello.com/c/UWWRTdrF/30-spellcheck). If all goes well the next release may ship with browser supported spellcheck: https://github.com/TryGhost/Ghost/issues/4368.

Closing as a duplicate


Stream test github action

Adding a github action to run a streamer in software rendering to make sure that the stream can still be started.

As an aside, let's at the healthcheck badges to our readme.md now that we have a few of them.


[master] sony: sepolicy: Allow untrusted apps reading thermal sysfs

It is useful for apps that plots thermal reports.
avc: denied { search } for pid=10374 comm="inalwire.aida64"
name="thermal" dev="sysfs" ino=37998
scontext=u:r:untrusted_app:s0:c512,c768
tcontext=u:object_r:sysfs_thermal:s0 tclass=dir permissive=0
Signed-off-by: Humberto Borba<EMAIL_ADDRESS>Change-Id: Ic2b7a3060066eced5779c3b4ef4ff012cb4653bc

ping @oshmoun

this fixes the issue for aida64
but seems that other apps are still affected
example:
avc: denied { search } for name="thermal" dev="sysfs" ino=30904 scontext=u:r:untrusted_app_25:s0:c512,c768 tcontext=u:object_r:sysfs_thermal:s0 tclass=dir permissive=0

looks like a different context "untrusted_app_25"

Maybe it's ok in this case to generalize and allow the whole app context to access thermal?

@humberos r_dir_file(appdomain, sysfs_thermal) should be harmfull

https://github.com/sonyxperiadev/device-sony-sepolicy/pull/309


Add Custom Score Field to Threats

Describe what problem your feature request solves
Some users need to use quantitative scoring for their threats in order to meet regulatory requirements as well as internal security policies.
Describe the solution you'd like
Add a "custom score" field to threats that can be defined by the user.
Additional context
In theory, it would be great to have a quantitative scoring module added to Threat Dragon, however, it would be a non-trivial amount of work.  Threat scoring is a vast landscape, and this would need to be highly customizable in order to accommodate Threat Dragon users.  As a good start, we can add an optional field for "custom score", so that users are not forced to add scores to threats but also provides the flexibility to record any quantitative scoring they currently use.
This suggestion was provided by Simon S

Agreed @Gavitron , Simon was suggesting the score as an alternative to the Severity. The idea is that you could then apply a ranking or a CVSS score
If the Severity was changed to being Priority then that might be more useful, with an optional quantitative scoring of the threats

I would agree, priority is a great option. Especially when collaborating with product teams on the models, as they often care more about which order to address, than any specific scoring. :)   and an optional fixed-point score is an excellent idea too.


Add mission factor of 0.5 in muon efficiency fit, fixes #1377

Done

Had to fix a conflict, please reapprove @kosack @moralejo

Sorry, one last time, there was inconsistency between tabs and spaces in this bibliography file


Created partners page

By @aidan-fitz

@aidan-fitz , this looks great! Just one bug I found:

I think the error comes in this line of HTML:
<img class="media-object img-circle mini-media" src="/assets/images/partners/{{ partner.image }}" alt="{{ partner.name}}, {{ partner.college }}">

partner.college is an object, so if you try putting it into alt, it goes crazy. So I think you can just change partner.college to partner.college.full, which is a string and will work well in the alt attribute.

Also, do we need to have the list of partners on the index page and a dedicated partners page? If you do want to duplicate it, it'd make sense to put an <a> from the index page to the partners page.

Hm, maybe the first three organizations on the index page. I'm also adding the other partners now.

I just made the corrections. Thanks!

Looks good!


Unable to build in OS X

I just did npm i zmq and this error is all I've got.
Looks like it has something to do with the linking to libzmq, where should I start?
> node-gyp rebuild

Package libzmq was not found in the pkg-config search path.
Perhaps you should add the directory containing `libzmq.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libzmq' found
gyp: Call to 'pkg-config libzmq --libs' returned exit status 1. while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onCpExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:424:16)
gyp ERR! stack     at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:789:12)
gyp ERR!

Oh that's good to hear, so back when I played with it, they must have been using a strange node version and they relabeled it as node 0.13 or something so I was guessing at it as well. That's great they use iojs now and hopefully start to correctly label things


New Spawner Script

[ ] Hardcode Always Move After Spawn to be on

[ ] New script description below:

Archetype Spawer
Spawn Start Delay (Seconds to wait before starting array) = Slider Float
Prefabs To Spawn = Array
Size 1 = Num Array size
Element 0 =  Prefab
Element 0 Use Spawners Parent (Does this prefab use it?) = Boolean
Element 0 Delay (Seconds to wait before spawning next prefab in array) = Slider Float
Spawn Repeat (Number of times to repeat) = Slider Num
Array Delay (Seconds to wait between going through array again) = Slider Float
Sprite After Spawn = Sprite

Too many snakes are spawning.

@wadek2 Fixed ^^ in commit b9c05bf11ecfc7a306d2c661c8141a09f95273be


There was an error when attempting to rsync a synced folder

Hello,
I'm using Windows 11 and I ran into this issue when I tried vagrant up :
`There was an error when attempting to rsync a synced folder.
Please inspect the error message below for more info.
Host path: /cygdrive/d/rhcsa8env/
Guest path: /vagrant
Command: "rsync" "--verbose" "--archive" "--delete" "-z" "--copy-links" "--chmod=ugo=rwX" "--no-perms" "--no-owner" "--no-group" "--rsync-path" "sudo rsync" "-e" "ssh -p 2200 -o LogLevel=FATAL    -o IdentitiesOnly=yes -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i 'C:/Users/magri/.vagrant.d/boxes/rdbreak-VAGRANTSLASH-rhel8repo/1.1/virtualbox/vagrant_private_key'" "--exclude" ".vagrant/" "--exclude" "*.vdi" "/cygdrive/d/rhcsa8env/" "vagrant@<IP_ADDRESS>:/vagrant"
Error: rsync: write failed on "/vagrant/disk-0-2.vdi": No space left on device (28)
rsync error: error in file IO (code 11) at receiver.c(374) [receiver=3.1.3]`

Same errors here.
The Virtualbox version: 6.1.34
The Vagrant version: 2.2.19

Same errors here. The Virtualbox version: 6.1.34 The Vagrant version: 2.2.19
Issus fixed by change the repo.vm.synced_folder from
repo.vm.synced_folder ".", "/vagrant", type: "rsync", rsync__exclude: ".git/", rsync__exclude: "*.vdi"

to
repo.vm.synced_folder ".", "/vagrant", type: "rsync", rsync__exclude: [".git/", "disk-0-1.vdi", "disk-0-2.vdi", ".github"]

This fixed my issue thanks!


Learning to Vim

Yet another guide as to how to use Vim and learnings from getting started

$ **vimtutor**

Lesson 1
Cursor

h - left
j - down
k - up
l - right

Exit

:!q  - trash all changes
!wq  - save all changes

Characters

x - delete the character next to the cursor
i write something here  - insert before the cursor
a write something here  - append after the cursor

Normal mode

<esc> - enter Normal mode

Lesson 2
Delete

dw - delete from cursor to next word
d$  - delete from cursor to the end of the line
dd - delete the whole line

operator [number] motion

operator - what to do (e.g. d for delete)
*[number] - optional count to repeat the step
motion - moves over text to operate on (e.g. w for word, $ for end of line)

Motion

0 - move to start of the line

Undo

u - undo previous actions
U - undo all changes on a line
CTRL-R - undo the undo

Lesson 3
Put

p - Put the deleted text after tech cursor.

Replace

r - Replace the following character.

change [number] motion

change - change from the cursor to where the motion takes you.

[number] - optional count to repeat the step

motion - moves over text to operate on (e.g. w for word, $ for end of the line)

e.g:

ce - change from the cursor to the end of the word.
c$ - change from the cursor to the end of the line.

Maybe instead of learning how to focus on how to


Upgrade to phpunit 6

As suggested by @xabbuh in #171
On PHP 5.5 a test is failing because it expects it to throw a \PHPUnit\Framework\Error\Warning, which wasn't added (nor is it planned to) to<EMAIL_ADDRESS>forward compatibility (related phpunit issue). I don't know how to move on about this...

I would say lets just increase the minimal phpunit requirement ..

superseded by #173

@geecu I worked a bit on your changes and managed to resolve the issues

thanks


Project License?

Hello,
I can't find any license file for this project. Via a search, I can only find a license for tokenization-repair/src/tensorflow/fixed_estimator.py. Are there any plans to include a license file?
Thank you

Hi,
thanks for the request. We have added an Apache 2 license now. I hope this helps.
Best regards,
Matthias


country map is inaccurate

Currency of Albania -> USD?!? Afghanistan - USD????

Same goes for romania

You can use this forked and fixed package from here: github:salman-turing/country-currency-map#master
Update your project's package.json to install it from my repo until the PR is merged.
"country-currency-map": "github:salman-turing/country-currency-map#master"


Search local / global (home directory) style files instead of using commandline switch

Be more similar to clang-format in that regard.

+1.


Broken service traits in ApiDefinitionService

For some reason, ApiDefinitionService as a type parameter was replaced with a concrete HttpApiDefinition.
While it's hard to convince the existence of a type parameterization, it's always a good practice to follow it.

Didn't you fix this already?


[Question] Mod Compatibility Commissions

Hi, I love ur resource pack work! After finishing your current project, would u be interested in commissions for mod compat?

Rn, I love Friends&Foes; it's my favorite mod, seamlessly fitting the game. So once this pack is finished, you'll be open for commissions, right?


Problem communicating with helix

I thought I'd try hooking up janet-lsp to a helix modified to work with Janet.
I'm not confident that the modifications were appropriate, but supposing they were for the moment...
Upon opening a .janet file in a custom-built hx, I quickly see the message:
Language server exited

near the bottom of the editor.
Apparently :log-open can show a log for helix and doing that revealed:
2023-10-11T21:18:26.183 helix_lsp::transport [ERROR] janet-lsp err <- "error: bad slot #1, expected string, symbol, keyword or buffer, got <tuple 0x556D94197080>\n"
2023-10-11T21:18:26.183 helix_lsp::transport [ERROR] janet-lsp err <- "  in peg/match [src/core/peg.c] on line 1701\n"
2023-10-11T21:18:26.183 helix_lsp::transport [ERROR] janet-lsp err <- "  in posix/dirname [/home/user/.local/lib/janet/spork/path.janet] on line 150, column 1\n"
2023-10-11T21:18:26.183 helix_lsp::transport [ERROR] janet-lsp err <- "  in find-unique-paths [src/main.janet] on line 186, column 20\n"
2023-10-11T21:18:26.183 helix_lsp::transport [ERROR] janet-lsp err <- "  in main [src/main.janet] on line 205, column 14\n"
2023-10-11T21:18:26.185 helix_lsp [ERROR] failed to initialize language server: server closed the stream
2023-10-11T21:18:26.185 helix_lsp::transport [ERROR] janet-lsp err: <- StreamClosed

I think I'll try to modify janet-lsp to try to ascertain some of the values that are flowing along.

In:
https://github.com/CFiggers/janet-lsp/blob/f67ba902378d61848d86e32f75f42dbc3a46cd6b/src/main.janet#L205
find-unique-paths does not appear to be expecting the kinds of results that come about via the nil case of find-all-janet-files.  An example of something that can result from that case is:
("could not read \"/home/user/src/helix/runtime/grammars/sources/twig/node_modules/.bin/tree-sitter\"") ("could not read \"/home/user/src/helix/runtime/grammars/sources/qmljs/queries/highlights-javascript.scm\"")

Removing the nil case:
https://github.com/CFiggers/janet-lsp/blob/f67ba902378d61848d86e32f75f42dbc3a46cd6b/src/main.janet#L170
of find-all-janet-files seems to improve things.


dotdb: add native bool type

This is in prep for adding ability to filter Dict types

Codecov Report

Merging #92 into master will decrease coverage by 0.01%.
The diff coverage is 87.5%.

@@            Coverage Diff             @@
##           master      #92      +/-   ##
==========================================
- Coverage   92.27%   92.26%   -0.02%
==========================================
  Files          60       61       +1
  Lines        2487     2495       +8
==========================================
+ Hits         2295     2302       +7
- Misses        192      193       +1

Impacted Files
Coverage Δ

db/bool.js
87.5% <87.5%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4d2a9d1...0cea854. Read the comment docs.


Guides - Enabling Tree-shaking Missing from TypeScript

Enabling Tree-shaking section not found (in this tree) after commit 99bf48d4a6

Thanks for bringing this up. I don't think that whole section needs needs to be added back but the example tsconfig.json should be use es6 instead for the following options:
"target": "es6",
"module": "es6",

Would you be willing to submit a PR?

And actually maybe just the second of those two things -- i.e. "module": "es6". To enable tree-shaking you simply have to allow it to process import / export statements on its own (instead of having Babel or another transpiler handle them) and include the UglifyJSPlugin. The Tree Shaking guide has more details but I think we should keep the TypeScript guide as simple as possible.

Just checked, this is correct. You only need module: es6

@dmitriid awesome, thank you. I will PR the change this weekend if no one beats me to it.


Error in Example

The timestamp server referenced in the example does not exist anymore.
I used http://timestamp.digicert.com instead

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 21426684-ae01-f266-f21c-065bb2499692
Version Independent ID: c8058293-0160-a4cf-6706-f904349eb194
Content: Sign an APP Package File - Business Central
Content Source: dev-itpro/developer/devenv-sign-extension.md
Service: dynamics365-business-central
GitHub Login: @SusanneWindfeldPedersen
Microsoft Alias: solsen

Thanks for catching this. Will be fixed with the next doc refresh.


HDFS-16456. EC: Decommission a rack with only on dn will fail when the rack number is equal with replication.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
11m 50s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
detsecrets
0m  0s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 2 new or modified test files.

_ branch-3.2 Compile Tests _

+0 :ok:
mvndep
4m 53s

Maven dependency ordering for branch

+1 :green_heart:
mvninstall
27m 40s

branch-3.2 passed

-1 :x:
compile
9m 52s
/branch-compile-root.txt
root in branch-3.2 failed.

+1 :green_heart:
checkstyle
2m 46s

branch-3.2 passed

+1 :green_heart:
mvnsite
2m 41s

branch-3.2 passed

+1 :green_heart:
javadoc
2m 19s

branch-3.2 passed

+1 :green_heart:
spotbugs
5m 29s

branch-3.2 passed

+1 :green_heart:
shadedclient
17m 59s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 26s

Maven dependency ordering for patch

+1 :green_heart:
mvninstall
2m 14s

the patch passed

+1 :green_heart:
compile
16m 37s

the patch passed

-1 :x:
javac
16m 37s
/results-compile-javac-root.txt
root generated 203 new + 1465 unchanged - 0 fixed = 1668 total (was 1465)

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
3m  5s

the patch passed

+1 :green_heart:
mvnsite
3m 16s

the patch passed

+1 :green_heart:
javadoc
2m 44s

the patch passed

+1 :green_heart:
spotbugs
6m 11s

the patch passed

+1 :green_heart:
shadedclient
18m 19s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
16m 23s

hadoop-common in the patch passed.

-1 :x:
unit
213m  5s
/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs in the patch passed.

+1 :green_heart:
asflicense
1m 24s

The patch does not generate ASF License warnings.

368m  4s

Reason
Tests

Failed junit tests
hadoop.hdfs.server.namenode.TestFsck

hadoop.hdfs.TestRollingUpgrade

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4358/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/4358

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets

uname
Linux ad5610eb3128 4.15.0-175-generic #184-Ubuntu SMP Thu Mar 24 17:48:36 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
branch-3.2 / 7ebbaa393860a115aa1f51edc02f640507ced9e0

Default Java
Private Build-1.8.0_312-8u312-b07-0ubuntu1~18.04-b07

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4358/1/testReport/

Max. process+thread count
2093 (vs. ulimit of 5500)

modules
C: hadoop-common-project/hadoop-common hadoop-hdfs-project/hadoop-hdfs U: .

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4358/1/console

versions
git=2.17.1 maven=3.6.0 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 52s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  1s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
detsecrets
0m  0s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 2 new or modified test files.

_ branch-3.2 Compile Tests _

+0 :ok:
mvndep
4m 44s

Maven dependency ordering for branch

+1 :green_heart:
mvninstall
27m 50s

branch-3.2 passed

+1 :green_heart:
compile
16m  8s

branch-3.2 passed

+1 :green_heart:
checkstyle
3m 11s

branch-3.2 passed

+1 :green_heart:
mvnsite
3m 15s

branch-3.2 passed

+1 :green_heart:
javadoc
2m 51s

branch-3.2 passed

+1 :green_heart:
spotbugs
6m  4s

branch-3.2 passed

+1 :green_heart:
shadedclient
18m  5s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 27s

Maven dependency ordering for patch

+1 :green_heart:
mvninstall
2m  8s

the patch passed

+1 :green_heart:
compile
15m 18s

the patch passed

+1 :green_heart:
javac
15m 18s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
3m  1s

the patch passed

+1 :green_heart:
mvnsite
3m 13s

the patch passed

+1 :green_heart:
javadoc
2m 43s

the patch passed

+1 :green_heart:
spotbugs
6m 10s

the patch passed

+1 :green_heart:
shadedclient
18m 13s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
16m 30s

hadoop-common in the patch passed.

-1 :x:
unit
212m 31s
/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs in the patch passed.

+1 :green_heart:
asflicense
1m 23s

The patch does not generate ASF License warnings.

363m 29s

Reason
Tests

Failed junit tests
hadoop.hdfs.tools.TestDFSZKFailoverController

hadoop.hdfs.TestDecommissionWithStriped

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4358/2/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/4358

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets

uname
Linux 3ff3eb2d0a7c 4.15.0-175-generic #184-Ubuntu SMP Thu Mar 24 17:48:36 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
branch-3.2 / 7ebbaa393860a115aa1f51edc02f640507ced9e0

Default Java
Private Build-1.8.0_312-8u312-b07-0ubuntu1~18.04-b07

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4358/2/testReport/

Max. process+thread count
1913 (vs. ulimit of 5500)

modules
C: hadoop-common-project/hadoop-common hadoop-hdfs-project/hadoop-hdfs U: .

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4358/2/console

versions
git=2.17.1 maven=3.6.0 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

The failed tests do not fail in my local tree. I'll merge the change later.


EDA - Part 2

[x] Data distribution
[x] Classify healthy - disease vs healthy, disease 1, disease 2, disease 3, disease 4: Discuss which alternative is better
[x] If one group over-represented: over-sample?

completed


fixed duplicate IDs in Connections Docs

@IPdotSetAF Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

@pivotal-cla This is an Obvious Fix

@IPdotSetAF This Pull Request contains an obvious fix. Signing the Contributor License Agreement is not necessary.

The right thing to do here is to delete the duplicate section entitled TLS.


[BP-1.14][FLINK-23843][runtime] Properly fail the job when SplitEnumeratorContext.runInCoordinatorThread() throws an exception.

This serves as a 1.14 backport of PR #18610. Only minor import conflicts during the cherry-picking of 02d9bec
git cherry-pick 02d9bec4d251c09a1e75eb4d5c6edb751293c54e

Fixed unused import


Initial Changes for Splitting ConCom List into front-end/back-end

This PR includes:

Fixes an issue with incorrect values for child_count and email list in Department API call.
Adds Jest for JS testing
Adds initial Vue component code for rendering Division Headers

I am open to moving the JS tests to be closer to where the code actually lives, but for now have included it in <rootDir>/test/sitesupport. I wasn't sure how or what is moved over to production servers when a production tag is cut for release.
Not included is actually rendering this - I did not want to commit those changes with this PR, but have been testing with them locally. If you'd like to see the components in action, you can add the following snippet to <rootDir>/modules/concom/pages/body.inc between lines 22-24, or wherever you'd like. If done there, it will render at the very bottom of the page, below the existing list of divisions and departments.

    <staff-list></staff-list>

I will admit that splitting and merging patches is an art form that take practice.  If you have hit frustration limit then I can let it slide but since most of the splitting affect whole new modules it should not be hard.
To remove changes from a given commit
git show <sourcefile> > <outfile>
patch -p1 -R < <outfile>
git add <sourcefile>
git commit --amend
then
patch -p1 < <outfile>
git add <sourcefile>
git commit
will add those changes by themselves as a separate patch that can be moved around and merged using
git rebase -i origin/master
Then you can pull the changes out of you last patch and merge them into the other and things would look great!

Sure, I can make the updates to split out the changes a bit better. No problem. I'll try to knock that out today or tomorrow.

I think I've managed to resolve all of the feedback and cleaned up the git history appropriately.


Add doc comments

Doc comments are empty now. When I have time, I can take care of that, if someone else doesn't do it sooner.

Sure, please go ahead :-), or I might also do that when I'm available. I think adding doc to player_openal.go is necessary and sufficient since Linux uses that.

Now the interface is unified to Player struct in player.go.

I'll close this issue. Of course, let's continue to add comments when necessary.