rye sync should support the attribute --index-url and --extra-index-url

Hello there!
I am working on a project using Rye, and I have encountered an issue with my CI setup in GitLab. One of the packages I need for testing is hosted in my private registry, which leads to the following error:
Forcing re-creation of non-rye managed virtualenv
Initializing new virtualenv in /builds/******/test-python-project/.venv
Python version<EMAIL_ADDRESS>Installing dependencies
  × No solution found when resolving dependencies:
  ╰─▶ Because starwarspy was not found in the package registry and you
      require starwarspy==0.7.0, we can conclude that the requirements are
      unsatisfiable.
error: Installation of dependencies failed in venv at /builds/*****/test-python-project/.venv. uv exited with status: exit status: 1

This error occurs because the package starwarspy is not found in the public registry. In my local environment, I resolve this by configuring ~/.rye/config.toml with the necessary private registry sources, and everything works fine. However, for security reasons, I cannot update the config.toml file on my CI runner.
It would be helpful if the rye sync command could accept an --extra-index-url parameter during the synchronization process.
My current CI job script looks like this:
package::test:
 stage: test
 image: xxxx-xxxx-xxxx/python:$PYTHON_VERSION-uv-rye
 script:
   - uv venv
   - uv sync --extra-index-url https://gitlab-ci-token:$CI_JOB_TOKEN@XXXXXXX/api/v4/projects/XXXXX/packages/pypi/simple
   - source $VENV_DIR/bin/activate
   - rye sync -f
   - rye test

I've tried to create the virtual environment with uv and sync the dependencies, and I see that starwarspy is correctly downloaded. However, when I try to run rye sync, it gives me the same error as before because Rye doesn't know how to resolve starwarspy.
Do you have any suggestions for this kind of problem?

For this case, is it acceptable to use a combination of config and environment variables? There should be an example here https://rye.astral.sh/guide/sources/#index-authentication

So, you're suggesting adding the following lines to the pyproject.toml of the repository:
[[sources]]
name = "gitlab-private-registry"
url = "https://${TOKEN_NAME}:${TOKEN_PASSWORD}@xxxxxxxx/pypi/simple/"

I believe this might work, but it feels like an "ugly" solution because it forces me to add these lines to every repository that needs this package.
I'll give a try to see if works

I don't know any option for index (like rye sync doesn't seem to have it). I would explore uv's help and docs, maybe they have an environment variable for extra index that you can set.
Sources could possibly added (to config) through rye config using the cli, not sure if that helps.

I've found a hacky and ugly solution:
package::test:
  stage: test
  image: XXXXXXXX/python:$PYTHON_VERSION-uv-rye
  before_script:
    - rye config --set [sources].name=gitlab
    - rye config --set [sources].url="https://XXXXXXX/api/v4/projects/XXXXX/packages/pypi/simple"
    - rye config --set [sources].username="gitlab-ci-token"
    - rye config --set [sources].password="$CI_JOB_TOKEN"
    - sed -i 's/\["\[sources\]"\]/\[\[sources\]\]/g' ~/.rye/config.toml
  script:
    - rye sync -f
    - rye test

In the before_script, I use rye config to set the configuration for the private index, but I have to use sed to replace ["[sources]"] with [[sources]] 😢.
I hope in future releases, rye config will support array config keys or rye sync will add support for --index-url and --extra-index-url.
Still looking for other solutions

I don't know any option for index (like rye sync doesn't seem to have it). I would explore uv's help and docs, maybe they have an environment variable for extra index that you can set.
Sources could possibly added (to config) through rye config using the cli, not sure if that helps.

What is the best ways for add a sources?

@JonZeolla does it work with the name used under Project Source tab in the first example here? https://rye.astral.sh/guide/sources/
@Trusted97 what you did is probably as good as any. Or just echo a whole block of lines as text to the file.

@JonZeolla does it work with the name used under Project Source tab in the first example here? https://rye.astral.sh/guide/sources/
@Trusted97 what you did is probably as good as any. Or just echo a whole block of lines as text to the file.

Thanks; yes that was my mistake. Using the correct header fixed it.


Fancy Zones off on system restart, again

Microsoft PowerToys version
0.56.1
Running as admin

[X] Yes

Area(s) with issue?
FancyZones
Steps to reproduce
Step one: Turn on FancyZones
Step two: Restart the PC.
Step three: Note that FancyZones is now off.
✔ Expected Behavior
The module is in the same state it was in prior to the system restart.
❌ Actual Behavior
The module is turned off when the system restarts.
Other Software
No response

Could you attach a full bug report file?
Right-click on the tray icon and click Report Bug. Then drag-and-drop the generated file into the GitHub comment to upload it. Thanks!

/needinfo

There has been an update since, which has resolved the issue.


Home Assistant !

Is there any way to use this plugin in Home Assistant?

Not directly.
It appears there is/was a plug-in to allow home ridge control from home assistant:
https://github.com/home-assistant/homebridge-homeassistant
But it would be more efficient to write a new home assistant plugin that uses the underlying driver directly:
https://github.com/nicholasrobinson/node-smartcielo
I found the following article which describes one particular approach of how this may be done:
https://opensource.com/article/18/8/build-thermostat-open-source-tools
Note: The article suggests that the preferred approach using today’s Home Assistant support is to implement the generic thermostat device:
https://www.home-assistant.io/integrations/generic_thermostat/
Note 2: Specific implementation source code for reference designs can be found here:
https://www.home-assistant.io/integrations/


MONDO:0005799 (hookworm infectious disease) has no equivalent IDs?

One of Translator's automated tests is for MONDO:0005799 (hookworm infectious disease).
BTE may be returning no results from this test because NodeNorm doesn't find any equivalent IDs in other namespaces for this disease ID. VS MyDisease has UMLS/DOID/MESH/etc mappings.
BTE uses some KPs that might have info for this disease, but under different ID namespaces...

Thanks for drawing my attention back to this, Colleen! It looks like NodeNorm's primary "hookworm infectious disease" clique is MESH:D006725. I'll add a manual mapping to connect the two cliques together in the next release, and then try to figure out why MONDO:0005799 isn't being merged into this clique.

MyDisease's Disgenet mappings also include DOID:12841. Which seems to be a related disease that is also sometimes called the generic "hookworm infection", but I'm not clear if it's the same.


LG v10 keyboard via USB. How do I do this

We can't help you if you don't give us enough information.

Find out the phone codename of your LG v10. Example: For "Motorola Moto G4 Play", it is "harpia".
Find out the SoC codename of your LG v10. Example: For "Motorola Moto G4 Play", it is "MSM8916" by Motorola, so "motorola_msm8916".

Search in your android settings > about phone , lineageos wiki, lineageos download section, wikipedia. You should be able to find that information there.

kernel source: https://github.com/Qualcomm-msm/LG_VS990
http://lmgtfy.com/?q=how+to+compile+linux+kernel


Support searching observations by observation fields

There's an undocumented fields param for the observations endpoint, for example: https://www.inaturalist.org/observations?field:Species count=2

I'd love to be able to search on that undocumented field param, both on the observations and observations/species_counts endpoints. Though undocumented, this appears to work correctly through an API query:

https://api.inaturalist.org/v1/observations/species_counts?field:Species count=2
https://api.inaturalist.org/v1/observations?field:Species count=2

It seems like an easy way to allows for querying this param (and potentially other undocumented params) would be to add a "dummy" param for get_observations(), get_observation_species_counts(), and the like that would pass a pre-formatted string like "field:Species%20count=2" directly to the request URL.

Sure, I'd be happy to add that. It looks like you can search for both a specific value, or just any observations containing a given field.
Usage could look something like this:
# Find observations that contain these fields
get_observations(fields=['Species count', 'Elevation (m)'])

# Find observations that have these specific field values
get_observations(fields={'Species count': 2})

If you have time, something that would be helpful is to test the other observation endpoints to see if any others work with the fields parameter.

That's a much more elegant solution that the quick-and-dirty work around I envisioned. Wonderful!
Here's a check of other observation endpoints:

observations/histogram - affirmative - https://api.inaturalist.org/v1/observations/histogram?date_field=observed&interval=month_of_year&field:Species count=2
observations/identifiers - affirmative - https://api.inaturalist.org/v1/observations/identifiers?field:Species count=2
observations/observers - affirmative - https://api.inaturalist.org/v1/observations/observers?field:Species count=2
observations/popular_field_values - affirmative - https://api.inaturalist.org/v1/observations/popular_field_values?place_id=7&field:Species count=2
observations/species_counts - affirmative
observations/updates - unsure but probably affirmative (misplaced my API auth key)

I have some changes for this tentatively working, but they still need docs and tests. I'll get that finished up within the next week or so.

@willkuhn Changes for this are in the latest pre-release build, if you'd like to give it a try.

