Configuration Page Shows Incorrect Changes Count

Current Behavior
When I change a field such as max download price or upload price, this is listed as "2 Changes" near the save changes button.
Expected Behavior
I would expect changing one field to be "1 Change" near the save changes button.
Steps to Reproduce

Go to the Configuration page
Reset all changes in case any are outstanding
Change Max Download Siacoin Price
Observe count of changes

Version
v1.0.8
What operating system did the problem occur on (e.g. Ubuntu 22.04, macOS 12.0, Windows 11)?
Windows 10
Autopilot Config
N/A
Bus Config
N/A
Contract Set Contracts
N/A
Anything else?
Browser is Firefox 128

@Druffib hey thank you for reporting this. I think this is likely due to having the allowance "calculate" feature enabled which automatically calculates an ideal value and updates the field when you change your estimates or max prices.

This is a confusing user experience and is not clear enough in the UI, but because of feedback like yours we have already removed this behaviour in the next release. In the next version of the software, there is no longer a "calculate" feature that automatically updates the value, instead we have added explicit buttons for settings an optimal allowance or fitting prices to the allowance.

Indeed, that appears to be it, thanks! This was definitely just a nit to pick for your attention; thanks for the feedback and glad you are smoothing things out!


CDIS-Gateway: Implement or remove use of block_host config option

warning: field block_host is never read
--> cdis-gateway/src/config.rs:319:9
|
316 | pub struct ConfigSpec {
|            ---------- field in this struct
...
319 |     pub block_host : Option,
|         ^^^^^^^^^^
|
= note: ConfigSpec has a derived impl for the trait Debug, but this is intentionally ignored during dead code analysis
= note: #[warn(dead_code)] on by default

A created socket should check if a received packet is coming from the same host as where the gateway is running. The config option block_host set to true should filter these packets.

Fixed in cdis-gateway v0.3.0


[FEATURE] Utilize built-in search

Built-in DataTables search does send correct JSON to server with non-empty search property, but it seems the library simply ignores it. Since search itself is provided, I see this as missed opportunity rather than bug.
Your example provides external search facilities instead, but that requires developer interference in JS search handler or server-side controller/API endpoint. Having that done by library itself will be appreciated.
To reproduce:

Use Demo;
Modify wwwroot/js/app.js: add f option somewhere into 'dom';
Observe that built-in search triggers loading data popup but does nothing.

You can add the f to the dom property and make use of the built in search instead of using external search. But the question is against which column you will search the user input? That's why I have removed f from dom in my demo as this package is focused on individual column based search based on datatype.
You can do something similar like what I have suggested in #29 but in a different way as shown below,
if (!string.IsNullOrWhiteSpace(param.Search.Value))
{
    var dtColumn = new DTColumn
    {
        Name = "co", // search operator
        Data = "Name", // column name
        Search = new DTSearch
        {
            Value = param.Search.Value // built-in search value
        },
        Orderable = true,
        Searchable = true
   };

   param.Columns[1] = dtColumn;
}

Note that here I'm explicitly making the search against Name column with the input entered by user from built-in search textbox. You can make use of this param.Search.Value to make search against any column of your wish by following above approach.
Unlike JavaScript this cannot be done automatically as different columns have different datatypes and casting will fail in C#. Lets say you can search the same text against int or DateTime field as it will throw exception. Hence this option is not implemented in the package.
Hope this helps.

Give a star if you like this library.

KR,
Abdul Rahman

Unlike JavaScript this cannot be done automatically as different columns have different datatypes and casting will fail in C#.

Server-side library could mimic the behaviour of client-side, that is threat everything as string and perform word-bound search with partial matching.

This does a database level search and the SQL formed on the fly for all columns of different type cannot be casted to string.

SQL formed on the fly for all columns of different type cannot be casted to string.

I've conducted some tests and can't confirn this behavior. Signed and usigned byte, signed and unsigned int, signed long, signed and unsigned short, single and double and even datetime works via simple ToString().Contains(needle). String ToString().Contains() doesn't work, but just Contaings() do.

Even if we do so it will sometimes end with doing the evaluation on the code level than in the database level which will have huge performance impact.

By EF.Core defaults, client-side evaluation requires additional actions.

Even if casting is possible why to do unnecessary casting to string for all data types?
I actually thank you for the suggestion, i think that is a great ideal, i will look at adding it to the roadmap.
If you would like to contribute this as a Pull Request, i would be happy to accept it.


Cannot create mock dataset

Hi, I was trying to create the mock dataset based on the example in the readme, but get the following error:
from pado.mock import mock_dataset
ds = mock_dataset(None)

Traceback (most recent call last):
  File "/Users/adrianwolny/workspace/pado/pado/demo.py", line 2, in <module>
    ds = mock_dataset(None)
  File "/Users/adrianwolny/workspace/pado/pado/mock.py", line 98, in mock_dataset
    ip = mock_images(images_urlpath, num_images)
  File "/Users/adrianwolny/workspace/pado/pado/mock.py", line 206, in mock_images
    image = Image(
  File "/Users/adrianwolny/workspace/pado/pado/images/image.py", line 151, in __init__
    self._metadata = self._load_metadata()
  File "/Users/adrianwolny/workspace/pado/pado/images/image.py", line 338, in _load_metadata
    return ImageMetadata(
  File "/Users/adrianwolny/miniconda3/envs/pasu/lib/python3.9/site-packages/pydantic/main.py", line 171, in __init__
    self.__pydantic_validator__.validate_python(data, self_instance=self)
pydantic_core._pydantic_core.ValidationError: 1 validation error for ImageMetadata
objective_power
  Input should be a valid string [type=string_type, input_value=40, input_type=int]
    For further information visit https://errors.pydantic.dev/2.6/v/string_type

Is there a way to disable the pydantic validation to make it work?

Probably same issue as #26
try:
python3.10 -m venv venv310
source venv310/bin/activate
pip install pado"[cli,create]" \
  git+https://github.com/bayer-science-for-a-better-life/pathdrive-pado-tggates \
  rich pydantic"<2"

thanks for info @ap--, it indeed works after downgrading to pydantic v1.10+


[Bug] ChatGPT Program Not Working - CAPTCHA cloudflare

Bug Description
The ChatGPT neural network program is not functioning as expected and is repeatedly presenting a CAPTCHA challenge from Cloudflare that cannot be bypassed. This issue started occurring after the latest update to version 2.13.0.
Steps to Reproduce
Steps to reproduce the behavior:
Go to the ChatGPT program interface.
Attempt to initiate a conversation.
Observe the CAPTCHA challenge presented by Cloudflare.
See error indicating that the CAPTCHA cannot be solved or bypassed.
Expected Behavior
A clear and concise description of what you expected to happen.
Describe what you expected to happen...
I expected the ChatGPT program to initiate a conversation without presenting a CAPTCHA challenge from Cloudflare, or at least provide a solvable CAPTCHA that allows access to the program's features.
Screenshots

Deployment Method

[ ] Docker
[ ] Vercel
[ ] Server

Desktop OS
win 10
Desktop Browser
chrome
Desktop Browser Version
126.0.6478.127
Smartphone Device
No response
Smartphone OS
No response
Smartphone Browser
No response
Smartphone Browser Version
No response
Additional Logs
Can you please tell me what I need to do to fix this problem?

installed this version
NextChat_2.13.0_x64-setup.exe 5.77 MB 1 hour ago

Developers, is there anything that can be done about this problem? I'm running out of limits, and I'm wasting time on requests, getting an HTML code with a Cloudflare captcha in response.? ???
This has never happened before at all

https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web/issues/5004#issuecomment-2252183332


Add more comments to the antctl Multi-cluster commands code

Signed-off-by: Jianjun Shen<EMAIL_ADDRESS>

/skip-all
Only comments and documentation changes.


Revert "[SMALLFIX] Add two concurrent unit tests for indexedSet"

Reverts Alluxio/alluxio#3674
It seems like this test has been causing a lot of build failures lately, probably due to leaked resources. In the last 10 default builds, 5 ran this test first, while 5 ran it after most other integration tests. Every build which ran this first went very slowly and timed out, while the builds which ran this toward the end succeeded. I will revert this and see if things start passing again.

@xhad1234 Could you take a look and see if those tests might leak resources?

@gpang Thank you, I'm checking for that.


Generate more favicon sizes

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
I use this program to generate favicons, but I only find favicon-196.png in the output
Describe the solution you'd like
A clear and concise description of what you want to happen.
Generate smaller sizes like favicon.ico, 16x16, 32x32, and 64x64
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Using external generators or resizing by hand
Additional context
Add any other context or screenshots about the feature request here.
None

I was thinking this as well. What would be the use case for those icons though? Wouldn't 192 and 512 check all of the boxes according to the readme of this project?

As far as I know, browsers will at least download the 196x196 version of a favicon, just in case they need to display the icon in a larger box somewhere. Since they always do that, there is no reason to then also bloat the network connection with 64x64 and 32x32 versions of the image.

Thanks for the feedback folks. As @atjn mentioned, this is exactly the reason why we use a single size for favicons. Platforms already force us to bloat the apps we have with enough tags and images. So, unless it's absolutely necessary, I'm in favor of brevity in this area.


Build instructions in README outdated

They still refer to ceylon-dist. Also, the ceylon README doesn’t refer to the SDK build at all, so we should at least mention the relation between the two (same parent folder).

You're too late, I've already fixed it ;)

What do you mean, “too late”? I submitted this issue six minutes before your commit :P

Details details ;)


feat: allow the same OIDC configuration target multiple HTTPRoutes

This PR changes OIDC cookie suffix to OIDC clientID so multiple HTTPRoutes can share the same OIDC configuration.
Related: https://github.com/envoyproxy/gateway/issues/3253
@sadovnikov

@sadovnikov During today's meeting, @arkodg  mentioned that EG is going to support targeting Policy to multiple targets. I suggest we hold this and focus on https://github.com/envoyproxy/gateway/issues/2999.

@zhaohuabing sounds good. Do you have an idea when https://github.com/kubernetes-sigs/gateway-api will have a new release?

@zhaohuabing sounds good. Do you have an idea when https://github.com/kubernetes-sigs/gateway-api will have a new release?

The decision has been made,  and It doesn't rely on gateway API since SecurityPolicy is EG's extension. I just need to work on this when I have some circles.


11949 association phrases

If anyone sees a better way of doing this, please suggest it. My bridge from ooaofooa to ooaofgraphics seems a little clumsy, but maybe it's OK. I also made another suggestion in the INT that might need to be given consideration.

Have you considered running this code from the model loader? Check out for example upgradeElementOrder in org.xtuml.bp.io.core/src/org/xtuml/bp/io/core/ImportHelper.java:2259. This adds order to elements like attributes from older models which didn't have explicit order. This method is called from finishComponentLoad which is generated from org.xtuml.bp.io.core/arc/gen_import_java.inc:886. That method operates on a List called loadedInstances but there is also loadedGraphicsInstances which contains all the ooaofgraphics model instances that were loaded. Seems like this would greatly reduce the changeset.

The changes do run from the model loader, but I was looking for a better way. Thank you; I'll check into this. One concern I have is that I might stomp on a valid Connector <-> End value. I identified a singlet occurrence, which might be valid for some model elements. If anyone can tell me that the enumeration value, End::Additional, is invalid for floating text on a connector, then I can just run the checking from the ooaofgraphics with no involvement of ooaofooa.

Actually, I think I could use GD_GE::OOA_ID and element of with an existing path back to ooaofooa to limit the connector checks to certain ooaofooa elements, but the definition of End::Additional might still be helpful.

If we can limit this to ooaofgraphics, it avoids the communication between
and reduces risk on the semantic model.  That would be nice.
On Thu, Aug 13, 2020 at 8:27 AM Lee Riemenschneider <
<EMAIL_ADDRESS>wrote:

Actually, I think I could use GD_GE::OOA_ID and element of with an
existing path back to ooaofooa to limit the connector checks to certain
ooaofooa elements, but the definition of End::Additional might still be
helpful.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/xtuml/bridgepoint/pull/702#issuecomment-673447715,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAQFCCZFOYGHU22RPBECVQTSAPL3PANCNFSM4PUVDFLA
.

I don't understand what you mean by "risk on the semantic model".

changing oofofooa code
On Thu, Aug 13, 2020 at 9:46 AM Lee Riemenschneider <
<EMAIL_ADDRESS>wrote:

I don't understand what you mean by "risk on the semantic model".
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/xtuml/bridgepoint/pull/702#issuecomment-673488903,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAQFCC4UZPPJBW47UQVI3B3SAPVFBANCNFSM4PUVDFLA
.

This should be ready now. Looks too easy now.

Nice.  I will merge this into my working branch, run a server build and then do some testing over the weekend.


Add SIMBAD link

We should have a link to the SIMBAD entry for the source.  Not sure which table or to make a new table.

This can be a clickable button by the share button on the solo_results page


react-content-query-webpart For Documents

Category

[X] Question
[ ] Bug
[ ] Enhancement

Authors
Expected or Desired Behavior
Observed Behavior
The DocIcon and the ServerREdirectedUrl fields are not being returned for the documents in a Document library. Is there a way to display those?
Steps to Reproduce
Submission Guidelines

Hi @dheepai , DocIcon and ServerRedirectedUrl are not list item fields, they are managed properties returned from search results. The content query webpart does not use search behind the scenes, it uses a CAML query in order to return the items matching its query along with their field values (the one you selected).
You can build the icon and server redirected url yourself using some logic in the handlebars template or a simple helper that could return you the icon based on the File_x0020_Type field value, then the helper could be used in your template with something like this :
{{getDocumentIcon File_x0020_Type}}
Otherwise you can use the Search Refiners WebPart which uses the search instead of a CAML query.

@dheepai I hope @spplante 's answer was what you were looking for?
I'll go ahead and close this issue because there hasn't been any activity on it, but feel free to re-open it if you need more help with this.


Sorting tool for tabix

add class function called def sort so vardict filter_single  and vardict case_control return vcfs sorted on chromosome and position. Sort should be called for the command here.

Just fyi, sort should be called after the closing of file handle.


chocolatey-visualstudio.extension: ignore NODE_OPTIONS

The current version of the Visual Studio Installer uses Electron, which will crash if NODE_OPTIONS is set.
This is already fixed in Electron, but until the Installer is updated it would be good to work around this by ignoring NODE_OPTIONS.
I tested this change and it seemed to work correctly, but feel free to change anything or give me feedback.
Fixes: https://github.com/nodejs/node/issues/24360
Refs: https://github.com/electron/electron/issues/12695

Thanks! I will merge and release it shortly.

nodejs/node#24360 does not open for me, is the issue id correct?

@jberezanski it is. I also can't open it, nor the page of the opener (@idsplus-carlos) so perhaps the account was deleted and the issue along with it. I thought GitHub replaced the users by @ghost in this case, so it may be some bug or temporary issue.
Essentially, the details are in the Electron issue https://github.com/electron/electron/issues/12695. If the variable NODE_OPTIONS is set to --max-old-space-size=4096, Electron crashes on startup. Because of this, the Node.js script to install build tools will enter a reboot loop.

@joaocgreis sorry about that! For some reason the system flagged me two times after opening the issue (this is a new accoutn), let's hope this time the issue sticks.

ping @jberezanski

...and it works on systems with .NET 4.6 or newer, but unfortunately it crashes on systems with older .NET, because the ProcessStartInfo.Environment property was added in 4.6:
ERROR: The property 'Environment' cannot be found on this object. Verify that the property exists.
The install of visualstudio2017feedbackclient was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\visualstudio2017feedbackclient\tools\ChocolateyInstall.ps1'.

Tested on Windows 8.1 Pro with Update (ISO from MSDN), which has .NET 4.5.1 built in. Although .NET 4.6.2 is installed as a dependency of visualstudio2017feedbackclient, it requires a reboot (which Chocolatey ignores), so the installation proceeds under .NET 4.5.1.
The fix would be to use the ProcessStartInfo.EnvironmentVariables property.

I've changed the property reference and it works on older .NETs now. Could you give it a try in your environment? https://www.myget.org/feed/jberezanski-chocolateypackages-dev/package/nuget/chocolatey-visualstudio.extension/1.7.1-preview2

(code is here: https://github.com/jberezanski/ChocolateyPackages/commits/vs_electron_fix)

@jberezanski no problem, just trying to avoid that this gets forgotten. Thanks for fixing the issue! I tried it in my test machine and it works well.

@jberezanski thanks!


Affinity Map created from user interview analysis

Add the consolidated figjam file link with the affinity diagram created by @hilzygift and @avantikajain289. @andreuxxxx please note.
### Tasks
- [ ] Create consolidated figjam file with CNCF email
- [ ] Add affinity map and any other analysis to the figjam file (hilda and avantika)
- [ ] Upload it on github to keep all assets in one place

Hi @avantikajain289 @andreuxxxx
Here's the affinity map link

Figma File Showcasing the Affinity Diagram based on the devOps persona:
https://www.figma.com/file/UHnH3wdz5TBiCrKCFMKBD5/Affinity-Mapping%3A-Software-Developer%2FDevOps?type=whiteboard&node-id=0%3A1&t=2ulnARPKVR5OY410-1

Thanks @avantikajain289!
We've just migrated the CNCF landscape to v2, so I'll close this one for now.
Please feel free to reopen if needed 🙂


added login page

A Login page for the website.

@aishwaryas15 Thank you so much but we don't want add any login or signin page, I have already mentioned that in so many issues.


Not sure what to put in input_prompt, keep getting KeyError

I'm running this in collab, but get a KeyError on the "Generate and download the composition as TXT file." step.
The default does not work and if I add "SONG=Relax_with_900_notes" in input_prompt as suggested I get:
511     context = input_prompt

--> 512     x = torch.tensor([train_dataset.stoi[s] for s in context], dtype=torch.long)[None,...].to(trainer.device)
513     y = sample(model, x, number_of_tokens_to_generate, temperature=creativity_temperature, sample=True, top_k=top_k_prob)[0]
514     completion = ''.join([train_dataset.itos[int(i)] for i in y])
KeyError: 'G'
What should the input_prompt be?

Hey @iyusdi
Usually, an input prompt would be something from your dataset. Either a word or a char.
In your case, it seems that the letters S, O, and N are in your dataset, so you can put in one or several of these letters as an input prompt.
Let me know if you still have problems.
Alex

Ohh, and word prompts do not work for Char Token encodings as it is all tokenized down to chars.
So you can bypass Char Token encoding sections and disable Char Token encoding in the Convert to MIDI section.
I honestly need to update the colab with proper default settings. My bad :)

I did get it to run by use SON, but I'm not 100% sure where that comes from. Is it Char Token encoded midi? I'll looks some more. Nice project, the music generation is great.

Great! Try it without Char Token encoding. It's how I call 1 char TXT music encoding I have created.
And thank you. Yes, music generation is awesome :) Just be aware of the plagiarism as the current software can't really produce original music by itself.

