No directory starting with 'spcl' & Images won't download

Okay, I've followed your setup 1:1 and it already looks pretty dope, +rep!
However, I now get those two errors:
No directory starting with 'spcl'
and the other error is, that the images won't download, no matter what.
After I downloaded a Hentai via get.php, it creates a directory into /images/ but doesn't place any images in there. What could trigger this? However, they still show up on the site, just without images.
And I think the "spcl" error may comes from not having any manga yet?
I don't know... I'd be grateful for just any kind of support.
Thanks

No directory starting with 'spcl'

This just means that you don't have any directory starting with a non-alphabetic character. If you want to change the homepage to show directories starting with an alphabet, say 'A', change the value of $letter in index.php to A on line 19. It's spcl by default.
As for the images not downloading, it seems like a network issue. Maybe try changing your DNS server and see if the images download.
Further questions welcome!

Also, for the image downloading, post the server error logs right after downloading something. Might not be a network issue at all.


Can't add request Cookies

There is no way to add request cookies.
When I use
		$curl->setHeader('Cookie: 79zarV', (string)$curl->getCookie('79varV'));

it will be plainly ignored. Injecting manually by using
curl_setopt($curl->curl, CURLOPT_HTTPHEADER, array('Cookie: 79zarV='.$cookie);

Is beeing ignored as well!
How can I fix this?

Use setCookie()?

Funnily, I can retrieve the cookie with getCookie() but setting it again with setCookie() or leaving it as-is does not send it in the header

Here's an example:
$curl = new Curl();
$curl->setCookie('foo', 'bar');
$curl->get('https://httpbin.org/cookies');
var_dump($curl->response->cookies->foo === 'bar');

Really, that doesn't work, well, try it yourself
		$curl = new Curl();
		$curl->setCookie('79varZ', ('9e846d3d6b41ab71e8d6ba6cfff521ad:6:0'));
		$file = $curl->get('https://www31.adrive.com/public/79zarV.html');
		var_dump($curl->response->cookie); // this will be empty
		$curl->close();

@zachborboa you can obtain a valid 79varZ cookie from https://nightly.inexor.org
I have this use case since their API is actually a pain in the ass and explicitly wants to prohibits external usage, but that doesn't mean I stop there :+1:

You'll want to use getResponseCookie() to get the cookie from the response headers.


fix elapsed

provider side monitor_filter_start_time will overwrite consumer side monitor_filter_start_time

Codecov Report

Merging #5482 into master will increase coverage by 0.03%.
The diff coverage is 27.27%.

@@             Coverage Diff              @@
##             master    #5482      +/-   ##
============================================
+ Coverage     61.06%   61.09%   +0.03%
- Complexity      422      424       +2
============================================
  Files           919      919
  Lines         37502    37510       +8
  Branches       5444     5447       +3
============================================
+ Hits          22900    22918      +18
+ Misses        12106    12094      -12
- Partials       2496     2498       +2

Impacted Files
Coverage Δ
Complexity Δ

...rg/apache/dubbo/monitor/support/MonitorFilter.java
59.64% <27.27%> (-7.7%)
0 <0> (ø)

...c/main/java/org/apache/dubbo/rpc/RpcException.java
80% <0%> (-3.34%)
0% <0%> (ø)

.../dubbo/remoting/transport/netty4/NettyChannel.java
65.34% <0%> (-1%)
0% <0%> (ø)

...g/apache/dubbo/registry/consul/ConsulRegistry.java
62.5% <0%> (+0.62%)
29% <0%> (ø)
:arrow_down:

.../remoting/transport/netty4/NettyServerHandler.java
68.18% <0%> (+2.27%)
0% <0%> (ø)
:arrow_down:

...pache/dubbo/registry/support/AbstractRegistry.java
80.14% <0%> (+2.99%)
0% <0%> (ø)
:arrow_down:

...he/dubbo/remoting/transport/netty/NettyServer.java
73.68% <0%> (+3.5%)
9% <0%> (+1%)
:arrow_up:

...pache/dubbo/remoting/transport/AbstractServer.java
57.5% <0%> (+3.75%)
0% <0%> (ø)
:arrow_down:

...e/dubbo/remoting/transport/netty/NettyChannel.java
60.22% <0%> (+4.54%)
21% <0%> (+1%)
:arrow_up:

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 00febe9...3202d8e. Read the comment docs.


chore: add bug root cause and integration/system tests sections to pr and bug request templates

Closes #
Describe your proposed changes here.

[ ] CHANGELOG.md updated with a link to the PR (not the Issue)
[ ] Well-formatted commit messages
[ ] Rebased/mergeable
[ ] Tests pass
[ ] http/swagger.yml updated (if modified Go structs or API)
[ ] Documentation updated or issue created (provide link to issue/pr)
[ ] Signed CLA (if not already signed)

Closing as stale


[blocked] Add support for ingress

This PR is blocked because Terracotta BM does not support being run behind a proxy: linked are generated with the wrong host and scheme.

This sounds like an use case for a NodePort service


Editing album.html (view.html) for Cloudfront usage

When an album is published, I'd like to edit view.html to view the album using the CNAME assigned to the Cloudfront version of the bucket. A simple example or guidelines for editing would be appreciated.

Hi greenftechn,
To use Cloudfront instead of AWS S3, it'll be more complicated than just changing the CNAME. There is some Javascript in view.html that is specific to S3. For example, to get the directory listing, there is some S3 specific code here:
https://github.com/toehio/s3album/blob/master/view.html#L129
It shouldn't be too difficult to adapt this code for Cloudfront, but I don't have access to Cloudfront. If you want to adapt the code to work on Cloudfront, that would be great!


How to set Notes from the Kameleo API?

What would be the proper code syntax form to set the Notes for a profile from the Kameleo API?
Also, could your provide some example code?

Here is an example that you can use to set the Notes for a profile through the API:
create_profile_request = BuilderForCreateProfile \
  .for_base_profile(base_profiles[0].id) \
  .set_recommended_defaults() \
  .set_notes('Profile for web scraping task A') \
  .build()
profile = client.create_profile(body=create_profile_request)

These answers are provided from the Kameleo Set Notes from API article.


[HLSL] Option for treat all textures as texture arrays.

d3d does not provide the ability to specify an array slice when creating a non-arrayed texture view from an arrayed texture. If hlsl will treat all textures as texture arrays, the d3d limitation can be bypassed since I can always create an arrayed view with a single array slice:
d3d_view_desc->Dimension = TextureArray;
d3d_view_desc->TextureArray.MostDetailedMip = mip_level;
d3d_view_desc->TextureArray.MipLevels = mip_level_count;
d3d_view_desc->TextureArray.FirstArraySlice = array_slice;
d3d_view_desc->TextureArray.ArraySize = 1;

I believe it is legal for HLSL Texture2D to map to a single-slice Texture2DArray.

It's not possible to map a slice of Texture2DArray to HLSL Texture2D, if array size > 1 and array slice != 0;


Chore: Run ovirt and v2v rpm dep

Issue:
The v2v build fails.
Fix:
Run
./hack/virt-v2v-rpm-deps.sh
./hack/ovirt-populator-rpm-deps.sh

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 15.44%. Comparing base (057930a) to head (63604f9).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1288   +/-   ##
=======================================
  Coverage   15.44%   15.44%
=======================================
  Files         112      112
  Lines       23399    23399
=======================================
  Hits         3613     3613
  Misses      19501    19501
  Partials      285      285

Flag
Coverage Δ

unittests
15.44% <ø> (ø)

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Gizmo rendering behind active object

The gizmo components currently render behind the active object the player is building. Very annoying when the object is larger than the gizmo, which can now happen with the new scale modifier.

Requires a new shader, could be possible, loading shaders via the AssetBundle is completely valid and should work.

I have no idea how loading shaders works outside of Unity, but this seems the biggest issue for TA in general right now so I hope it's fixable.

Fixed in latest dev build


Update CHANGELOG for 1.12.2

Signed-off-by: Victor Vieux<EMAIL_ADDRESS>

- should be used for fix, * for upgrade (+ for new features, but they shouldn't any in that release)

ping @aaronlehmann @aboch @mrjana PTAL!

@aaronlehmann PTAL I addressed your comments

LGTM

looks like @aaronlehmann left his LGTM as comment, so merging

merged to master through https://github.com/docker/docker/pull/27328


Support attributes in maven properties.

Because we update the properties via string substitution instead of editing the dom with nokogiri we can fail to update valid POMs that don't don't match what we expect, for example POMs where properties have attributes.
This will result in no substitution being performed, which then triggers an assertion:
uri@MacBook-Pro-108 ~/g/d/dependabot-core> bin/dry-run.rb maven canva/canva --dir parent
=> fetching dependency files
=> dumping fetched dependency files: ./dry-run/canva/canva/parent
=> parsing dependency files
=> updating 192 dependencies
=== com.google.googlejavaformat:google-java-format (1.5)
 => checking for updates
 => latest version from registry is 1.7
 => latest resolvable version is 1.7
 => requirements to unlock: own
 => requirements update strategy:
 => updating com.google.googlejavaformat:google-java-format from 1.5 to 1.7
Traceback (most recent call last):
	4: from bin/dry-run.rb:401:in `<main>'
	3: from bin/dry-run.rb:401:in `each'
	2: from bin/dry-run.rb:445:in `block in <main>'
	1: from bin/dry-run.rb:395:in `generate_dependency_files_for'
/Users/uri/github/dependabot/dependabot-core/maven/lib/dependabot/maven/file_updater.rb:34:in `updated_dependency_files': No files changed! (RuntimeError)

This PR adds support for properties with attributes, though it still uses string substitution, so it will still fail if the properties are not formatted as expected, for example if they're broken over multiple lines. To stay backwards compatible as much as possible it will still attempt to substitute using the regular expression first, and still fall back to not performing any substitution if neither the regular expression or the node matches.

Thanks for the PR @uri-canva. I'm not a developer anymore and don't work on Dependabot, but @feelepxyz and the team should be able to help with review. The test looks 💯and makes your use here completely clear.

GitHub suggested to add you as reviewer, sorry for the noise. 🙇

Absolutely no problem! :-)


change param test_batch to infer_batch in *infer_improve.py

I think it makes more sense. What's your opinion? @AlexandrNP @jonesse3 @nkoussa

Yes that makes sense to me.

Makes sense to me too.


[Feature request] Abrupt visibility switching between models instead of proper per-splat occlusion

Current behavior:
When multiple models are placed in the scene, their visibility relationship switches abruptly as a whole based on camera angle, rather than having proper per-splat occlusion. This creates unrealistic and jarring visual effects.
Steps to reproduce:

Import two models that spatially intersect (e.g., a character model and a vessel)
Slightly rotate the camera angle
Observe how the entire model suddenly switches between being fully visible or fully occluded

Example scenario (see attached screenshots):

Screenshot 1: The character model is completely visible in front of the vessel
Screenshot 2: After a minor camera rotation, the same character model is completely occluded behind the vessel
This binary switching occurs instead of proper partial occlusion where models intersect

Expected behavior:

Splats from different models should be sorted and rendered based on their actual 3D positions
Parts of a model that are spatially behind another model should be occluded
Parts of the same model that are spatially in front should remain visible
This occlusion should be continuous and smooth as the camera moves

Impact:

Makes it extremely difficult to position models accurately
Creates unrealistic visualization where models intersect
Requires constant camera adjustment to check spatial relationships
Significantly hampers workflow when creating complex scenes

Hi @RobLinkA ,
This is a top priority for us as well. Unfortunately it will take some work to implement, but we will hopefully get it done early next year.


add multi-region info to Databases, Statements, Txn pages

Documented the multi-region fields that were added to:

Databases page
Statements and Statement Details pages
Transactions page

Also brought in one line from https://github.com/cockroachdb/docs/pull/11879 that should make this easier to merge alongside that PR.

This change is


The idempotency for "az aks create" command is broken

Related command
az aks create
Extension name
aks-preview
Description of the issue
The "az aks create" command idempotency worked perfectly until last week when this pull request was merged. Since this time the 2nd, 3rd, etc. run for "az aks create" always gives the error: The cluster 'NAME' under resource group 'NAME' already exists. Please use command 'az aks update' to update the existing cluster ...
Background:
Almost all "az create/set"commands are idempotent. This is because idempotency greatly simplifies scripting: i.e. if some big Azure resource-creating script fails you can rerun and it will skip existing resources and continue to create the remaining ones:

"This is a very useful property in many situations, as it means that an operation can be repeated or retried as often as necessary without causing unintended effects. With non-idempotent operations, the algorithm may have to keep track of whether the operation was already performed or not." - Idempotence, Wikipedia

In fact, there were a lot of idempotency fixes for other az commands like "az keyvault create", "az bot create", etc. - you can search for the word "idempotent" in Azure CLI release notes.

azure-cli - 2.46.0
k8s-extension - 1.4.0
aks-preview - 0.5.133

Thank you for opening this issue, we will look into it.

route to CXP team

Adding Service team to look into this.
@Azure/aks-pm Could you please look into this once you get a chance ? Thanks in advance.

+1

Has there been any investigation on this?
Idempotency is the main reason I use Az CLI over Azure PowerShell, so it would be great if this could be fixed, to return the previous functionality 🙏🏼

Any updates?

How is this still broken after 1.5 years?

Just discovered this.
Pretty disappointing that az aks create isn't idempotent :-( Practically every other command in az is!


Getting angulaj digest cycle errors with groupSort: true

Hi, I'm getting the following with grid 1.3.2 & angular 1.4.7
TypeError: Cannot read property '$$nextSibling' of null
    at Scope.$digest (angular.js:15854)
    at Scope.$apply (angular.js:16097)
    at angular.js:17864
    at completeOutstandingRequest (angular.js:5507)
    at angular.js:5784

The error is not constant. Sometimes it works. Sometimes toggleSort should be called twice. I can make a repo with the example I'm using if required.
p.s. https://github.com/bronzovik/grid-sort-example

This should be fixed with 1.4.1.
Thanks.

Still having the same issue with 1.4.2

Update to 1.4.3.
The grid flow and the $digest from angular were not always in sync and this caused a conflict.
The grid is now respectful of a digest being in progress and will render after.
However, one part that is seen here is that in your project you are missing this part of the css so it makes the rows show their "{{code}}" briefly before it completes. Adding this css which should be default for the datagrid will make those rows not show until they are done. However, you can change the fade out of this css if you don't want them to fade.
.datagrid-row > * {
   -webkit-transition: opacity 0.5s ease-out;
   -moz-transition: opacity 0.5s ease-out;
   -ms-transition: opacity 0.5s ease-out;
   -o-transition: opacity 0.5s ease-out;
   transition: opacity 0.5s ease-out;
}

.uncompiled > * {
   visibility: hidden;
   opacity: 0;
}

.compiled > * {
   opacity: 1;
}

.datagrid-chunk {
   opacity: 0;
   -webkit-transition: opacity 0.5s ease-out;
   -moz-transition: opacity 0.5s ease-out;
   -ms-transition: opacity 0.5s ease-out;
   -o-transition: opacity 0.5s ease-out;
   transition: opacity 0.5s ease-out;
}

.datagrid-chunk-ready {
   opacity: 1;
}

Hi Wes,
it looks like 1.4.3 has fixed it. Thanks a lot and thank you for the heads up with the CSS!
Still gotta check variable row height feature.

Awesome! Your git example for me to work with was SO helpful because I had seen the error before, but was not sure how to reproduce it, Thanks for your help!


Help

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

ID: 0c512e4e-eb91-cb1e-873e-7344689fe013
Version Independent ID: f71d940c-2ca0-8248-3de7-ee6f1b15ea62
Content: Windows Machine Learning
Content Source: docs/index.md
Product: machine-learning
GitHub Login: @rosanevallim
Microsoft Alias: rovalli

Can you create some sample applications written in C#/WinForms on GitHub.

I don’t know how


Compiler error with exhaustive case within a try

With the latest ponyc on master (0.14.0-719e3870 [release]), compiling the following snippet results in a compiler assertion:
class Test
  new create() =>
    try
      match true
      | let b: Bool => return
      end
    end

The assertion looks like:
Building builtin -> /Users/carl/ws/pony/cquinn/ponyc/packages/builtin
Building . -> /Users/carl/ws/pony/cquinn/ponyc/packages/xcli
src/libponyc/pass/expr.c:320: pass_expr: Assertion `errors_get_count(options->check.errors) > 0` failed.

Backtrace:
  0   ponyc                               0x000000010da8e351 ponyint_assert_fail + 161
  1   ponyc                               0x000000010da4c0dd pass_expr + 1037
  2   ponyc                               0x000000010da502ac ast_visit + 300
  3   ponyc                               0x000000010da5026a ast_visit + 234
  4   ponyc                               0x000000010da5026a ast_visit + 234
  5   ponyc                               0x000000010da5026a ast_visit + 234
  6   ponyc                               0x000000010da5026a ast_visit + 234
  7   ponyc                               0x000000010da5026a ast_visit + 234
  8   ponyc                               0x000000010da5026a ast_visit + 234
  9   ponyc                               0x000000010da5026a ast_visit + 234
  10  ponyc                               0x000000010da50ae9 ast_passes + 953
  11  ponyc                               0x000000010da69fc5 program_load + 229
  12  ponyc                               0x000000010d9cca68 main + 1368
  13  libdyld.dylib                       0x00007fffd5a04235 start + 1
This is an optimised version of ponyc: the backtrace may be imprecise or incorrect.
Use a debug version to get more meaningful information.
Abort trap: 6

This will be fixed by #1903 when it is merged.


Doing a query using a column name that is also a dataset line puts the username before the column name

Related: https://github.com/CartoDB/cartodb/issues/4165

Hey @saleiva , reading the title I don't understand the issue. What is a dataset line?
Could you STR this?

Not sure if the same, but I also noticed the behaviour when a column was named as a dataset (the column name got fully qualified). This was a lot of time ago, but just in case...

Ah! Ok, thanks for clearing it up. I'll check it out later

There has been no activity on this issue for more several months. We are closing it. If you think this still needs to be addressed please open a new issue.


Merge 'develop' onto master as initial release

I think we should merge "develop" up to master so there's a primary area. Alternately, we could set 'develop' as the default branch. We should still have something on master.

I set the default branch to develop

Previously? I got master earlier when I checked out earlier.
On May 30, 2015 10:33 AM, "Gene Gotimer"<EMAIL_ADDRESS>wrote:

I set the default branch to develop
—
Reply to this email directly or view it on GitHub
https://github.com/Coveros/devops-workshop/pull/1#issuecomment-107044932
.

This morning, after you asked.

this is forever old. Closing to get rid of it. Re-open if we actually want it.


how to deal with “Missing keys ”

INFO - 2024-04-08 03:20:10,560 - base_model - Missing keys []
INFO - 2024-04-08 03:20:10,560 - base_model - load checkpoint from https://storage.googleapis.com/sfr-vision-language-research/LAVIS/models/BLIP/blip_coco_caption_base.pth

+1
same problem.dont no how to fix it yet


can't able to using web camera in laptop/desktop?

Getting the below error.
No module for simple_barcode_scanner/assets/html5-qrcode.min.js

Hi can you please explained how did you use this package in your project with code snippet?

make sure you have html5-qrcode.min.js in proper path. you could share project structure with us and mentioned how you are running the application otherwise I don't see any other issue here.

Closing due to no response. Feel free to reopen/comment with more details.


VS Template: WindowsTargetPlatformMinVersion not set properly when using Console App C++/WinRT Template

Version
No response
Summary
When creating the project, you are prompted for target and minimum versions, but only the WindowsTargetPlatformVersion property of the project gets set. You have to manually change the min version. The min version defaults to some other number.
Excerpt from a project file where I had specified 10.0.20348 for both target and minimum when prompted.
<WindowsTargetPlatformVersion Condition=" '$(WindowsTargetPlatformVersion)' == '' ">10.0.20348.0</WindowsTargetPlatformVersion>
<WindowsTargetPlatformMinVersion>10.0.17134.0</WindowsTargetPlatformMinVersion>

Reproducible example
No response
Expected behavior
No response
Actual behavior
No response
Additional comments
No response

I've tagged a few project maintainers. If one of them is available to offer guidance and mentorship for this issue, they will reach out according to the contributing guide to discuss and agree on an approach.
https://github.com/orgs/microsoft/teams/cppwinrt-maintainers


Question: How Run API

Man, your work is very interesting!
I would like to know how I can test your api. I don't know much about TypeScript or Javascript so I couldn't print the json on the screen. I would really appreciate it if you could help me with this. Thanks

Download Node here: https://nodejs.org/en/.
Note that this library uses the experimental Node fetch() API so you will have to get the Node version marked Current and not LTS.
Once you install Node, you can run npm init from the command line to create a new npm project.
Then you can install this API for use in your project with npm install fightcade-api.
I suggest using TypeScript, but you can use JavaScript if you want.
Install the TypeScript compiler globally using npm install -g typescript. This will give you access to the TypeScript compiler command tsc in the command line.
You can create a source code file named index.ts and copy one of the examples on this repo's home page.
Transpile your TypeScript into JavaScript from the command line with tsc index.ts.
Run your program from the command line with node index.js.

Hi, @xBiggs!
How are you?
Can run your API. Pretty cool ;)
I have another question: is it possible to get the results of a ranked game for a given user?
For example, xBiggs beat FT 5 x 0, can I get these values?

@DQ318 Here is a code sample
import * as Fightcade from 'fightcade-api';

const main = async () => {
  try {
    // Match ID
    const quarkid = '1664758449709-7461';

    // Query Match Information
    const replay = await Fightcade.GetReplay(quarkid);

    // The ranked property denotes the FT set. 0 is unrannked
    if (replay.ranked === 0) console.log(`Unranked Match: ${quarkid}`);
    else {
      console.log(`Ranked FT${replay.ranked} ${quarkid} Results:`);

      // The score property denotes the set results
      replay.players.forEach(player => console.log(`${player.name} - ${player.score}`));
    }
  } catch (e) {
    console.error((e as Error).message);
  }
}

main();


fix(webpack-import-meta-loader): rewrite all backslashes

Fixes https://github.com/open-wc/open-wc/issues/476

Wanted to add a specific test for it:
  it('Replaces all backslashes', async () => {
    const stats = await compiler('caseB\\caseBsub\\caseBsub.js', rules);
    const caseBsub = stats.toJson().modules[0].source;

    expect(caseBsub).to.equal(
      `${'' +
        "export const bar = new URL('./', ({ url: `${window.location.protocol}//${window.location.host}/caseB/caseBsub/caseBsub.js` }).url);"}${newLine}`,
    );
  });

But Karma doesn't want to find the test. I did see the exclusion in the Karma config karma.conf.js#L13, but also the with grep function, I can't find it.. :-/
yarn run test --grep packages/webpack-import-meta-loader/test/webpack-import-meta-loader.test.js

These tests are run in node, not in in the browser. That's why they're excluded. You can run them by moving into the packages/webpack-import-meta-loader and running npm run test or yarn test

These tests are run in node, not in in the browser. That's why they're excluded. You can run them by moving into the packages/webpack-import-meta-loader and running npm run test or yarn test

😅 🙈 God... I guess it's been a long day..

Hmmm.. ok.. The test is not working how I expected it to work. compiler is using webpack, so backslashes are already transformed in the tests. Don't know if it'll be doable to test the specific behavior. 🤔
On a sidenote, by using import { EOL as newLine } from 'os'; the test expects the files to be using the specific EOL chars of the system. I'm using git's core.autocrlf=false so no auto conversion.. hence, breaking tests. 🙈

Does the change work properly for you locally though? Will look into a proper setup for testing these things cross platform later.

Normally yes, as I tested the /\\/g variant earlier today by changing it in node_modules directly. So, I expect it to work just fine. 👍

Made a test and checked with @thepassle that it's working

Yeah, the mocked path module will do the trick! Of course, there is no guarantee that toBrowserPath is actually used in the plugin, but it's always tricky when using mocks. proxyquire seems to be helpful.


Fix type-generator.test on Windows

Test  type-generator.test.ts is broken on Windows because of different line endings.
In addition clean now removes out folders to clean old garbage,
I also would like to add volta to easily enforce a specific node/npm version, but I don't know if you want this?

@msujew are you ok with the other changes in the package,json


FIX/LUM-10327: Date picker weeks display

General summary
fix the display of the calendar.
Number of weeks were not well compute by moment-range
Screenshots

Check list

[ ] (if has style) Add need: review-integration label
[ ] (if has textual documentation) Add need: review-doc label
[ ] (if has code) Add need: review-frontend label
[ ] (if has react) Check through the react dev check list
[ ] (if fix or feature) Add need: test label

Check out the contribution guide for general guidelines for submissions to the design system.

@gcornut I will need this fix for dhalsim, should we test before releasing?

Good catch @gcornut!
I updated the way of compute days in calendar and avoid using moment-range.by('week') function since this lib doesn't handle locale for weeks as expected

Test OK!


fix: fix undefined bid value

This PR resolves []
Description

Fix undefined bid value on the Auction Lots For you rail

before
after

PR Checklist

[x] I have tested my changes on iOS and Android.
[x] I hid my changes behind a feature flag, or they don't need one.
[x] I have included screenshots or videos, or I have not changed the UI.
[x] I have added tests, or my changes don't require any.
[x] I added an app state migration, or my changes do not require one.
[x] I have documented any follow-up work that this PR will require, or it does not require any.
[x] I have added a changelog entry below, or my changes do not require one.

To the reviewers 👀

[ ] I would like at least one of the reviewers to run this PR on the simulator or device.

Changelog updates
Changelog updates

Cross-platform user-facing changes

Fix undefined bid value on the Auction Lots For you rail - daria

iOS user-facing changes

Android user-facing changes

Dev changes

Need help with something? Have a look at our docs, or get in touch with us.

There's this PR that was added on Friday, I just updated it this morning 😅
https://github.com/artsy/eigen/pull/10858

This PR contains the following changes:

Cross-platform user-facing changes (Fix undefined bid value on the Auction Lots For you rail - daria)

  Generated by :no_entry_sign: dangerJS against 4495971e8940c6c599e9a4a2919a07b759974aa8

@MrSltun ok, let's move on with your PR


runtime/pprof: build occasionally fails at TestCPUProfileMultithreaded

TestCPUProfileMultithreaded occasionally fails for GOOS=android and GOARCH=arm.
834 KB/s (2368016 bytes in 2.770s)
go_android_exec: adb shell cp '/data/local/tmp/goroot/pprof.test-3947-tmp' '/data/local/tmp/goroot/pprof.test-3947'
go_android_exec: adb shell rm '/data/local/tmp/goroot/pprof.test-3947-tmp'
go_android_exec: adb shell export TMPDIR="/data/local/tmp"; export GOROOT="/data/local/tmp/goroot"; cd "$GOROOT/src/runtime/pprof"; '/data/local/tmp/goroot/pprof.test-3947' -test.short=true -test.timeout=360s; echo -n exitcode=$?
--- FAIL: TestCPUProfileMultithreaded (3.60s)
pprof_test.go:165: runtime/pprof_test.cpuHog1: 0
pprof_test.go:165: runtime/pprof_test.cpuHog2: 61
pprof_test.go:179: runtime/pprof_test.cpuHog1 has 0 samples out of 61, want at least 1, ideally 30
FAIL

qemu, right?

Android emulator ARM v7a. It's not exactly what the mainline qemu is.

These tests have never run well under qemu. I'd just skip them when under this environment.
Maybe set an IN_QEMU=1 environment variable, and t.Skip based on that.

Mailed https://go-review.googlesource.com/#/c/3000/.

This test is extremely flaky even on real arm64 hardware.


avoid setting frequency correct to zero to avoid eronious error state

fix bug where SetFreqCorrection (0) generated error which propigated back to sdrConfig to fail which caused the whole process to repeat.
Also prefixed UAT related messages with "UAT". This will help with log interpretation

This has already been fixed in the gortlsdr library. Scan the previous
commits.
On Wed, Nov 11, 2015 at 9:07 AM, bradanlane<EMAIL_ADDRESS>wrote:

fix bug where SetFreqCorrection (0) generated error which propigated back
to sdrConfig to fail which caused the whole process to repeat.
Also prefixed UAT related messages with "UAT". This will help with log
interpretation
You can view, comment on, or merge this pull request online at:
https://github.com/cyoung/stratux/pull/107
Commit Summary

avoid setting frequency correct to zero to avoid eronious error state

File Changes

M main/sdr.go
https://github.com/cyoung/stratux/pull/107/files#diff-0 (67)

Patch Links:

https://github.com/cyoung/stratux/pull/107.patch
https://github.com/cyoung/stratux/pull/107.diff

—
Reply to this email directly or view it on GitHub
https://github.com/cyoung/stratux/pull/107.

sdrCount doesn't exist on tip.


Issues related to API implementation

How can I contribute code. Is it possible to implement an API similar to 'https://crates.io/crates/tun-rs'?

Hey, thanks for taking interest in this project! Are there any particular features you're looking to contribute or see implemented? If you don't have a specific focus in mind and are just interested in helping out in some way, I've added a list of features that would be good to add to this crate in the near future.
As for API design, I'm not sure that changing this crate to mirror the API of tun-rs would be feasible, but I can certainly try to implement a few more features here that are available in that crate. In general, I'm trying to make Tun and Tap types in this crate have a similar API feel to that of core rust networking building blocks (such as TcpStream/UdpStream, or Ipv4Addr). This means I'm avoiding things like Builder patterns (which is what tun-rs appears to use to instantiate Tun devices) and instead focusing on functions that mutate the state of the Tun device in straightforward, atomic steps. If you'd like to migrate some code from tun-rs or similar to tappers, there are ways you could use a helper function wrapping various configuration steps to achieve substantially the same intended effect that the tun-rs builder pattern has.

Using stream may be inconvenient.  recv/send is easier to use

I was actually referring to the TcpStream::send() and TcpStream::recv() functions in that sense, yes

Is recv and send with immutable references feasible

Not if Windows is to be supported, unfortunately. *nix systems use file descriptors, so they could all be implemented using an immutable reference, but the wintun API requires a mutable reference to a WintunSession when allocating a packet that will subsequently be sent over the tunnel:
    fn WintunAllocateSendPacket(session: *mut WintunSession, packet_size: u32) -> *mut u8;

This means that any cross-platform send() implementation that supports wintun will need a mutable reference; otherwise, some cast from immutable to mutable would be needed, which would be UB. The same issue is present for recv():
    fn WintunReceivePacket(session: *mut WintunSession, packet_size: *mut u32) -> *mut u8;

Again, passing a mutable pointer when using an immutable reference to self would result in UB.

I'm curious--is there some key benefit within async code to having immutable send()/recv() functions? Or is it just a matter of convenience? I've not implemented async features for tappers yet, so I don't have much of an idea as to what would be needed there.

Not if Windows is to be supported, unfortunately. *nix systems use file descriptors, so they could all be implemented using an immutable reference, but the wintun API requires a mutable reference to a WintunSession when allocating a packet that will subsequently be sent over the tunnel:
    fn WintunAllocateSendPacket(session: *mut WintunSession, packet_size: u32) -> *mut u8;

This means that any cross-platform send() implementation that supports wintun will need a mutable reference; otherwise, some cast from immutable to mutable would be needed, which would be UB. The same issue is present for recv():
    fn WintunReceivePacket(session: *mut WintunSession, packet_size: *mut u32) -> *mut u8;

Again, passing a mutable pointer when using an immutable reference to self would result in UB.

Wintun session is thread-safe, would there be any issues with converting it to an immutable reference?

The main requirement is to implement concurrent read and write operations. Since 'tappers' does not implement 'split', I'm not sure how to achieve read-write separation.

I went ahead and converted it to an immutable reference based on Wintun being thread-safe; this should hopefully make concurrent read/write easier

I've now implemented AsyncTun/AsyncTap interfaces that work with various async backends (tokio, async-io, smol, mio). These use the usual recv()/send() APIs

https://github.com/pkts-rs/tappers/blob/a5013037cf3a4a1f820e85676044960149786791/src/mio/tun.rs#L46
Converting a Wintun handle into a Socket will fail.
I tested the library async-io = "2.3.4". Using Waitable::new(tun.read_handle()) from async-io allows for asynchronous listening to readable events. However, it’s extremely unstable, and I'm not sure why.

https://github.com/smol-rs/async-io/blob/6aa416c8165a8579c80f5a35b5c80e009c363f9c/src/reactor/windows.rs#L28
    /// Waitable handle for Windows.
    ///
    /// # Invariant
    ///
    /// This describes a valid waitable handle that has not been `close`d. It will not be
    /// closed while this object is alive.
    Handle(RawHandle),

https://github.com/pkts-rs/tappers/blob/a5013037cf3a4a1f820e85676044960149786791/src/async_io/tun.rs#L81
async-io supports using RawHandle

https://github.com/pkts-rs/tappers/blob/a5013037cf3a4a1f820e85676044960149786791/src/mio/tun.rs#L46
Converting a Wintun handle into a Socket will fail.
I tested the library async-io = "2.3.4". Using Waitable::new(tun.read_handle()) from async-io allows for asynchronous listening to readable events. However, it’s extremely unstable, and I'm not sure why.

Using async-io to manage wintun-read-event-handle results in some unusual behaviors, such as high latency and event loss.

https://github.com/pkts-rs/tappers/blob/a5013037cf3a4a1f820e85676044960149786791/src/mio/tun.rs#L46
Converting a Wintun handle into a Socket will fail.
I tested the library async-io = "2.3.4". Using Waitable::new(tun.read_handle()) from async-io allows for asynchronous listening to readable events. However, it’s extremely unstable, and I'm not sure why.

It looks like mio doesn't expose anything that could be used to specifically poll the read handle. However, it does expose the Windows-specific NamedPipe, which implements FromRawHandle. I might try using that for read events and see how it goes--it feels like a hack (again), but I've read from issues/PRs in other projects that this is generally how people have gotten around the API limitations of mio.

It looks like async backends use a global threadpool (albeit managed by Win32) to wait on events anyways:

The current implementation waits on the handle by registering it in the application-global Win32 threadpool. However, in the futur it may be possible to migrate to an implementation on Windows 10 that uses a mechanism similar to MsgWaitForMultipleObjectsEx.

Given this, and that HANDLE polling APIs are all unstable/result in errors for wintun, I think I'll go ahead and re-implement the windows-specific recv() function as a spawned task.

Using a sub-thread works better. The internal implementation of async-io is also based on sub-threads.

Alright, I've re-implemented it so that a blocking sub-thread is used instead of waiting on a HANDLE--hopefully this resolves all of the above problems. I don't have a good test flow for checking sync/async read() and write() functions yet, but once I finish implementing functions that enable adding/removing routes from the interface that should change :thumbsup:


feat(cli): When creating env, make tar in tmp dir to avoid polluting cwd

Thanks 👍

No worries my dear friend Thomas


Listing contents

How do I list the files of a specific folder ?

you can use $service->dir('[dir_name]');

should i use foreach because i can only return the status if i use print_r($service)

looping through depends on the parser which you use. doing a var_dump/print_r should tell you what the return data is. If its not a valid XML then the request is failing.

Then how do i parse it to get the contents ?

please google for xml parsers

When i print_r the service i'm getting the status "200" which means its working. But the format of the status is like this
Akamai_Netstorage_Service Object ( [host] =>xxxxxxx.akamaihd.net [auth] => Akamai_Netstorage_Authorize Object ( [key] => xxxxxxxxxxxxxxxxxxx [key_name] => xxxxxxxxxx [client] => <IP_ADDRESS> [server] => <IP_ADDRESS> [time] => xxxxxxxxxx [unique_id] => xxxxxxxxxx [version] => 5 [_data:Akamai_Netstorage_Authorize:private] => 5, <IP_ADDRESS>, <IP_ADDRESS>, xxxxxxx, xxxxxxxxxx, xxxxxxxxxxxx ) [version] => 1 [_http:Akamai_Netstorage_Service:private] => [_last_status_code:Akamai_Netstorage_Service:private] => 200 )
I have replaced the actual values with x.

its working now I'm getting whole lot of details. need to extract only the directory name. Thanks i can work on this now.


When changing Hosted Linux Preview to Hosted Ubuntu 16.04, while pulling the nginx, build is failing

Thank you for your feedback!
The issues in this repo are for documentation feedback.
The dockerfile we are using is the below.
FROM nginx
COPY dist /usr/share/nginx/html
COPY DockerImage/default.conf /etc/nginx/conf.d/default.conf
Fails with an error:
Step 1/5 : FROM nginx
latest: Pulling from library/nginx
no matching manifest for unknown in the manifest list entries
##[error]C:\Program Files\Docker\docker.exe failed with return code: 1
##[section]Finishing: Build Docker Image
Need your recommendations on how to fix if this issue.
Please report Azure DevOps or TFS software bugs, feedback, or questions in the Azure DevOps Developer Community.

@kireeti123 we were unable to reproduce this issue on Hosted Ubuntu 16.04 agents


typo causing broken link redirection in spanish docs

Description
On the Spanish version of the "Static Files" page (https://expressjs.com/es/starter/static-files.html), the "documentación en inglés" link points to an incorrect URL:

Incorrect URL: https://expressjs.com/en/starter/static-filen.html
Expected URL: https://expressjs.com/en/starter/static-files.html

This typo ("filen" instead of "files") results in a 404 error.

Supporting Evidence

Screenshot of the Spanish page:

Screenshot of the broken link:

Attempts to Debug
I tried searching for the typo "filen" in the repository but couldn't locate it. I guess the URL is being dynamically generated, but I have no clue on how to fix it.

Expectations
Should redirect to this page: https://expressjs.com/en/starter/static-files.html

Wow, that's very strange, that shouldn't happen

Wow, seeing your response, it gave me an idea, out of the blue, and I realised what's going on! It seems that when replacing the language code es with en, it’s matching the es in the filenames too.
To verify, I checked for similar cases, and the same issue occurs on pages like:
https://expressjs.com/es/guide/behind-proxies.html
https://expressjs.com/es/guide/using-template-engines.html
This pattern happens with any file whose name ends in es. So, yeah, it’s not a simple typo but a bug.
I hope this helps @bjohansebas !

@1fbr Thanks for the information, this is really helpful.
PRs are always welcome if anyone has a possible solution in code.


quic: update ddd makefile and demo sources

Update makefile and fix some signedness issues in the demo sources. Also, determine the length of the message we are sending and send that many bytes (rather than send sizeof the buffer storing the message).
These changes are part of https://github.com/openssl/project/issues/253

Thanks for your comments, Pauli.
I've fixed all the indentation issues and will mark those as resolved.

This pull request is ready to merge

Merged to master and 3.2. Thank you.


fix the embedding saving for adaption prompt

What does this PR do?

For Adaption prompt, the embedding saving feature is currently broken. This PR fixes that.
Automate setting save_embedding_layers when embedding layer is resized during finetuning

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

It would also be nice to have a test, but not a must.

Will do it in a follow up PR


Hrisay can't generate parcelable classes with non-parcelable superclass

I'm trying to use @Parcelable annotation from Hrisey library for parcelable class which should (for various reasons) extend POJO class directly (It can't be parcelable itself and I don't want to use abstract classes in the middle. It has to be direct inheritance). The thing which I want to achieve is:
public class Dummy2 {

private int valueInt;
private String valueString;

public int getValueInt() {
    return valueInt;
}

public void setValueInt(final int valueInt) {
    this.valueInt = valueInt;
}

public String getValueString() {
    return valueString;
}

public void setValueString(final String valueString) {
    this.valueString = valueString;
}
}

and the second class:
import hrisey.Parcelable;

@Parcelable
public class Dummy1 extends Dummy2 implements android.os.Parcelable {

}

The problem is that when I'm trying to build (gradlew clean build) this code with gradle I've following error:
error: cannot find symbol
  symbol: method writeToParcel(Parcel,int)

Additionally, I've done also build execution with --stacktrace flag and the output is (only exception):
09:25:20.478 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.DependencyGraphBuilder] Selecting new module version com.android.support:support-v4:23.0
        at org.gradle.launcher.daemon.server.exec.DaemonCommandExecution.proceed(DaemonCommandExecution.java:119)
        at org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment.doBuild(EstablishBuildEnvironment.java:70)
        at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:34)
        at org.gradle.launcher.daemon.server.exec.DaemonCommandExecution.proceed(DaemonCommandExecution.java:119)
        at org.gradle.launcher.daemon.server.exec.DaemonHygieneAction.execute(DaemonHygieneAction.java:39)
        at org.gradle.launcher.daemon.server.exec.DaemonCommandExecution.proceed(DaemonCommandExecution.java:119)
        at org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy$1.run(StartBuildOrRespondWithBusy.java:46)
        at org.gradle.launcher.daemon.server.DaemonStateCoordinator$1.run(DaemonStateCoordinator.java:246)
        at org.gradle.internal.concurrent.DefaultExecutorFactory$StoppableExecutorImpl$1.run(DefaultExecutorFactory.java:64)
Caused by: org.gradle.api.internal.tasks.compile.CompilationFailedException: Compilation failed; see the compiler error output for details.
        at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:44)
        at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:35)
        at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.delegateAndHandleErrors(NormalizingJavaCompiler.java:97)
        at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler.java:50)
        at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler.java:36)
        at org.gradle.api.internal.tasks.compile.CleaningJavaCompilerSupport.execute(CleaningJavaCompilerSupport.java:34)
        at org.gradle.api.internal.tasks.compile.CleaningJavaCompilerSupport.execute(CleaningJavaCompilerSupport.java:25)
        at org.gradle.api.tasks.compile.JavaCompile.performCompilation(JavaCompile.java:158)
        at org.gradle.api.tasks.compile.JavaCompile.compile(JavaCompile.java:138)
        at org.gradle.api.tasks.compile.JavaCompile.compile(JavaCompile.java:92)
        at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:63)
        at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$IncrementalTaskAction.doExecute(AnnotationProcessingTaskFactory.java:235)
        at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:211)
        at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$IncrementalTaskAction.execute(AnnotationProcessingTaskFactory.java:222)
        at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:200)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:80)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:61)
        ... 54 more

Maybe it is a limitation of this library or annotation processing but based the documentation examples it looks like such inheritance should be possible. Anyway, I don't think that it is such rarely situation to try to inherit from POJO class. I think that it will require some investigation. Thanks!

This is a limitation of this library. I've made an assumption that every class parcels its own fields. If there was no such assumption, having a proper and intuitive implementation for your case would most likely be impossible to achieve. Let me give you an example how far can this go based on your code:

base class doesn't implement Parcelable, so
it should be ignored
it should not be ignored
if not ignored
fields are private, so
1. they should be made protected during compilation and used directly
2. matching getters and setters should be found

what if there are getters and setters without backing field?
what if there are fields without getter and/or setter?

It's just a simple analysis of the problem and we could probably find a few more decisions to be made. There is also no single solution that would be ok for all developers.
It's unlikely you are the only person having this requirement for your code (I've heard from one more person about this), but I'd want the code to be explicit about what it does. In your case you most likely want to use getters and setters to parcel fields from base class.

Thanks for the explanation! Do you have plan to investigate this issue and prepare some solution (if possible) ? Or this issue should be just closed as 'Won't fix' because of the mentioned limitations ? Thanks in advance.

I don't think there is a single working solution for all use cases.
Actually someone has asked similar thing on Hrisey's Gitter a few months ago about extending abstract classes.
If you want to start discussion on how this could be solved with code generation, I'd suggest adding a few (failing) test cases. This is a very simple operation. Just adding two files with two classes: one with annotation and the other with generated code. Take a look at ParcelableInt before and after applying transformation.
And I have just found that I even added Parcelable extending non-parcelable (it's ignored tho), which might be a good template for you to state with tests what should happen.


Portfolio Setup and Mobile First: Add index.html, style.css and Linters

Work Done

Added the index.html, style.css files and images for the portfolio site
Added the HTML/CSS linters to check for errors.
Implemented flexbox

Work Done After Review

Removed logo from nav tag
Adjusted the alignment of sections to be uniform
Added header tag after the main container div
Replaced div with section tag in the social media icons
Used an unordered list in the social media section
Revised general structure of the design to include all background images and alignments


Challenge 6

We have received our Raspberry Pi some time ago.
But the last challenge has not been published yet.
Will it still be published?

Was just thinking the same :upside_down_face:

One last bump for this question, since it has been a while.


add search feature in the explore tab

Reviewed the PR process mentioned here: https://github.com/WikiEducationFoundation/apps-android-wikiedudashboard/blob/master/CONTRIBUTING.md#pull-request-process
What this PR does
Fixes #280
This PR adds a search feature to both active courses as well as active campaigns page in the Explore tab.
Screenshots
Before:

After:

Hi @hemilpanchiwala, it will be nice to have search option in toolbar. Similar to whatsApp.

@ujjwalagrawal17, in the toolbar it should simultaneously search in both the pages?

Yes, It will show results of the tab selected.

@ujjwalagrawal17 Now I have added the search option in the toolbar
Screenshots below:

Thanks @hemilpanchiwala .


[Feature]: Document C, C++, Rust chat clients and server

Is there an existing issue for this?

[X] I have searched the existing issues

Description
For the Semester of Code, we would like to ask the students Kieran and UD to document how to the C, C++, and Rust chat clients and server work.
Acceptance Criteria
This documentation would be part of the Codex README for each implementation and also one or more tutorials over at Wasm.Builders.
Suggestions for a technical implementation
No response

@nickvidal semester ended. Where are we with this one?


[2191] Update UCAS applicant alert preferences

Context
A providers UCAS applicant alert preferences need to be exposed and updatable via the V2 API as per our agreement with UCAS.
Changes proposed in this pull request

Expose providers send_application_alerts
send_application_alerts and application_alert_email can be updated

Checklist

[x] Make sure all information from the Trello card is in here
[x] Attach to Trello card
[x] Rebased master
[x] Cleaned commit history
[x] Tested by running locally

 Update provider UCAS preferences - applicant alert preferences

rebased


Justify must be checked with custom paraseps

We can only know it's working if we use a three-paragraph test with paragraphs preserved and a custom parasep that includes displayed characters.
Add a unit test for this case, and if it fails, patch the issue.

To clarify this is Editor.Justify, not Editor.JustifyLine


Updated the list of supported regions for ZR preview for BC tier

@AbdullahMSFT
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@AbdullahMSFT
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged" @MicrosoftDocs/public-repo-pr-review-team

I am a PM for SQL DB, not MI @Court72.


Fix: String#tr String#tr! String#tr_s String#tr_s!

Closes #765

Hi @ekroon thanks for the PR. I haven't gotten a chance to review this yet, but I noticed the Audit workflow failing for a silly reason so, I put up https://github.com/artichoke/artichoke/pull/1013.
If you rebase to pick up https://github.com/artichoke/artichoke/commit/ac3086fc77aa6c773791c506e774fc629facefc9, the build should turn all green.

Hi @ekroon thanks for the PR. I haven't gotten a chance to review this yet, but I noticed the Audit workflow failing for a silly reason so, I put up https://github.com/artichoke/artichoke/pull/1013.
If you rebase to pick up https://github.com/artichoke/artichoke/commit/ac3086fc77aa6c773791c506e774fc629facefc9, the build should turn all green.

Hi @lopopolo this is ready for review now. I refactored some code duplication from first version and a superfluous call to to_a after chars. I would like to replace the call to chars.map to each_char, but each_char is not implemented yet, so I left it like this.

Hi @lopopolo this is ready for review now. I refactored some code duplication from first version and a superfluous call to to_a after chars. I would like to replace the call to chars.map to each_char, but each_char is not implemented yet, so I left it like this.

@lopopolo Thanks for the review. I implemented your proposed changes. I added a separated commit but you might want them squashed before merging?

@lopopolo Thanks for the review. I implemented your proposed changes. I added a separated commit but you might want them squashed before merging?


SetExpectedErrors allows only one error per status code

An endpoint may fail for different reasons with the same status code, e.g.:

It would be useful to be able to document multiple reasons an endpoint request can fail with the same status code. In my use case, the client can create a "prediction" via a JSON blob, and there are a million things that can be wrong with it, but most of them will be a BadRequest.
OpenAPI v3 supports this feature via oneOf: https://stackoverflow.com/questions/36576447/swagger-specify-two-responses-with-same-code-based-on-optional-parameter
As a separate easier question, the interface for SetExpectedErrors takes a list of errors, but there are implicit requirements for those errors to actually appear on the docs, e.g. a .Status() int function. Would you be able to clarify what exactly do I need to implement to make this work? Cheers.

Hi, I just experimented a bit with oneOf (and less restrictive anyOf) and found out it is not so straightforward and easy to use, I'll need to improve implementation to make is simpler.
As for status indicators and other error flavors, they are defined in https://github.com/swaggest/rest/blob/v0.2.26/error.go#L10-L32 and used in https://github.com/swaggest/rest/blob/v0.2.26/error.go#L45-L72. I need to document them to make more discoverable, but I haven't found a good place for such docs so far. SetExpectedErrors might be a good host for these docs, but it resides in a different module, independent of any HTTP concerns.

Please check if #73 (merged and tagged with v0.2.27) fits your needs.


Fix/Loop Protect - Disable //noprotect

Pre-Submission Checklist

[x] Your pull request targets the staging branch of FreeCodeCamp.
[x] Branch starts with either fix/, feature/, or translate/ (e.g. fix/signin-issue)
[x] You have only one commit (if not, squash them into one commit).
[x] All new and existing tests pass the command npm run test-challenges. Use git commit --amend to amend any fixes.

Type of Change

[x] Small bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds new functionality)
[ ] Breaking change (fix or feature that would change existing functionality)
[ ] Add new translation (feature adding new translations)

Checklist:

[x] Tested changes locally.
[x] Closes currently open issue (replace XXXX with an issue no): Closes #9114

Description

A possible solution to this issue is to disable disableLoopProtection, this renders //noprotect useless. It is now just a comment.
I have also removed any reference to //noprotect from any error messages.

Thanks @Bouncey, Please read the issue carefully. It is not to remove //noprotect as a feature but to prevent it from being saved to localStorage.
Happy Coding


Does not request IP from DHCP.

Created generation 2 hyper-v vm with hassos_ova-2.12.vhdx, 1GB static RAM (as in "not dynamic").
Added the vm MAC to my DHCP server to provide a static address.
Boot ok, but does not request any address to the DHCP server, stuck at "udevd[8]: starting eudev-3.2.8" after 7 seconds.  Hyper-V console show no ip address.
I can see in the boot screen "IPv6 ... link becomes ready", but nothing about IPv4.
No IP, so, no access to the web UI.

Any suggestions?

Same problem with the NUC image. https://github.com/home-assistant/hassio/issues/1310

Which vSwitch do you use? Which Hypervisor?
Could you try to disable the MAC Filter on your DHCP Server?

Hypervisor: N/A (NUC image).
Directly into and Edgerouter X.
MAC filtering is not enabled.
Works fine when using the docker install method on Ubuntu Server LTS.

The vSwitch is configured to be an "external" switch and it is shared with the host.  The hypervisor, as I said, is Hyper-V on a Windows Server 2016 Standard host.  When you say "disable the MAC filter", I suppose you want the VM virtual NIC to get a random IP from the DHCP server and not a static one associated with the MAC.  Or, do you want me to assign a static IP on the card?  I suppose it is the first one because I can't assign a static IP on the card when the machine does not boot.  I don't understand how a DHCP filter would cause this problem, but I will try anyway,

Removed the MAC adress association from my DHCP server.  Same symptoms.  More details : The IPv6 link state toggle from ready to not ready.  Still nothing about IPv4 in the console and no IP adress shown on the HyperVisor.

Here is a screenshot if it can help you.

Sorry, yes MAC association. Which Configuration Version do you use? 8?
I had basically the same problem on my Hyper-V Server 2016. Try to re-download the image and recreate a new VM. Then, check Secure Boot Options. I know there's a Bug in Server 2016 with it.
May sounds confusing, but that worked for me.
Plus, I read something about Docker on Hyper-V not passing the correct option sets on nested virtualisation. Thus ´´Set-VMProcessor -VMName "" -ExposeVirtualizationExtensions $true´´

Yes, it is a version 8.0.    When you say "Check secure boot options", what options do you want me to check?  Presently, none of the checkbox is checked on any of the three group box.  I don't understand why recreating the same VM with the same image should give a different result, but I will try.

Before reinstalling the VM, I executed the command on my present VM.  No changes.  I will try again on the new VM.

Tried a new VM with the new OVA 3.5 image, same symptoms.  As I specified before, I was using OVA 2.12 before.  Execution of the powershell command afterward did nothing.  I understand you have a working hyper-v VM with an OVA image?  If so, is it possible to provide me your hyper-v VM files (without the vHardDisk) so I can "mount it", try it and if it works, compare this one and mine?

So, one after another.
In my case, I think I remember doing the same thing again solved my problem. It's a miracle, as Queen would say and often the case with MS products IMHO.
Did you try the vhdx or the ova?
Unfortunately I use 2019 with Config v9, so my VM wouldn't run on yours.
You have to execute the powershell command on the Hypervisor
What if you run Hyper-V on your computer? (If it's WIn10, then you could use my machine)

I tried the only image who, I understand, will work on hyper-v : hassos_ova-3.5.vhdx.gz.  As explained, I did execute the command on the hypervisor (host).  Even if I try and run it on Win10 and works, it is not what I need and will not help to make it work on Server 2016.  IMHO, with linux, the simplest thing involve modifying obscure text files somewhere you must google to find and where the content have cryptic single words parameters with difficult to find help for their purpose and the possible values.  Or you must download tools not pre-installed that a noob like me must search to find which and spend a whole day for something who should take 5 minutes, like this one.   The reason I want a pre-built image is because I didn't want to lose time to configure it.  Plug and play, I thought.  I kn ow network, I know VM, so, how hard should it be!  Well, this is another "easy" linux thing who become almost impossible to solve without a lot of time.  I declare forfeit, I will wait for a Windows version, event if it takes years.

@sbeaudoin I downloaded the official Hyper-V image from here: https://github.com/home-assistant/hassos/releases/download/2.12/hassos_ova-2.12.vhdx.gz, 'cause, as written in the documentation, the OVA won't work atm.
Then I, as I'm somehow are in a good mood ;) , created an older Hyper-V VM for you here:
https://internal-hass-dev.s3.eu-central-1.amazonaws.com/HassOS-8.rar

Download the RAR,
extract it to your Hypervisor,
Replace the "hassos_ova-2.12.vhdx" Folder with the image above
Import it in the Hyper-V MMC to your Hypervisor
Go and learn Linux. You'll need it in the future. #WSL

If this is still not working, you try Docker on Windows.

Thank you for the mood and effort, but I still have the same problem.  I now suspect an incompatibility with my network card.  I got a true Intel 1Gb card for cheap, I will try it some times in the future and it will surely be better than my on-board realtek card.  I'll need linux in the future?  Yeah, right...  At the same time I will appreciate a good punch in the face!  Who knows...  ;-)

I have the exact same issue too, not connecting to ipv4 supporting router. Same works fine with ipv6 supporting router. Looks like it still isn't fixed since reported back in Oct.

Pretty sure it's related to the WIFI Adapter (or driver). Had the exact same issue trying to run my WIFI Adapter in bridged mode in Hyper-V. Resolved by bridging the Ethernet adapter and using a wired connection instead, with no other changes.


Turkish character problem

I have problem in Turkish characters. It writes '?' instead of character. Turkish characters are  ğ, Ğ, ç, Ç, ş, Ş, ü, Ü, ö, Ö, ı, İ .How can I solve it ?

@leesiongchan

Will need to expose the charset API in order to fix this, I will see if I have extra time over the weekend.

Thank you! I'll wait for this

@sefatamak sorry haven't had time to look into it yet... I will look into this once I have time, I will need to provide this feature nonetheless.

Ok I will wait you @leesiongchan

This would be much neeeded. Im trying to implement Czech characters (https://en.wikipedia.org/wiki/Windows-1250)

Same as #57


Fix StreamEvent,next reference leak when update in-memory table

It is the root cause of  CPU cost by getLastEvent while add/remove event in ComplexEventChunk
https://github.com/siddhi-io/siddhi/issues/1270
Purpose

Resolve https://github.com/siddhi-io/siddhi/issues/1270

Goals

It is a bug when try to reset the updated stream events retrieved from find method, as in-memory table did not clone event, so if the next was not reset, it will cause problem.

Approach

It is a simple fix.

Release note

Fix bug for potential dead loop caused by in-memory table update. this only happen when update in-memory table not via primary key.

Documentation

N/A

Automation tests

Unit tests

N/A

Integration tests

N/A

Security checks

Followed secure coding standards in http://wso2.com/technical-reports/wso2-secure-engineering-guidelines? yes
Ran FindSecurityBugs plugin and verified report? yes
Confirmed that this PR doesn't commit any keys, passwords, tokens, usernames, or other secrets? yes

Samples

N/A

Related PRs

N/A

Test environment

N/A

Codecov Report

Merging #1330 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##             master    #1330      +/-   ##
============================================
+ Coverage     62.71%   62.71%   +<.01%
  Complexity       37       37
============================================
  Files           624      624
  Lines         25658    25661       +3
  Branches       4038     4038
============================================
+ Hits          16091    16093       +2
  Misses         8260     8260
- Partials       1307     1308       +1

Impacted Files
Coverage Δ
Complexity Δ

...i/core/util/collection/operator/IndexOperator.java
91.11% <100%> (+0.3%)
0 <0> (ø)
:arrow_down:

...java/io/siddhi/core/stream/input/InputHandler.java
77.41% <0%> (-3.23%)
0% <0%> (ø)

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 bf509c5...a7e4a38. Read the comment docs.

Thank you very much for the fix :)

We are still using 4.x, can you help back port it to 4.x branch? Or I create another PR? Thanks!

I'll move this to 4.x

I have backported https://github.com/siddhi-io/siddhi/pull/1335 will release a new version soon


Update docs for cloud deployment using helm.

Notes for Reviewers
This PR fixes #
Signed commits

[ ] Yes, I signed my commits.

Thank you for your contribution @MUzairS15,
Let's discuss this on Websites's call on Monday. Adding this as an agenda item into the meeting minutes.


How to train on my own coco_like dataset

❓ Questions and Help
I tried to train the model on my own dataset but it failed with the following error:
> `loading annotations into memory...
Done (t=0.00s)
creating index...
Traceback (most recent call last):
File "", line 1, in
runfile('/media/portablelinux/OS/Users/afeka/Pictures/maskrcnn-benchmark/tools/train_net.py', wdir='/media/portablelinux/OS/Users/afeka/Pictures/maskrcnn-benchmark/tools')
File "/home/portablelinux/anaconda3/envs/maskrcnn_benchmark/lib/python3.7/site-packages/spyder_kernels/customize/spydercustomize.py", line 786, in runfile
execfile(filename, namespace)
File "/home/portablelinux/anaconda3/envs/maskrcnn_benchmark/lib/python3.7/site-packages/spyder_kernels/customize/spydercustomize.py", line 110, in execfile
exec(compile(f.read(), filename, 'exec'), namespace)
File "/media/portablelinux/OS/Users/afeka/Pictures/maskrcnn-benchmark/tools/train_net.py", line 174, in
main()
File "/media/portablelinux/OS/Users/afeka/Pictures/maskrcnn-benchmark/tools/train_net.py", line 167, in main
model = train(cfg, args.local_rank, args.distributed)
File "/media/portablelinux/OS/Users/afeka/Pictures/maskrcnn-benchmark/tools/train_net.py", line 60, in train
start_iter=arguments["iteration"],
File "/media/portablelinux/OS/Users/afeka/Pictures/maskrcnn-benchmark/maskrcnn_benchmark/data/build.py", line 160, in make_data_loader
datasets = build_dataset(dataset_list, transforms, DatasetCatalog, is_train)
File "/media/portablelinux/OS/Users/afeka/Pictures/maskrcnn-benchmark/maskrcnn_benchmark/data/build.py", line 49, in build_dataset
dataset = factory(**args)
File "/media/portablelinux/OS/Users/afeka/Pictures/maskrcnn-benchmark/maskrcnn_benchmark/data/datasets/coco.py", line 43, in init
super(COCODataset, self).init(root, ann_file)
File "/home/portablelinux/anaconda3/envs/maskrcnn_benchmark/lib/python3.7/site-packages/torchvision-0.2.1-py3.7.egg/torchvision/datasets/coco.py", line 97, in init
self.coco = COCO(annFile)
File "/home/portablelinux/anaconda3/envs/maskrcnn_benchmark/lib/python3.7/site-packages/pycocotools-2.0-py3.7-linux-x86_64.egg/pycocotools/coco.py", line 88, in init
self.createIndex()
File "/home/portablelinux/anaconda3/envs/maskrcnn_benchmark/lib/python3.7/site-packages/pycocotools-2.0-py3.7-linux-x86_64.egg/pycocotools/coco.py", line 98, in createIndex
anns[ann['id']] = ann
KeyError: 'id'`
does anyone have an Idea of what causes the problem ?
attached a sample of the json of the train  set  :
created using labelme :
https://github.com/wkentaro/labelme
annotations_train.zip

It looks like LabelMe does not prepare the json in the exact format the COCO API is expecting it, as the error is raised inside pycocotools.
I'd recommend manually correcting the fields which have the wrong names. Check http://cocodataset.org/#format-data for the official names.

It looks like LabelMe does not prepare the json in the exact format the COCO API is expecting it, as the error is raised inside pycocotools.
I'd recommend manually correcting the fields which have the wrong names. Check http://cocodataset.org/#format-data for the official names.

Thank You very much for your help.
I have made a very small subset to test if the labelme is suitable for the task.
can you recommend of other labeling tool that wouldn't require me to make changes in  files inside pycocotools.?

Hi,
I don't actually know which tool to use unfortunately. But I'd expect the changes to the yaml file to be minimal.
Maybe @maxsenh could tell what changes he needed to make it work in his case https://github.com/facebookresearch/maskrcnn-benchmark/issues/408#issuecomment-463131520 ?

Hi,
I don't actually know which tool to use unfortunately. But I'd expect the changes to the yaml file to be minimal.
Maybe @maxsenh could tell what changes he needed to make it work in his case #408 (comment) ?

Thank You Very Much ,
It's a good idea,
I'll ask him if the problem doesn't get solved soon as I might have figured it.
In MY case if I am not mistaken the problem is with the script I have used to create the annotation file,
as it decode the polygon dots  :

I am now working on solving  that.
But a little future problem after running a train once on the coco dataset,
I can't figure how run another train nor using a different config file (created by changing the dataset from coco2017 to a toy shapes data-set ) it runs evaluation again and again regardless of that the config files has different names and that it's mounted with a different data set.

can't figure how run another train nor using a different config file (created by changing the dataset from coco2017 to a toy shapes data-set ) it runs evaluation again and again regardless of that the config files has different names and that it's mounted with a different data set.

Maybe you have a checkpoint in the same folder, and this checkpoint is being picked up? I'd recommend changing the OUTPUT_DIR folder to be different


python3 PyBER.py data.refs.readers

Hi,
While launching:
python3 PyBER.py
I encountered the following issue:
===== 2019.10.14 16:10:56 =====
Traceback (most recent call last):
File "PyBER.py", line 31, in
import fileExplorer
File "/home/mbaron/aff3ct/PyBER-master/fileExplorer.py", line 25, in
from data.refs.readers.aff3ct_trace_reader import aff3ctTraceReader
ModuleNotFoundError: No module named 'data.refs.readers'

thanks

It looks like you did not get the Git sub-modules. Try to get the sub-modules by calling git submodules update --init --recursive in the root directory of the PyBER repo.

Hi,
I have followed the instructions as mentioned in above linked comment. After using the comment "git submodule update --init --recursive" i have tried to run the comment "python PyBER.py". But i am still facing the following issue:
===== 2019.11.12 15:11:02 =====
Traceback (most recent call last):
File "PybER.py", line 31, in
import fileExplorer
File "C:\Project\aff3ct\PyBER-master\fileExplorer.py", line 25, in
from data.refs.readers.aff3ct_trace_reader import aff3ctTraceReader
ModuleNotFoundError: No module named 'data.refs.readers'
Thanks


Current project status

Hi, what is the current status of this project? Is it still actively maintained?

I am wondering the same...

@evilpacket @nlf

Updated status in https://github.com/nodesecurity/eslint-plugin-security/issues/33


Systemd support

This would allow many programs to run  without needing to look for alternatives or having to be janky with solutions for programs like wireguard,openssh,etc

This is not possible since we are using rootfs images, but you can create or modify the run script to run your specific services at boot.


Define SecurityContext for test Pods

Related to https://github.com/knative/eventing/issues/6563
This is to allow running test pods in namespace with enforced "restricted" pod security standard.
This PR builds on https://github.com/knative/pkg/pull/2625.

Changes

/kind

Fixes #

Release Note

Docs

/cherry-pick release-1.8


Rough cut

👋 @iamasid
To check out the progress:

git clone https://github.com/Veditum/postcards.git: makes a copy of this repo on your machine
cd postcards/
git checkout first-cut: Checks out the first-cut branch (main branch is called master)
open postcards.html

Next actions

[x] @iamasid to confirm the location of a postcard that is wrongly placed presently

[ ] @arunasank to update the code/data

[ ] @iamasid to review the LICENSE
[x] @iamasid to review the work so far, and offer any critique he has, for the next few iterations.

I want to redesign the map to make it more stark - something like a white background, so all the data on it has a lot of emphasis, and so that the postcards stand out more. Also want to take some advice regarding the front end look from some good front-end engineer friends.
Will continue pushing here.

👋  @arunasank
Just updated the lat-long for the one remaining image, and re-ordered the files in the html file. Now we can focus on:

Flight: so that it appears like a forward-backward movement when user scrolls.
Labels for locations of the postcard stories.
Short description for each postcard maybe.
Experimenting with map style .

Super! Now to adjust zoom + pitch for all and bearing for the last postcard.


Fix security issue from Microsoft.AspNetCore.SignalR  1.0.0 version

Questions: Should we use floating version to get the latest patch version automatically?
Vulnerable transitive dependencies update

Microsoft.AspNetCore.Http  2.1.0 -> 2.1.22
Microsof.tAspNetCore.Http.Connections 1.0.0 -> 1.0.15
Microsoft.AspNetCore.WebSockets 2.1.0 -> 2.1.7
System.Net.WebSockets.WebSocketProtocol 4.5.0 -> 4.5.3

Other packages updates to resolve version conflicts

Microsoft.AspNetCore.Http.Connections.Common 1.0.0 -> 1.0.4
Microsoft.Extensions.Logging.Abstractions 2.1.0 -> 2.1.1
Microsoft.AspNetCore.Connections.Abstractions 2.1.0 -> 2.1.2
Microsoft.Extensions.Primitives 2.1.0 -> 2.1.2

Use a tool locally to running detection like online Component Governance to get the following report:

Scanning report
[INFO] ======================================================
[INFO]     Component: Microsoft.AspNetCore.WebSockets 2.1.0 - NuGet
[INFO]      Found In: /src/Microsoft.Azure.SignalR/Microsoft.Azure.SignalR.csproj
[INFO]      Found In: /src/Microsoft.Azure.SignalR.Management/Microsoft.Azure.SignalR.Management.csproj
[INFO] ======================================================
[INFO] ------------------ Vulnerability #1 ------------------
[INFO]         Title: CVE-2019-0548
[INFO]      Severity: Moderate
[INFO]   Description: A denial of service vulnerability exists when ASP.NET Core improperly handles web requests, aka "ASP.NET Core Denial of Service Vulnerability." This affects ASP.NET Core 2.2, ASP.NET Core 2.1. This CVE ID is unique from CVE-2019-0564.
[INFO]   Remediation: Upgrade to version Microsoft.AspNetCore.SignalR - 1.1.0; Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets - 2.2.1; Microsoft.AspNetCore.Server.IIS - 2.2.1; Microsoft.AspNetCore.Server.IISIntegration - 2.2.1;Microsoft.AspNetCore.Server.Kestrel.Core - 2.1.7
[INFO]      Fixed In:
[INFO]           URL: https://vuln.whitesourcesoftware.com/vulnerability/CVE-2019-0548
[INFO] ------------------ Vulnerability #2 ------------------
[INFO]         Title: CVE-2019-0564
[INFO]      Severity: Moderate
[INFO]   Description: A denial of service vulnerability exists when ASP.NET Core improperly handles web requests, aka "ASP.NET Core Denial of Service Vulnerability." This affects ASP.NET Core 2.1. This CVE ID is unique from CVE-2019-0548.
[INFO]   Remediation: Upgrade to version Microsoft.AspNetCore.WebSockets - 2.1.7,2.2.1;Microsoft.AspNetCore.Server.Kestrel.Core - 2.1.7;System.Net.WebSockets.WebSocketProtocol - 4.5.3;Microsoft.NETCore.App - 2.1.7,2.2.1;Microsoft.AspNetCore.App - 2.1.7,2.2.1;Microsoft.AspNetCore.All - 2.1.7,2.2.1
[INFO]      Fixed In:
[INFO]           URL: https://vuln.whitesourcesoftware.com/vulnerability/CVE-2019-0564
[INFO]
[INFO] ======================================================
[INFO]     Component: Microsoft.AspNetCore.Http 2.1.0 - NuGet
[INFO]      Found In: /src/Microsoft.Azure.SignalR/Microsoft.Azure.SignalR.csproj
[INFO]      Found In: /src/Microsoft.Azure.SignalR.Management/Microsoft.Azure.SignalR.Management.csproj
[INFO] ======================================================
[INFO] ------------------ Vulnerability #1 ------------------
[INFO]         Title: CVE-2020-1045
[INFO]      Severity: Moderate
[INFO]   Description: A security feature bypass vulnerability exists in the way Microsoft ASP.NET Core parses encoded cookie names.The ASP.NET Core cookie parser decodes entire cookie strings which could allow a malicious attacker to set a second cookie with the name being percent encoded.The security update addresses the vulnerability by fixing the way the ASP.NET Core cookie parser handles encoded names., aka 'Microsoft ASP.NET Core Security Feature Bypass Vulnerability'.
[INFO]   Remediation: Upgrade to version Microsoft.AspNetCore.App - 2.1.22, Microsoft.AspNetCore.All - 2.1.22,Microsoft.NETCore.App - 2.1.22, Microsoft.AspNetCore.Http - 2.1.22
[INFO]      Fixed In:
[INFO]           URL: https://vuln.whitesourcesoftware.com/vulnerability/CVE-2020-1045
[INFO]
[INFO] ======================================================
[INFO]     Component: Microsoft.AspNetCore.Http.Connections 1.0.0 - NuGet
[INFO]      Found In: /src/Microsoft.Azure.SignalR/Microsoft.Azure.SignalR.csproj
[INFO]      Found In: /src/Microsoft.Azure.SignalR.Management/Microsoft.Azure.SignalR.Management.csproj
[INFO] ======================================================
[INFO] ------------------ Vulnerability #1 ------------------
[INFO]         Title: CVE-2020-0603
[INFO]      Severity: Critical
[INFO]   Description: A remote code execution vulnerability exists in ASP.NET Core software when the software fails to handle objects in memory.An attacker who successfully exploited the vulnerability could run arbitrary code in the context of the current user, aka 'ASP.NET Core Remote Code Execution Vulnerability'.
[INFO]   Remediation: Upgrade to version Microsoft.AspNetCore.Http.Connections - 1.0.15;Microsoft.AspNetCore.App - 2.1.15,3.0.1,3.1.1;Microsoft.AspNetCore.All - 2.1.15
[INFO]      Fixed In:
[INFO]           URL: https://vuln.whitesourcesoftware.com/vulnerability/CVE-2020-0603
[INFO] ------------------ Vulnerability #2 ------------------
[INFO]         Title: CVE-2020-0602
[INFO]      Severity: Moderate
[INFO]   Description: A denial of service vulnerability exists when ASP.NET Core improperly handles web requests, aka 'ASP.NET Core Denial of Service Vulnerability'.
[INFO]   Remediation: Upgrade to version Microsoft.AspNetCore.Http.Connections - 1.0.15;Microsoft.AspNetCore.App - 2.1.15,3.0.1,3.1.1;Microsoft.AspNetCore.All - 2.0.15
[INFO]      Fixed In:
[INFO]           URL: https://vuln.whitesourcesoftware.com/vulnerability/CVE-2020-0602
[INFO]
[INFO] ======================================================
[INFO]     Component: System.Net.WebSockets.WebSocketProtocol 4.5.0 - NuGet
[INFO]      Found In: /src/Microsoft.Azure.SignalR/Microsoft.Azure.SignalR.csproj
[INFO]      Found In: /src/Microsoft.Azure.SignalR.Management/Microsoft.Azure.SignalR.Management.csproj
[INFO] ======================================================
[INFO] ------------------ Vulnerability #1 ------------------
[INFO]         Title: CVE-2019-0564
[INFO]      Severity: Moderate
[INFO]   Description: A denial of service vulnerability exists when ASP.NET Core improperly handles web requests, aka "ASP.NET Core Denial of Service Vulnerability." This affects ASP.NET Core 2.1. This CVE ID is unique from CVE-2019-0548.
[INFO]   Remediation: Upgrade to version Microsoft.AspNetCore.WebSockets - 2.1.7,2.2.1;Microsoft.AspNetCore.Server.Kestrel.Core - 2.1.7;System.Net.WebSockets.WebSocketProtocol - 4.5.3;Microsoft.NETCore.App - 2.1.7,2.2.1;Microsoft.AspNetCore.App - 2.1.7,2.2.1;Microsoft.AspNetCore.All - 2.1.7,2.2.1
[INFO]      Fixed In:
[INFO]           URL: https://vuln.whitesourcesoftware.com/vulnerability/CVE-2019-0564
[INFO]

Why are you doing this? You're going from a supported version to an unsupported version.

A security risk is detected in our pipeline. The root dependency that introduces the risk is Microsoft.AspNetCore.SignalR 1.0.0 and 1.1.0 is the lowest version that solves this. Other dependencies are updated to resolve the version conflicts.
If you mean Microsoft.Extensions.Logging.Abstractions with 2.2.* is not supported, I could just add explicit reference to Microsoft.AspNetCore.Http.Connections 1.0.15 to override the version 1.0.0 depended by Microsoft.AspNetCore.SignalR 1.0.0. But as I know .NET Core 2.1 is also no longer supported since August 2021.

But as I know .NET Core 2.1 is also no longer supported since August 2021

2.1 is supported if the application is running on full framework (e.g. net461). The TFM netcoreapp2.1 is out of support.
2.2 is completely out of support no matter where it runs.


Cancel all active sessions

What is the best way to cancel all users active session and send them to start commend after inactive time period?
I know /cancel command but I want to do same thing to all users at once.

What exactly do you mean by "active sessions"?
If you want to cancel all active conversations, you could create an admin command (or cron job) that set's all active conversations to stopped.

This is exactly what I need, do you have any sample?
On Wed, Aug 10, 2016 at 4:21 PM, Armando Lüscher<EMAIL_ADDRESS>wrote:

What exactly do you mean by "active sessions"?
If you want to cancel all active conversations, you could create an admin
command (or cron job) that set's all active conversations to stopped.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/akalongman/php-telegram-bot/issues/269#issuecomment-238843939,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEM1FB7mOohpXn733cWm1dzyeRb6-7Kgks5qebs-gaJpZM4JhBtm
.

For the conversations that are older than 30 days, the MySQL command would be like this:
UPDATE `conversation` SET `status` = 'stopped' WHERE `status` = 'active' AND `updated_at` < DATE_SUB(NOW(), INTERVAL 30 DAY)

But remember, this just stops ALL those active conversations! (Yes I know you know, just making sure 😉)

But it is not enough to cancel users current session!
For example some user left bot in middle of conversation we need to expire
their session and send them to start command or home command.
On Wed, Aug 10, 2016 at 4:56 PM, Armando Lüscher<EMAIL_ADDRESS>wrote:

For the conversations that are older than 30 days, the MySQL command would
be like this:
UPDATE conversation SET status = 'stopped' WHERE status = 'active' AND updated_at < DATE_SUB(NOW(), INTERVAL 30 DAY)
But remember, this just stops ALL those active conversations! (Yes I know
you know, just making sure 😉)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/akalongman/php-telegram-bot/issues/269#issuecomment-238851201,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEM1FHB6fGevXruox11fcgzwMHT4h_Paks5qecOSgaJpZM4JhBtm
.

Right, I'm not sure that's possible, as the users will still have the chat history with your bot, so they won't get the start message.
@jacklul @MBoretto Do you guys know maybe?

This is possible,check this bot:
@HiwebOfficial_bot
On Wednesday, August 10, 2016, Armando Lüscher<EMAIL_ADDRESS>wrote:

Right, I'm not sure that's possible, as the users will still have the chat
history with your bot, so they won't get the start message.
@jacklul https://github.com/jacklul @MBoretto
https://github.com/MBoretto Do you guys know maybe?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/akalongman/php-telegram-bot/issues/269#issuecomment-238871274,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEM1FHcyuI8yn-3xbXVoenbtTwuEOcgwks5qedY-gaJpZM4JhBtm
.

In my bots I'm cleaning conversation table  from records older than 7 days.

I think we need an expire time for conversation or commands.
On Wednesday, August 10, 2016, jacklul<EMAIL_ADDRESS>wrote:

In my bots I'm cleaning conversation table from records older than 7
days.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/akalongman/php-telegram-bot/issues/269#issuecomment-238914985,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEM1FAnr9xnZTxCwHQQLiWlJYWtGDnCJks5qefYegaJpZM4JhBtm
.

Timeouts mean cron.
Otherwise you can check if a conversation has been expired the next time that that user interacts with the bot.

@MBoretto Do you have any general implementation for timeout?

No,

This is my solution:
 "active"];
$pdo = new DBPDO();

$res = $pdo->fetchAll("SELECT * FROM `conversation` WHERE `status` = 'active' AND `updated_at` < '".Carbon::parse('-15 minute')->toDateTimeString()."' ", $update);
foreach ($res as $user) {
  $chat_id = $user["chat_id"];
  $sql="UPDATE `conversation` SET `status` = 'stopped' WHERE `conversation`.`id` =".$user["id"];
  $pdo->execute($sql);
  if ($chat_id !== '' && $message !== '') {
      $data = [
          'chat_id' => $chat_id,
          'text'    => $message,
      ];
    $result = Request::sendMessage($data);
      if ($result->isOk()) {
          echo 'Message sent succesfully to: ' . $chat_id . "\n";
      } else {
          echo 'Sorry message not sent to: ' . $chat_id . "\n";
      }
  }
}

No...
What would be nice to develop as I suggested here:
https://github.com/akalongman/php-telegram-bot/issues/157
is to create something that performs operation like:

broadcast messages,
clean table
triggered by an incoming update

Is a sort of hack like you posted but inplemeted in the lib!

But I run this using cron job

Would be nice to add this to the wiki @khaninejad can you do this? would like to close

@MBoretto Done
https://github.com/akalongman/php-telegram-bot/wiki/Cancel-all-active-sessions


Update http4s-client, http4s-dsl to 0.23.22

About this PR
📦 Updates

org.http4s:http4s-client
org.http4s:http4s-dsl

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

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.http4s" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.http4s" }
}]

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

Superseded by #500.


CH6906 - Update CircleCI config to trigger SC website build using CI

CH story: CH6906
We need to trigger SC website build using CI.
We could use when attribute to run the step in Main CI job.
Also, we could check the current branch to use this login only on master.

This change is

Env variable


Format Date

Hi, is it possible to format the {{Date}} {{Time}} to a specific format like days, dd-mmm-yyyy HH:mm. I tried the templater format but it didn't work. In fact, it does not recognise templater. For example, date: <% tp.file.creation_date("YYYY-MM-DD HH:mm:ss") %>, it will just display the the same string not converting to the date format.

if you are using templater, there is a command you need to run in templater to parse the file.  I think it's called Replace templates in active file.  Have you tried that?
Otherwise at the moment there is no option to customize {{date}} {{time}} as provided by this plugin, but can look at that as a future enhancement

if you are using templater, there is a command you need to run in templater to parse the file. I think it's called Replace templates in active file. Have you tried that?
Otherwise at the moment there is no option to customize {{date}} {{time}} as provided by this plugin, but can look at that as a future enhancement

Thanks. It works using Replace templates in active file


Ch rearrange files

Coverage decreased (-67.4%) to 32.219% when pulling 744f3bee62e691d56d6deca81190dfb8c54451e7 on ch-rearrange-files into 2a6ccd1165afdc5eef38c041e8eff676165b8186 on master.

Coverage decreased (-67.4%) to 32.219% when pulling c7272157d6464ad0697789b7c9314be55365e6f5 on ch-rearrange-files into 2a6ccd1165afdc5eef38c041e8eff676165b8186 on master.

Coverage decreased (-0.0007%) to 99.615% when pulling 9d8d47eacc40766f8bd3b5f8bf1b2a561bd21423 on ch-rearrange-files into 2a6ccd1165afdc5eef38c041e8eff676165b8186 on master.


Fix broken "Badges" on README

Description
This fixes the currently broken "Badges" on our README.
@meonkeys 👋🏽 would you be interested in doing the honors of merging this?

Hey there! I would but I'm not actually a committer. :smile:
I'll ask around...

@vorburger I'll do it as soon as everything is green.


Settings Not Work

||No matter you choose what in the settings' sidebar, it will go to Appearance settings.||
-Steps to reproduce the behavior-

Go to 'Settings'
Click on other options in the sidebar, such as "startup, preferences, about..."
Whatever you choose it will go to "Appearance"

-Screenshots-

-OS Version-
Windows 10 1909 18363.657

Duplicate of #430. A fix for this is already in the develop branch.


fix stdio adapter to stream correctly

fixes #613
quick fix to use the same Iterator approach to fix the stdio adapter
so it can stream data correctly.

@demmer @davidvgalbraith stdio reading while streaming. I am still going to think about some way to verify that an adapter is truly streaming so we don't run into this again as we did with the file adapter. I verified by simply running while true; do df ; done | ./bin/juttle -e "read stdio -format 'grok' | view text" and seeing no output before the fix and immediately seeing output with the fix in place. Do you guys think I should move Iterator code into some common location since its used now in at least 3 places: http, stdio and file adapter and I think it could generalized or do that in a follow up PR ?

Is there no way to hack out a unit test similar to your manual test?

@davidvgalbraith let me see what I can come up with because this has bitten us a few times now.

@davidvgalbraith what do you think of this test ? Is it a little too cryptic to follow how it validates that the adapter is in fact streaming ? I can do a follow up PR to apply similar approach to file and http and verify they are in fact streaming points as well.

@davidvgalbraith @demmer now with a test that works although I had to figure out how to generate enough points to have the parser actually call emit which happened to be more than 1024 default we have hard coded here https://github.com/juttle/juttle/blob/master/lib/adapters/parsers/base.js#L13. Which brings up the question of we want the parsers to behave like this ? Its a bit tricky since you don't want the parser to emit on every single new point but at the same time you don't want it to buffer 1024 points before it emits if its only parsing 10 points per second because the inbound stream is slow and with the buffer not filling the "streaming" behavior of our pipeline is far from really streaming.  Thoughts on what would be best to do here ?

Can we drain() every 5 seconds or whatever, regardless of how many points we have buffered?

I like the new test!

@davidvgalbraith thats why I was wondering if we could drain when we hit the limit or when a setTimeout(drain, 0) gets time to drain. Which is similar to waht we're doing in the Iterator code and why I'm wondering if it make sense to duplicate this logic ? @demmer you probably have a better idea on this one.

@demmer @davidvgalbraith what shall we do with this ? close ? the streaming fix here does in fact fix the issue and the test albeit complicated tests the expectation correctly.

+1


Feature RR-1280 resend export win

Description of change

Checklist

[✅] Has this branch been rebased on top of the current main branch?

Explanation
The branch should not be stale or have conflicts at the time reviews are requested.

[✅ ] Is the CircleCI build passing?

General points

Other things to check

Make sure fixtures/test_data.yaml is maintained when updating models
Consider the admin site when making changes to models
Use select-/prefetch-related field lists in views and search apps, and update them when fields are added
Make sure the README is updated e.g. when adding new environment variables

See docs/CONTRIBUTING.md for more guidelines.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (2c9d36a) 97.00% compared to head (965c627) 97.01%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5165   +/-   ##
=======================================
  Coverage   97.00%   97.01%
=======================================
  Files         893      893
  Lines       21198    21214   +16
  Branches     1892     1892
=======================================
+ Hits        20564    20580   +16
  Misses        497      497
  Partials      137      137

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Significantly reduce the amount of building required for benchmarks

Objective

Release mode. Many time

Solution

Less things, less time

reasonable. although this will break down as soon as we add "holistic" bevy benchmarks (which must happen eventually).

bors r+


[Submission Refactor] Refactor Entity Relationships to be modified via WorkspaceItem

Describe the bug
As agreed/described by #818 (the discussion ticket that preceded this one), the Submission process should only use WorkspaceItem and/or WorkflowItem endpoints. Not usage of other endpoints (like Item) are allowed.
Unfortunately, the code/implementation in https://github.com/DSpace/dspace-angular/pull/541 did not align with this goal.  While the code works, it requires a lot of workarounds (especially in the UI layer) to allow it to function.
Expected behavior
Once https://github.com/DSpace/DSpace/issues/2953 is completed, the Submission User Interface will need:

To understand the new type=relationship metadata fields
To send proper WorkspaceItem PATCH requests when adding/removing/updating Entity relationships
To have any workarounds which sync data between Item and WorkspaceItem removed.  All code in the Submission process should only use the /api/submission/workspaceitems/** endpoints

(Estimate is TBD. Additional implementation notes/details to be added by @artlowel )
Related work

DEPENDS ON https://github.com/DSpace/DSpace/issues/2953
Related to #896

Estimated by Atmire as roughly a 280hr task, 140hrs Angular & 140hrs REST API.

As noted in #2252 discussion, there may be side effects of this existing code  e.g. #2314