@willkuhn FYI, I just realized this conflicts with the fields parameter in the v2 API (#155), so I renamed this parameter to observation_fields. I updated the examples above.


fix(): allow the caller (or CLI) to specify a root directory for typings

This allows the caller to put the typings anywhere and still be able to use us without waiting for a release of ts2dart.

I'm testing this with Material2 to make sure it solves the problem.

thanks this seems like a great direction

FYI @vikerman

LGTM

Merging as soon as travis is green.


NPM Install Fails on WSL

npm ERR! path \wsl.localhost\Ubuntu\home\intenda\opus-ui-website\node_modules\esbuild
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node install.js
npm ERR! '\wsl.localhost\Ubuntu\home\intenda\opus-ui-website\node_modules\esbuild'
npm ERR! CMD.EXE was started with the above path as the current directory.
npm ERR! UNC paths are not supported.  Defaulting to Windows directory.
npm ERR! node:internal/modules/cjs/loader:1078
npm ERR!   throw err;

It seems like you're encountering an issue with npm install failing on Windows Subsystem for Linux (WSL), particularly related to a UNC path error when installing the esbuild package.
Here are some steps you can try to resolve this issue:
Update npm and Node.js: Ensure you are using the latest versions of npm and Node.js. Sometimes, issues like this are resolved in newer releases.
Clear npm cache: Sometimes, corrupted cache files can cause installation issues. You can try clearing the npm cache by running:
npm cache clean --force
Use WSL paths: Make sure you're using WSL paths instead of Windows paths when working within the WSL environment. For example, instead of C:\Users\username, you should use /mnt/c/Users/username.
Check permissions: Ensure that you have the necessary permissions to install packages in the specified directory. You might need to run the npm install command with elevated privileges using sudo.
Install esbuild separately: Instead of relying on npm install to install the esbuild package, you can try installing it separately using npm or yarn:
npm install esbuild
or
yarn add esbuild
Manually install the package: If none of the above steps work, you can try manually installing the package by downloading it from npm and extracting it into the node_modules directory of your project.
Check for antivirus/firewall interference: Sometimes, antivirus or firewall software can interfere with npm installations. Temporarily disabling such software and then attempting the installation again might help diagnose the issue.
If none of these steps resolve the problem, please provide more details about your setup and any specific error messages you're encountering, and I can try to assist you further.

If you are using NPM that was installed on windows, you need to also install NPM on you WSL instance. Please see this to fix.nodejs-on-ws

Above soleved the issue


DOC-ONLY-fix for Docker run of kontain examples

There was a discrepancy in that the 'docker run' example would not instantiate the example programs because the language interpreter name was omitted from the command.  So either we should put the language interpreter in the base image CMD and receive args, or we have to specify it in the docs.  This patch specifies it in the docs, so folks can try out Kontain successfully.

Good catch! But I have a feeling we are better off changing the base image to specify the entry point. Let's discuss.

OTOH it looks like standard python container behaves the same way as ours, so never mind the previous comment


Google Analytics V4 Unity doesn't work on android and Error?

I imported version V4 in Unity and then It doesn't work on android but Version V3 does work.Please explain for me and fix bug right now.

try import this unitypackage and see if the problem still occur.
https://www.dropbox.com/s/vfuqndr5h5t5gir/CustomGoogleServices.unitypackage?dl=0

I guess in v4 package they forgot about libGoogleAnalyticsServices.jar file, it should be in Assets\Plugins\Android\ folder

@hexgrimm where can i get libGoogleAnalyticsServices.jar?

@saizenmedia for example, in v3 package, or from repo source folder

How can that even happen? 12 days ago and its still missing. V4 setup is still looking at the old google play services lib folder. Why? How?

+1

You shouldn't use libGoogleAnalyticsServices.jar. This is from V3, you should be using what is included in Google Play Services.
Somewhere around v30 they have changed where the libs are available in the Android SDK. The version I just pushed out should work with this new location. I've tried it with v32 of Google Play Services.
If you are using and older version of Google Play Services which still the libs in:
extras/google/google_play_services you should update GPS or use an older version of the plugin, but you need to run the setup script from the Google Analytics menu in Unity.
Can you all confirm what version of GPS you are using and if the updated v4 resolves your issue.

I'm using version 32 of Google Play Services.
The previous v4 unity plugin didn't copy play-services-analytics-9.4.0 nor play-services-analytics-impl-9.4.0 to the Plugins/Android folder so I was getting errors. This new one seems to have updated the PlayServicesResolver folder.
Its working now. Thanks.


Improve Kubernetes-setup-using-Ansible-and-Vagrant.md

Fix a node IP issue when using vagrant.
See https://github.com/kubernetes/kubernetes/issues/60835 for detail.
Since the tutorial using debs, we need to configure node IP in /etc/default/kubelet.
See https://kubernetes.io/docs/setup/independent/kubelet-integration/ for detail.

/assign @kbarnard10

ping

/lgtm
/approve


WIP: Migrate inline requires + RAM bundles docs to new "optimizing JS code loading" guide

WIP rewrite of ram-bundles-inline-requires.md as a new guide to optimizing JavaScript code loading. This is a followup from https://github.com/expo/expo/issues/27279#issuecomment-1971610698. Opening this draft PR for early input.

@motiz88 and I spoke offline, the feature has now been remove from the CLI.  These docs decouple RAM bundles and make it easier to remove from the docs.  I'll follow once this lands.

If you're happy to strip RAM bundles out, please do.

Hmm, one reason not to remove all mention of RAM bundles is that it would break existing links from the Metro docs. https://metrobundler.dev/docs/configuration#gettransformoptions

Discussed with @blakef further online. Assuming the RAM bundle feature isn't going away in 0.74, it makes sense to land this PR with RAM bundle docs and then follow up (across RN and Metro's docs) after the RN docs for 0.74 are cut.


Syntax definition missing essential space character between words

[[name]] BYTE initializer [[, initializer]] ...

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

ID: 5582c560-01a2-e580-6f2b-b50d4f32f5a6
Version Independent ID: cd9ac45f-3f40-be67-b5dd-daf48d910f26
Content: BYTE (MASM)
Content Source: docs/assembler/masm/byte-masm.md
Product: visual-cpp
Technology: cpp-masm
GitHub Login: @corob-msft
Microsoft Alias: corob

Incorporated into Incomplete Syntax definition issue.


Test execution is slow

It can be a good idea to use the parallel test execution feature of gradle.

Improved by #303

Thanks, Laurent! Hope to see some of your feature work soon :)


Endless running code during polling

I noticed that my code is running in an endless loop after calling this function:
$socketIoClient->wait('message', 2)

and this is the stack trace:
Decoder.php:79, ElephantIO\Parser\Polling\Decoder->__construct()
Polling.php:365, ElephantIO\Engine\Transport\Polling->recv()
SocketIO.php:349, ElephantIO\Engine\SocketIO->drain()
SocketIO.php:408, ElephantIO\Engine\SocketIO->waitForPacket()
SocketIO.php:341, ElephantIO\Engine\SocketIO->wait()
Client.php:133, ElephantIO\Client->wait()
...

In the Decoder->__construct method the code will execute the code
$len = (int) $seq->readUntil(':');

the method will return null, and $len has the value 0 in the end.
After that this check happens:
if (null === $len) {
   throw new RuntimeException('Data delimiter not found!');
}

but $len is 0 so the exception will not be thrown and the code runs and runs and runs...
My assumption is that the int-cast is wrong and should be removed here, but not sure:
$len = (int) $seq->readUntil(':');

It seems related to packet decoding, can you post the full log?

You mean the debug output with the requests and responses?


Refetch periodically

Whenever I change the schema in my backend, I get the wrong type hints in Vscode for my Frontend and I have to manually restart the gql language server.
Is there any way to refetch the schema from my backend periodcally?

Same here.

Are you using schema introspection? Aka is your schema specified as an http/s uri?

Are you using schema introspection? As in, is your schema specified as an http/s uri? Or is schema in files? Assuming by re-fetch it’s over the wire?
I know where the cache invalidation isn’t happening yet, so I think I know how to solve this problem

Its over the wire yes

The cache doesn't appear to be purged even when restarting the gql language server for me.
When new properties are added, I have to manually download the schema and manually reference this "for a while" (I assume until VS's cache is purged).
Is there a way to manually purge this cache?


Create a tool that simulates proposal as a tx going to the block

⚡ Challenge:
We need a tool that will be running in a back and simulating proposals in a sense of constructive and destructive influence on the contract state.
🦋 Desired Outcome

have a tool running in a back, that is listening contract events and if new proposal is created, than run function that checks the state changes, saves them to db;
having api to make calls to this tool, few functions that reading data from db and responds to api calls with related data
front end should make calls to the api of the tool (out of the scope for this one, next bounty) and show user related messages

🎯 Action Points:

implement event listener
implement function that takes the input (proposal.destinationAddress, proposal.value, proposal.data) and simulates tx  { from: diamondAddress } to the current state of the blockchain and as output gives the resulted state
implement function that takes resulted states and analyze it
have tree of the possible state changes (e.g. no state changes, this variable changes value -> (good proposal, bad proposal), several variables changes, contract addresses (facets) changes and etc.)
save data to db
implement few functions for api calls (for example, function that takes as an input diamondAddress and reads db and checks if the proposal is still active and gives response with the relative msg from db)

🏆 Reward + Contributor involved
This bounty can be a pair programming bounty:
Bounty Size: L
900 DAI
Gardener - @roleengineer  0%
Worker    - tdb  80%
Reviewer - @roleengineer  20%

@marcocastignoli maybe this tool could work as a Gemcutter API / server instance(s), as with Gemcutter we can already-

fork live networks with ganache and manipulate block state
post/fetch metadata/sourcecode via sourcify


Fix grammar

The original placement of the word "only" suggested that private link was the only Azure service supporting TCP and UDP.  The new placement makes it clear that only TCP and UDP are supported by Private Link.

@asudbring

Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team


Added the watermark text for the Secure View mode

Description

We've added the watermark text for the Secure View mode.
Related Issue

Issue https://github.com/owncloud/ocis/issues/9067

Motivation and Context

How Has This Been Tested?

test environment:
test case 1:
test case 2:
...

Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Technical debt
[ ] Tests only (no source changes)

Checklist:

[ ] Code changes
[ ] Unit tests added
[ ] Acceptance tests added
[ ] Documentation ticket raised:

I think we should add some unit tests to cover the code. It should be easy just by copying any existing test and adjusting it.


Plugins not loading / not visible in settings

I thought that Mail Merge from the new update wasn't working for whatever reason, but turns out it's a slightly larger problem — no Plugins seem to be showing up on Nylas. I've included a couple of screenshots as well as a copy of my config file (accounts section removed). — from https://github.com/nylas-mail-lives/nylas-mail/pull/144#issuecomment-343645861
I'm running Windows 10, Build 1703; Nylas version 2.2.2 from the Hacktoberfest.

config.json.txt

Seems to an issue with apm.  @akshay7394 can you look at the errors in the console (Ctrl + Shift + I) when you navigate to the plugins page and provide the error messages here?
PS:  Remove any sensitive messages in the log! :)

Ya this may be related to #75

This is in fact a duplicate of #75.


Add organizational blocks around metrics.js files

Add some blocks around the metrics page to organize them and easily swap the file out for custom colors
Here are some docs on template inheritance: https://docs.djangoproject.com/en/3.2/ref/templates/language/#template-inheritance

Is there a rule / guideline on when a block needs  {{block.super}} and when it doesn't? A quick glance seems to show most blocks have it currently?

if {{ block.super }} is present
The child block  will append the parent block (same block name in the template that is being extended)
if {{ block.super }} is not present
The child block will overwrite the parent block
I did not add them to these new metrics blocks because they are the "parent" block in this case. The {{ block.super }} tag can be added here, but it would not make a difference since there is not another metrics block that is being extended.

Template blocks are crucial for the success of plugins in dojo! They can get pretty complex sometimes, so I suggest reading the docs I linked above

Blocks in general are good to have for people who want to extend our templates and append/overwrite stuff. I would expect the block.super to only be needed in subtemplates and not in our templates as we are not really appending or overwriting anything. On the other hand if someone decides to add something to the content block in base.html that needs to be present in all subtemplates, it will work now because of all those block.super-s.


Sample inputs that exercise reading annotations from bytecode