@iyusdi
I uploaded original 3.0 colab which does not have char token encoding. You can try it if you having problems with the main colab.
https://github.com/asigalov61/Optimus-VIRTUOSO/blob/main/[ORIGINAL]_Optimus_VIRTUOSO.ipynb
Closing this issue for now but let me know of any problems.
Alex


Render events from markdown contents

In #275, I worked on a better approach to managing event content in the docs site, but had some issues with it and had to work around it for now.
Publish from content/events/
I'd like to have events setup as a content type in markdown like these examples here, rather than hard coded into the templates. Being able to list events from markdown would mean:

events could be unpublished/expired after the event has passed
we could pre-populate the full list of upcoming events and use pagination to neatly render the next ones

Rendering Issue in Templates
Not sure what's breaking currently, but working with an events content structure in the handlebars templates, I can't get it to render - I need some help to optimize this!
{{#each (events site.pages) }}
   ...
{{/each}}

closed with #278


Connect state table may not exist on all clickhouse node in cluster

When running multiple clickhouse nodes behind load balancer.
Create connect state table is not created on all nodes or doesn't use ON CLUSTER configuration.
So on some node it may not be able to send data because the table doesn't exist and give error like
 Table default.connect_state does not exist.

Either we can specify on cluster mode here from parameters. i can raise pr if that makes sesnse?

yup, i had to create this table on self hosted clickhouse cluster to make the connector work.


Added Defaults enum

coverage: 97.681% (+0.007%) from 97.674%
when pulling 3cec1a9672ad74f94dc98dcbe43d3ffcaa48d15e on 39-create-structure-for-default-settingsenum-dict-or-somthing-similar
into 47ae5e6fc664aeaf27188a428799caaeee008105 on main.


Fixing ruleset definitions in naive mode

Thanks @clyben for spotting this.

Ripping it out completely in #52


[5.8] Fix issue fake dispatcher (The 3th way)

Look at the https://github.com/laravel/framework/pull/27480 for description.

I think some variable names should also change.
For example the argument for setDispatcher has no longer a relevant name.

Can we please thoroughly consider if this is the right way? These changes seem unwanted to me. You're swapping out a contract with a very loose implementation.

@driesvints Of course , I have tried to fix the issue in 3 different ways, the 2 others are closed.
The idea here is to defer resolving of dispatcher to the last moment.
Anyway fill free to close it up if you do not like it.

@driesvints How on earth framework users need to call that setDispatcher method. (It's Extremely rare)
It seems to be only called by the internals of the laravel.

See comment on your other PR.

@taylorotwell

Please reconsider this PR, since we have 3 guards in the core and only the sessionGuard dispatches events.
The 2 other guards do not even have a setDispatcher method on them.

This PR covers any guard that can accept a dispatcher through a setDispatcher method and is not coupled or know any thing about a specific guard.
The same thing is true for the other PR, https://github.com/laravel/framework/pull/27480


Mdl-Select click issues inside Mdl-Dialog

When a select field is inside a dialog box, clicking an element in the select doesn't close the select box.
It looks like some issue inside the dialog component preventing the click from propagating through.

Thanks for reporting it. I'll take a look asap 😄

It seems to work on develop. Can you checkout the example in the develop branch please? You can run the test examples with npm run dev:integration, then go to localhost:8080 and press the next button until you get to the  Dialogs page

Thanks for the comment!
I did try that and it worked as you said. I have figured out the actual problem.
When the :options attribute points to a Vuex getter, it causes the select box not to close when an item is selected. I am not sure why this is happening, so I might try to look into it.
Do you happen to have any ideas?

Vuex getters should work as any other variable 😕
I don't have any ideas. MDL bind events listeners when the menu is shown. You may look there.
Closing this since it's not a vue-mdl issue


Change name in action.yml to be more unique in marketplace

Name change is required to publish the action to the marketplace

@balena-ci I self-certify!


Kuramoto model demo

Adds a demo of Kuramoto model which describes synchronization of oscillators (fire-flies in this case!). Includes fine controls to swap integration schemes between Euler method and RK4 and set the number of sub-steps.
Also adds randn function to sample the standard normal distribution which was required for this simulation.

Great, thanks!


[YUNIKORN-1006] Address QU 30, 40, 50

This PR addresses the QU 30, 40, 50 in the ASF project maturity model doc.
QU30
The project provides a well-documented, secure and private channel to report security issues, along with a documented way of responding to them.
QU40
The project puts a high priority on backwards compatibility and aims to document any incompatible changes and provide tools and documentation to help users transition to new features.
CO50
The project documents how contributors can earn more rights such as commit access or decision power, and applies these principles consistently.

@chenya-zhang , @wilfred-s please help to review, thanks

Thanks Weiwei! I just saw you already sent a PR so I assigned the ticket back to you. ;)
btw. For QU40: The project puts a high priority on backwards compatibility and aims to document any incompatible changes and provide tools and documentation to help users transition to new features.
=> Should we update our release process (maybe also publish our release process to website when mature) and add a "Backward Incompatibility" section in our future release notes?

yes, make sense. I will add that today as well. Thank you!!


Configuration changes for pglogical

Added some config needed by pglogical.
Requires https://github.com/ManageIQ/manageiq-appliance-build/pull/89

My only concern here is the eventual migration path or documenting how to take an existing appliance and update it to use the the updated postgresql.conf.

Changes are documented as required by pglogical here https://github.com/2ndQuadrant/postgres/blob/dev/pglogical/contrib/pglogical/README.md#quick-setup or for convenience I have copied them here https://gist.github.com/carbonin/aa1073d29741c38ca2e4

Also are https://github.com/ManageIQ/manageiq-appliance/blob/master/TEMPLATE/var/opt/rh/rh-postgresql94/lib/pgsql/data/EVM_V5_Dedicated_Appliance_postgresql.conf or https://github.com/ManageIQ/manageiq-appliance/blob/master/TEMPLATE/var/opt/rh/rh-postgresql94/lib/pgsql/data/EVM_V5_Shared_Appliance_postgresql.conf used?  Should they also be updated?

@carbonin I think we should trash those files. @Fryguy you have any use for alternative postgresql.conf files?


Report on Imminent Threats Posed by Drone Swarms. A Call for Urgent Action

Report on Imminent Threats Posed by Drone Swarms. A Call for Urgent Action
Executive Summary
The rapid advancement of drone technology has opened up new possibilities for various applications, ranging from agriculture and surveillance to emergency response. However, the same technology also poses unprecedented threats to public safety and national security. This report aims to highlight the imminent risks associated with drone swarms and the current lack of effective countermeasures.
Introduction
Drones have become increasingly sophisticated, capable of autonomous flight, and can be deployed en masse as swarms. While their potential for good is undeniable, the ease with which they can be misused is alarming. The ethical implications are particularly concerning, given the indiscriminate use of drones in warfare and the precedent it sets for malicious actors.
The Dilemma
Ontological Concerns
The ethical nature of drone technology and its potential for harm is a significant concern. The indiscriminate use of drones in warfare has set a dangerous precedent that could be exploited by malicious actors, both state and non-state.
Epistemic Concerns
The technology's capabilities and limitations are not fully understood. Traditional defense mechanisms are ill-equipped to handle such unconventional and rapidly evolving threats.
Imminent Threats

Ease of Deployment: Drones can be easily deployed from various platforms, including semi-trucks, making them highly mobile and difficult to trace.
Mass Attacks: Drone swarms can act as multiple active shooters, attacking simultaneously with little to no warning.
Escalation: Current countermeasures like ECM, hacking, nets, and no-fly zones are ineffective in the face of more robust and advanced drone swarms.
Unpredictability: The autonomous nature of drone swarms makes them highly unpredictable, further complicating defense strategies.
Lack of Viable Solutions
EMP: Requires a lot of power and has localized effects.
Microwaves: Effective only until escalation leads to more robust swarms.
Local Monitoring and Shelters: Limited in scope and effectiveness.
Detection: Current detection methods are inadequate, and escalation would render them ineffective.
Conclusion and Recommendations
The lack of effective countermeasures against drone swarms presents an imminent threat to public safety and national security. Given the ethical implications and the limitations of current defense mechanisms, there is an urgent need for multi-disciplinary research and development to find viable solutions.
Immediate actions must include:
Ethical Reevaluation: A thorough ethical review of drone technology and its applications.
Research and Development: Investment in R&D for effective countermeasures against drone swarms.
Public Awareness: Educating the public about the risks associated with drone technology.
Policy and Regulation: Implementing stringent policies and regulations to control the use and deployment of drones.
This situation calls for a reevaluation of our actions and beliefs to ensure alignment with core principles. It serves as a grim reminder that technological advancements can be a double-edged sword, and ethical considerations must be at the forefront of any solutions we seek.

Airsim: So people can make sure their slaughterbot instructions are working before they drive the truck to a school.
https://en.wikipedia.org/wiki/Slaughterbots

https://www.msn.com/en-us/news/technology/sig-sauer-shows-off-p365-pistol-armed-aerial-drone/ar-AA1i3Fwy?ocid=msedgntp&pc=EE23&cvid=e3026b563e20434abcaa6021213ff54c&ei=63


[core-rest-pipeline] Add ENOTFOUND Code to Retry Policy

Packages impacted by this PR
core-rest-pipeline
Issues associated with this PR
#27037 #20161
Describe the problem that is addressed by this PR
Add "ENOTFOUND" retry code error to exponential retry strategy
What are the possible designs available to address the problem? If there are more than one possible design, why was the one in this PR chosen?
Are there test cases added in this PR? (If not, why?)
Provide a list of related PRs (if any)
Command used to generate this PR:**(Applicable only to SDK release request PRs)
Checklists

[ ] Added impacted package name to the issue description
[ ] Does this PR needs any fixes in the SDK Generator?** (If so, create an Issue in the Autorest/typescript repository and link it here)
[ ] Added a changelog (if necessary)

API change check
API changes are not detected in this pull request.

@deyaaeldeen Yes, that is definitely a concern we have noticed. Hopefully we'll move to a configurable retry policy design in the future; for now, we are patching up the missing scenarios from our policy to unblock the customers.


Fix typos in README and edit for clarity

Hi! I fixed some typos and tweaks the wording of a few sentences in the README file, hope you don't mind me making a PR out of it. Let me know if there's anything you want to change, thanks.

Thank you! English is not my mother tongue so this helps everyone else a lot probably "^^


Reorganize Rev A and Rev B code

Reorganize Rev A and Rev B relay board code:

Create different directories for Rev A and Rev B relay board code
Create different directories for different files types: python, json, csv, tcl, bat

Addressed in this PR: https://github.com/ku-cms/eLink_Instrumentation/pull/67


Add support for ZKP or range proofs

Reference: https://github.com/ElementsProject/secp256k1-zkp

I'll def add this once that branch merges to the main fork.  I should also add Schnorr and anything else we're missing from the current code.


coef_ and intercept_ are deprecated for OneVsRestClassifier

The following assignment will fail in scikit-learn 1.1:
https://github.com/scikit-learn-contrib/skglm/blob/main/skglm/estimators.py#L917
coef_ and intercept_ have been deprecated and are removed in scikit-learn 1.1.
Testing the RC on the code, break one of the tests.

Thanks a lot @glemaitre ! I suppose proceeding as in https://github.com/scikit-learn-contrib/skglm/blob/main/skglm/estimators.py#L262 would fix ?


STUDENT ACADEMIC DATABASE

Describe the project you want to add with tech stack
coding language C, sorting and searching algo
Expected behavior
it will take the input of the student's details and a database will be created which has both searching ,sorting insertion and deletion capability.
Screenshots (optional)
please assign me this task for GsSoc'23
Additional context (optional )

assign me this issue i can contribute to your project


Offline not showing any popup if I disable WIFI, but it is working if I manually choose offline in chrome.

https://skptricks.github.io/learncoding/Check internet connection using offline js/index.html
This is not mysite though. If you go to the link and then disable wifi, nothing will happen. But if you open dev tools and toggle 'offline'  it is working.

I have exact the same issue, also with Edge.

Same here

I use a normal computer with normal Internet, without any add-ons, but I have the same problem. How can I fix it, or can I call the offline window in some artificial way?

Disabling wifi was not working for me because my app was deployed locally on localhost:8080. As Offline.js tries to request favicon from the same domain, turning off the WiFi will not work because the app can still fetch the favicon as it's deployed on a local server. That was the case in my scenario. When I turned off the development server, it was able to detect the network connection going down.


fixes issue with obsolete validation check on compliance identifier t…

…ypes. removes obsolete compliance property constants and transformations. removes related obsolete tests. removes incorrect mirage suggestion mock response. adds permanent overflow on y scrollbar to prevent jank on page length variation

Coverage remained the same at 26.678% when pulling 788ce8017259f6f661ff15d57d7971f072815e62 on theseyi:flexible-tagging into d6d625e9c8c2ebc97cc652e58d224bd4461c7f58 on linkedin:master.

Codecov Report

Merging #926 into master will decrease coverage by 0.27%.
The diff coverage is 18.18%.

@@            Coverage Diff             @@
##           master     #926      +/-   ##
==========================================
- Coverage   36.32%   36.05%   -0.28%
==========================================
  Files         312      312
  Lines        8459     8441      -18
  Branches     1589     1589
==========================================
- Hits         3073     3043      -30
- Misses       5386     5398      +12

Impacted Files
Coverage Δ

wherehows-web/app/constants/datasets/compliance.ts
100% <ø> (ø)
:arrow_up:

wherehows-web/app/components/dataset-compliance.js
7.93% <0%> (-0.37%)
:arrow_down:

wherehows-web/app/constants/dataset-compliance.ts
100% <100%> (ø)
:arrow_up:

...herehows-web/app/constants/metadata-acquisition.ts
80.55% <100%> (-5.45%)
:arrow_down:

Continue to review full report at Codecov.

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


c0decreat0r

Added new word riddle

[x] I have read the Code Of Conduct.
[x] I have followed all the steps of submission properly.

I think u have forgotten to add the "hactoberfest-accepted" label. It would be great if u label it.


What would it take for somebody else to use the storage service?

This is a ticket for dumping thoughts/ideas for what we'd need for somebody who isn't us to pick up the storage service and use it. Probably incomplete.

[ ] Publish images in a publicly accessible location (e.g. Docker Hub) with changelogs (https://github.com/wellcomecollection/platform/issues/4365)
[ ] Document how to get started with Terraform, Cognito Pools, etc.
[ ] Document the replicator/verifier interface – this is the bit I imagine people are most likely to want to replace
[ ] Document (or better, fix) the issue with read-after-write consistency upsetting the verifiers

(This ticket is just for saving ideas; actually doing the work needs prioritising separately.)

Document from step 1 - to actually start from blank AWS account/console
Document the development environment.

Closing as outdated, we're not focussing on this at the moment.


Make the initial branch main rather than master

Or rename it as part of the git commands

Do this:
$ git config --global init.defaultBranch main


Error when deploying to Vercel Edge Functions

Description
I am using Vercel Edge Functions and Solid.js
This is the code for the renderer function that fails (api/ssr.ts):
import { renderPage } from "vite-plugin-ssr";

export const config = {
  runtime: "edge",
  regions: ["iad1"],
};

export default async (request: Request) => {
  const { url } = request;
  console.log("Request to url:", url);

  const pageContextInit = { url };
  const pageContext = await renderPage(pageContextInit);
  const { httpResponse } = pageContext;

  if (!httpResponse) {
    return new Response(null, {
      status: 200,
    });
  }

  return new Response(httpResponse.body, {
    status: httpResponse.statusCode,
    headers: {
      "content-type": httpResponse.contentType,
    },
  });
};

Error message + stack trace are included.
Error Message + Error Stack
Error<EMAIL_ADDRESS>You stumbled upon a bug in vite-plugin-ssr's source code. Go to https://github.com/brillout/vite-plugin-ssr/issues/new and copy-paste this error. (The error's stack trace is usually enough to fix the problem). A maintainer will fix the bug (usually under 24 hours). Don't hesitate to reach out as it makes vite-plugin-ssr more robust.
    at (node_modules/.pnpm/vite-plugin-ssr@0.4.118_vite@4.3.3/node_modules/vite-plugin-ssr/dist/esm/utils/createErrorWithCleanStackTrace.js:8:0)
    at (node_modules/.pnpm/vite-plugin-ssr@0.4.118_vite@4.3.3/node_modules/vite-plugin-ssr/dist/esm/utils/assert.js:32:0)
    at (node_modules/.pnpm/vite-plugin-ssr@0.4.118_vite@4.3.3/node_modules/vite-plugin-ssr/dist/esm/client/utils.js:5:0)
    at (node_modules/.pnpm/vite-plugin-ssr@0.4.118_vite@4.3.3/node_modules/vite-plugin-ssr/dist/esm/client/node.js:1:0)
    at (apps/vite-ssr/api/ssr.js:1:0)
    at (api/ssr:middleware.js:1:17)

Thanks for the bug report.
What is the content of node_modules/.pnpm/vite-plugin-ssr@0.4.118_vite@4.3.3/node_modules/vite-plugin-ssr/dist/esm/client/utils.js:5:0? I.e.: which assert() is failing?
Or reproduction if you prefer.

Thank you for looking into this!
Here is the file:
// Utils needed by Server Routing.
// Ensure we don't bloat the server-side with client utils
import { isBrowser } from '../utils/isBrowser';
import { assert } from '../utils/assert';
assert(isBrowser());
export * from '../utils/assert';
export * from '../utils/assertSingleInstance';
export * from '../utils/callHookWithTimeout';
export * from '../utils/checkType'; // Only used by Server Routing (not needed for Client Routing)
export * from '../utils/getCurrentUrl';
export * from '../utils/getGlobalObject';
export * from '../utils/hasProp';
export * from '../utils/isCallable';
export * from '../utils/isObject';
export * from '../utils/objectAssign';
export * from '../utils/parseUrl';
export * from '../utils/projectInfo';
export * from '../utils/slice';
export * from '../utils/unique'; // Only used by Server Routing (not needed for Client Routing)

My assumption would be that isBrowser is being tripped up by the Edge Runtime, which looks a lot like a browser environment.

It's quite unexpected though:
https://github.com/brillout/vite-plugin-ssr/blob/eeb74d3ab3d6d3dabc143aaaf3127a8215321953/vite-plugin-ssr/utils/isBrowser.ts#L1-L4
I guess at this point a reproduction would be the best.

https://github.com/joshdchang/vps-edge-error
Let me know if this works.

Yes, sorry.

https://vercel.com/new/git/third-party
Paste https://github.com/joshdchang/vps-edge-error
Follow the prompts to connect to Git and deploy
Navigate to the deployment (like something.vercel.app)
You should see an error message - you can go to the Functions tab under the deployment in Vercel to see the error logs for the function

I made it work with vite-plugin-ssr on my fork: https://github.com/brillout/vps-edge-error.
But seems like Solid is having a similar issue:
Error: zo is not supported in the browser, returning undefined
    at (node_modules/.pnpm/solid-js@1.7.3/node_modules/solid-js/web/dist/web.js:537:0

Vite-plugin-ssr now itself works with Vercel's Edge Runtime. Fix released in 0.4.119.

As for Solid's error, I think the Edge Runtime should pick worker instead of browser. I recommend you to reach out to Vercel and tell them that.

Thank you for looking into this so quickly and finding a fix! I agree that worker would make more sense - I will send the Vercel people a note.

👍Also in case you think you can convince your employer: https://github.com/sponsors/brillout

I'm a college student working on my own side project, but in the low chance it blows up I'll drop a sponsor haha :)

I see :-) Have fun!


Migration error on debug

There is an error for migration on debug
qrc:/start.qml:693: ReferenceError: migrateColumn is not defined
qrc:/start.qml:692: ReferenceError: migrateColumn is not defined

checked


[FR]: When using relation column as a folder grouping value, use the value itself to create the folder instead of the path.

Contact Details
<EMAIL_ADDRESS>Present your request
Hi, so I am using folders to document where Character lives for D&D game. I created a relation so the list of settlement would come from another DB which as the list of settlement. The issue is that I want to Auto sort them in folder based on their parent settlement.
So if I configure lets say Lewis lives in Canada under my relation column, Lewis should automatically get group in a folder named Canada. Instead it create a folder named /**/*******/Canada which is the path to Canada File.
Is this intended ?
For which platform do you request this request??
Desktop

hi @Snutze ,
Sorry I do not understand the issue entirely.
When you select in your relation cell the file of Canada, the plugin adds yourKey:: [[Canada]]  as an inline field representing the relation.
Do you want to move your D&D character inside a subfolder named Canada too?

Hahaha so sorry Il share a view to explain :P haha

@Snutze do not worry. Please share your video and we will analyze the feasibility of its development


libsweep does not handle unexpected unplug gracefully

Root cause of: https://github.com/scanse/sweep-ros/issues/11
libsweep version + affected bindings
This is an issue in the libsweep software package
operating system
I've only tested on Linux, current Windows behavior in the same situation is unknown
Description:
I have determined the root cause of the issue to be here: https://github.com/scanse/sweep-sdk/blob/master/libsweep/src/unix/serial.cc#L332
When the device is unplugged this results in an EOF event where all calls to wait_readable will return true but calls to read returns zero bytes. This sends us into an infinite loop as this specific failure mode is not addressed at all in the loop so we're stuck here forever.
Repro steps

Plugin sensor
Start a system monitor: htop
Start sweep_node roslaunch sweep_ros sweep.launch
Wait until scans are collected(1-5s): rostopic hz /pc2
Unplug sensor

Observed result

CPU usage goes from ~0.1% to over 90%
No error messages in /rosout or log files
Node stops publishing to /pc2 topic

Expected result

Error message indicating some form of sensor failure/read timeout
CPU usage unchanged

Examining other failure modes in libsweep it appears the right thing here is to throw an exception(possibly causing the calling process to terminate abruptly). I will produce a patched version to bring this failure mode inline with the behavior I see employed elsewhere.


Fix build-staging for Webpack 5

PR Overview
PR #249 failed in its intent - npm run build-staging was failing. PR #248 should have been merged first, since there were essential Webpack 5 upgrades. This PR attempts to fix 249.

It works! https://classroom.preview.zooniverse.org/#/
The error I made was assuming that env staging == env development, when in fact there are situations (e.g. on the Babel config) where 'development' is defined, but not 'staging'. Changing all references to env development did the trick.


IR Failing in the iree-convert-to-spirv pass.

What happened?
/home/prashant/temp.mlir:21:12: error: failed to legalize operation 'arith.constant'
%6 = arith.divf %in, %in_0 : f16                                                                                ^
/home/prashant/temp.mlir:4:3: note: called from
  func.func @forward(%arg0: tensor<10x9216x9216xf16>, %arg1: tensor<1xf16>, %arg2: tensor<2x77x1024xf16>, %arg3: tensor<f32>) -> tensor<10x9216x9216xf16> {
  ^
/home/prashant/temp.mlir:19:10: error: failed to run translation of source executable to target executable for backend #hal.executable.target<"vulkan", "vulkan-spirv-fb", {spirv.target_env
 = #spirv.target_env<#spirv.vce<v1.6, [Shader, Float64, Float16, Int64, Int16, Int8, StorageBuffer16BitAccess, StorageUniform16, StoragePushConstant16, StorageBuffer8BitAccess, UniformAndS
torageBuffer8BitAccess, StoragePushConstant8, GroupNonUniform, GroupNonUniformVote, GroupNonUniformArithmetic, GroupNonUniformBallot, GroupNonUniformShuffle, GroupNonUniformShuffleRelative
, GroupNonUniformClustered, GroupNonUniformQuad, VariablePointers, VariablePointersStorageBuffer], [SPV_KHR_16bit_storage, SPV_KHR_8bit_storage, SPV_KHR_storage_buffer_storage_class, SPV_K
HR_variable_pointers]>, api=Vulkan, AMD:DiscreteGPU, #spirv.resource_limits<max_compute_shared_memory_size = 65536, max_compute_workgroup_invocations = 1024, max_compute_workgroup_size = [
1024, 1024, 1024], subgroup_size = 64, min_subgroup_size = 32, max_subgroup_size = 64, cooperative_matrix_properties_nv = []>>}>
    %5 = linalg.generic {indexing_maps = [#map, #map1, #map], iterator_types = ["parallel", "parallel", "parallel"]} ins(%2, %4 : tensor<10x9216x9216xf16>, tensor<10x9216x1xf16>) outs(%0 :
 tensor<10x9216x9216xf16>) {
         ^
/home/prashant/temp.mlir:4:3: note: called from
  func.func @forward(%arg0: tensor<10x9216x9216xf16>, %arg1: tensor<1xf16>, %arg2: tensor<2x77x1024xf16>, %arg3: tensor<f32>) -> tensor<10x9216x9216xf16> {
  ^
/home/prashant/temp.mlir:19:10: error: failed to serialize executables
    %5 = linalg.generic {indexing_maps = [#map, #map1, #map], iterator_types = ["parallel", "parallel", "parallel"]} ins(%2, %4 : tensor<10x9216x9216xf16>, tensor<10x9216x1xf16>) outs(%0 :
 tensor<10x9216x9216xf16>) {
         ^
/home/prashant/temp.mlir:4:3: note: called from
  func.func @forward(%arg0: tensor<10x9216x9216xf16>, %arg1: tensor<1xf16>, %arg2: tensor<2x77x1024xf16>, %arg3: tensor<f32>) -> tensor<10x9216x9216xf16> {

Steps to reproduce your issue
iree-compile  --iree-input-type=none --iree-vm-bytecode-module-output-format=flatbuffer-binary --iree-hal-target-backends=vulkan  --mlir-print-debuginfo --mlir-print-op-on-diagnostic=false --iree-llvm-target-cpu-features=host --iree-stream-resource-index-bits=64 --iree-vm-target-index-bits=64 --iree-util-zero-fill-elided-attrs --iree-flow-enable-padding-linalg-ops --iree-flow-linalg-ops-padding-size=32 --iree-flow-enable-conv-img2col-transform ~/temp.mlir -iree-vulkan-target-triple=rdna2-unknown-unknown
The minimal repro IR can be found here: https://gist.github.com/pashu123/e44ce15ff8cca0d4518a4fcc841181ef
What component(s) does this issue relate to?
Compiler
Version information
No response
Additional context
No response

@antiagainst @ThomasRaoux Any context would be helpful. I would like to take this task.

Hey @pashu123, thanks for reporting the issue! We'd need more information to understand the problem. It errors out in ConvertToSPIRVPass, but the problem is likely in an earlier step where we fail to vectorize or breaking down large vectors to what's accepted by SPIR-V. (I suspect the arith.constant is a vector with more than 4 elements.) Could you provide the full dump with -mlir-print-ir-after-all so we can check what's wrong?

Actually you have the repro there; I can generate the dump by myself then.

Actually you have the repro there; I can generate the dump by myself then.

https://gist.github.com/pashu123/97a69ec3d38d7fb8f055ee713e1e93f6  The dump is with -mlir-print-ir-after-failure.


ClusterDisks: fix missing initialization

Changes

Initialize a Breakdown instance in the case where it is missing (the other three cases are covered)

LGTM!


Airpurifier 3H

Hi
I have a Airpurifier 3H (zhimi.airpurifier.mb3)
If I start the adapter I get "Wrong device type" but I am able to at least start and stop the device with the following calls:
miio protocol call  set_properties '[{"did":"MYDID","piid":2,"siid":2,"value":true}]'
miio protocol call  set_properties '[{"did":"MYDID","piid":2,"siid":2,"value":false}]'
Is there any chance to add the device and if yes what information is needed to do so?
Thanks

Same problem here... miio discover did not find any devices.

@Knacki you can get the token by using a modified russian version of the xiaomi home app (android only). I will have to look it up again and post the link to that version

@Knacki here's the link https://www.loxwiki.eu/display/LOXBERRY/Token+extrahieren (german)
and that's the link to the russian website where u can get the apk: https://www.kapiba.ru/2017/11/mi-home.html

@xai1: got the Token, but still not working

I guess the device type needs to be added somehow and that's why I have opened that issue. Maybe someone knows how to do that or what needs to be done. Happy to test and assist.

the Airpurifier 3 is using a new api... that's why its not working...
In this project https://github.com/rytilahti/python-miio it is already working.
My problem are my programming skills to help.. but would test if someone is able to fix it :-)

same here with Air Purifier 3H

Hey guys,
there is currently a working javascript implementation for homebrige ;) I figured out that you can run this plugin also in IoBroker with the Homebridge Wrapper plugin ;)
https://github.com/rgavril/homebridge-xiaomi-air-purifier3#readme
Maybe some experience developer can have a look into the code of this plugin and port this IoBroker mihome-airpurifier plugin :)
Greetings

push

there is currently a working javascript implementation for homebrige ;) I figured out that you can run this plugin also in IoBroker with the Homebridge Wrapper plugin ;)
https://github.com/rgavril/homebridge-xiaomi-air-purifier3#readme

Install it to iobroker.ham.
Connect is ok and i am able to control on/off and auto/manual but not the vent-level or any other mode...
Is it the same for you or am I doing something wrong?
regards
Mr.Lee

I wonder why it's so difficult to make 3H smart home compatible. Should be also in interest of Xiaomi.
I'm thinking about selling it again due to missing iobroker implementation.

there is currently a working javascript implementation for homebrige ;) I figured out that you can run this plugin also in IoBroker with the Homebridge Wrapper plugin ;)
https://github.com/rgavril/homebridge-xiaomi-air-purifier3#readme

Install it to iobroker.ham.
Connect is ok and i am able to control on/off and auto/manual but not the vent-level or any other mode...
Is it the same for you or am I doing something wrong?
regards
Mr.Lee

Hey Mr.Lee, yes I had the same issue. I use it now with a kind of workaround. I configured the fanspeed in manual mode to my preferred value with the xiomi app. And now I'm able to switch with iobroker between auto mode and manual mode with my configured fan speed.

there is currently a working javascript implementation for homebrige ;) I figured out that you can run this plugin also in IoBroker with the Homebridge Wrapper plugin ;)
https://github.com/rgavril/homebridge-xiaomi-air-purifier3#readme

Install it to iobroker.ham.
Connect is ok and i am able to control on/off and auto/manual but not the vent-level or any other mode...
Is it the same for you or am I doing something wrong?
regards
Mr.Lee