Currently, most of our sample inputs are single files. Even for those that are multiple files, we expect for tools to compile them all together. This means (if I understand correctly) that tools exercise only their code for reading annotations from source, not from bytecode.
Perhaps we should have specific inputs that require reading annotations from bytecode?
Or: Perhaps our existing multiple-file samples should be written to be easily split into multiple compiler invocations? (Currently we have only one multiple-file sample, and it's easily split :)) In an ideal world, we would provide a file to specify the order to compile in. That file can probably be as simple as one line for each compiler invocation, with the line containing all files to be compiled in that invocation. For example:
package-info.java
Bar.java

And: Perhaps our existing single-file samples should be split into multiple-file samples where practical?
Ideally, tools will test both:

compiling the files with multiple compiler invocations, and
compiling all of them together.

This way, the same samples can be used to exercise reading both source and bytecode.
(Note: My phrasing above was "reading annotations from source/bytecode." But of course part of what we want to test is that code without annotations (again, whether we have source for it or bytecode) is read correctly, too.)

Splitting single-file samples into multiple files would likely also make the samples a little easier to use for Kotlin.


TypeError: 'type' object is not subscriptable

I have followed the instructions, however I am getting an TypeError: 'type' object is not subscriptable message whenever I try to run the examples:
Traceback (most recent call last):
File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/users/modellers/made/.local/lib/python3.8/site-packages/dockerx/run.py", line 52, in
def parse_env(list_of_args: list[str]):
TypeError: 'type' object is not subscriptable
I am running a windows machine, connected to a remote ubuntu machine through ssh

This is the command I used:
python3 -m dockerx.run --name wild_turin --image luiscarlosgph/pycharm:latest --nvidia 1 --command /home/docker/pycharm/bin/pycharm.sh
But any of the examples seem to give the same issue

Hi @ACTOMtoolbox,
Thanks for reporting this issue. Could you please let me know which SSH client you are using in Windows?
Thank you,
Luis.

Hi @ACTOMtoolbox,
I believe this issue is caused because you are using Python 3.8. Please try Python >= 3.9.
Kind regards,
Luis.


Not working on jquery 3

jquery.js:2 jQuery.Deferred exception: input.size is not a function TypeError: input.size is not a function
at dateTimePicker (https://<IP_ADDRESS>/sv/uContact/assets/js/vendor/bootstrap/bootstrap-datetimepicker.js:1604:23)
at HTMLDivElement. (https://<IP_ADDRESS>/sv/uContact/assets/js/vendor/bootstrap/bootstrap-datetimepicker.js:1657:46)
at Function.each (https://<IP_ADDRESS>/sv/uContact/assets/js/vendor/jquery/jquery.js:2:2813)
at r.each (https://<IP_ADDRESS>/sv/uContact/assets/js/vendor/jquery/jquery.js:2:1003)
at r.$.fn.datetimepicker (https://<IP_ADDRESS>/sv/uContact/assets/js/vendor/bootstrap/bootstrap-datetimepicker.js:1652:21)
at HTMLDocument. (:24:31)
at j (https://<IP_ADDRESS>/sv/uContact/assets/js/vendor/jquery/jquery.js:2:29588)
at k (https://<IP_ADDRESS>/sv/uContact/assets/js/vendor/jquery/jquery.js:2:29902) undefined

Work-around is to also load jquery-migrate-3.0.0.js

still not working

Broken with the same error with jQuery 3.1 and jquery-migrate-1.4.1 as well: (there is no such thing as jquery-migrate-3.0.0.js; 1.4.1 is current). It really doesn't like that size call:
migrateWarn (jquery-migrate-1.4.1.js:47)
size (jquery-migrate-1.4.1.js:377)
dateTimePicker (g=cj&1464952597:709:165)
(anonymous function) (g=cj&1464952597:716:241)
each (jquery-3.1.0.min.js:2:2820)
each (jquery-3.1.0.min.js:2:1008)
datetimepicker (g=cj&1464952597:716)
(anonymous function) (373515:1719)
j (jquery-3.1.0.min.js:2:29574)
(anonymous function) (jquery-3.1.0.min.js:2:29884)

Changing the two uses of .size() to .length prevents the migrate errors, but doesn't make it work. With those fixed it does nothing, no errors or warnings are logged.

FYI, jquery-migrate-3.0.0.js is the correct file restores deprecated features and behaviors/troubleshooting for jquery-3.x.0.js. jquery-migrate-1.4.1.js is the version restores deprecated features and behaviors for jquery v2.x/1/x for much older jquery versions. jquery-migrate v3.0.0 and v1.4.1 are incompatible with each other.
https://code.jquery.com/jquery-3.1.0.min.js
https://code.jquery.com/jquery-migrate-3.0.0.min.js

Apologies, you are correct.

PR #1664 resolve issues the important here apart of the size to length is change  widget.show() to  widget.css('display', 'block');

Thanks @scgm11 - I can confirm that that change makes it all work for me in jQuery 3.1.

@scgm11 Thanks that does the trick!

@scgm11  thanks!

@dleffler Thanks. The 'adding jquery-migrate-3.0.0.min.js' workaround worked for my project.
The error I got was: '.... e.size is not a function...'
Here are what I did:
Tried to use the 'widget.css('display', 'block');' trick, didn't work.
Added jquery-migrate-3.0.0.min.js, then worked
Thanks

I added jquery migrate and it fixed the size issue in console but when i try click the calendar button, nothing gets displaed.

yep it's still an issue there is a fix applied here https://github.com/Eonasdan/bootstrap-datetimepicker/pull/1664 but it's failing on the unit test so it hasn't been merged

@scgm11

PR #1664 resolve issues the important here apart of the size to length is change widget.show() to widget.css('display', 'block');

I believe this issue has been reported here #1765 along with a CSS hack.

some truble

I think this is fixed in 0202134
Version 4.17.42 is working for me with jquery 3.1.0


add Stable Video Diffusion support

Initial version. The following issues will be addressed in future PRs:

Enable the generation of longer videos with memory-efficient attention (to be implemented once it’s available in SDXL).
Add support for the graph mode.
Unify Text-to-Video generation pipeline (instead of using two stages: T2I and I2V).
Provide a training script.

Please confirm with me before merging, as this PR may affect the current customer delivery scenario.


SaltToShort check should be droppped.

Hello,
I am trying to write a program that derrives a AES key from a password.
The entire program has to be compatible with existing java software. I.e the java code and the rust application have to
get the same key from the same input.
The java application uses a 4 byte salt that is set to a constant value for all inputs.
This step cannot be repated using your rust library as it will always fail with Error SaltToShort.
I have verified that all other parameters are compatible and rust and java arrive at the same result by changeing the java program to use 8 byte salt. This is however not feasable as this obvieusly changes the resulting AES key for the same password.
I can obvieusly not "keep" this change in the java program as there is tons of existing data that was encrypted using 4 byte salt keys that
the new rust application now has to decrypt.
I have checked the bouncy castle java library that the java application uses for argon2 and it appears to have no check whatsoever in terms of length. It even supports passing no salt at all. This java library is very mature and has a wide adoption. (Its older than rust itself)
My suggestion is to drop all salt length checks and ensure that the outputs are the same than what the bouncy castle java library would produce.
For me personally I think just changeing the constant from 8 to 4 would already solve all my issues... However I think there are other people out there that may have used any number of bytes smaller than 4 as a "fake" salt to derrive keys from a password.
This is the relevant java code from the bouncy castle library. As you can see there are no checks concerning length.

The "null == octets" check can be ignored as you can just pass a 0 length array as parameter to bypass it.

After removing the salt check from your library the library it works perfectly in sync with the java application.
All i did was comment out the check in context.rs.
I would prefer not having to build the rust-argon2 crate locally.
If at all possible I would be happy if this could be done upstream...
I think this lenght < 8 check is based on a bogus stackoverflow comment of some guy saying that he would use 8 bytes for salt when hashing a password. While this is surely good advice I don't see any mention of a "hard" limit in the spec of argon2.

Hi @AlexanderSchuetz97,
Thanks for opening this issue. This library is based on the original Argon2 implementation. This original implementation defines a minimum salt length of 8 characters (code) and fails with an error when the salt is less than this minimum (code). Since this behavior is present in the original implementation I'm not in favor of changing this.

This doesn't help me with making the rust application compatible with the java application.
As mentioned before the argon2 scientific paper does not mention a minimum size of the salt it only makes a recommedation for password hashing. I don't use argon2 for password hashing!
A salt is pointless when argon is used as a key derivation function without any user context and I have to be compatible with existing implementation that in my case uses a fixed 4 byte value.
If you do not want remove this check then I will be forced to fork this library.
Please close this issue if your decision on not removing this check is final so I can begin uploading the forked crates.


Fix Ruby 2.x.x keyword warnings when using argument forwarding

Describe the bug
Hello. :wave: I'm seeing the following warnings when using Dry Schema with Ruby 3.2.0 RC1:
lib/dry/schema/macros/dsl.rb:181: warning: Skipping set of ruby2_keywords flag for array (method accepts keywords or method does not accept argument splat)

To Reproduce
The quickest way to reproduce is to install Ruby 3.2.0 RC1 using your favorite Ruby Version Manager or you can use my latest Docker image which is running Ruby 3.2.0 with YJIT. Then you can run the following code snippet:
#! /usr/bin/env ruby
# frozen_string_literal: true

# Save as `snippet`, then `chmod 755 snippet`, and run as `./snippet`.

require "bundler/inline"

gemfile true do
  source "https://rubygems.org"
  gem "dry-schema"
end

Demo = Dry::Schema.Params { required(:demo).filled :string }

Expected behavior
I'd like to not see the warnings being printed. To fix -- at least when tinkering locally -- I deleted ruby2_keywords lines from the following files to fix the problem:
lib/dry/schema/macros/dsl.rb
lib/dry/schema/macros/key.rb

Because Dry Schema is using argument forwarding, it would be simple enough to delete use of ruby2_keywords if you are willing to release a version that supports Ruby 3.2.0 or higher. It might be possible to use a minimum version of Ruby 3.1.x but not sure (have not tested on 3.1 or 3.0).
My environment

Affects my production application: NO
Ruby version: ruby 3.2.0rc1 (2022-12-18) [arm64-darwin22.2.0]
OS: macOS 13.1
Dry Schema: 1.13.0

The issue was fixed on #447 and will be soon on the next release, @bkuhlmann .

Hey Espartaco, thanks! I was searching through issues and didn't see this mentioned but didn't search through closed pull requests. Good to know and looking forward to the next release. :bow:


Make more random.Random() calls depend on seeded rand argument

This patch pushes more random.Random() calls up from their callsites to rely on passed-in args. It makes it easier to see which passes/methods rely on random number generation.
I've also added a few @typeguard_testsuite annotations since they were really helpful when making these changes.
Please wait for the CI to finish before merging - I don't have a power toolchain locally so I still need to ensure those tests pass.
This is related to #41.

Oops. Something clearly went wrong here. I'll take a look tomorrow.


Transform v1 sanitizers into processors or something else

In the v1 collector all received spans are passed through the sanitizers framework cmd/collector/app/sanitizer/. This is currently missing in jaeger-v2. Since the jaegerexporter in v2 operates on OTLP data, the existing sanitizers won't work directly, and will need to be rewritten to operate on OTLP format directly.
There are two options how the sanitizers can be invoked. One is to invoke them automatically in the exporter. Another is by defining them as span processors in the OTEL collector pipeline. This allows users to cherry-pick which sanitizers they want to use, but also moves the burden of configuration onto the user, whereas in collector-v1 the default set of sanitizers was always used automatically. I would suggest invoking them automatically in the exporter - in the future if configurability is desirable it can be implemented.
The main requirements are

bad data should be sanitized so that it's now "good", e.g. no malformed utf8 strings present anywhere, since they can break transmission
the original bad data should still be preserved in some encoded (safe) form for debugging purposes.

Automatically invoking the sanitizers in the exporter seems like a good approach, ensuring consistent data sanitization without burdening users with additional configuration. This approach maintains simplicity while addressing the immediate need for sanitization in the v2 collector.

So for now, we have to work on rewriting existing sanitizers for operating on OTLP right?

Yes.

@yurishkuro what's the status of this one? is there anything I can help with?

Yes , I think this stalled

@yurishkuro what can I help with?

@mahadzaryab1 see comments in #5551 - it's a good direction, but needs completion.

@yurishkuro do you know what the reasoning behind https://github.com/varshith257/jaeger/blob/v2-sanitizer/cmd/collector/app/sanitizer/utf8_sanitizer.go#L76-L78 is? if the value isn't a valid utf-8 string why is it added to the map?

@yurishkuro do you know what the reasoning behind https://github.com/varshith257/jaeger/blob/v2-sanitizer/cmd/collector/app/sanitizer/utf8_sanitizer.go#L76-L78 is? if the value isn't a valid utf-8 string why is it added to the map? isn't this just a no-op?

Oh I see. They get converted to bytes. Do we want the same behaviour for the v2 sanitizer ?

Yes. The motivation is to make the data well formed, but also to preserve original invalid data for debugging.


Github <> Slack integration

Description
As a company working with Besu, I would like slack integration so that changes in the Besu repo immediately produce slack notifications (in other companies slack).
Acceptance Criteria
Add the slack app to this repo (https://slack.github.com/)
Additional Information
I understand that email notifications can be used, but in my opinion slack notifications provides easier team organisation.

Closing per the discussion at https://github.com/bitcoin/bitcoin/issues/21184


Fix Chrome restart, enhance connection options and logging

Overview of changes:

I had a bad time running prerender and it was very difficult to check what was really happening, since some exceptions did not show the error message or variables, so I enhanced the logging for chrome.connect and chrome.openTab
Added the Chrome host as an option (could be used to force IPv4/IPv6 or to run Chrome remotely)
Fixed Chrome restart procedure - now the main browser process is detached, so we can SIGINT the whole process group (prerender was not connecting).

Probably related to/fixes #761 #775 #758 #755 #753

I deployed the latest version of this branch with this custom server.js on Debian running inside a container (used this Dockerfile). My deployment have 1 nginx as a reverse proxy and 4 containers running this version of prerender.
Then, I made dozens of thousands of requests to it. Each container restarted the browser 57 times since the time I started the test (without errors) and everything is running smoothly (no 5xx errors, no restart errors, all old Chromium processes were killed and file system cache is working perfectly).

@turicas @lluczo @avelinesg Can we merge this PR, I confirm it fixes the https://github.com/prerender/prerender/issues/761 https://github.com/prerender/prerender/issues/775 https://github.com/prerender/prerender/issues/758 https://github.com/prerender/prerender/issues/755 https://github.com/prerender/prerender/issues/753

Any progress on this one?


Start container with rest api enabled

Hi there,
first of all congrats for the great work on this image!
I just want to know if its possible to start the container with the rest api enabled without needing to go to /settings/api and enable it.
Thanks in advance.

@rmpestano sorry for the late reply this is not possible as this settings are done in the database.


add Flocker specific options in Makefile and Flocker template file

Edits/organized to Makefile for Flocker volumes
Added Flocker specific template
the template includes a hostPort: 4000 hack that allows a replication to ensure that it is deployed on a separate node where no other replica is running.

Changes look good on the surface. I don't have any experience with Flocker, so I'm assuming you've tested it all to work.
On a related note... I need to try out Flocker ;-)


Add hybridfox

Big fan of this theme. I made a PR quite a while ago that was closed when you did a rewrite: https://github.com/EdenEast/nightfox.nvim/pull/52
I've rebuilt the fox after the rewrite and would love for it to be included in the theme if you like it!
The style needs a screenshot in the readme though.
Let me know what you think!

the screenshot in the readme is carbonfox

the screenshot in the readme is carbonfox

Yes, i said this in my PR description. I don’t have the same plugins and don’t know how EdenEast took the other screenshots so I’ll leave that to him if he decides to accept the PR

@EdenEast do you have any feedback for me? :)

I have been working on taking my learning from nightfox (as well as helping to maintain others like catppuccin) and working on a library to make colorschemes. I am hoping to then have another plugin that is just a list of well known colorschemes like nord and gruvbox (others are asking about that). I can see this being added to that.

@EdenEast sounds awesome! Feel free to close this or w/e, i'll keep my fork updated in the meantime


[All] docker images with latest tags not getting pushed periodically

Is this a BUG REPORT or FEATURE REQUEST?:

Uncomment only one, leave it on its own line:
/kind bug
/kind feature

What happened:
latest images of plugins are not getting published on docker Hub .
https://hub.docker.com/r/k8scloudprovider/openstack-cloud-controller-manager/tags?page=1&ordering=last_updated
What you expected to happen:
How to reproduce it:
Anything else we need to know?:
Environment:

openstack-cloud-controller-manager(or other related binary) version:
OpenStack version:
Others:

I tried to use latest  tag and it's able to find the image
so is it the openlab who should submit this change or how can we do in this repo？ just curious

I tried to use latest  tag and it's able to find the image
so is it the openlab who should submit this change or how can we do in this repo？ just curious

@jichenjc I raised the issue for tracking purpose, mostly this needs to be fixed in openlab only.

@jichenjc I raised the issue for tracking purpose, mostly this needs to be fixed in openlab only.

In the job cloud-provider-openstack-acceptance-test-e2e-conformance, all the latest tag images are uploaded to huawei container image registry rather than docker hub, this change was made several months ago because docker hub is not accessible in China anymore.
openlab guys said they have a job to sync images to docker hub, will double check with them for what happened.

In the job cloud-provider-openstack-acceptance-test-e2e-conformance, all the latest tag images are uploaded to huawei container image registry rather than docker hub, this change was made several months ago because docker hub is not accessible in China anymore.
openlab guys said they have a job to sync images to docker hub, will double check with them for what happened.

@lingxiankong Got it. Thanks for the update.

@lingxiankong Got it. Thanks for the update.

The latest images should be updated now. Please have a check and close this issue if OK.

The latest images should be updated now. Please have a check and close this issue if OK.

@lingxiankong Thanks. Its updated now.
/close

@lingxiankong Thanks. Its updated now.
/close


Event sent to lambda is a string

up to commit 6aa041cd4e097a656b94683cf4ab2d41f9612c2f, the event sent to the lambdas is a string, which makes the
if event.get('source', None) == 'serverless-plugin-warmup':

Escape fail, as now event is a string

Should be fixed after 4.3.X.
Feel free reopen if it's not.


make a venn diagram

the databases and common drugs
The drugs and types of cancer
How many drugs have a PubChem ID?

We have six drugs in common between Cmttdb - CTD - PharmacoDB - Drugbank - GDSC

Axitinib
Bortezomib
Crizotinib
Dasatinib
Gefitinib
Pemetrexed


Explicit use of provider=cluster can be removed

See https://github.com/lagom/shopping-cart-scala/blob/e30b41723922ed635a8c072ea138262147a69cea/shopping-cart-impl/src/main/resources/prod-application.conf#L23-L25

Already resolved in https://github.com/lagom/shopping-cart-scala/pull/23


[bug] Mixers and monitors not always spawning correctly.

First of all, I want to mention that I use pipewire with pipewire-jack.
This issue might be directly related to this fact so I just wanted to be up front with it.
The issue
When I first tried creating mixers and monitors it all worked fine but for some time now I'm unable to get a working one.
It all spawns a sink with inputs and outputs but not a visual representation of the tool I wanted to get.

I have some other issues but I'll probably create a separate thread for those since it would be more of an improvement suggestion than a bug.

Oh yeah, and I can't remove them.
I can move them and connect to other devices / programs but they don't do anything.
Some of them don't pass audio (miksers) and some do… so I don't know what's up with that.

same here

I figured out that using killall patchmatrix_mixer and killall patchmatrix_monitor commands does in fact remove the broken nodes and after that I'm able to create a working one again.

migrated to own forge https://todo.open-music-kontrollers.ch/~hp/issues/4


IE11 Support?

I hate to be the guy asking this... but does react-menu support IE11? I have tried it locally in a project but the menu disappears as soon as the menu button is clicked. In a CRA with just react-menu:
import { Menu, MenuItem, MenuButton } from<EMAIL_ADDRESS>import<EMAIL_ADDRESS>
function App() {
  return (
    <div>
       <Menu menuButton={<MenuButton>Open menu</MenuButton>}>
         <MenuItem>Test Item 1</MenuItem>
         <MenuItem>Test Item 2</MenuItem>
      </Menu>
    </div>
  );
}

This will render the button correctly, but once pressed, IE11 will output an error saying Object doesn't support property or method 'includes'. Since this can probably be resolved with a polyfill, I added:
import "core-js/features/array/includes";

With that, the menu opens, but instantly closes right after and behaves radically.

Hi @kaabij ,
The library hasn't really been tested in IE11 yet. Will do an assessment of the issue, thanks for your feedback.

Thanks @szhsin! I looked at it again and this time I specified browserslist in package.json to include ie 11, cleared node_modules, and re-ran. I'm not certain if I had some other configuration issue on my end but it appears to have resolved and react-menu works in IE11, though I have not tested all the features there yet. I'll report back if I find anything else.

Cool, thanks @kaabij for all the testing and report. I'll do some further investigation into the IE11 support anyway.

Resolved IE 11 issues in v1.2.2. Please note polyfills are still required; tested with core-js.


Fix imported location target property when target contains dashes and CORROSION_RESPECT_OUTPUT_DIRECTORY is true

The regex to determine the name of the actual library target tries to strip the -static or -shared suffix did not allow for dashes in the name. Since the regexp closes with a $, the suffix should only match at the very end and we can allow any character before the last dash.
Fixes #321

The test passes for me locally on macOS. Is this known to be a flakey test somehow?

Thanks for the review & merge. Would it be possible to tag a new release of Corrosion that includes this? We'd love to use a tag instead of a sha1 :)

Would it be possible to tag a new release of Corrosion that includes this?

Sure, I released v0.3.3 and updated v0.3 to point to v0.3.3.

Thank you!


Add proxy support

Allows using mints accessible by NWS.

Updated to be a generic proxy. I added a host_matcher to take a regex so that I do not have to send all requests to the proxy. I figure this will be useful for either TOR or NWS services.


Tutorial inconsistent movegroup naming

Description
Overview of your issue here.
Your environment

ROS Distro: [Humble] (Docker)
OS Version: e.g. Ubuntu 22.04
Source build

Steps to reproduce
Following "Your First C++ MoveIt Project" tutorial.
// Create the MoveIt MoveGroup Interface
using moveit::planning_interface::MoveGroupInterface;
auto move_group_interface = MoveGroupInterface(node, "manipulator"); //<--- this is the error

// Set a target Pose
auto const target_pose = []{
  geometry_msgs::msg::Pose msg;
  msg.orientation.w = 1.0;
  msg.position.x = 0.28;
  msg.position.y = -0.2;
  msg.position.z = 0.5;
  return msg;
}();
move_group_interface.setPoseTarget(target_pose);

// Create a plan to that target pose
auto const [success, plan] = [&move_group_interface]{
  moveit::planning_interface::MoveGroupInterface::Plan msg;
  auto const ok = static_cast<bool>(move_group_interface.plan(msg));
  return std::make_pair(ok, msg);
}();

// Execute the plan
if(success) {
  move_group_interface.execute(plan);
} else {
  RCLCPP_ERROR(logger, "Planning failed!");
}

Expected behaviour
Console ouput when runnning ros2 launch moveit2_tutorials demo.launch.py
[INFO] [1726223793.098367005] [moveit_rdf_loader.rdf_loader]: Loaded robot model in 1.01257 seconds
[INFO] [1726223793.098575034] [moveit_robot_model.robot_model]: Loading robot model 'panda'...
[WARN] [1726223793.125028796] [moveit_ros.robot_model_loader]: No kinematics plugins defined. Fill and load kinematics.yaml!
[FATAL] [1726223793.125237385] [move_group_interface]: Group 'manipulator' was not found.
terminate called after throwing an instance of 'std::runtime_error'
  what():  Group 'manipulator' was not found.
[ros2run]: Aborted

Possible Solution
Looking at src/moveit_resources/panda_moveit_config/config/panda.srdf we noticed that the robot used calls the movegroup "panda_arm". Changing the MoveGroupInterface name from "manipulator" to  "panda_arm" solves the issue

The main branch of this repo uses a Kinova arm model that does have a manipulator group -- you may want to clone the humble branch of this repo and follow along with the Franka example there.


added mycovidconnect project in repositories

ℹ Repository information
Issues page: https://github.com/Xcov19/mycovidconnect/issues
The repository has:

[x] At least three issues with the good first issue label.
[x] At least 10 contributors.
[x] Detailed setup instructions for the project.
[x] CONTRIBUTING.md
[x] Actively maintained.

Hey @codecakes  ! I tried to contribute to this repo as well but I haven't seen any activity in the last few months. I decided to fork it to keep it alive. Please see https://github.com/lucavallin/gfi and feel free to open a pull request there. At this time I am setting up the hosting and cleaning up the code. If you're up for it, I could use some help to convert the app from Nuxt.js & Python to Next.js & Typescript.


[TEST] Investigate Litmus Chaos for negative testing - Networking

What's the test to develop? Please describe
Investigate if it's possible to adopt Litmus Chaos to perform the following operations and satisfy the test scenarios and requirements in our negative testing.
For each item, follow the instructions in Litmus Chaos and do the experiment to see if we can use Litmus to implement our negative test cases.
If yes, write down the detailed steps like https://github.com/longhorn/longhorn/issues/6499#issuecomment-1674180185.
If no, elaborate more on what's the difficulty and try to have your own implementation.
The listed items are all from https://confluence.suse.com/pages/viewpage.action?spaceKey=LON&title=Negative+Testing.
Please reference this confluence page to view the details test steps and scenarios.
Describe the tasks for the test

[ ] introduce network latency on all nodes. like: "tc qdisc add dev eth0 root netem delay 100ms"

Litmus only provide introducing network latency on a pod instead of a node: https://litmuschaos.github.io/litmus/experiments/categories/pods/pod-network-latency/#network-latency

[ ] disconnect network on each node

Litmus only provide introducing network partition on a pod instead of a node: https://litmuschaos.github.io/litmus/experiments/categories/pods/pod-network-partition/

Additional context
https://github.com/longhorn/longhorn/issues/6499

@yangchiu lets add negative test label.
cc @longhorn/qa

Litmus network experiments only support controlling pods created by deployment|statefulset|daemonset|deploymentconfig|rollout:
The ChaosEngine "network-latency" is invalid: spec.appinfo.appkind:
Invalid value: "pod": spec.appinfo.appkind in body should match '^(^$|deployment|statefulset|daemonset|deploymentconfig|rollout)$'

It's unable to be used to inject network latency to kube-api-server or etcd pod.
We will use a pod to execute command on control plane node instead.
So for this topic, same as https://github.com/longhorn/longhorn/issues/6499, we won't adopt Litmus either. FYI.
cc @longhorn/qa @innobead

Since we've had 2 topics won't adopt Litmus, I suggest, for consistency, not consider Litmus for all the other topics anymore. Just have our own implementation. cc @longhorn/qa @innobead

Sounds good to me.

How about https://chaos-mesh.org/docs/simulate-network-chaos-on-kubernetes/? chaos mesh?

How about https://chaos-mesh.org/docs/simulate-network-chaos-on-kubernetes/? chaos mesh? or available experiments at https://hub.litmuschaos.io/.

Again it only supports pod network control instead of node network control, so it can only be used to implement the injecting kube-api server or etcd network latency test case, not other network related test cases.
Moreover, even though we use it to implement the injecting kube-api server or etcd network latency test case, it only works in rke2 but not in k3s, because there is no kube-api server or etcd pod in k3s.
So, we will still not adopt it on this topic.

For disconnect network on each node: https://github.com/longhorn/longhorn-tests/pull/1548 has been created.
Close this.


Provide registry key for feature

For systems not MDM'd or domain joined, specify the registry key to set the setting. (This would apply to cases where the system is only AAD joined)

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

ID: 9bd0fe29-5db5-b752-5bcf-5ac2581baa9a
Version Independent ID: 52b8d4ca-54ea-7345-12b0-df4fdf633083
Content: Enable Block at First Sight to detect malware in seconds - Microsoft 365 Security
Content Source: windows/security/threat-protection/windows-defender-antivirus/configure-block-at-first-sight-windows-defender-antivirus.md
Product: w10
Technology: windows
GitHub Login: @denisebmsft
Microsoft Alias: deniseb

Closing via #6701.


merge method misbehaves

$names = arrayed(['cdd']);
$names = arrayed($names)
    ->merge(['abc']);

It returns
[["cdd"],"abc"]

instead of
["cdd" ,"abc"]

Fixed by #31


[patch] Save a recovery file

Default behaviour is to do this with pickle whenever an exception is encountered, but it can be disabled by setting the node's .recovery = None attribute.
Example adapted from the quickstart:
from pyiron_workflow import Workflow

wf = Workflow("will_fail")
wf.some_number = Workflow.create.standard.UserInput(1)
wf.some_string = Workflow.create.standard.UserInput("two")
wf.addition = wf.some_number + wf.some_string
wf()

That raises an error because of the int + string type error. We can then come back to the failed process and load the recovery file (done here by making a workflow with the same name and exploiting .as_path() to get the right directory).
reloaded = Workflow("will_fail")
reloaded.load(filename=reloaded.as_path().joinpath("recovery"))

From here we can go on to investigate the graph state, with .draw() or in more detail, and even repair the workflow as shown in the quickstart.
I see room for de-stringifying the recovery filename, e.g. making it a class property or something, but adding an attribute like that then needs to be backwards-compatibility maintianed. So, while we play with the new feature, let's just leave it as a string.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>3
Details

0 of 0   changed or added relevant lines in 0 files are covered.
17 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.01%) to 91.566%

Files with Coverage Reduction
New Missed Lines
%

node.py
17
90.42%

Totals

Change from base Build<PHONE_NUMBER>5:
0.01%

Covered Lines:
3029

Relevant Lines:
3308

💛  - Coveralls


Rename packeges: contivconf/api to config & ipnet/api to restapi

Signed-off-by: Rastislav Szabo<EMAIL_ADDRESS>

Coverage remained the same at 75.279% when pulling 8601a41d5736279d897704390a719794cb142d83 on rastislavszabo:master into a0d04867858e0e74f38f7fb6a14e01940a07e71b on contiv:master.


Support authenticated Solr configuration uploads

Solr 8 rejects configuration uploads if authentication is not enabled, but this orb's consumers may not expect authentication to be required either.

@tpendragon has done work in this area before for Cicognara

As an update, since we have plugins we need for a couple of our applications, we don't do this anymore. We now generate our own solr docker file, which has the configs necessary for authorization: https://github.com/pulibrary/pul_solr#solr-docker


Is the project alive?

In our team we have found that project covers our architecture ideas very good, but seems the project is prepare to die:(
Hope I'm wrong and long live the king ;) but one question is very interesting to me, perhaps some better solution or any modern approach for running experiments exists (e.g. dvc.org)?

This is very much related to an older issue (#761). The owner (@Qwlouse) and other maintainers currently seem not to be interested in the project anymore, and the last update on PyPi is pretty old (see #857). I'm currently trying to answer issues and pull requests as good as I can, but things are sometimes slow and I don't have full rights over the repository.
There are many other issues with the codebase itself which would require a rewrite of a large part of the project (plans were made in #610, #663 but never implemented). I don't have the capacity to do that.
Recently, many projects for experiment tracking appeared out there, many of them are cloud-based. Examples are neptune, weights&biases, comet, mlflow, and google gives you plenty more. They differ in their feature sets and I'm not sure if they can replace all of sacred's functionality. What I like especially about sacred is its configuration system and the local file storage options.


Fix notification count location and don't display flag alt

Coverage remained the same at 72.23% when pulling c6dce5afcca131b664b1d0ac5e95dd6c3495126c on eatonphil:fix-notification-badge into 2672ba3942a8b4d3e53c3f155798b4d7306151f3 on linode:develop.


Enable discussion

Hi, @tompi
I think you should enable discussion in this repo. As many issues is not a valid issue. It will start consuming your time eventually.
Tell users to only open a valid issue (using the GitHub issue template such as checkboxes), and the rest goes to the discussion. Questions like these are not related to Cheapino and can be asked somewhere else (Discords, Reddits),  you can safely ignore them. If one of them happen to be a valid issue, you can convert it to an issue.
Best of luck!

sorry, not a big fan of the discussion feature of reddit ;)


Parsing of time offsets

As per ISO 8601, in addition to ±hhmm we should support:

Z
±hh:mm
±hh

Edit: we are already compliant with strftime’s %z, which means ±hhmm, so it’s not clear whether we really need to support parsing the ISO 8601 variants.

FWIW, I recently hit this problem when an upgrade in a client’s system changed their date output from using Z to using +hhmm for time zones. This was an side effect and unintentional, but they also didn’t expect it to be an issue since both were valid ISO 8601 strings.
For the same reason, I’d expected using %Z in the format specifier to solve the issue, but that doesn't handle Z style date strings. So if I want to be compatible with both versions, my date parsing becomes much more complicated and I have to have fallbacks. Since both Z and +hhmm are pretty common, it seems like making %Z able to parse both would be hugely valuable (and make things more safe at the same time). I don’t think formatting would need to change, just parsing.
I’d be happy to write a patch for it if you need somebody to take on this issue.

Yep, just hit this issue when trying to parse 2015-06-24T15:27:09-05:00 (produced by Moment.js as an ISO date) with the parse string %Y-%m-%dT%H:%M:%S%Z. Supporting -05:00 in %Z would be grand.

Fixed in d3/d3-time-format#4 for 4.0.


d3-force-drag?

I feel myself doing this a lot with d3-force + d3-drag, and it would be nice to encapsulate as a reusable module:
node.call(d3.drag()
    .on("start", dragstarted)
    .on("drag", dragged)
    .on("end", dragended));

function dragstarted(d) {
  if (!d3.event.active) simulation.alphaTarget(0.3).restart();
  d.fx = d.x, d.fy = d.y;
}

function dragged(d) {
  d.fx = d3.event.x, d.fy = d3.event.y;
}

function dragended(d) {
  if (!d3.event.active) simulation.alphaTarget(0);
  d.fx = null, d.fy = null;
}

One gotcha is that the pattern is slightly more complicated for Canvas since you need to use simulation.find to pick a node. Another gotcha is that I don’t want to introduce a dependency from d3-force to d3-drag (or vice versa), so this would need to live in a new module d3-force-drag, presumably.

@mbostock How's this: d3-force-drag?
The module checks if the argument node is a canvas element and applies drag.container and drag.subject accordingly. Then it, by default, implements "basic" drag behavior.
The listener and dragsubject functions are customizable, providing for cases where the defaults aren't good enough.

While I understand the drive to add more syntactic sugar (and in pure D3 candy land it would be great), I would reiterate your already identified:

Another gotcha is that I don’t want to introduce a dependency from d3-force to d3-drag (or vice versa), so this would need to live in a new module d3-force-drag, presumably.

To  elaborate, the separation of concerns between the event handling in d3-drag (and underneath the hood d3-selection for d3.event is critical in use cases where event handling is done outside the realm of D3. E.g. using d3-force for layout calculation, but Angular for DOM/rendering and event handling.

@tomwanzek That's hard for me to visualize (or maybe I'm misunderstanding) because I've never worked with Angular, but I don't doubt it. May you provide such a case?

@augmt Unfortunately, I cannot currently point you to a public worked example repo that fully illustrates the point. But I will try to give a "verbal" 50,000ft explanation (in reference to Angular 2+)
At its most fundamental, Angular manages a tree of data-driven, reusable components. For purposes here, let's just focus on a web application rendered in the browser.
A reusable component is essentially a combination of a component HTML template, possibly component-specific styles (e.g. css) and the code for the component class. The component class code, at its most basic, allows the Angular (change detection and the rendering engine):

to instantiate components using input data bindings
render the component template in the DOM
handle events (e.g. DOM events bound to elements in the template or non-DOM events)
emit output events which can be listened to and handled by parent components
destroy no longer needed components.

The components can be nested in component trees etc. They are reusable in that they can be instantiated multiple times, wherever needed in the web application.
Against this simplistic background, there are two strategies to use Angular 2+ and D3 to generate visualizations of force-directed networks with e.g. node dragging.
Strategy 1: D3 is Allowed to touch the DOM

An Angular 2 component has a template which essentially only contains a DOM element, like and svg or g to serve as an anchor point  for the simulation visualization.
The component accepts input data defining the network data.
d3-force is used for the layout of the network/simulation
d3-selection and d3-drag are used to dynamically append the simulation visualization to the anchor point element and handle all DOM events within these dynamically added DOM elements.
If network data change, d3 functionality (merge, enter/exit/update) is used to update the DOM as needed

Strategy 2: D3 Force for Layout Calculation Only

An Angular 2 component has a template which contains elements to visualize the entire network (including nodes and links)
d3-force is used to simulate the network and compute the node positions depending on the use case
Angular 2 is used to map the network data (including position data) to the visualization elements for individual nodes and links and touch the DOM as needed. (Angular has a directive called *ngFor which allows an array of data to drive the generation/destruction of DOM elements for each array element.
All DOM events required to support node dragging are bound to the so generated node DOM elements using Angular 2. This means a dragging logic functionally comparable to d3-drag is implemented in Angular 2.

While there is a bit more to Strategy 2, when it comes to using a one-way data flow for component interaction, at the core it means Strategy 2 does not use d3-selection (incl. d3.event) and d3-drag. I.e. D3 does not touch the DOM itself.
So a tight coupling between d3-force and d3-drag might limit the choice of strategies. Thus I think the modularization choice made so far was very wise indeed 😄

PS: Actually, there is the following illustrative implementation: ngx-charts force-directed graph

I’ve been using the drag function here often:
https://observablehq.com/@d3/force-directed-graph

Closing this issue due to inactivity. Please do not hesitate to add a comment or reopen the issue if you think it is still worth pursuing.


gbc error message when trying to set nullable field default value is very confusing

Given the following invalid .bond file that attempts to set a default value for a nullable field:
namespace playground

struct LetsPlayWithNullable
{
    1: nullable<int32> nf = 1; // not valid: cannot give a nullable field a default value
}

running codegen products an incomprehensible error message:
> C:\src\bond\compiler\dist\build\gbc\gbc.exe c# .\play.bond
.\play.bond(5,30) : error B0000: unexpected ";", expecting digit, Invalid default value for field

Why does it say that it's expecting a digit? A much better error message here is something like "Nullable field 'nf' cannot have a default value."

Why nullable cannot have a default value? It used to be OK in earlier versions.

The default value for a nullable field is always null. (Nullable fields are like containers, and the default value for containers is always empty.)
Versions of gbc before the 4.3 and 5.0.0 releases erroneously permitted a default value to be assigned in the .bond file to nullable fields. (This fix was made in commit 90b8bad6). Depending on the precise circumstances, a nullable field with a default value would

generate C++/C# code that would not compile;
generate C++/C# code that would compile, but would fail during serialization at runtime;
generate C++/C# code that would compile and work for serialization, but never omit the field if it had its default value;
generate C++/C# code that would compile and "work" for serialization and omit the field if it had its default value, causing data corruption when the consumer had different behavior.

It may be possible to add support for explicit default values for nullables of basic types. If this is something you're interested in, can you please create a new feature request issue?
For some more background about how gbc evolved, see this comment in a similar issue about = nothing.


Add clock.jump method

Purpose (TL;DR)
Closes #452 by creating the clock.jump(time) method enabling skipping forward in time and running any timers at most once.

I think this looks good. Cannot see any reason not to merge?

Any chance of adding this to the Sinon docs on fake timers? https://github.com/sinonjs/sinon/blob/main/docs/release-source/release/fake-timers.md

This is part of<EMAIL_ADDRESS>

Any chance of adding this to the Sinon docs on fake timers? https://github.com/sinonjs/sinon/blob/main/docs/release-source/release/fake-timers.md

Yeah. Those docs look far more out of sync than just this, but I can add this new method if you'd like!


Add "popLast" to NonEmptyArray

We have a common push/pop pattern for our environment of coeffects, but we use an array which should be non-empty. This PR adds a popLast method to non-empty arrays so that we can model our environment stack, at compile time, as something that always contains at least one environment.

do you think it'll be confusing to have popLast return nil on a singleton list?

Yeah...I do. Relying on documentation for surprising behavior isn't great. Any other ideas?

We could make the function take a replacement value in case you pop the last one. We do that in the environment by putting in Environment()

Closing this for now. Too confusing.


PDF multi-group table publishing fails

Expected Behavior
Each tgroup must be rendered correctly.

Actual Behavior
When the first tgroup has cols greater than then next one, the publishing fails. However, if you switch the two it publishes fine.
Possible Solution

Steps to Reproduce

Sample Topic:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd">
<topic id="topic_id">
    <title></title>
    <body>
        <table frame="all" rowsep="1" colsep="1" id="table_id_1">
            <title/>
            <tgroup cols="2">
                <colspec colname="c1" colnum="1" colwidth="1*"/>
                <colspec colname="c2" colnum="2" colwidth="1*"/>
                <tbody>
                    <row>
                        <entry>A</entry>
                        <entry>B</entry>
                    </row>
                </tbody>
            </tgroup>
            <tgroup cols="3">
                <colspec colname="c1" colnum="1" colwidth="1*"/>
                <colspec colname="c2" colnum="2" colwidth="1*"/>
                <colspec colname="c3" colnum="3" colwidth="1*"/>
                <tbody>
                    <row>
                        <entry>A</entry>
                        <entry>B</entry>
                        <entry>C</entry>
                    </row>
                </tbody>
            </tgroup>
        </table>
    </body>
</topic>

sample.zip

Running it in with pdf format should give you the error.

Copy of the error message, log file or stack trace
Error: java.lang.IndexOutOfBoundsException: Index: 2, Size: 2
Environment

DITA-OT version: DITA-OT 3.5.2
Operating system and version:
(Windows)
How did you run DITA-OT?
(dita command)
Transformation type:
(PDF)

Might also be related with #3566, can you also reproduce the problem with DITA OT 3.5.1?

Yes, this might be the same issue. I will try to reproduce in DITA-OT 3.5.1

@raducoravu , This seems not to be an issue with DITA-OT 3.5.1. I was able to generate the pdf output.

@nikkujr thanks for confirming this, the problem seems to have been added in 3.5.2.

@raducoravu , Is there any workaround with this?

@nikkujr I do not. @jelovirt would this problem and the related one be good candidates for the 3.5.4 milestone?

I'll try to see if a fix is feasible for 3.5.4.


GH-3319: Fix NPE in the KafkaListenerEndpointRegistry

The KafkaListenerEndpointRegistry.getUnregisteredListenerContainer() returns null when container is already present in the internal unregisteredContainers cache

Fix KafkaListenerEndpointRegistry.getUnregisteredListenerContainer() to return a container instance from the unregisteredContainers cache

Auto-cherry-pick to 3.2.x & 3.1.x

Do you think we need to update the Javadoc on ListenerContainerRegistry since we are not returning null any longer?

It still will be null if there is no such a bean.


Change RCSS info logs to debug

Description
Changing the log level of cluster state publication logs to debug based on comment received on https://github.com/opensearch-project/OpenSearch/pull/14089#discussion_r1682621574
Related Issues
Check List

[ ] Functionality includes testing.
[ ] API changes companion pull request created, if applicable.
[ ] Public documentation issue/PR created, if applicable.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@ashking94 Can you help with approving and merging this?


Fix known issues reporter not rendering correctly in some scenarios

When there is a details tag, know issue report is not rendering as expected, for example:

Release Note Category

[ ] Feature changes/additions
[x] Bug fixes
[ ] Internal Infrastructure Improvements

Release Note Description
Fixed known issue reported not rendering correctly in some scenarios

PR: https://dev.azure.com/dnceng/internal/_git/dotnet-helix-service/pullrequest/38429

rolled out


rocm-build/navi10 for Stable Diffusion (for example: AUTOMATIC1111/stable-diffusion-webui)

Hello! I don't know much about coding and compilations.
I don’t understand if it’s possible to use your instructions to make the rx5700 (navi10) card work in Stable Diffusion.
Can you help me figure it out? Or maybe there is an opportunity to make a patch that will add support for rx5700 card in the AUTOMATIC1111 build?

I am afraid there is no guarantee for navi10 run properly on ROCm, as AMD didn't test navi10 in there development environment totally.
My patch is just let ROCm can run mnist with tensoflow/pytorch on navi10. But there is more easier way to do that, we can use an environment variable export HSA_OVERRIDE_GFX_VERSION=10.3.0 to pretend navi10 is a navi21 card, to let tensoflow-rocm/pytorch run on it. It is surprised mnist run sucessfully.
Emm~, rebuild may be more stable, but HSA_OVERRIDE way is more easier.
I'm not familar with stable diffussion, if it can run with tensorflow or pytorch, you can try HSA_OVERRIDE way.
Or, could you provide some instructions for using stable diffusion, that I can have a try when I have time. Now I am a little busy to test gfx803 on blender.

I can only say that I acted according to the instructions from this page. I used "running inside docker" section. (I'm on Ubuntu 20.04)
Running with "--no-half" alias enables Stable Diffusing without using GPU, CPU only mode (which means very slow generation)

Unfortunately, I test navi10 - RX5700xt hanging on ROCm-5.3.
So I guess navi10 may not support stable-diffusion.

Unfortunately, I test navi10 - RX5700xt hanging on ROCm-5.3.
So I guess navi10 may not support stable-diffusion.

with
export HSA_OVERRIDE_GFX_VERSION=10.3.0
and other 2 parameters described in the repo 'SD' , the SD could run under GPU mode and its speed is much faster than the one under Windows.

Interesting, Cgmb said the ISA of RDNA1 is different with RDNA2, so RX5700xt cannot use 10.3.0 directly.


APT whitelist request for libqt5gui5

Ran tests and found setuid bits. See https://travis-ci.org/travis-ci/apt-whitelist-checker/builds/72285069.

False positiive

Ran tests and found setuid bits. See https://travis-ci.org/travis-ci/apt-whitelist-checker/builds/72297228.

Hello! I'll be running the check again, to have more meaningful messages when the "setuid bits" are found.

Ran tests and found setuid bits by purely textual search. Further analysis is required. See https://travis-ci.org/travis-ci/apt-whitelist-checker/builds/72334896.

Same thing. Just refers to the setuidallowed function(s)

@elken Sorry for the noise. The comments are coming from automated runs of the tests. (I'm trying to have more meaningful messages posted when the problems are seen.) You can ignore them for now.

Yeah ik they are I'm just providing feedback for you :p It does look false positives in everything though so does it look good?

Ran tests and found setuid bits by purely textual search. Further analysis is required.If these are found to be benign, add .See https://travis-ci.org/travis-ci/apt-whitelist-checker/builds/72338448.

Ran tests and found setuid bits by purely textual search. Further analysis is required.If these are found to be benign, add .See https://travis-ci.org/travis-ci/apt-whitelist-checker/builds/72339590.

Ran tests and found setuid bits by purely textual search. Further analysis is required.If these are found to be benign, add bash:/dev/null:ambiguousredirectSee https://travis-ci.org/travis-ci/apt-whitelist-checker/builds/72340582.

Ran tests and found setuid bits by purely textual search. Further analysis is required.If these are found to be benign, add libqt5core5a libqt5gui5 libqt5libqgtk2 libqt5network5 libqt5opengl5 libqt5sql5 libqt5sql5-mysql libqt5sql5-odbc libqt5sql5-psql libqt5sql5-sqlite libqt5sql5-tds libqt5xml5 libqt5dbus5 libqt5test5 libqt5concurrent5 libqt5widgets5 libqt5printsupport5 qtbase5-dev qtbase5-private-dev libqt5opengl5-dev qtbase5-dev-tools qt5-qmake qtbase5-examples qtbase5-dbg qtbase5-dev-tools-dbg qtbase5-examples-dbg qt5-default qtbase5-doc-html.See https://travis-ci.org/travis-ci/apt-whitelist-checker/builds/72361361.

Well, formatting needs a bit more work, but the comment is a lot more useful now.

Yeah much neater now


Manual override of where to restart download of posts

Provide us a use case of the feature
Due to blocking on Instagrams side it is now nearly impossible to get posts larger than 500-1000 posts without hitting some error.
What I want is a manual override of where to (re-)start the downloads or the checks.
Example:
I download with one account like this:
--stories --highlights --igtv --login=xxxx --password=xxxx someone
Lets assume the highlights are downloaded normally (which is mostly the case) it then starts to download the posts, lets say 1/873. After a while you hit the API limit and eventually (lets say at 273/873) you get a 400 Bad Gateway error which means the login account is burned in most cases.
When I restart the whole thing again with above parameters with a new login account (could also be true with the same account?)
it checks the highlights rather fast and then again tries to downloads or better checks for the jsons.
What I now want is to specify a post where it restarts the download, in my example it would be likely somewhere at 265 to be on the safe side.
There is the iterator thing in the directory which should be used in that case (in my opinion) but I only saw it once it kicked in. Maybe it is because it is user-based? I really don't know.
Without this feature it is not possible at the moment to get a large set of posts when logged in. But even if the login problems are solved it would be nice to start or restart on a specific post.
I understand I can get all posts if I don't login but then I won't get the larger resolutions.

Do you have an idea for how to start the loop at an arbitrary post instead of the first?

There is the iterator thing in the directory which should be used in that case (in my opinion) but I only saw it once it kicked in. Maybe it is because it is user-based? I really don't know.

Yes, only resume files with matching login names are considered.

I am afraid I have no idea how to start a loop at a specific post because I do not know how instaloader does the download. I think you have a way better understanding in this.
How does the iterator work? Can it be modified into using it for other users?
Another idea: When I restart the download again with another account I end up in API problems again so I assume instaloader checks again with the help of the API if a JSON exists. Now my idea is to first check if the json exists and only then try to download the file.
Or how about only download a file when there is a higher-quality image available. So it would be possible to download the files without login and then only download the ones that have higher-quality images?
I am very sorry I can not be of help here,  I really do not understand the whole download process :-(

I am afraid I have no idea how to start a loop at a specific post because I do not know how instaloader does the download. I think you have a way better understanding in this.

As far as I know, it is not possible to start the iteration at an arbitrary point (in contrast to resuming at an arbitrary point).

How does the iterator work? Can it be modified into using it for other users?

We decided to not allow resuming download loops between accounts because the information needed for resuming a download may be private in the sense of being associated to a certain account. This becomes clear when thinking about looping through a private profile that is followed by one account but not by another one. Sharing resume information between these accounts would very likely lead to a 'suspicious activity' ban. With Instaloader being open source, it is of course possible to remove the same-account-check in Instaloader's nodeiterator.py.

Or how about only download a file when there is a higher-quality image available. So it would be possible to download the files without login and then only download the ones that have higher-quality images?

To find out which posts are available in a higher-quality, one would need to iterate over all posts while being logged-in.


Please update screenshots on this page.

UX is different from the lastest Azure protal website.

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

ID: 773e07ff-6bd8-47b2-5b83-75c7246693e6
Version Independent ID: 8723d5a6-ac93-0dba-b2b8-83905d807d67
Content: Get started with Azure Monitor Log Analytics
Content Source: articles/azure-monitor/log-query/get-started-portal.md
Service: log-analytics
GitHub Login: @bwren
Microsoft Alias: bwren

Thanks for your comment. The feedback has been shared with the content owner for further review. Thanks for your patience.

Thanks for this.  We're actually working on a number of updates that you'll see in that article soon, including new screen shots.

I'm going to go ahead and close this since we are already actively working on it.  Should see updates in a couple of weeks.

#please-close


external link treatment

Fixes #53.

I've added a bit of documentation, and disabled auto-merge to give you a chance to review it.


Console not rendering properly on a Webkit window [Linux]

This is a new issue, that I believe arrived from a recent upgrade of libraries, that causes the console to not render properly on a WebKit window.
Here is side by side with firefox:

It happens both on main which worked perfectly normal before, as well as on purego.
Console does not have any error messages, so not an immediate guess on what causes it 🤷🏻♂

So in that screenshot, on the left is Firefox and on the right is a Webkit window with GTK? Can you put into words how its not rendering properly? I can see a prompt but in the middle of the screen, so is maybe the top of the screen not rendering? Did it cold boot to that prompt? How did it look going through the boot process?

So in that screenshot, on the left is Firefox and on the right is a Webkit window with GTK? Can you put into words how its not rendering properly? I can see a prompt but in the middle of the screen, so is maybe the top of the screen not rendering? Did it cold boot to that prompt? How did it look going through the boot process?

Correct, left is Firefox and right is WebKitGtk window.
Here is how it goes when it window loads:

And when I try to enter commands:

Another update, I tried it with Epiphany which is WebKit based, and sure enough, same situation:
Screencast From 2024-09-25 21-50-10.webm
Funny things is, epiphany is linked with libwebkitgtk-6.0.so.4 and my demo browser is linked with /usr/lib/libwebkit2gtk-4.1.so.0 but they produce the exact same problem.
I'm not exactly sure how the versions of WebKitGtk is distributed but I found that they both have the same version number, which is "2.46.0-2".

I'll try to downgrade to test and update this thread.

Update on the problem.
The issue repeats when I test it only with v86 as well. This is Epiphany browser on https://copy.sh/v86 :

I tried env86 in a VM with Ubuntu, but WebKit straight up crashed when I tried to load the emulator page. And I can confirm that it has the behavior when I tested it on https://copy.sh/v86 as well.

I found the problem!
It appears 2.46.0 changed a lot of how rendering works. But in particular they added this:

Add a new setting to enable or disable the 2D canvas acceleration (enabled by default).

Which they enabled by default. So I tested with this disabled and sure enough, it worked.

Wow, good find


fix a warning

This commit is to fix the following warning:
 warning: value computed is not used [-Wunused-value]
         BIO_flush(b64);
                       ^

Thank you, but I added error checks instead in https://github.com/eidheim/Simple-Web-Server/commit/f746027d379c2a2ea568f56dd80486e02b6a1874. By the way, what compiler did you use to receive this warning? I tried that flag in both newer clang++ and g++ but could not get that warning.

It is a surprise why I can no longer find such a warning too.
If you turn on -Wconversion switch, you will find 3 warnings. Would you like to send a fix for them?
In file included from /.../Simple-Web-Server/https_examples.cpp:2:0:
/.../Simple-Web-Server/server_https.hpp: In member function ‘virtual void SimpleWeb::Server<boost::asio::ssl::stream<boost::asio::basic_stream_socket<boost::asio::ip::tcp> > >::start()’:
/.../Simple-Web-Server/server_https.hpp:51:114: warning: conversion to ‘unsigned int’ from ‘long unsigned int’ may alter its value [-Wconversion]
                                        std::min<size_t>(session_id_context.size(), SSL_MAX_SSL_SESSION_ID_LENGTH));
                                                                                ^
In file included from /.../Simple-Web-Server/https_examples.cpp:10:0:
/.../Simple-Web-Server/crypto.hpp: In static member function ‘static std::__cxx11::string SimpleWeb::Crypto::pbkdf2(const string&, const string&, int, int)’:
/.../Simple-Web-Server/crypto.hpp:215:82: warning: conversion to ‘int’ from ‘std::__cxx11::basic_string<char>::size_type {aka long unsigned int}’ may alter its value [-Wconversion]
                              key_size, reinterpret_cast<unsigned char *>(&key[0]));
                                                                                ^
/.../Simple-Web-Server/crypto.hpp:215:82: warning: conversion to ‘int’ from ‘std::__cxx11::basic_string<char>::size_type {aka long unsigned int}’ may alter its value [-Wconversion]

These warnings are about implicit conversions based on parameter types, and I do not see a real value in adding static_casts in these cases.
Thank you, -Wconversion helped, but I guess there is a reason why this flag is not part of -Wall and -Wextra. If you would like to silence these warnings from Simple-Web-Server, you can add the includes as system includes when compiling or in your build management system (cmake for instance).


Pre-trained model

I‘m a follower of your works and do some research based on openABC-D. We want a pre-trained model for downstream works but the model trained by ourselves is slightly worse than the result in the paper.  Could you provide the pre-trained QoR prediction model(net3)? Thanks a lot.

Hi @lvchenyangAI,
Thanks for following up on our work.
Unfortunately, our pre-trained models were kept at /scratch and we didn't keep a backup. However, I can easily train the model our side and share it across. I have some priority for this week. I'll be able to share with you the pre-trained models during first week of April. Will that work?
Best regards,
Animesh

OK，I really appreciate all the work about openABC-D and your extra assistance provided.

Hi @lvchenyangAI ,
Do you need the pre-trained model of Net3 only on Set 1 (i.e. Split Strategy 1) or on all the train-test split?

@.*** Basak Chowdhury
Thank you for your assistance. If you already have a trained model, it is what I need. Also, we are using offline reinforcement learning methods to generate logic synthesis recipes. If you are interested, we can further discuss and exchange ideas.

发件人: Animesh Basak Chowdhury @.>
发送时间: 2023年4月11日 23:42
收件人: NYU-MLDA/OpenABC @.>
抄送: lvchenyangAI @.>; Mention @.>
主题: Re: [NYU-MLDA/OpenABC] Pre-trained model (Issue #8)
Hi @lvchenyangAIhttps://github.com/lvchenyangAI ,
Do you need the pre-trained model of Net3 only on Set 1 (i.e. Split Strategy 1) or on all the train-test split?
―
Reply to this email directly, view it on GitHubhttps://github.com/NYU-MLDA/OpenABC/issues/8#issuecomment-1503639203, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AUSHDDQSZ54VMPQDMBK5IMDXAV3YHANCNFSM6AAAAAAWJ7KA7M.
You are receiving this because you were mentioned.Message ID: @.***>

@lvchenyangAI,
Okay I will share across the pre-trained models.
On our side, we are also working on offline RL strategies for logic synthesis and data distribution issues as well.
Happy to discuss more on this post May deadlines.

Hi @animeshbchowdhury,
I’m a follower of your work as well. Have you already uploaded the pre-trained models to the repository?
Thank you very much.

Hi @phyzhenli and @lvchenyangAI
Extremely sorry for not being able to do so due summer paper deadlines during this period.
Allow me some time (preferably this week) I have trained it on SynthNet V1 but SynthNet V2 and V3 are still remaining.


[Compute] VirtualMachineScaleSet Example Issue

original issue: https://github.com/Azure/azure-sdk-for-python/issues/33268
example link: https://github.com/Azure/azure-rest-api-specs/blob/main/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-09-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithPriorityMixPolicy.json
Properties platformFaultDomainCount and networkApiVersion under networkProfile are required when the orchestrationMode is set as Flexible but not included in this example.
It should include these properties like the snippet below:
"properties": {
    "orchestrationMode": "Flexible",
    "platformFaultDomainCount": 1,
    "priorityMixPolicy": {
      "baseRegularPriorityCount": 4,
      "regularPriorityPercentageAboveBase": 50
    }
    "virtualMachineProfile": {
      "networkProfile": {
        "networkApiVersion": "2020-11-01",
...

Hi @ChenxiJiang333, thank you for raising this. We'll look through the VMSS examples and send out a PR to fix this. Thanks!

Closing this issue as fix was created and is now merged into main. Thanks! cc: @aleclawlor


Remove direct z/OS dependancy in GetListing

I am trying to help remove (step by step) direct code dependencies on z/OS.

Thanks!


Count the number of ANAGRAMS

Greetings!
This is Sundar. I have written a code for counting the number of ANAGRAMS.
Hope you like it and merge it with your project / repository and consider this as my contribution for
HACKTOBERFEST-2021 .

I have deleted the blank space at places that the checker pointed out.
But still it says  "Redundant blank line at the end of a code block should be deleted" .
What to do?

Don't worry @Sun-0321!
The checks have passed, it can be taken care of leater

@skully-coder  why is this project excluded from hacktoberfest
?


Minor corrections

@alfredmyers,
Thanks for your contribution.
To ensure that the project team has proper rights to use your work, please complete the Contribution License Agreement at https://cla.microsoft.com.
It will cover your contributions to all Microsoft-managed open source projects.
Thanks,
Microsoft Pull Request Bot

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

CONTRIBUTING.md
:white_check_mark:Succeeded

docs/profiling/rapid-web-site-profiling-with-vsperfaspnetcmd.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

I signed the CLA. Do I have to do anything else?

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

CONTRIBUTING.md
:white_check_mark:Succeeded

docs/profiling/TOC.md
:white_check_mark:Succeeded

docs/profiling/beginners-guide-to-performance-profiling.md
:white_check_mark:Succeeded

docs/profiling/how-to-collect-performance-data-for-a-web-site.md
:white_check_mark:Succeeded

docs/profiling/profiling-feature-tour.md
:white_check_mark:Succeeded

docs/profiling/rapid-web-site-profiling-with-vsperfaspnetcmd.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

CONTRIBUTING.md
:white_check_mark:Succeeded

docs/profiling/beginners-guide-to-performance-profiling.md
:white_check_mark:Succeeded

docs/profiling/how-to-collect-performance-data-for-a-web-site.md
:white_check_mark:Succeeded

docs/profiling/profiling-feature-tour.md
:white_check_mark:Succeeded

docs/profiling/rapid-web-site-profiling-with-vsperfaspnetcmd.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

CONTRIBUTING.md
:white_check_mark:Succeeded

docs/profiling/beginners-guide-to-performance-profiling.md
:white_check_mark:Succeeded

docs/profiling/how-to-collect-performance-data-for-a-web-site.md
:white_check_mark:Succeeded

docs/profiling/profiling-feature-tour.md
:white_check_mark:Succeeded

docs/profiling/rapid-web-site-profiling-with-vsperfaspnetcmd.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

CONTRIBUTING.md
:white_check_mark:Succeeded

docs/profiling/beginners-guide-to-performance-profiling.md
:white_check_mark:Succeeded

docs/profiling/how-to-collect-performance-data-for-a-web-site.md
:white_check_mark:Succeeded

docs/profiling/profiling-feature-tour.md
:white_check_mark:Succeeded

docs/profiling/rapid-web-site-profiling-with-vsperfaspnetcmd.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Webpack loader support

Hi,
Do you guys know how to fix this issue https://github.com/lijunle/depcheck-es6/issues/14

Looks like it was moved to https://github.com/depcheck/depcheck/issues/42 .


RDS Core: IPVLAN connectivity test added

IPVLAN connectivity test added: different nodes & same node

cc: @yprokule