Hey Mr.Lee, yes I had the same issue. I use it now with a kind of workaround. I configured the fanspeed in manual mode to my preferred value with the xiomi app. And now I'm able to switch with iobroker between auto mode and manual mode with my configured fan speed.

Thanks
Mr.Lee

Hey everybody,
i've figured out, how to control the Purifier 3H inkl. Token retrieving. Maybe you want take a look at: https://github.com/Pittini/iobroker-nodemihome
Betatesters are welcome.


Ryan

https://github.com/TEAMuP-dev/HARP/issues/143

hmm, the commit currently adds 1,520 and removes 9 lines of code. Did you add an extra file to the commit by chance?

removed extra .h file


Self-concatenating for in-place concatenation

Calling aut.concatenate(aut) now breaks everything, we should fix that. Probably it is enough to copy only the original states (up to original aut.num_of_states()).
Also, we should fix that concatenation does not return trimmed automata if we give it trimmed automata. This could be done by checking whether some transition goes into initial states of the second automaton, if not, they are not copied into concatenation.

This should be fixed already.

Should or is? Has anyone tried on at least some example?

Great. I am closing this issue, then.


Form field template improvements

https://github.com/OpenTechFund/opentech.fund/blob/52d9c47cc0092a5a81722a4d3f6cba3e628fed32/opentech/apply/templates/forms/includes/field.html#L8
Is required an attribute for the label element?
https://github.com/OpenTechFund/opentech.fund/blob/52d9c47cc0092a5a81722a4d3f6cba3e628fed32/opentech/apply/templates/forms/includes/field.html#L34-L36
What is the purpose of this extra empty label element?

@frjo closing this. if you need to reopen it, do so and move it to q3.


Edge direction visualization via shader

Implements a dedicated EdgeShader that handles color gradient. A vertex deformation effect can be configured and toggled that allows for a direction visualization. The effect depends on a correct UV mapping and uses the direction as present in our custom 3D edge meshes. The smoothness of the effect relies on several configurable parameters and the vertex density of the original mesh.
The shader is applied to our 3D edge meshes generated in SEESpline. The old direction visualization is replaced.
This MR fixes #789.

Thank you for the review. I have applied the suggested changes.


build: trigger build jobs after release

Description
This PR triggers the build jobs after a the release job

Thanks for the pull request, @Ian2012!  Please note that it may take us up to several weeks or months to complete a review and merge your PR.
Feel free to add as much of the following information to the ticket as you can:

supporting documentation
Open edX discussion forum threads
timeline information ("this must be merged by XX date", and why that is)
partner information ("this is a course on edx.org")
any other information that can help Product understand the context for the PR

All technical communication about the code itself will be done via the GitHub pull request interface. As a reminder, our process documentation is here.
Please let us know once your PR is ready for our review and all tests are green.

@Ian2012 🎉 Your pull request was merged!  Please take a moment  to answer a two question survey so we can improve your experience in the future.


Hyphen in table name doesn't allow to use a hyperlink in SQL Editor

System information:

DBeaver version 22.0.1

Steps to reproduce, if exist:

Create a table with a hyphen in it's name. e.g. new-table
Type a select with a table's name in SQL Editor
Press Ctrl on a keyboard and hover mouse cursor above the table name

Expected: The name becomes a hyperlink and can be clicked
Actual: The name can't be clicked

Seems similar to #12043


incorrect omp_get_num_teams()

#include <stdio.h>
#include <omp.h>

int main (void)
{
  #pragma omp target teams distribute num_teams(2)
  for(int j = 0; j < omp_get_num_teams(); j++)
  {
    printf ("The number of teams = %d!\n", omp_get_num_teams());
  }
}

With llvm-9 and nvptx64 backend.
The number of teams = 2!
The number of teams = 2!

With aomp 0.7-2
The number of teams = 1!

This result seems strange to me. It can be caused by either wrong omp_get_num_teams() return value or the actually number of teams spawn by the runtime is 1.

some analysis, no solution yet ...
I turned on our kernel launch tracing and it seems the looptripcount pushed by our frontend is causing us to throttle the number of teams from 2 to 1. I don't quite understand why the front end thinks we are only executing 1 iteration of the loop. in fact I don't see how it could possibly know its 1.
$ LIBOMPTARGET_KERNEL_TRACE=2 ./a.out
Device#0  CU's: 56
RTLDeviceInfoTy::Max_Teams: 128
Max_Teams: 128
RTLDeviceInfoTy::Warp_Size: 64
RTLDeviceInfoTy::Max_WG_Size: 1024
RTLDeviceInfoTy::Default_WG_Size: 256
thread_limit: 0
threadsPerGroup: 256
ConstWGSize: 256
threadsPerGroup: 256
num_groups: 128
num_teams: 2
num_groups: 2
DeviceInfo.EnvNumTeams -1
DeviceInfo.EnvTeamLimit -1
threadsPerGroup: 256
num_groups: 1
loop_tripcount: 1
DEVID: 0 SGN:1 ConstWGSize:256  args: 0 teamsXthrds:(   1X 256) reqd:(   2X   0) n:__omp_offloading_802_be016f_main_l6
The number of teams = 1!

i modified the test a wee bit to get the loop to iterate twice, recompiled and then i see 2 teams and two lines of output.
#include <stdio.h>
#include <omp.h>
int n =2;
int main (void)
{
#pragma omp target teams distribute num_teams(2)
for(int j = 0; j < n; j++)
{
printf ("The number of teams = %d!\n", omp_get_num_teams());
}
}
$ LIBOMPTARGET_KERNEL_TRACE=2 ./a.out
Device#0  CU's: 56
RTLDeviceInfoTy::Max_Teams: 128
Max_Teams: 128
RTLDeviceInfoTy::Warp_Size: 64
RTLDeviceInfoTy::Max_WG_Size: 1024
RTLDeviceInfoTy::Default_WG_Size: 256
thread_limit: 0
threadsPerGroup: 256
ConstWGSize: 256
threadsPerGroup: 256
num_groups: 128
num_teams: 2
num_groups: 2
DeviceInfo.EnvNumTeams -1
DeviceInfo.EnvTeamLimit -1
threadsPerGroup: 256
num_groups: 2
loop_tripcount: 2
DEVID: 0 SGN:1 ConstWGSize:256  args: 1 teamsXthrds:(   2X 256) reqd:(   2X   0) n:__omp_offloading_802_be0171_main_l7
The number of teams = 2!
The number of teams = 2!

I know how to fix this.   num_teams is derived from num_groups.  The calculation of num_groups is terrible in our library.   I intend to fix this by caching the value through the per kernel structure.

I pushed in a fix for this issue. Our LaunchParameters function needed to properly honor num_teams in the presence of loop_tripcount.  Should be in 0.7-4 release, currently available in a build of our latest.


Enable codecov.io

Current coverage is 44.47%

Branch #15 has no coverage reports uploaded yet.

No diff could be generated. No reports for master found.

Powered by Codecov. Updated on successful CI builds.


URL Cleanup

This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).
Fixed URLs
Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

[ ] http://www.apache.org/licenses/ with 1 occurrences migrated to:
https://www.apache.org/licenses/ (https result 200).
[ ] http://www.apache.org/licenses/LICENSE-2.0 with 115 occurrences migrated to:
https://www.apache.org/licenses/LICENSE-2.0 (https result 200).

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


chore: make main.sh executable

Resolves #117
Makes main.sh executable

@pietrobolcato would you mind testing if this solves your issue, if you run the action with @make-script-executable instead of @v1.3.3?

@sondrelg sorry for the late answer, these have been very busy days!
I will try latest by the end of the week and let you know, thanks a lot for the great work! :)


"siteit -i ./source_directory" command generates an error.

Operating Environment
Operation System: Windows 10
Node version: v16.13.2
Command-line shell: PowerShell v5.1.19041.1682
Issue
On my machine, the tool doesn’t run when entering command "siteit -i ./source_directory" as instructed in help guide.
Enter command and output:

It does run when running index.js directly:

I'm unfortunately not sure whether it's related to my setup or this is a general issue that also occurs for you.
Expected Behaviour
The tool runs like running index.js directly.

@cychu42  Can you try running the tool using node ./index -i from PowerShell?

@cychu42 I have updated the README.MD file with the installation process. Click here to see how to run the tool locally on Windows operating system.
See below:


Upgrade to<EMAIL_ADDRESS>

I started seeing issue https://github.com/emberjs/ember.js/issues/16269 quite often in my production logs yesterday when I upgraded from<EMAIL_ADDRESS>to<EMAIL_ADDRESS>A fix (https://github.com/emberjs/ember.js/pull/16286) was released in<EMAIL_ADDRESS>but ember-font-awesome uses<EMAIL_ADDRESS>which locks @ember/compiler to ^0.27.0.
Is there a reason why this is locked to glimmer 0.27.x ?

From version 0.4.0 ember-ast-helpers doesn't depend on any glimmer dependency.

As mentioned in https://github.com/emberjs/ember.js/issues/16269 I'm running<EMAIL_ADDRESS>&<EMAIL_ADDRESS>but I'm still getting Operand over 16-bits errors.
@musaffa @cibernox any cue on what's going on?
Thanks.

Are you using any dependency that depends on<EMAIL_ADDRESS>Are you using ember-fontawesome?

No, I'm using a fork of ember-font-awesome which depends on<EMAIL_ADDRESS>The relevant parts of my yarn.lock:
"ember-font-awesome@git://github.com/jdurand/ember-font-awesome":
  version "4.0.0-rc.4"
  resolved "git://github.com/jdurand/ember-font-awesome#f948ca85628b499267f225f652fd1f23da772198"
  dependencies:
    "@ember-decorators/argument" "^0.8.13"
    "@ember-decorators/babel-transforms" "^2.0.1"
    broccoli-filter "^1.2.4"
    broccoli-funnel "^2.0.1"
    chalk "^2.3.0"
    ember-ast-helpers "^0.4.0"
    ember-cli-babel "^6.11.0"
    ember-cli-htmlbars "^2.0.2"
    font-awesome "^4.7.0"
    fs-readdir-recursive "^1.1.0"
    postcss "^6.0.14"
    sync-disk-cache "^1.3.2"

<EMAIL_ADDRESS>  version "0.4.0"
  resolved "https://registry.yarnpkg.com/ember-ast-helpers/-/ember-ast-helpers-0.4.0.tgz#38e268b984b7716f3c0e0fb00e8ea2c8e794a2d2"

"<EMAIL_ADDRESS>  version "0.35.10"
  resolved<EMAIL_ADDRESS>  dependencies:
    "@glimmer/interfaces" "^0.35.10"
    "@glimmer/syntax" "^0.35.10"
    "@glimmer/util" "^0.35.10"
    "@glimmer/wire-format" "^0.35.10"

"<EMAIL_ADDRESS>  version "0.2.1"
  resolved<EMAIL_ADDRESS>
"<EMAIL_ADDRESS>  version "0.35.10"
  resolved<EMAIL_ADDRESS>  dependencies:
    "@glimmer/wire-format" "^0.35.10"

"<EMAIL_ADDRESS>  version "0.4.3"
  resolved<EMAIL_ADDRESS>  dependencies:
    "@glimmer/di" "^0.2.0"

"<EMAIL_ADDRESS>"<EMAIL_ADDRESS>  version "0.35.10"
  resolved<EMAIL_ADDRESS>  dependencies:
    "@glimmer/interfaces" "^0.35.10"
    "@glimmer/util" "^0.35.10"
    handlebars "^4.0.6"
    simple-html-tokenizer "^0.5.5"

"<EMAIL_ADDRESS>  version "0.35.10"
  resolved<EMAIL_ADDRESS>
"<EMAIL_ADDRESS>  version "0.35.10"
  resolved<EMAIL_ADDRESS>  dependencies:
    "@glimmer/util" "^0.35.10"

Thanks.

Instead of using the forked repo, you could just use the resolution feature of yarn in your package.json:
  "resolutions": {
    "ember-font-awesome/**/ember-ast-helpers": "^0.4.0"
  }

I'm also using this resolution feature with @fortawesome/ember-fontawesome. If the above method doesn't work for you, you can switch to the official ember component library of fontawesome. It's working for me.

Right; thanks for the trick, but the fork also addresses a change in implementation for<EMAIL_ADDRESS>I looked at @fortawesome/ember-font awesome a few months ago for Font Awesome 5 support, but it requires too many changes for my immediate need and I don’t think that’s where the issue is.


Add ability to load libpod default configuration from file

Similar to c/image and c/storage, libpod should load its default configuration in from a file, to allow unified system-wide container runtime settings to be honored by default

@mheon how are these configs fed right now?

Right now we respect the default containers/storage and containers/image configs. The storage config lives at /etc/containers/storage.conf (I'm not entirely sure where the image configs reside, never needed to tweak them). Changes to storage.conf will affect all users of containers/storage on the system (libpod, CRI-O, etc) unless they are explicitly set to ignore them via command line flag.

/etc/containers/registries,conf /etc/containers/policy.json /etc/containers/registries.d are all used in containers/image.

Will be fixed by #430

Support was merged


[BUG] Tableau integration with OpenDistro using JDBC driver

Describe the bug
I am trying to connect to a remote OpenDistro (v1.13.2) using Tableau (v2021.1) via the JDBC driver (opendistro-sql-jdbc-<IP_ADDRESS>.jar).  Tableau is able list the indexes and the fields in each index.  It is able to associate the data type of each field appropriately (STRING vs DOUBLE etc).  However, when I try to create a Tableau chart by dragging/dropping index fields into the Tableau column/row boxes, I get the following error:
2021-05-06 13:16:03.900 -0500 (,,,,2,77) grpc-default-executor-6 : INFO  com.tableau.connect.service.ProtocolService - Running query
SELECT kibana_sample_data_flights.Carrier AS Carrier
FROM kibana_sample_data_flights
GROUP BY kibana_sample_data_flights.Carrier
2021-05-06 13:16:03.900 -0500 (,,,,2,77) grpc-default-executor-6 : INFO  com.tableau.connect.grpc.GrpcProtocolService - End local request 77 /runQuery.
2021-05-06 13:16:03.911 -0500 (,,,,2,77) pool-3-thread-4 : INFO  com.tableausoftware.jdbc.FetchSizeHelpers - Setting max result buffer size to 322122547 bytes, 30% of the max heap size.
2021-05-06 13:16:03.911 -0500 (,,,,2,77) pool-3-thread-4 : INFO  com.tableausoftware.jdbc.FetchSizeHelpers - Setting adaptive fetch size to 2000.
2021-05-06 13:16:03.911 -0500 (,,,,2,77) pool-3-thread-4 : INFO  com.tableausoftware.data.ProtobufJDBCResultSet - BindingInfo{columnName='Carrier', columnTypeName='DOUBLE', columnLabel='Carrier', columnType=8, precision=15, scale=0, columnDisplaySize=25, protobufType=DOUBLE, nullable=unknown}
2021-05-06 13:16:03.911 -0500 (,,,,2,77) pool-3-thread-4 : ERROR com.tableau.connect.service.QueryTask - Query for protocol 2 exiting with error class java.sql.SQLDataException
2021-05-06 13:16:03.911 -0500 (,,,,2,78) grpc-default-executor-6 : ERROR com.tableau.connect.grpc.GrpcProtocolService - Failed in fetchResults. SQLState=null, ErrorCode=0.
java.sql.SQLDataException: Can not parse Logstash Airways as a Double
To Reproduce
Steps to reproduce the behavior:

Open up Tableau 2021.1
Select "Other Databases (JDBC)".
In the "Other Databases (JDBC) dialog type:

URL: jdbc:elasticsearch://https://[remote-opendistro-server-dns-or-ip]:9200/
Dialect: you can select any one but I selected MySQL
Username: [userid for your local OpenDistro]
Password: [password for your local OpenDistro]
Properties file: [path to your properties file].  Create a properties file with the following contents:

auth=BASIC
hostnameVerification=true
user=xxxxx
password=xxxxx
trustSelfSigned=true
useSSL=true
trustStoreLocation=[path to jks file]
trustStorePassword=xxxxx

Click on "Sign In" button

In the next screen select the desired table/index.  I selected the kibana_sample_data_flights index.  You should then see the field names from the index displayed.

Click on the "Sheet 1" tab to create a new chart.

Drag/Drop a string field into the "Columns/Rows" boxes.  I dragged the "Carrier" field into the Columns box You should then get an error like:
An error occurred while communicating with the Other Databases (JDBC) data source 'kibana_sample_data_flights (jdbc:elasticsearch://https://wd14efkode01.aci.awscloud:9200/)'
Bad Connection: Tableau could not connect to the data source.
Error Code: FAB9A2C5
Can not parse Logstash Airways as a Double
SELECT kibana_sample_data_flights.Carrier AS Carrier
FROM kibana_sample_data_flights
GROUP BY kibana_sample_data_flights.Carrier

Check the Tableau logs and you will see that the error is:
java.sql.SQLDataException: Can not parse Logstash Airways as a Double
at com.amazon.opendistroforelasticsearch.jdbc.types.TypeHelper.stringConversionException(TypeHelper.java:33) ~[?:?]
at com.amazon.opendistroforelasticsearch.jdbc.types.DoubleType.asDouble(DoubleType.java:50) ~[?:?]
at com.amazon.opendistroforelasticsearch.jdbc.types.DoubleType.fromValue(DoubleType.java:38) ~[?:?]
at com.amazon.opendistroforelasticsearch.jdbc.types.DoubleType.fromValue(DoubleType.java:22) ~[?:?]
at com.amazon.opendistroforelasticsearch.jdbc.types.BaseTypeConverter.convert(BaseTypeConverter.java:60) ~[?:?]
at com.amazon.opendistroforelasticsearch.jdbc.ResultSetImpl.getObjectX(ResultSetImpl.java:589) ~[?:?]
at com.amazon.opendistroforelasticsearch.jdbc.ResultSetImpl.getObjectX(ResultSetImpl.java:583) ~[?:?]
at com.amazon.opendistroforelasticsearch.jdbc.ResultSetImpl.getDoubleX(ResultSetImpl.java:305) ~[?:?]
at com.amazon.opendistroforelasticsearch.jdbc.ResultSetImpl.getDouble(ResultSetImpl.java:299) ~[?:?]
at com.tableausoftware.data.ProtobufJDBCResultSet.addValue(ProtobufJDBCResultSet.java:451) ~[jdbcserver.jar:20211.0.17]
at com.tableausoftware.data.ProtobufJDBCResultSet.addRow(ProtobufJDBCResultSet.java:410) ~[jdbcserver.jar:20211.0.17]
at com.tableausoftware.data.ProtobufJDBCResultSet.fetchRows(ProtobufJDBCResultSet.java:230) ~[jdbcserver.jar:20211.0.17]
at com.tableausoftware.data.ProtobufJDBCResultSet.nextBlockImpl(ProtobufJDBCResultSet.java:282) ~[jdbcserver.jar:20211.0.17]
at com.tableausoftware.data.ProtobufResultSet.nextBlock(ProtobufResultSet.java:48) ~[jdbcserver.jar:20211.0.17]
at com.tableau.connect.service.QueryTask.readData(QueryTask.java:139) ~[jdbcserver.jar:20211.0.17]
at com.tableau.connect.service.QueryTask.call(QueryTask.java:102) ~[jdbcserver.jar:20211.0.17]
at com.tableau.connect.service.QueryTask.call(QueryTask.java:56) ~[jdbcserver.jar:20211.0.17]
at java.util.concurrent.FutureTask.run(Unknown Source) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[?:?]
at java.lang.Thread.run(Unknown Source) [?:?]
Caused by: java.lang.NumberFormatException: For input string: "Logstash Airways"
at jdk.internal.math.FloatingDecimal.readJavaFormatString(Unknown Source) ~[?:?]
at jdk.internal.math.FloatingDecimal.parseDouble(Unknown Source) ~[?:?]
at java.lang.Double.parseDouble(Unknown Source) ~[?:?]
at java.lang.Double.valueOf(Unknown Source) ~[?:?]
at com.amazon.opendistroforelasticsearch.jdbc.types.DoubleType.asDouble(DoubleType.java:48) ~[?:?]
... 19 more

Or for query issues:

Create the index with test documents by 'POST ...'
Run the query 'SELECT ...'
See error

Expected behavior
I expect that the integration between Tableau/OpenDistro via JDBC driver works for the remote OpenDistro like it does for the local Opendistro.
Plugins
Please list all plugins currently enabled.
Screenshots
If applicable, add screenshots to help explain your problem.
Host/Environment (please complete the following information):

OS: [RedHat Linux]
Version [Red Hat Enterprise Linux Server 7.9 (Maipo)]
Kernel: Linux 3.10.0-1160.25.1.el7.x86_64
OpenDistro v1.13.2
Tableau Desktop For Mac v2021.1

Additional context
Add any other context about the problem here.

Thanks for reporting the issue! Will have a look.

From the error stack, it seems Tableau was trying to convert Carrier to double. Was Tableau trying to use the column as a numerical dimension?
at com.amazon.opendistroforelasticsearch.jdbc.types.TypeHelper.stringConversionException(TypeHelper.java:33) ~[?:?]
at com.amazon.opendistroforelasticsearch.jdbc.types.DoubleType.asDouble(DoubleType.java:50) ~[?:?]
at com.amazon.opendistroforelasticsearch.jdbc.types.DoubleType.fromValue(DoubleType.java:38) ~[?:?]
at com.amazon.opendistroforelasticsearch.jdbc.types.DoubleType.fromValue(DoubleType.java:22) ~[?:?]
at com.amazon.opendistroforelasticsearch.jdbc.types.BaseTypeConverter.convert(BaseTypeConverter.java:60) ~[?:?]
at com.amazon.opendistroforelasticsearch.jdbc.ResultSetImpl.getObjectX(ResultSetImpl.java:589) ~[?:?]
at com.amazon.opendistroforelasticsearch.jdbc.ResultSetImpl.getObjectX(ResultSetImpl.java:583) ~[?:?]
at com.amazon.opendistroforelasticsearch.jdbc.ResultSetImpl.getDoubleX(ResultSetImpl.java:305) ~[?:?]
at com.amazon.opendistroforelasticsearch.jdbc.ResultSetImpl.getDouble(ResultSetImpl.java:299) ~[?:?]
at com.tableausoftware.data.ProtobufJDBCResultSet.addValue(ProtobufJDBCResultSet.java:451) ~[jdbcserver.jar:20211.0.17]

Yes that what it appears to be doing.  However, it seems to be behaving differently when accessing a remote OpenDistro server vs localhost OpenDistro for the same dataset (sample flights dataset).  In the case of localhost, it is resolving the data type correctly when pulling in the schema via JDBC and when it gets the data for the chart.  In the case of remote OpenDistro, it is resolving the data type when pulling in the schema but when getting the data for that column it is failing because the query seems to be treating Carrier as a DOUBLE.

Yes that what it appears to be doing. However, it seems to be behaving differently when accessing a remote OpenDistro server vs localhost OpenDistro for the same dataset (sample flights dataset). In the case of localhost, it is resolving the data type correctly when pulling in the schema via JDBC and when it gets the data for the chart. In the case of remote OpenDistro, it is resolving the data type when pulling in the schema but when getting the data for that column it is failing because the query seems to be treating Carrier as a DOUBLE.

I see. Could you check what's the difference when you connected to local and remote cluster? For example, Tableau configuration, JDBC driver version, ODFE cluster version, index mapping (by kibana_sample_data_flights/_mappings).

Closing as we haven't heard from you. Feel free to reopen as needed. Thanks!


Delete page not working correctly

When I add a second page to the pdf document using addPage then delete the first page, the document does not get created successfully.
The issue can be reproduced on the live demo using the following code:
var doc = new jsPDF();

doc.text('Hello world!', 20, 20);
doc.addPage('a2', 'l');
doc.text('HELLO WORLD!', 20, 20);
doc.deletePage(1);

I expect one page with the text "HELLO WORLD!" written on it. This worked on 1.4.1 which I was using previously.
As a side note, the example on the live demo doesn't work correctly, using the exact code from the demo you get two pages of a4 size instead of an a4 then a page of size a2. Changing the line doc.addPage('l', 'a2'); to doc.addPage('a2', 'l'); works correctly.
var doc = new jsPDF();
doc.text('Hello world!', 20, 20);
doc.text('This is client-side Javascript, pumping out a PDF.', 20, 30);
doc.addPage('l', 'a2');
doc.text('Do you like that?', 20, 20);

The first issue is already fixed, but not released yet. #2307
The second one, well... will fix it right  away.
Will close this issue when I committed the change in the example.

I see, thank you!

example fixed. #2412


Can we create a zone from the CLI ?

Per example
docker run -it --rm --env-file $HOME/.cloudflare/env solidnerd/cloudflare \
dns create --zone hillmama.com --name hillmama.com --proxy --type A --content 111.222.333.233

The included flarectl CLI client provides a "zone" sub-command that can
create zones.
On Tue, May 2, 2017 at 10:37 AM Pascal Andy<EMAIL_ADDRESS>wrote:

Per example
docker run -it --rm --env-file $HOME/.cloudflare/env solidnerd/cloudflare
dns create --zone hillmama.com --name hillmama.com --proxy --type A
--content 111.222.333.233
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/cloudflare/cloudflare-go/issues/119, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AABIcG8dYZsvPNI6i--CfA_2uM2m7d10ks5r12m6gaJpZM4NOdA8
.

@pascalandy does @elithrar's response help you?

I have to say no.
I would appreciate an example. IMHO this should work:
docker run -it --rm --env-file $HOME/.cloudflare/env solidnerd/cloudflare \
dns create --zone hillmama.com --name hillmama.com --proxy --type A --content 111.222.333.233

but it does not. What is the syntax then ?

There is help built in:
$ ./flarectl --help
NAME:
   flarectl - Cloudflare CLI

USAGE:
   flarectl [global options] command [command options] [arguments...]

VERSION:
   2016.4.0

COMMANDS:
   ips, i	Print Cloudflare IP ranges
   user, u	User information
   zone, z	Zone information
   dns, d	DNS records
   pagerules, p	Page Rules
   railgun, r	Railgun information
   help, h	Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --help, -h		show help
   --version, -v	print the version

You want the zone sub-command, not dns.
$ ./flarectl zone --help
NAME:
   flarectl zone - Zone information

USAGE:
   flarectl zone command [command options] [arguments...]

COMMANDS:
   list, l	List all zones on an account
   create, c	Create a new zone
   check	Initiate a zone activation check
   info, i	Information on one zone
   plan, p	Plan information for one zone
   settings, s	Settings for one zone
   dns, d	DNS records for a zone
   railgun, r	Railguns for a zone
   certs, c	Custom SSL certificates for a zone
   keyless, k	Keyless SSL for a zone
   help, h	Shows a list of commands or help for one command

OPTIONS:
   --help, -h	show help

Of course!! Thank you :)

While there is help built in, nowhere does it say which arguments to use for zone settings command.


[11.x] Add ability to dynamically build cache repositories on-demand using Cache::build

Description
Similar to https://github.com/laravel/framework/pull/53411, this PR implements a new Cache::build method that allows you to create new cache repositories that are not defined in your configuration file.
This is useful for circumstances where you may have cache configurations that are stored in your database, or another repository.
Usage
use Illuminate\Support\Facades\Cache;

$apc = Cache::build([
    'driver' => 'apc',
]);

$array = Cache::build([
    'driver' => 'array',
    'serialize' => false,
]);

$database = Cache::build([
    'driver' => 'database',
    'table' => 'cache',
    'connection' => null,
    'lock_connection' => null,
]);

$file = Cache::build([
    'driver' => 'file',
    'path' => storage_path('framework/cache/data'),
]);

I wonder if this could be incorporated into the new cache based Password Resets feature? force a separate store if none is provided to the config?


AngryProfessor.py

The professor is conducting a course on Discrete Mathematics to a class of N students. He is angry at the lack of their discipline, and he decides to cancel the class if there are less than K students present after the class starts.

Please add the entire question on top as a comment. Check the other codes in the repository for reference.


fix/interval-pausable-distinct

Only start timer when signal changed from paused to running
Try to make tests more reliable

Coverage remained the same at 100.0% when pulling f2077e6d6f231cc8b2164008164541e0b6bb826e on fix/interval-pausable-distinct into c31f3e9ce92725c4996f13a04cbca4ca0eafe71a on master.


Getting always Fatal error: Uncaught Error: ...

Using latest version of amphp with php 8.2.0 (in a local environement called XAMPP).
No matter what I try, getting only errors.

Loaded all amphp files as stated in the manual by
composer require amphp/http-client

created a package of the files

created a new folder in the local server

created a new index.php with content (as displayed here https://github.com/amphp/http-client#interceptors):

use Amp\Http\Client\Client;
use Amp\Http\Client\HttpClientBuilder;
use Amp\Http\Client\Interceptor\SetRequestHeader;
use Amp\Http\Client\Interceptor\SetResponseHeader;
use Amp\Http\Client\Request;

require 'system/storage/vendor/amphp/autoload.php';

$client = (new HttpClientBuilder)
    ->intercept(new SetRequestHeader('x-foo', 'bar'))
    ->intercept(new SetResponseHeader('x-tea', 'now'))
    ->build();

$response = $client->request(new Request("https://httpbin.org/get"));
$body = $response->getBody()->buffer();

Calling the index.php via the browser, all I get is that:
Fatal error: Uncaught Error: Call to undefined method Amp\Coroutine::getBody() in ..\index-amp.php:24 Stack trace: #0 {main} thrown in ..\index-amp.php on line 24
Example 2
Using now
use Amp\Http\Client\HttpClientBuilder;

require 'system/storage/vendor/amphp/autoload.php';

$client = HttpClientBuilder::buildDefault();

$response = $client->request(new Request("https://httpbin.org/get"));

var_dump($response->getStatus());
var_dump($response->getHeaders());
var_dump($response->getBody()->buffer());

gives me:
Fatal error: Uncaught Error: Class "Request" not found .. etc. ..
All what I want is a working sample to embed the script to call external resources (rss-feeds) and fetch that content to store locally.
Either I am missing something, make something wrong or that whole thing does not work with php 8.2.x

The code samples you're using are for version 5.x, while you probably installed version 4.x, as 5.x doesn't have a stable release, yet.

Well. thanks for the quick response.
But what I shall do to get a working solution?

Have a look at the 4.x branch and its README and docs directory: https://github.com/amphp/http-client/tree/4.x


added a modifier to withdraw function

I have looked into it rather than setting up a amount i would say we setup a percentage for example 75% after reaching that amount fundraiser should be able to withdraw , because all of the fundraiser campaigns going to be different values.

I have looked into it rather than setting up a amount i would say we setup a percentage for example 75% after reaching that amount fundraiser should be able to withdraw , because all of the fundraiser campaigns going to be different values.

We can't set a percentage for the orgainsation fundraisers because we don't know how much funds they would be raising. We can only set a percentage from individual fundraisers.

Thats true we can go with a amount then.


Messaging with wss://

While testing a req-rep minimal setup with wss://, no message is sent or received when using IPV6 addresses. With IPV4 ones, or with 'localhost', the client/server messaging is straightforward. Firewall is off on the host.
nng_wss_ipv6.cpp.txt
The attached file may demonstrate it.
I don't know if it's the right place to seek help resolving this. I'm posting here because I'm using nngpp, and not the C interface directly.
Regards.

The flags you're passing to listen/dial are wrong. NNG_AF_INET etc are not flags.

Flags for listen are ignored.
Dial only supports NNG_FLAG_NONBLOCK. By passing NNG_AF_INET you're accidentally enabling async dialing which is why you can't see the connection error.

I found the following:

TLS is not required and can be removed from the demo.
Using ipv6 address works with tcp:// but fails with ws://  on the dial with error Connection refused.

TEST_CASE("ws ipv6", "[ip]") {
	auto addr = "ws://[::1]:8003";
	nng::socket rep_socket = nng::rep::open();
	REQUIRE_NOTHROW( rep_socket.listen( addr ) );

	nng::socket req_socket = nng::req::open();
	REQUIRE_NOTHROW( req_socket.dial( addr ) );

	REQUIRE_NOTHROW( req_socket.send("hello") );
	REQUIRE( rep_socket.recv() == "hello" );

	REQUIRE_NOTHROW( rep_socket.send("world") );
	REQUIRE( req_socket.recv() == "world" );
}

I don't know of a good reason for this behaviour. Definitely ask at nng.


Package description v2.5.0 too long for Azure DevOps Artifatcs

Initial Checks

[X] I confirm that I'm using Pydantic V2

Description
We have a private repo using Azure DevOps Artifacts, which as a limitation on package descripion:
When uploading Pydantic 2.5.0 it raises the error status_code 400:

Bad Request - The package description exceeds the maximum length of 324608 bytes

The previous version (2.4.2) description just fits in the byte space.
I suggest to merge the (large) changelog and point to this file and keep less active items, since it start with v1.0b1 (2019-10-01).
Example Code
twine upload -r azure_devops_private_feed pydantic-2.5.0-py3-none-any.whl

Python, Pydantic & OS Version
Issue when uploading: pydantic-2.5.0-py3-none-any.whl

The 2.5.1 is good, thanks to #8097


Tablespoon and Teaspoons have multiple definitions

The Volume unit already has Tablespoon and Teaspoon.
It turns out there are multiple definitions of tablespoon the world has chosen (wiki):

US Culinary Tablespoon (14.8 ml)
US Nutritional, UK tablespoon (15ml)
Australian tablespoon (20ml)

There is a similar situation for teaspoons

US Culinary/customary teaspoon (4.92892159375 ml)
US Nutritional, UK, Australian (AKA Metric) teaspoon (5ml)

The current implementation uses the US Culinary versions for both of the above.
I propose adding these new measures with conversions

AuTablespoon (20ml)
UkTablespoon (15ml)
MetricTeaspoon (5ml)

In hindsight, it would have been better to have the existing tablespoon and teaspoon named as UsTeaspoon, UsTablespoon but I don't propose to change those.
Due to #132 I will not add abbreviations to the new units.
If acceptable, I will submit a PR for above.
thanks!

This sounds good to me. We could possibly add both UsTeaspoon and Teaspoon and mark Teaspoon with [Obsolete] with a message to use UsTeaspoon instead. Then maybe remove it in the next major version bump. Thoughts?

sounds good - will do

PR merged.


QuickPick doesn't consistently honor selectedItems in VS Code Insiders

Does this issue occur when all extensions are disabled?: Yes

If we show a QuickPick with selectedItems by using a command being executed from the command palette everything seems to work fine. But if we try to execute this command from an View Action or a context command in a tree, the QuickPick selection will flip from selected to unselected.
I was able to reproduce this in Insiders only. Stable seems to be working fine, so it may be a regression. I tested this in Mac, Windows 11 and WSL2.
Link to repository to reproduce the issue. The readme explains the steps to reproduce the issue as well.
https://github.com/user-attachments/assets/f2a7c810-e86e-41f4-81a9-138e3db35860
Tested in:
Version: 1.92.0-insider (Universal)
Commit: 89690b9d76a88fab676d26651134a1ffa4562732
Date: 2024-07-19T05:03:57.939Z
Electron: 30.1.2
ElectronBuildId: 9870757
Chromium: 124.0.6367.243
Node.js: 20.14.0
V8: <IP_ADDRESS>-electron.0
OS: Darwin arm64 23.5.0

Version: 1.92.0-insider (user setup)
Commit: 22e3447b4b410dcf8426bf70743c5dd4030d6122
Date: 2024-07-23T05:03:52.385Z
Electron: 30.2.0
ElectronBuildId: 9884022
Chromium: 124.0.6367.243
Node.js: 20.15.0
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.22631
(Both with WSL2 and directly with Windows)
The only similar issue I found was #209132. Unsure if it's related or not.

While I was testing I have discovered that if I set the selectedItems after calling quickPick.show() everything works.
So instead of this:
quickPick.activeItems= selectedItems;
quickPick.show();

If we do this:
quickPick.show();
quickPick.selectedItems = selectedItems;

Then it works.
Not sure how the fact of executing the command from the command palette makes it work regardless of the order.

Hi @TylerLeonhardt, thank you for the quick fix! Can we assume that this fix will be in the next stable release?

@robertohuertasm yep! And we'd love confirmation from you in tomorrow's Insiders that it's fixed if you don't mind!

@TylerLeonhardt sure! You can count on it!

@TylerLeonhardt, good news! I can confirm it works! Thank you so much for this fix. 🙇🏻


Should we prepend anti-eval code to our json responses?

Google and FB prepend while(1); or for(;;) or similar to the beginning of all their JSON responses to force malicious clients to not be able to eval the responses when stealing data (eg after overriding core bits of JS like Array). Should we too?

I don't quite understand the attack vector this seeks to block?

This sort of thing: http://blog.jeremiahgrossman.com/2006/01/advanced-web-attack-techniques-using.html
I think that CORS headers probably mitigate it these days, but given the potential risk if people are on crappy clients which don't understand CORS, I wonder if it's worth it anyway.


Fixes #1806 by adding links user property to pom.xml

The addition of this links property to the pom.xml fixes #1806 and allows Javadoc linking to Apache commons-pool.

Is this ok?. Acording to the mvn javadoc command links should go in the plugin configuration. Not in the properties (https://maven.apache.org/plugins/maven-javadoc-plugin/examples/links-configuration.html#). @ljnelson where can I read some info about this?

You may read more here: https://maven.apache.org/plugins/maven-javadoc-plugin/javadoc-mojo.html#links
Note the User Property mention.  That means if that property is present—either in a <properties> stanza or supplied on the command line with -D—it will be used.
If <links> is present in the plugin configuration, then it is used regardless.
It is up to you which you prefer.  For a given plugin, for a given configuration property of that plugin, if it has a user property associated with it, I tend to simply specify the property rather than all the other XML I would otherwise need.


Validation error when adding Complaint Action

Discovered during QA. Adding a new action item returns the validation error: "No files were selected."

Fixed in 046954d


Hub/ACR AzureCLI setup bash script

Added bash script that creates:

Resource Group
IoT Hub
Container registry

Updated README with instructions.

Thanks Ian.

Let's get this in edge.py, so you can use the sas token for the next step

The API should be
edge.py azure --create, does all the below
edge.py azure --create-iot-hub
edge.py azure --create-acr
edge.py azure --create-edge-device

create RG in any of those steps if i doesn't exist.

Ask the user to add the following to .env before they run the above step and provide defaults.

IOTHUB_NAME="already there"
RESOURCE_GROUP_NAME="azure-edge-rg"
LOCATION="eastus"
CONTAINER_REGISTRY_SERVER="already there"

Let's also create edge device using the REST API (CLI coming soon)
PUT /devices/jonghomedesktop1?api-version=2017-11-08-preview HTTP/1.1
Host: jongiot.azure-devices.net
Authorization: SharedAccessSignature sr=jongiot.azure-
devices.net&sig=%3D&se=1512589761&skn=iothubowner
Content-Type: application/json
Cache-Control: no-cache
Postman-Token: 3430d3d7-6c3d-0409-de92-2cdd875d0ee5

{"deviceId": "jonghomedesktop1", "capabilities": {"iotEdge": true} }

See the deploy_device_configuration method for an example of how to call the REST API in edge.py

Let's output all of the variables in KEY="VALUE" format, so they can easily be copied into the .env file

Thanks,
Jon


issue_113 adding edgex-device-snmp docker compose entries  Docker com…

…pose entries are made in commented out section in preparation for the release. The docker-compose reflects the build in nexus in the edgexfoundry repository build area.
Added the edgex-device-snmp-go to the developer scripts docker-compose.yml.
NOTE: The image location is pointing to the nexus3 area for our daily builds.  When a formal release is completed for the service we can change it to the docker hub location
A user would be required to uncomment out this section for it to work.   The idea is that upon release the docker-compose.yml would be copied with this change in it.  Upon release the edgex-go services would all have there versions updated from the existing 0.7.1 to the new 1.0.0.  This has been tested with the nexus3 latest versions for the edgex services.
Signed-off-by: xmlviking<EMAIL_ADDRESS>

overcome by more recent PR


Frontend: Add possibility to add a new product

Add possibility to add a new product

Remember to ensure the product have an image before adding, might have placeholder image if none provided.

Adding new product w/o image is implemented
TODO: images
TODO: stock image is not added
TODO: make overlay disappear when clicking outside it or the x-mark

Adding product with image is implemented.
TODO: stock image is not added
TODO: make overlay disappear when clicking outside it or the x-mark


Update Laika banner

This was merged into lrb-laika-banner but not live.

Merged into live and deployed.

@michaelklishin thanks for noticing that.


Robot accounts changed in Harbor 2.2.x

There appear to be some changes to robot accounts in Harbor 2.2.x vs 2.1.x
Some fields are renamed, if we look at https://github.com/mittwald/goharbor-client/blob/master/apiv2/model/legacy/robot_account.go#L18-L43
Two things I've noticed so far (there could be more)

disabled is now disable
when creating a robot account with a defined expires_at field, Harbor ignores it and creates it with the default 30 days.

Is there a plan to support changes for Harbor 2.2.x ?

Duplicate of https://github.com/mittwald/goharbor-client/issues/85


Update s390x actions-runner docker

Fix incorrect filename in README
And update actions-runner to 2.317.0, the latest version before .Net8 requirement.

Yes. It's unfortunate that it's now broken for that long; the gaplib maintainer told me that the latest runner version was updated to use dotnet6 instead of dotnet8, and this made the fix complicated, so he wanted to wait until they bump it back to dotnet8, which happened today: https://github.com/actions/runner/pull/3500. So hopefully there will be some progress now.

 Could you please give it a try?


Accountz-4.2

"This code is a Contribution to the OpenConfig Feature Profiles project ("Work") made under the Google Software Grant and Corporate Contributor License Agreement ("CLA") and governed by the Apache License 2.0. No other rights or licenses in or to any of Nokia's intellectual property are granted for any other purpose. This code is provided on an "as is" basis without any warranties of any kind."

Pull Request Functional Test Report for #3393 / fdd5bedb40986da52261c4ed9a32094639736fbf
Virtual Devices

Device
Test
Test Documentation
Job
Raw Log

Arista cEOS

ACCTZ-4.2: Record Payload Truncation

Cisco 8000E

ACCTZ-4.2: Record Payload Truncation

Cisco XRd

ACCTZ-4.2: Record Payload Truncation

Juniper ncPTX

ACCTZ-4.2: Record Payload Truncation

Nokia SR Linux

ACCTZ-4.2: Record Payload Truncation

Openconfig Lemming

ACCTZ-4.2: Record Payload Truncation

Hardware Devices

Device
Test
Test Documentation
Raw Log

Arista 7808

ACCTZ-4.2: Record Payload Truncation

Cisco 8808

ACCTZ-4.2: Record Payload Truncation

Juniper PTX10008

ACCTZ-4.2: Record Payload Truncation

Nokia 7250 IXR-10e

ACCTZ-4.2: Record Payload Truncation

Help

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

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 55.252%

Totals

Change from base Build<PHONE_NUMBER>8:
0.0%

Covered Lines:
1983

Relevant Lines:
3589

💛  - Coveralls


[E2E] Automate P2 Tenancy Test case - Replace VM from tenant

[ ] Tenant replace with a VM which already exists in it
[ ] Tenant replace with a VM which doesn’t exist
[ ] Tenant replace with a VM which is already a part of another tenant

Seems like basic test scenario that can improve code coverage - marking as mustfix for Kubecon.

As discussed offline - we agree that P2 tests should not be mustfix.