Doubt about parameter placeholders

Hi,
by pure chance I fed a statement like SELECT foo FROM bar WHERE id = ? to my pg_query prettifier, and was surprised to see that libpg_query parsed it without a noise, emitting a ParamRef without the usual number slot.
Is this intentional or not? In other words, should I release the trivial tweak I made to pg_query to handle the case? :smiley:

@lelit That is intentional, since one of the initial motivations for pg_query was to support parsing pg_stat_statements queries (as part of pganalyze), and those had ? as placeholders before Postgres 10.
You can see the patch that does that here: https://github.com/lfittl/libpg_query/blob/10-latest/patches/01_parse_replacement_char.patch
On the prettifier side, its up to you - I could see it being useful to support this case (i.e. ParamRef without a number gets output as ?)

Thank you for the clarification!


Simple storage service

Motivation
A new storage service based on secure-net that doesn't depend on tokio or grpc and will be used only by Executor.
The caveat is it only supports 1 client at a time.
Have you read the Contributing Guidelines on pull requests?
Y
Test Plan
add unit test.
Related PRs
(If this PR adds or changes functionality, please take some time to update the docs at https://github.com/libra/website, and link to your PR here.)

@bors-libra r=msmouse

:pushpin: Commit af01c48 has been approved by msmouse

:hourglass: Testing commit af01c48a17439824e2f92fa5e33e6ee08a3498fd with merge c0c5906bfcde73d70e5730672f587a8fd3f491a3...

:broken_heart: Test failed - checks-circle_commit_workflow

:umbrella: The latest upstream changes (presumably 9eff5b5ff48764beac96cd50b924a1661411e469) made this pull request unmergeable. Please resolve the merge conflicts.

@bors-libra r=wqfish

:pushpin: Commit d28ac3a has been approved by wqfish

@bors-libra r=wqfish

:bulb: This pull request was already approved, no need to approve it again.

There's another pull request that is currently being tested, blocking this pull request: #3429

:pushpin: Commit d28ac3a has been approved by wqfish

:hourglass: Testing commit d28ac3a70576e31ffb582f63325f1f5fec67cee0 with merge 8961e3845e69cd2552c6e7f10049208351879dfd...

@bors-libra r=wqfish

:pushpin: Commit 04fc85e has been approved by wqfish

:hourglass: Testing commit 04fc85e2b841352de01cbf6c5db6d6a3f31e9139 with merge 69b2161178af1748a17e656d3eeb689c33ff5bc5...

:sunny: Test successful - checks-actions_land_blocking_test, checks-circle_commit_workflow
Approved by: wqfish
Pushing 69b2161178af1748a17e656d3eeb689c33ff5bc5 to master...


Contact Information

Hi @yunusefendi52 ,
I want to develop many features for this project. Can you open a Slack Channel or Telegram etc.? Btw If you contact me maybe we can talk about features.

HI,
For know maybe you can create issue in the github explain the feature so we can discuss it more.
I haven't really check out about Slack/Telegram channel, but that is really a great idea to create one!

I just realize your name is also Yunus 😂

We have the same name :) I opened a Telegram channel for this repo, you can join from this link, and we can talk about this repo.


Not plots shown under farming

Everything is running fine, fresh machinaris install, changing from bare metal to docker environment, but the large node is not showing the plots.

Which log can i provide for you ? :)

Hi, this can happen when you have duplicated plots, but other causes are possible.  Please share a few configurations including your docker-compose.yml and all details of your OS, etc.
Then please share the output of chia farm summary from a shell inside the container. Then also provide the Server Log  (aka apisrv.log) from the Machinaris controller.

Okay, thanks for that log output.  I've just enabled some additional debugging in the :develop image so please try switching from :latest to :develop in your docker-compose.yml and run that, watching for log output in the apisrv.log about duplicated plots on the same host.

i did and startet - takes a while with that number of plots.
checking the server console i see this:

As the server has tons of memory, is this maybe a docker config issue, not enough memory on the container ? Dual 64 core Epyc and 256GB memory

After a reboot of the machine (just to make sure all memory is free) - same problem as after the fresh install. The plots are not loaded and it just stops somewhen and does not farm. It took several container restarts last time to be succesful farming. Bare metal installation was without that issue.
apisrv.log

Sure, given the number of plots you have (over 100k) let's narrow the scope of the problem down rather than trying to load everything at once.  Please edit your docker-compose.yml to remove most of the Volumes listed above, start with just one Volume initially.  Then restart the container, monitor with docker stats from Host OS, and then:

Wait at least 15 minutes for the container after launch to get running smoothly.
Check that chia farm summary is correct for those Volumes mounted.  Run that command inside the container.
Verify that Farming page lists those plots and that total count on table, matches farm summary.
Edit your docker-compose.yml to add a few more Volumes, restart the container and go back to step 1 above.

Repeat this process, incrementally adding more drives and plots, watching memory usage via docker stats.  This way we can see if there is a memory issue at some point. Please see the wiki for more details on scaling Machinaris to that many plots.

i reduced to just one plot folder and issue is the same
apisrv.log
apisrv-part2.log

Alright, in the 20 lines of logs you provided in your last, I find no issue.  At this pace we could be corresponding for days which will be frustrating for you.  When very large farmers such as yourself have needed assistance in the past, I have offered remote sessions on our Discord via TeamViewer.  Let me know on Discord if you are interested.
I'd like to get a better picture of your setup as your Unraid post refers to another Unraid system as fullnode, yet you are also running another fullnode on Linux (?).  Hopefully an in-person session would let me understand why you're not using workers.

thanks for the offering, will do this soon.
The unraid installation was my small one at home / the 16PB farmer is in the datacenter ;)

Hi!  If you are still running Machinaris in your data center, please try the latest machinaris:develop which makes use of bulk record insert for plot status.  I've also instrumented memory usage logging in this section of the code.

Looking forward to your feedback.

Thanks for the hint -  i just restartet the container to pull the new version.

Hi! I created a test harness to simulate storing 120000 plot status records into the Sqlite3 database at /root/.chia/machinaris/dbs/plots.db.  I'll never have a farm this big, but my test harness simulates tracking that many plots, similar to your farm.  This "full insert" only happens on launch and infrequently thereafter, with most status updates only looking for newly arrived plots (by recent time).

I found that the full batch insert of that many rows took one minute and used, at peak, just over 500 MB of memory (in that Machinaris Python process).  The plots.db file did grow to 25 MB on disk after a few tests.  This test was done on my old HP tower (nearly 10 years now) with a cheap SATA SSD.
Due to the server-side data table paging, the Farming page of Machinaris WebUI then loaded in a just a couple of seconds.  Filtering and paging forward were also a few seconds to complete.

Thanks again for pushing me to test this scenario.  I look forward to your feedback.

Following up on our Discord conversation to scale Machinaris for your very large farm, we discussed disabling Forktools in your docker-compose.yml to optimize the first 15-30 minutes after container launch against more than 1000000 plots.
Suggested environment variables:
            - bladebit_skip_build=true
            - madmax_skip_build=true
            - forktools_skip_build=true
            - plots_check_analyze_skip=true

Based on Discord discussions with @grobalt, the improvements in Machinaris v0.8.4, combined with the Scaling guidance, seem to have addressed the issue.  Thanks for the assistance in making Machinaris run better on such a huge farm!

this is amazing! went from 30-ish min to literally 2min to start now! thank you!!


Test-OktaNext issue

Am I doing something wrong here because this does not work?
$groups = get-oktausergroup -userid david -limit 10
while (test-oktanext -ObjectName "users/david/groups") {
    $groups += get-oktausergroup -userid david -next; $groups.count
}

If I run the Get-OktaUserGroup Cmdlet without using -Limit, it returns 200, so I know there are more groups to get.
Thanks!

Per the Okta docs, they have default limits for various APIs. I documented them here https://github.com/Seekatar/OktaPosh/blob/1f4ce394181196ad1b1d30ff62c1ce3437579e7b/docs/about_oktaposh_paging.md#long-description


Script to Send Professional HTML Bulk Emails using Python

Aim

Send Bulk HTML Emails using Python Automation

Details

Send Bulk HTML Emails
Responsive Email Design
SMTP Server Cooldown
Option to attach files to Template

Demo

Sure go ahead @dhanrajdc7 Assigned to you

Sure go ahead @dhanrajdc7 Assigned to you


Delve & Docker

I am reproducing this helloworld example
Only difference - I would like to have delve for remote debug.
Here is my Dockerfile:
FROM golang:1.9.2

ADD . /go/src/github.com/golang/example/outyet
ADD . /go/src/github.com/derekparker/delve/cmd/dlv

RUN go install github.com/golang/example/outyet
RUN go install github.com/derekparker/delve/cmd/dlv

RUN ["chmod", "+x", "/go/src/github.com/golang/example/outyet/bootstrap.sh"]
CMD ["/go/src/github.com/golang/example/outyet/bootstrap.sh"]

EXPOSE 8091
EXPOSE 5432

bootstrap.sh:
#!/bin/sh
go build -gcflags='-N -l' github.com/golang/example/outyet &&
dlv --listen=:5432 --headless=true --api-version=2 exec outyet;

bootstrap.sh - runs fine on my Ubuntu 17.10 host machine, but when I execute it in Docker image it throws:

flag provided but not defined: -listen
Usage of dlv:
-http string
Listen address (default ":8091")
-poll duration
Poll period (default 1s)
-version string
Go version (default "1.4")

What is wrong? Is Docker supported at all?
Same question on stackoverflow: https://stackoverflow.com/questions/47797445/dlv-flag-provided-but-not-defined

This isn't the help output from Delve, it seems you're accidentally mounting the outyet project into the container filesystem as Delve, and it's getting built as the on-disk binary called dlv but it's not actually the debugger. You can remove the ADD ... lines in the dockerfile since you're go geting anyways.

@derekparker  thank you for the answer! However I don't understand what is go geting anyways. helloword Docker example in your documentation would be really helpful!

I was able to fix it, my Dockerfile looks like this now:
FROM golang:1.9.2

ADD . /go/src/github.com/golang/example/outyet

RUN go install github.com/golang/example/outyet
RUN ["chmod", "+x", "/go/src/github.com/golang/example/outyet/bootstrap.sh"]
RUN ["chmod", "+x", "/go/bin/outyet"]

CMD ["/go/src/github.com/golang/example/outyet/bootstrap.sh"]

EXPOSE 8091
EXPOSE 5432

bootstrap.sh:
#!/bin/sh
go get github.com/derekparker/delve/cmd/dlv;
go build -gcflags='-N -l' github.com/golang/example/outyet &&
dlv --listen=:5432 --headless=true --api-version=2 exec outyet

And run it as following:
sudo docker build -t outyet .
sudo docker run --security-opt=seccomp:unconfined --net=host -p 8091:8091 -p 5432:5432  --name test --rm outyet


Install broken with deno 1.16.1

I am getting the error
Check https://deno.land/x/denoliver/mod.ts
error: TS2339 [ERROR]: Property 'getIterator' does not exist on type 'ReadableStream<R>'.
  return res.readable.getIterator();
                      ~~~~~~~~~~~
    at https://deno.land/std@0.81.0/async/pool.ts:45:23

upon install with deno 1.16.1

Hey. Thanks for reporting this. I will have a look during the week.

Hi, I have merged a fix for installing this on later versions of Deno >1.16. I will push a new release shortly!
It looks like Deno has implemented native HTTP support now, so I am planning to release a major version. If you want to partake or discuss the new major version, please do so here:
https://github.com/joakimunge/denoliver/issues/43


Fake advertising, or not?

All contributions are equal but some are more equal that others.

@peterennis they made a contribution before the collective was created. The point you raise (I guess based on the title) is fair. We don't enable that anymore.
Thanks for the alert on the avatar!


everything goes well by building, packaging and deploy in maven, but failed with 404 errors on portal

after successfully deployed, I got these error when add this portlet onto the page,
GET http://<IP_ADDRESS>:8181/liferay-angularjs-portlet/css/app.css?browserId=o…r&themeId=classic&minifierType=css&languageId=en_US&b=6205&t=1508871612000
<IP_ADDRESS>/:1 GET http://<IP_ADDRESS>:8181/liferay-angularjs-portlet/js/vendor.js?browserId=other&minifierType=js&languageId=en_US&b=6205&t=1508871612000
<IP_ADDRESS>/:1 GET http://<IP_ADDRESS>:8181/liferay-angularjs-portlet/js/app.js?browserId=other&minifierType=js&languageId=en_US&b=6205&t=1508871612000
(index):1 GET http://<IP_ADDRESS>:8181/liferay-angularjs-portlet/js/vendor.js?browserId=other&minifierType=js&languageId=en_US&b=6205&t=1508871612000
(index):1 GET http://<IP_ADDRESS>:8181/liferay-angularjs-portlet/js/app.js?browserId=other&minifierType=js&languageId=en_US&b=6205&t=1508871612000
(index):1 Uncaught ReferenceError: angular is not defined
it seems that all the js/css files under the portlet can't be loaded into the web page.
 After I have manually executed the grunt dist in the directory and redeploy to the eclipse tomcat server. everything works well now.
But haven't figured out why the frontend-maven-plugin not working as expected yet. I have tried the newer version 1.5 in the pom.xml already.


fix(util.lua): tbl_islist -> tbl_isarray

Keep up with neovim master: https://github.com/neovim/neovim/commit/7caf0eafd83b5a92f2ff219b3a64ffae4174b9af
Solves #2. Apparently this was in fact the issue.

Thanks for the PR!


feat: filterMetaString option

If the meta string also has custom config by you, it may cause issues with word highlighting or other features of rehype-pretty-code.
So Nextra would specify:
const options = {
  filterMetaString: (string) => string.replace(/filename=".*"/, ''),
};

@B2o5T

Looks good, ty ❤


Bug report: nearby devices can't pair in the same network

Describe the bug
My WiFi network is configured bit different with static IPv4 for each device type.
For example, my computers/laptops are located at 192.168.1.xx, phones at 192.168.2.xx.
network: 192.168.x.x
gateway: <IP_ADDRESS>
mask: <IP_ADDRESS>
Case 1
PC - <IP_ADDRESS>
Phone - <IP_ADDRESS>
Result: two devices find each other when you press refresh button
Case 1
PC - <IP_ADDRESS> (PC#2 in network dot 1)
Phone - <IP_ADDRESS> (Phone#1 in network dot 2)
Result: two devices can't find each other but they are located in the same network
To reproduce

make sure you know how to set up static IPv4 in your router
try to use case 1
try to use case 2
see the difference

Expected behavior
The devices are on the same local network, but it looks like your software does not understand that 192.168.1.xx and 192.168.2.xx is the same network
Screenshots
Case 1

Case 2

Desktop (please complete the following information)

OS: Windows 11
Version: 1.7.0

Smartphone (please complete the following information)

Device: Xiaomi Redmi Note 7
OS: AOSP firmware, Android 10
Version: 1.7.0

Additional context
No response

Same problem.

Duplicate of #175


concurrency: make it work

Changes:

Use imap_unordered to return results as they are ready. Remove manual batching done before the run starts. (dbt test shows great results with this approach because there's only one run level.)
Use a unique transaction per model. The new integration test proves that this works.
Implement connection pooling. This works effectively the same way as psycopg2.pool.ThreadedConnectionPool.

have you done any work to quantify the dbt run speedup this effects?

I haven't, it's difficult to do so with my project because we have an XS snowflake warehouse, and performance has been noticeably different with multiple simultaneous transactions. I asked @jthandy to do some benchmarking on it with a Redshift project once it's in dev.

did you validate that this properly skips dependent models on failure?

Yeah, but I guess we should have an integration test for this. I added one for the inverse, i.e. if a model fails, other models in the same run level don't fail.

which data warehouses have you tested this with?

Snowflake & Postgres


Code problem

Hello, thank you for the code provided, which has greatly helped my research work, but there is a problem with running your code. I didn't understand the problem. I hope to get your help, thank you
Traceback (most recent call last):
File "train.py", line 304, in
log.save_args(args)
File "C:\Users\ST\Desktop\triplet-reid-pytorch-master\logger.py", line 89, in save_args
label = subprocess.check_output(["git", "describe", "--always"]).strip().decode()
File "C:\Program Files\Python35\lib\subprocess.py", line 316, in check_output
**kwargs).stdout
File "C:\Program Files\Python35\lib\subprocess.py", line 383, in run
with Popen(*popenargs, **kwargs) as process:
File "C:\Program Files\Python35\lib\subprocess.py", line 676, in init
restore_signals, start_new_session)
File "C:\Program Files\Python35\lib\subprocess.py", line 957, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] 系统找不到指定的文件。

Hi,
I'm glad that my code has been useful to you.
I haven't tested the code on windows, but I'm guessing that you either haven't installed git or are not using the git console.
That part is just for logging the current git commit, nothing essential. For a quick and dirty workaround you could just comment that line out.
But its better if you installed git and setup your PATH variable properly, then it should also work on windows.
Best,
Kilian


Align File operations to the 'symlink' metaphor of data links to files

Implementing #11802 calls for aligning other methods on files to the 'symlink metaphor'.
The idea is following:

is_directory and is_regular_file follow the data link and check the target file. If the data link points to a non-file object, they both return False.
size follows the data link and returns the size of the target file. If the data link does not point to a file, it throws an error.
exists does not follow the data link - it checks whether the link itself exists, regardless of target.
creation_time and last_modified_time do not follow the data link - they return the modified/created timestamps of the link.
posix_permissions and is_writable (local file only) do not follow the data links; they are not implemented on other file systems.
/ and resolve allow to 'cross' data links if the data link points to a directory (this is the immediate consequence of Data.list following the data link). This means that the return type of / is no longer the same type as input (e.g. File./ may return S3_File because of data links). For now we do not ascribe checked return type, later we may want to use & types with type classes to make this better.

Btw. not sure if I will have enough time to do it as part of this ticket or create a separate one, but since we are now even more 'mixing' file systems (e.g. / may return a new file on completely another file system), we should also 'reinforce' other methods to allow values from other filesystems.
Currently some operations yield a type error, or worse - undefined behaviour (i.e. hard to say what happens) if they get a file instance from a different filesystem. Let's align this at some point:

is_descendant_of / starts_with - should simply return False if filesystems differ. Even if a file can be reached by a datalink, it's not descendant from path perspective.
relativize and join - should raise an error if filesystems differ - it makes no sense to relativize or join on different file systems.
perhaps we should add Data Link section to documentation of copy_to and move_to.

@jdunkerley initially didn't want to have follow_links option. I agree with him about the point that that would obfuscate the API and make it more complicated. I suspect many users don't want to think about the symlinks/datalinks too much and exposing that complexity may scare them.
The thing with e.g. exists following links is that it is not well defined for data links that point to non-files. I.e. if I have a data link pointing to a Database connection, what does exist mean? Is it "can I connect to the endpoint"? We can make it work but it is indeed making it a bit more vague.
But I agree that especially for files it seems good to be able to check both if the link but also the target file exists and distinguish the two non-existence scenarios.

@radeusgd That makes sense about datalinks pointing to non-files. (It could mean "does the table exist"; errors about connection failures are different, and apply both to tables and cloud filesystems.)
I also can agree that we don't want to bother the user with a follow_links argument to every method that might involve a data link. Instead, we  might have to implement as_data_link_itself (which is a bad name) on these values. The value itself contains the referent, but if you want to access the data link as a data link, then you would have to take an extra step. This would be rarely used by end users, so it would make sense to require a special method call.


⚠ Mobitopup has degraded performance

In d5fc99e, Mobitopup (https://napcard.voz.tech) experienced degraded performance:

HTTP code: 200
Response time: 6136 ms

Resolved: Mobitopup performance has improved in 21a823a after 13 minutes.


Typing support

Hi! Thanks for the awesome project.
It looks like you have covered almost all of your source code with type annotations, but currently it is not shipped to the final user.
I suggest to fix this situation. Here's how:

Create py.typed file in the root of the dataclass_factory folder, it is required for PEP561 to work. Example: https://github.com/dry-python/returns/blob/master/returns/py.typed
Change how public API is typed. Some method do miss return values. Some of them are missing generic parameters. Like this one: https://github.com/Tishka17/dataclass_factory/blob/master/dataclass_factory/factory.py#L80 It should be something like: def load(self, data: Any, class_: Type[T]) -> T: (do not forget about Generic base class)
Integrate mypy to check these annotations

This feature would improve developer experience and make this project even more awesome!

I did some changes in develop branch.

I'm not sure how properly distribute py.typed file.

Generic base class for factory not needed, because it is generics method wich returns different types based on args. But Schema is now generic

mypy shows problem with is_type_var method. I'm not sure if it false positive

I can help with a review if you open a new PR.


Add docs on Microsoft.AspNetCore.OpenApi

Internal previews

📄 File
🔗 Preview link

aspnetcore/fundamentals/minimal-apis/aspnetcore-openapi.md
aspnetcore/fundamentals/minimal-apis/aspnetcore-openapi

What a remarkable milestone. Looking forward to the completion of the doc.
If the doc can cover the topics about setting up authentication schemes that would be really great!!
Previous with SwaggerUI, I needed to setup the OUDC resource owner password grant or AuthZ+PKCE flows with identity server. https://swagger.io/docs/specification
Hope that can be easily done with the new offering from the .NET 9. Thank you very much.

@ron-zhong Thanks for the feedback! I've added a sample that shows how to register authentication schemes globally using document transformers.
Admittedly, the built-in support doesn't move the needle on making this process more seamless. You still have to manually configure the schemes yourself.
If you're interested in efforts to make this process more seamless, check out https://github.com/dotnet/aspnetcore/issues/39761. I shared some notes there on prototyping I've done in the past to make it easier to introspect auth configurations in an application. It's not super trivial and given the sensitive of authentication it's one of those things that you really have to get right. I dunno that we'll do something in this area for .NET 9 but it is something I've thought about in the past.

@tdykstra @Rick-Anderson @mikekistler @JeremyLikness I think there's enough content here to kick-off some review for it. Pardon any rawness in the content, I optimized for iterating early and often on this content as opposed to waiting to hit a perfect state. 😄

@captainsafia  I was going to PR this PR as I have many minor editorial edits but given this is good enough I think we should merge and then I can quickly PR the topic with my changes and have @tdykstra  review them. Should I make any technical changes I'll mention you and the other technical folks.

@JeremyLikness  @mikekistler can one of you approve the code so we can merge this and then @tdykstra  and I will do a quick cleanup right after.


AOAF-438 point to service

CI: No security warnings found

Just waiting for clarification from Lisa before merging


Added endpoint for DTI calculation

I have  checked for some values. please  try itout

@nikhil25803  included to ENDPOINT.md

Congrats @abinashrasonowal a  🎉, your PR got merged. To be eligible for the swags from ClueLess. Follow these steps.

Star this repository. ⭐
SignIn / SignUp in [ClueLess Website](https://www.clueless.tech/)
Go to the profile section from the top right-hand corner.

Comment your profile URL under this comment tagging the person who merged your PR.
That’s it. Follow the leaderboard!
And don’t forget to share your achievement with your friends.


Strategy for loading and decoding audio files

Dear Sir!
I have question about how best to use the resource loader to load and decode audio files.
Here's the problem I'm trying to solve:
I have arrays of arbitrary file types that I need to load.
Some of them sometimes contain audio files, something like this:
filesToLoad = [
  "image.png",
  "blip.wav",
  "data.json",
  "music.mp3"
];

I can load them with the loader like this:
    this.loader
      .add(filesToLoad)
      .load(setupFunction);

But, I need the audio files to be loaded with an XHR responseType of "arraybuffer" and then passed to my local Web Audio API context's decodeAudioData method before being added to the loader's resources.
Is this something the resource loader can do?
Any advice on the strategy I should use to accomplish this would be greatly appreciated :smile:
PS: Pixi's resource loader is awesome by the way, thanks so much, it's been incredibly fun to use!

You can see what the types are that it will try to automatically do for you are:
https://github.com/englercj/resource-loader/blob/master/src/Resource.js#L731-L758
So you have a few options here to make your values load correctly. First if you only want to load a specific resource that way, you can just configure it:
filesToLoad = [
  "image.png",
  { url: "blip.wav", loadType: Resource.LOAD_TYPE.XHR, xhrType: Resource.XHR_RESPONSE_TYPE.BUFFER },
  "data.json",
  "music.mp3"
];

That will force that one item to be loaded with XHR as an arraybuffer, but do the default logic for anything else. Alternatively you can register new extensions to be loaded a special way. For example:
// set default loading mechanism for .wav and .mp3 extensions to use XHR
Resource.setExtensionLoadType('wav', Resource.LOAD_TYPE.XHR);
Resource.setExtensionLoadType('mp3', Resource.LOAD_TYPE.XHR);

// set default loading type for .wav and .mp3 extensions to be arraybuffer
Resource.setExtensionXhrType('wav', Resource.XHR_RESPONSE_TYPE.BUFFER);
Resource.setExtensionXhrType('mp3', Resource.XHR_RESPONSE_TYPE.BUFFER);

That way any resources to load with the .wav or .mp3 extensions will automatically be detected and loaded properly.

Brilliant, thanks so much!
I will run some tests and try these out.

I've tested this and the setExtensionsLoadType function works!
But, I have another question.
As soon as the audio files have loaded, I need to decode them and get their audio buffers.
Here's the decodeAudio function that does this.
It needs a reference to the xhr.response, and uses the decoded buffer to make a sound object.
function decodeAudio(xhr){
  var decodedBuffer;
  actx.decodeAudioData(
    xhr.response,
    function(buffer) {
      makeSound(buffer);
   },
    function(error) {
      throw new Error("Audio could not be decoded: " + error);
    }
  );
}

Is there some way to make the loader run this function as soon as the file has loaded, and also access the loader's XHR object?

Closing as this seems solved.


Cannot add integration

Hi,
I cannot add the integration to Home Assistant. I downloaded the integration using HACS and than tried to add it to my Homa Assistant. I get the following error in a popup window:
Fehler Der Konfigurationsfluss konnte nicht geladen werden:  <title>504 Gateway Time-out</title>
504 Gateway Time-out

nginx
To Reproduce
Steps to reproduce the behavior:

Download the integration via HACS
Go to Settings, Devices & Services
Add the integration by using the apropriate button
See error

Expected behavior
To see a windows, where my login credentials for MyT are asked.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
I had the integration installed before. When I was updating HA Core from 2024.4.4 to 2024.5.0 the integration stopped working. Downgrading to 2.4.4 did not help. Therefor I removed the integration and tried to reinstall ist. Since then the problem persists, no regard, if I am using Core 2024.4.4, 2024.5.0, tried every version up to 2024.5.3 (actual)

I'm also having the same issue as above - can't add the integration to HA following removal of the existing integration.
I removed it as it was not working, but now I can't get it back!
Thanks in advance for any help,

I'm also having the same issue as above - can't add the integration to HA following removal of the existing integration. I removed it as it was not working, but now I can't get it back!
Thanks in advance for any help,

Not sure what's happened, but this is working again for me today! No idea what I've done to get it working again.....

I am also having issues adding the integration with a different outcome.
To Reproduce
Steps to reproduce the behavior:

Download the integration via HACS
Go to Settings, Devices & Services
Add the integration by using the appropriate button
See the error and the Pi 3B crashes and reboots.

Expected behavior
To see a window, for login credentials.
Screenshots
Additional context
I am expecting this to work with My Lexus but not got as far as to try the login.


Typo in attribute name (description part)

Should be namespaceName, not nameSpaceName

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

ID: f9aa6821-e5f2-179c-2d36-b63e3dd2a4aa
Version Independent ID: cf015a5e-84f6-011e-4426-2f6a1d772c24
Content: Azure Event Grid Service Bus event schema
Content Source: articles/event-grid/event-schema-service-bus.md
Service: event-grid
GitHub Login: @banisadr
Microsoft Alias: babanisa

@SeanFeldman Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.


You have triggered an unhandledRejection, you may have forgotten to catch a Promise rejection

Recently I went from Node 6 to Node 7 on my server + updating to tmi.js 1.2.1 and I'm noticing these errors regarding promises.
Error log:
17-05-2017 02:06:33 -04:00: You have triggered an unhandledRejection, you may have forgotten to catch a Promise rejection:
bad_timeout_broadcaster
17-05-2017 02:15:42 -04:00: (node:7743) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): No response from Twitch.
17-05-2017 02:15:42 -04:00: (node:7743) DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
17-05-2017 02:29:18 -04:00: You have triggered an unhandledRejection, you may have forgotten to catch a Promise rejection:
bad_timeout_broadcaster
17-05-2017 18:33:45 -04:00: You have triggered an unhandledRejection, you may have forgotten to catch a Promise rejection:
No response from Twitch.
18-05-2017 00:20:55 -04:00: You have triggered an unhandledRejection, you may have forgotten to catch a Promise rejection:
no_permission
18-05-2017 01:29:29 -04:00: (node:25546) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): No response from Twitch.
18-05-2017 01:29:29 -04:00: (node:25546) DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
18-05-2017 18:13:01 -04:00: (node:25546) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 3): No response from Twitch.

Due to no stack trace I'm not sure where No response from Twitch. is coming from. The one about bad_timeout_broadcaster comes from this:
irc.client.on('notice', (channel, msgid, message) => {
    if (! ['msg_ratelimit', 'timeout_success', 'host_target_went_offline', 'msg_subsonly'].includes(msgid)) {
        console.log(`TWITCH-IRC(notice) Channel: ${channel}. Msgid: ${msgid}. Message: ${message}.`);
    }
});

Where exactly is the promise I need to provide a .catch() to, according to the error message?
Server configuration

Operating system: Ubuntu 16.04
Node version (if applicable): v7.9.0
NPM version (if applicable): 4.2.0
tmi.js version: 1.2.1

tmi.js is only supported by Node 4.x at this time. There is no ETA when we will support Node 6.x and 7.x

Closing this as it is a duplicate of #201


Add function for remify, fluid and fluid-font

I've been using these functions to create fluid font-sizes and dimensions and with clamp being supported it feels like they should be part of seng-scss. The remify is currently opiniated to have a root font-size of 100% instead of 62.5%. But the goal of the 62.5% was for calculation means to begin with. And with the remify function this becomes easy.

There also is a fluid-type mixin, think we then have to remove that one to keep it clean.


Blur SurfaceViewRenderer

Hello, @davidliu
I need to set blur effect to SurfaceViewRenderer for 1 or 2 mins in between of video streaming. Is it possible to give that effect?

This isn't a functionality we support nor plan to support directly. You can get the video frames and blur them yourself before passing them to the SurfaceViewRenderer though.

@davidliu do you mean that we need to customise the VideoSink as discussed in  this issue also?
If that's the case then how the blurred bitmap can be displayed on the local SurfaceViewRenderer and also how this blurred bitmap will be streamed to other call participants?
class CustomVideoSink(private val surfaceViewRenderer: SurfaceViewRenderer) : VideoSink {

        override fun onFrame(videoFrame: VideoFrame) {

                // How can this modified bitmap be shown as a videoFrame and also streamed to others?
                val bitmap = videoFrame.buffer.toI420()?.toBitmap()

                surfaceViewRenderer.onFrame(videoFrame)

        }
    }


Read file in node_modules

Hi,
I'm trying to read a file from node_modules to be able to inject it to a webview.
But I am not able to get the right path from fs.readFile() to access node_modules.
I tried a relative or absolute path but it is not working:
RNFetchBlob.fs
      .readFile("./node_modules/epubjs/dist/epub.min.js", "utf8")
      .then(data => { // handle data })

RNFetchBlob.fs
      .readFile(__dirname + "/node_modules/epubjs/dist/epub.min.js", "utf8")
      .then(data => { // handle data })

RN: 0.55.4
RNFetchBlob: 0.10.8
Thanks!

node_modules does not exist on the device. It is on you computer.
You will need to move epub.min.js into the apps assets folder (on android app/resources, not sure for iOS) to get the file onto the device.
Once you have the file in the assets, you will want to use the following:
RNFetchBlob.fs.readFile("file:///path/to/assets/epub.min.js", "utf8").then(...)

Thanks @ssedrick I'll try this.

It works thanks!
I've dragged my file to the root project on Xcode, then restarted Xcode.
I have now access to the file with the following path: RNFetchBlob.fs.dirs.MainBundleDir + "/MY_FILENAME";


Not working on osx 10.11.6

Is there a minimum osx version?
thanks

Good question. Does it open at all? If not, does it provide an error message?
I assume Tauri (used for app packaging) has a minimum required OS version, but no mention of it in the docs.

I don't think we can expect support for OSX 10.11.6 anytime soon, sorry 🙂 (for good reasons tho)
https://twitter.com/TauriApps/status/1443306494104068098?s=19

No, it doesn't open at all. Shows dialog saying there's a problem, report to Apple, etc...
Thanks anyway!


Documentation generation fails

This is happening when we create the plots for the different models, so probably caused by PyPlot. The doc scripts run fine locally.

I simplified the plotting to bypass the python function.
33a2632168fec395450432a031e0658136dd0a06
Still same error.

The issue comes at the execution of the scripts to generate the figure, both for the notebooks and production of html from jl files. I turned off the execution of the notebook, which flagged a more friendly error message downstream.
There is an odd keyword for the grid command (b=...) which isn't available on the doc. I removed it, and it seems to help a lot.
9a3f1a3422a37b8f2b12d078535f94824a1abf6f
I believe that the documentation is now generated properly, but can't be pushed back to the repository. There is another error:
Error: Git failed to fetch git@github.com:JuliaRheology/RHEOS.jl.git
│ This can be caused by a DOCUMENTER_KEY variable that is not correctly set up.
│ Make sure that the environment variable is properly set up as a Base64-encoded string
│ of the SSH private key. You may need to re-generate the keys with DocumenterTools.

So that's the next hurdle!

Setting a new private and public key did the trick here. Instructions above worked perfectly.


https://lookin.work/ seems not working properly

Hello,
https://lookin.work/ and https://lookin.work/faq/integration-guide/ have empty text inside.
Screenshots:

site is working normally now


Incremental coverage doesn't user .coveragerc

It seems to complain about _test.py files and files where no coverage pragmas have been added.  Does this functionality check the.coveragerc file?

The issue is actually that the coverage tool which creates annotations does pay attention to this configuration, but then the coverage checker notices that the tests have no coverage annotation-- indicating they are not covered.
We do want to include test code in the coverage check.


uwpct://Controls?sample=MarkdownTextBlock link

The "Try it in the sample app" link on this page does not work. Tested in Edge and Firefox.
This link;
uwpct://Controls?sample=MarkdownTextBlock

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

ID: caa785b7-4059-f814-2806-4526eeb1d40f
Version Independent ID: 48266899-d619-7581-5bb3-5c10dab2d05e
Content: MarkdownTextBlock - Windows Community Toolkit
Content Source: docs/controls/MarkdownTextBlock.md
Product: dotnet-communitytoolkit
Technology: windows-community-toolkit
GitHub Login: @WilliamABradley
Microsoft Alias: mhawker

Neither does this one
This is why I'm wary of trying out native development. Go to any other Framework and you have demos of what's possible, a clear path etc
This feels like reading JavaDoc for something that's supposed to be visual 🥲


Spike: Parent and Child elements

Es soll möglich sein Type-Elemente als Parent-Types anzulegen und mehrere Children-Types davon anzulegen.
ACs:
Aufbau

[ ] Ein Parent-Child soll "N" Children-Types haben können
[ ] Ein Children Type soll weitere "N" Children haben können
[ ] Werden für ein Children weitere Sub-Children definiert kann entschieden werden die Zuweisung zum Parent aufzuheben oder bestehen zu lassen
[ ] Alle folgenden Elemente sollen als Parent und auch Child verwendbar sein: Substation, Voltage Levels, Bays, IEDs und LNs

Änderungen

[ ] Wird der Parent-Type geändert werden alle Children-Types und deren Children-Types angepasst
[ ] Es soll möglich sein Änderungen an den Children-Types vorzunehmen, allerdings werden bei einem Update des Parent-Types automatisch diese Änderungen überschrieben

Hinweise:

Elemente = Substation, Voltage Levels, Bays, IEDs und LNs

Beispiel:
Parent IED B.scd

Child IED B 1.scd

Child IED B 3.scd
Child IED B 2.scd

Nicely transcribed. To continue our discussions from yesterday :

On the UX perspective, I'm wondering if the children characteristics coming from the parent should not be unchangeable (like viral license in open source), i.e. :

a parent has a given characteristic (changeable or not, that has no effect), and is selected to go along with the child.
that characteristic is marked has unchangeable on the child, to have a consistent behavior through the modifications chains and to avoid side effects.

When creating a full bay type with all inner components, does it make sense to create those inner components as stand alone types as if they were imported inside the bay type? (@PhilipLeddin, you mentioned the atomic components of figma for example, and I can picture this here as well)

Does it have a real meaning on the UI side ? I don't know how complex the design will be. Do we need this kind of library style features ? Will this make the process of cloning or parenting the types easier ?

"Ein Parent-Child soll "N" Children-Types haben können"
I thought if a TYPE is used in a project than its a childern of the PARENT Type but the CHILD itself is no longer a TYPE? Than if you would save the CHILD again as TYPE. It would make the CHILD to a new PARENT, which is a new TYPE.
Or did i understand it worng.

Lissi, your question make me realize that I'm not sure about the plugin boundaries and context.
Is not the use case of this plugin to create empty types/templates designs as placeholder, that then will be used outside of the scope of the plugin, and therefore all elements can be considered as a type/template inside this specific plugin?
Not-so-related question : do one need the ability to create clones or parenting relations outside of the context of the creation of the current design?

Take a look at the existing type structure in SCD files, parts are taken from the compas demo SCD. So the parent <LNodeType> uses a reference to a <DOType> by using a regular <DO type="..."> with a type reference. I think we should stick to this pattern for the new types like <BayType> and <IEDType>.

<DataTypeTemplates>
<LNodeType id="SIPROTEC5_LNType_LPHD_Application" lnClass="LPHD">
<DO name="PhyNam" type="SIPROTEC5_DOType_DPL_V07.80.17_V02.00.00"/>
...
<LNodeType/>
...
<DOType cdc="DPL" id="SIPROTEC5_DOType_DPL_V07.80.17_V02.00.00">
<DA bType="VisString255" fc="DC" name="vendor" valKind="RO"/>
...
</DOType>

@PhilipLeddin still needed? I think it was an old discussion from older concept?


Bug: [QueryBuilder] where() with BETWEEN creates bad SQL even with $escape = false

PHP Version
8.1
CodeIgniter4 Version
4.3.0
CodeIgniter4 Installation Method
Composer (using codeigniter4/appstarter)
Which operating systems have you tested for this bug?
macOS
Which server did you use?
apache
Database
MySQL 8.0.31
What happened?
Upgrading from 4.2.11 to 4.3.0 I notice changes in the QueryBuilder´s escape logic affecting BETWEEN statements.
Steps to Reproduce
This code from 4.2.11 works as expected:
            $db      = db_connect(Table::READONLY);
            $between = 'BETWEEN ' . $db->escape($from) . ' AND ' . $db->escape($to);

            $completed = $db
                ->table(Table::subsredeem)
                ->selectCount('*', 'cnt')
                ->where('created_on IS NOT NULL', '', false)
                ->where('created_on ' . $between, '', false)    // <--- This is the interesting line!
                ->where('completed', 1)
                ->get()
                ->getRow(0)?->cnt;

After upgrading to 4.3.0 the "interesting line" produces bad SQL causing an Exception to be thrown.
The QueryBuilder adds a =:
$this->getCompiledSelect(false)
SELECT COUNT(*) AS `cnt`
FROM `subsredeem`
WHERE created_on IS NOT NULL
AND created_on BETWEEN '2022-07-01 00:00:00' AND '2022-12-31 23:59:59' =
AND `completed` = 1

Expected Output
Working SQL query.
Anything else?
The work-around I'm currently using:
 $completed = $db
                ->table(Table::subsredeem)
                ->selectCount('*', 'cnt')
                ->where('created_on IS NOT NULL', '', false)
                ->where(new RawSql('created_on ' . $between)) // <--- Use RawSql here!
                ->where('completed', 1)
                ->get()
                ->getRow(0)?->cnt;

Your problem seems to be that you are using an empty string for the second parameter of where().
Should be $builder->where('created_on ' . $between, null, false)
The default value of the second parameter is null, not an empty string. This is because you may want column = ''
If this was working in 4.3.x it was probably by mistake.

Using '':
        $builder = $this->db->table('subsredeem');
        $between = "created_on BETWEEN '2022-07-01 00:00:00' AND '2022-12-31 23:59:59'";
        $sql = $builder->selectCount('*', 'cnt')
            ->where('created_on IS NOT NULL', '', false)
            ->where($between, '', false)
            ->where('completed', 1)
            ->getCompiledSelect();

SELECT COUNT(*) AS "cnt"
FROM "subsredeem"
WHERE created_on IS NOT NULL
AND created_on BETWEEN '2022-07-01 00:00:00' AND '2022-12-31 23:59:59' =
AND "completed" = 1

Using null:
        $builder = $this->db->table('subsredeem');
        $between = "created_on BETWEEN '2022-07-01 00:00:00' AND '2022-12-31 23:59:59'";
        $sql = $builder->selectCount('*', 'cnt')
            ->where('created_on IS NOT NULL', null, false)
            ->where($between, null, false)
            ->where('completed', 1)
            ->getCompiledSelect();

SELECT COUNT(*) AS "cnt"
FROM "subsredeem"
WHERE created_on IS NOT NULL
AND created_on BETWEEN '2022-07-01 00:00:00' AND '2022-12-31 23:59:59'
AND "completed" = 1

        $builder = $this->db->table('subsredeem');
        $between = "created_on BETWEEN '2022-07-01 00:00:00' AND '2022-12-31 23:59:59'";
        $sql = $builder->selectCount('*', 'cnt')
            ->where('created_on IS NOT NULL')
            ->where($between)
            ->where('completed', 1)
            ->getCompiledSelect();

SELECT COUNT(*) AS "cnt"
FROM "subsredeem"
WHERE "created_on" IS NOT NULL
AND "created_on" BETWEEN '2022-07-01 00:00:00' AND '2022-12-31 23:59:59'
AND "completed" = 1

I don't know why $value = '' works in v4.2, but it should be $value = null when you don't set a value.

You need $value = '' in cases where you looking for a column with empty but not null values.

I mean in v4.2.12 the following code works:
        $builder = $this->db->table('subsredeem');
        $between = "created_on BETWEEN '2022-07-01 00:00:00' AND '2022-12-31 23:59:59'";
        $sql = $builder->selectCount('*', 'cnt')
            ->where('created_on IS NOT NULL', '', false)
            ->where($between, '', false)
            ->where('completed', 1)
            ->getCompiledSelect();

SELECT COUNT(*) AS "cnt"
FROM "subsredeem"
WHERE created_on IS NOT NULL
AND created_on BETWEEN '2022-07-01 00:00:00' AND '2022-12-31 23:59:59'
AND "completed" = 1

Well you could never really use $value = '' when escape is false.. maybe this created a loophole.

Related or not - https://github.com/codeigniter4/CodeIgniter4/issues/7143
I do start to find QueryBuilder scary to use...

This issue is not a bug, but a misuse.
In v4.2.12 or before, the misuse generated working SQL statement. It is a bug.
Misuse:
$builder = $this->db->table('subsredeem');
        $between = "created_on BETWEEN '2022-07-01 00:00:00' AND '2022-12-31 23:59:59'";
        $sql = $builder->selectCount('*', 'cnt')
            ->where($between, '', false) // Using `''` with `false`
            ->getCompiledSelect();
/*
string (118) "SELECT COUNT(*) AS "cnt"
FROM "subsredeem"
WHERE created_on BETWEEN '2022-07-01 00:00:00' AND '2022-12-31 23:59:59' = "
*/

Correct usage:
$builder = $this->db->table('subsredeem');
        $between = "created_on BETWEEN '2022-07-01 00:00:00' AND '2022-12-31 23:59:59'";
        $sql = $builder->selectCount('*', 'cnt')
            ->where($between, null, false) // Using `null` with `false`
            ->getCompiledSelect();
/*
string (115) "SELECT COUNT(*) AS "cnt"
FROM "subsredeem"
WHERE created_on BETWEEN '2022-07-01 00:00:00' AND '2022-12-31 23:59:59'"
*/

@tangix @sclubricants
I sent a PR to update the user guide: #7151

I found the cause of this issue.
See #7155
But I still think where($between, '', false) is a misuse.
Because '' will be empty string when $escape is false.


If the output destination is not a tty, color coding should be turned off by default.


Return Discord discriminator in user_metadata

Feature request
Is your feature request related to a problem? Please describe.
The discriminator is needed with the username to visually identify Discord users. I see that it's already made available in the struct here, and even referenced here, it's just not included in the user_metadata.
Describe the solution you'd like
I'm not sure if it makes sense to create a new property in user_metadata as a generic solution for other providers, but just modifying Discord's name field to include the discriminator could suffice (would just mean if you only want the username, you would have to split the string on the front-end).
user_metadata: {
  name: "username#1234"
}

Describe alternatives you've considered
I'm sure you could use the Discord ID that is already returned to fetch the user's discriminator, but that's unnecessary when the OAuth is already providing it.

hi @itsnewtjam, let's add it to the name field and leave it to the users to split it if they want to retrieve the discriminator - that way, we won't need to include a specific discord term in the generic oauth interface.


Have Dapr support multiple instances registered with same app-id and load balance requests across them

Currently looking at using Dapr in our data center to provide a transparent way for a legacy worker process to access a REST API.
Proposal was to deploy the REST API to each of the nodes where the worker process also runs, and then use Dapr as a side car process registering the app with the same service name on each node.
This does not work however as there is no native concept of load balancing in the Dapr system and what actually happens is that each time you start the Dapr side car the local instance of the REST API becomes the "latest" known service, and when that REST API stops, further calls to Dapr fail as it does not round robin to the other running instances of that service name.
It would be nice if you could have multiple registrations of the same app-id and Dapr would do simple round robin load balancing around them.
When any instance of a Dapr side car was terminated, it should immediately remove that instance from the pool of services of that app-id within the Dapr system.
With this functionality you can potentially remove the need for complicated service discovery/load balanced mechanisms like Consul, and go with a much simpler Dapr native approach when you are dealing with legacy systems running on servers (as long as the network supports multicast for Dapr discovery ;-) )
Another thing I noticed is that if you try to register the same app-id locally with different ports you get a specific error complaining that the app-id is already used, but if you register the same app-id on different hosts (as I was doing experimenting with this) then it suceeds, you just don't get any type of "load balancing" behavior.
So in developing the load balancer logic, you should probably also allow multiple app-ids to be registered on the same host (as long as they go to different app-ports)

@skyao can you help with this?

@skyao can you help with this?

Ok, let me check what happens.

@skyao here's some context:
See here, this is where Dapr searches the network for the given app ID in Self Hosted service discovery. This method needs to change to keep a map of instances per app ID, as today this function only handles a single instance of an app-id. Once there's a list of instances, there needs to be a basic round robin logic around them.

@yaron2 do you think we should include basic load balancing capabilities in Dapr as described above for mDNS or do we delegate that to the external networking i.e. in Kubernetes it's handled by a service not Dapr - locally it can be handled by a Daprized load balancer or proxy if required. Just wondering if it's a core capability if it's different between environments.

On second thoughts - not sure the above matters as it doesn't affect the runtime.

@yaron2 do you think we should include basic load balancing capabilities in Dapr as described above for mDNS or do we delegate that to the external networking i.e. in Kubernetes it's handled by a service not Dapr - locally it can be handled by a Daprized load balancer or proxy if required. Just wondering if it's a core capability if it's different between environments.

The mDNS implementation should have basic load balancing capabilities, yes.

So just looking at the implementation of this, @yaron2 does your comment above suggest having a background goroutine periodically browse mDNS and maintain an in memory map of appId to address list whilst keeping an index of the currently returned address, then in the ResolveID call we use some algo (i.e. round robin) to select the next address and update the index? We'd need to be careful to set a reasonable timeout in browse as we can't cancel early anymore when we've received a response for a matching ID, we'd need to get all responses in a time window and maintain that as the list. Checking for updates often enough to not return a stale address. If we kept it as is and did browse in ResolveID we'd need to keep that time window for responses very short in order to not introduce perf issues.

So just looking at the implementation of this, @yaron2 does your comment above suggest having a background goroutine periodically browse mDNS and maintain an in memory map of appId to address list whilst keeping an index of the currently returned address, then in the ResolveID call we use some algo (i.e. round robin) to select the next address and update the index? We'd need to be careful to set a reasonable timeout in browse as we can't cancel early anymore when we've received a response for a matching ID, we'd need to get all responses in a time window and maintain that as the list. Checking for updates often enough to not return a stale address. If instead we kept it as is and did browse in ResolveID we'd need to keep that time window for responses very short in order to not introduce perf issues.

The way I see it:
the mDNS implementation should periodically check all the appIDs on the network and keep a map of an ID and it's address list.
When a new invocation request comes in, Dapr checks if there are any entries for the given ID. If none are present, an mDNS browse will happen. If no new entries are discovered, an error is returned for address not found. If entries are discovered, the map is updated and the call continues.
Requests should follow round-robin when multiple entries for an app ID exist.

@jjcollinge I took the liberty of assigning this to you. This is important to get in for the nearest RC2 milestone..

@yaron2 np - I can look into this.

So just looking at the implementation of this, @yaron2 does your comment above suggest having a background goroutine periodically browse mDNS and maintain an in memory map of appId to address list whilst keeping an index of the currently returned address, then in the ResolveID call we use some algo (i.e. round robin) to select the next address and update the index? We'd need to be careful to set a reasonable timeout in browse as we can't cancel early anymore when we've received a response for a matching ID, we'd need to get all responses in a time window and maintain that as the list. Checking for updates often enough to not return a stale address. If instead we kept it as is and did browse in ResolveID we'd need to keep that time window for responses very short in order to not introduce perf issues.

The way I see it:
the mDNS implementation should periodically check all the appIDs on the network and keep a map of an ID and it's address list.
When a new invocation request comes in, Dapr checks if there are any entries for the given ID. If none are present, an mDNS browse will happen. If no new entries are discovered, an error is returned for address not found. If entries are discovered, the map is updated and the call continues.
Requests should follow round-robin when multiple entries for an app ID exist.

I'm going to implement this as an address cache, so the first request to a new appId will always be a browse but subsequent requests will use the cache. The cache will store ipv4 and ipv6 entries (separately) and have a TTL on them. New requests for existing appIds will renew the TTL but once expired a new browse will be required on the next request. I'll then just use a simple round robin selection to return the address from the list.

@yaron2 np, will look at getting this done asap. "periodically check all the appIDs on the network" - this is the interesting bit. If we implement this as an address cache - then when we see an appId, we check if it's in the cache, if it has addresses in the cache, we select the appropriate one using round robin. If it is not in the cache we need to browse the network for the appId - we don't know how many responses we might get so this has to be a fixed window (which will introduce a bigger cost for cache miss requests) - we then add each response we receive in the window to the cache, then select the suitable one using round robin. We could optimize this to reduce the cache miss cost by returning early from browse on the first response (as it done now) so only a single address is in the cache for that appId, and then a background goroutine scans the network for more addresses for all appIds in the cache periodically and add any new addresses to that entry list. Entries in the address cache will have a TTL. The TTL we then be extended each time we see the same address for the associated appId and expired entries will be removed.

Is there any method to configurate dapr to register service which have multiple instance on consul. we now found the configuration only support service name, not support argument "id", that means we can't register multiple service instance for one app. there is the website I refer: https://docs.dapr.io/reference/components-reference/supported-name-resolution/setup-nr-consul/#configuration-format


TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.
If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/28094

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/28094

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/34840

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/66874

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/79253

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/84670

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/88821

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/98588

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/112823

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/120911


JAWS is not announcing for more button instructions or role: A11y_Visual Studio Code Client_Welcome Screen_Screen Reader.

GitHub Tags:
#A11yWCAG2.1; #A11yTCS; #A11ySev3; #Visual Studio Code Client; #BM_Visual Studio Code Client_Win32_JULY2024; #DesktopApp; #WCAG1.3.1; #FTP; #A11yMAS; #info and relationships; #Element:button; #JAWS; #NVDA; #Screen reader; #A11yMAS; #STP;
Environment and OS details:
Application Name: Visual Studio Code Client
OS: Windows 11 version 23H2 OS built: 22631.3880.
Screen reader: NVDA: version 2024.1, JAWS 2024. 2312.53
Reproduction Steps:
1.Turning on the JAWS/ NVDA.
2.Open Visual studio code insider editor.
3.Using "Alt+H" key navigate to the "Help" menu bar option.
4.Using "Down" arrow key navigate to the "Welcome" item.
5.Tab till more button.
6.observed that JAWS is not announcing for more button instructions or role
Actual Result:
JAWS is not announcing for more button instructions or role.
Note:
Similar issue not observed with NVDA.
Expected Result:
JAWS should announce for more button instructions or role
User Impact:
Screen reader users will face difficulty. There are not able know more is button or link or text. if Jaws is not announcing anything.
Attachments:
224154.zip

#Rev:samhithaks;


[Enhancement] Add optional sort key to models.

Hello dom, would it be possible to add an optional comma delimited numerical priority value to each model written in the temp files for loras, embeddings, lycos etc, so that the whole shouldSort segment first orders the models by priority instead of lexicographically?
I've written in a small modification to the get_x functions so that they sort model lists by modification date (per setting), plus other priority ratings, but without additional information the order cannot be preserved when the categories are later merged on the js side. I hardly have the wherewithal to write working code in js, so I'd appreciate your thoughts on this.

I'm actually currently working on a similar themed addition, which is recording usage frequency and factoring that into the order. So basically, the stuff you use most often being recommended at the top. Don't know how long it will take me, though.
I started it mainly for normal tags, but expanding it to Loras, embeddings, etc. is also something I want to do after the first iteration is done.

Alright, cool. If it helps, I'll PR the python side of the sort selection.


Run migration file in a single transaction

I have the following database schema:
# 001.do.sql
CREATE TABLE products (
  id INTEGER PRIMARY KEY,
  title TEXT NOT NULL
);

CREATE TABLE shops (
    "id" INTEGER PRIMARY KEY,
    "name" TEXT   NOT NULL,
    "location" TEXT   NOT NULL,
    "number" TEXT   NOT NULL,
    "created_at" TIMESTAMPZ   NOT NULL,
    CONSTRAINT "pk_shops" PRIMARY KEY (
        "id"
     )
);

It obviously has a bug (defining the PK twice) and after running the migration command I got the following output:
rafaelgss@rafaelgss-desktop:~/repos/os/loren-ipsum$ npx platformatic db migrations apply --to 001
[18:38:49] INFO: running 001.do.sql
[18:38:49] ERROR: SQLITE_ERROR: table "shops" has more than one primary key
    err: {
      "type": "Error",
      "message": "SQLITE_ERROR: table \"shops\" has more than one primary key",
      "stack":
          Error: SQLITE_ERROR: table "shops" has more than one primary key
      "errno": 1,
      "code": "SQLITE_ERROR",
      "appliedMigrations": []
    }
node:internal/process/esm_loader:79
    internalBinding('errors').triggerUncaughtException(
                              ^

[Error: SQLITE_ERROR: table "shops" has more than one primary key] {
  errno: 1,
  code: 'SQLITE_ERROR',
  appliedMigrations: []
}

Node.js v19.4.0

So, I fixed the schema:
CREATE TABLE IF NOT EXISTS shops (
    "id" INTEGER PRIMARY KEY,
    "name" TEXT   NOT NULL,
    "location" TEXT   NOT NULL,
    "number" TEXT   NOT NULL,
    "created_at" TIMESTAMPZ   NOT NULL,
-    CONSTRAINT "pk_shops" PRIMARY KEY (
-        "id"
-     )
);

and running it again I get:
rafaelgss@rafaelgss-desktop:~/repos/os/loren-ipsum$ npx platformatic db migrations apply --to 001
[18:39:33] INFO: running 001.do.sql
[18:39:33] ERROR: SQLITE_ERROR: table "products" already exists
    err: {
      "type": "Error",
      "message": "SQLITE_ERROR: table \"products\" already exists",
      "stack":
          Error: SQLITE_ERROR: table "products" already exists
      "errno": 1,
      "code": "SQLITE_ERROR",
      "appliedMigrations": []
    }
node:internal/process/esm_loader:79
    internalBinding('errors').triggerUncaughtException(
                              ^

[Error: SQLITE_ERROR: table "products" already exists] {
  errno: 1,
  code: 'SQLITE_ERROR',
  appliedMigrations: []
}

Node.js v19.4.0

So it seems the first table was created, I think it should run in a transaction, so I don't need to undo and do again whenever my schema has a bug.

Looks like the recommendation from the documentation is to use IF NOT EXISTS when creating the table. It would solve my case, but I still think it should run as a transaction.

I am not sure about this.
I mean, if you want to run a migration with a DDL script in a transaction (assuming it's supported by the DB) what for instance blocks you in using BEGIN / COMMIT in the script?
Also, postgres wraps a script execution in a implicit transaction (according with postgrator documentation but it's also my experience).
You are using sqlite, which AFAIK does not support nested transaction. Which means that if we start a transaction "by default" for sqllite, if the user has a transaction declared in the migration script, this should fail (by I didn't try it).
So, I see two path:

We add an implicit transaction for sqlite, writing this in the doc and specifying to NOT start any transaction in the migration script
We simply update the doc saying (+examples) that for sqlite migration script should open explicit transactions.

WDYT @RafaelGSS @mcollina ?

@marcopiraccini
In postgrator, I probably made a mistake because in https://github.com/rickbergfalk/postgrator/blob/57d46ad9f03b882b6b1b60bc7bc5520fbd670faa/lib/Sqlite3Client.js#L38-L39 I added a split(';') to execute each query in SQLite3 separately, as you can only execute one query at a time in SQLite3.
I think we should add some bits to the docs like the following:
https://github.com/rickbergfalk/postgrator/blob/57d46ad9f03b882b6b1b60bc7bc5520fbd670faa/README.md?plain=1#L209-L236
as well as generating migrations scripts with transactions too.


Keda Kafka got error "remote error: tls: bad certificate"

Report
I deployed a Kafka scaled-object on EKS cluster v1.27, and get an error "remote error: tls: bad certificate". When trying the TLS configuration with a simple python code it works.
Expected Behavior
Should load correctly the Kafka certificates and initialize the HPA correctly.
Actual Behavior
The Keda scaledobject is created, but the keda-operator complains for remote error - bad certificates, and the HPA failed to create.
Steps to Reproduce the Problem
1.Create the below kafka ScaledObject
apiVersion: keda.sh/v1alpha1
kind: ScaledObject
metadata:
  name: ms-metro
spec:
  advanced:
    restoreToOriginalReplicaCount: true
    scalingModifiers:
      formula: '(kafka) > 0 ? 1 : 0'
      metricType: Value
      target: '1'
  cooldownPeriod: 120
  maxReplicaCount: 1
  minReplicaCount: 0
  pollingInterval: 30
  scaleTargetRef:
    name: ms-metro
  triggers:
    - metadata:
        bootstrapServers: >-
          kafka1:9094,kafka2:9094,kafka3:9094
        ca: |-
          -----BEGIN CERTIFICATE-----
          MIIDPzCCAiegAwIBAgIJALpKfrM78xDRMA0GCSqGSIb3DQEBCwUAMCwxCzAJBgNV
          BAYTAlVTMQswCQYDVQQHDAJOSjEQMA4GA1UECgwHQWxnb3NlYzAeFw0yMDA3MTcx
          -----END CERTIFICATE-----
        cert: |-
          -----BEGIN CERTIFICATE-----
          MIICzDCCAbQCCQDCwlC0lc/xhzANBgkqhkiG9w0BAQsFADAsMQswCQYDVQQGEwJV
          UzELMAkGA1UEBwwCTkoxEDAOBgNVBAoMB0FsZ29zZWMwHhcNMjMwNjA3MDYxMTMy
          -----END CERTIFICATE-----
        consumerGroup: group-3082561150640452
        key: |-
          -----BEGIN RSA PRIVATE KEY-----
          Proc-Type: 4,ENCRYPTED
          DEK-Info: AES-256-CBC,23328C7353BEFE355877A4219D5E22D9

          KMsPV0rcqT1+6JeV286L2IXKmpsvyIcLP25M/DmWtJANQ31s5NOaS4UqSNAahEDo
          D1quFzwcH0B048nW5fLg2OwyFBBjkljJhviAOTkfYTwevSLsvSiIpa/Ej4EKjgek
          -----END RSA PRIVATE KEY-----
        keyPassword: abcde123
        tls: enable
        topic: cf-to-algonext
        unsafeSsl: 'true'
      name: kafka
      type: kafka

The certificates in the ScaledObject are not the right one, and only the first are shown for security purpose.
2.
3.
Logs from KEDA operator
2024-02-02T12:21:15Z	ERROR	scale_handler	error resolving auth params	{"type": "ScaledObject", "namespace": "citenant114", "name": "ms-metro", "triggerIndex": 2, "error": "error creating kafka client: kafka: client has run out of available brokers to talk to: 3 errors occurred:\n\t* remote error: tls: bad certificate\n\t* remote error: tls: bad certificate\n\t* remote error: tls: bad certificate\n"}
github.com/kedacore/keda/v2/pkg/scaling.(*scaleHandler).buildScalers
	/workspace/pkg/scaling/scalers_builder.go:99
github.com/kedacore/keda/v2/pkg/scaling.(*scaleHandler).performGetScalersCache
	/workspace/pkg/scaling/scale_handler.go:357
github.com/kedacore/keda/v2/pkg/scaling.(*scaleHandler).getScalersCacheForScaledObject
	/workspace/pkg/scaling/scale_handler.go:290
github.com/kedacore/keda/v2/pkg/scaling.(*scaleHandler).GetScaledObjectMetrics
	/workspace/pkg/scaling/scale_handler.go:429
github.com/kedacore/keda/v2/pkg/metricsservice.(*GrpcServer).GetMetrics
	/workspace/pkg/metricsservice/server.go:47
github.com/kedacore/keda/v2/pkg/metricsservice/api._MetricsService_GetMetrics_Handler
	/workspace/pkg/metricsservice/api/metrics_grpc.pb.go:99
google.golang.org/grpc.(*Server).processUnaryRPC
	/workspace/vendor/google.golang.org/grpc/server.go:1372
google.golang.org/grpc.(*Server).handleStream
	/workspace/vendor/google.golang.org/grpc/server.go:1783
google.golang.org/grpc.(*Server).serveStreams.func2.1
	/workspace/vendor/google.golang.org/grpc/server.go:1016

KEDA Version
2.13.0
Kubernetes Version
1.27
Platform
Amazon Web Services
Scaler Details
Kafka
Anything else?

Helm chart version used to deploy keda is v2.13.1.
I understand that the error comes from the Kafka side, but perhaps the certificates were not loaded correctly from the Keda Side ? Or a different certificate format is required ?
Is there is way to run keda with higher log verbosity / debug to get more details about the error ?

You can't pass the certs inline in the ScaledObject as they are sensitive information, you have to use TriggerAuthentication. KEDA just ignores them from ScaledObject, that's why you see the error.
In the bottom of the scaler docs there are some examples using certs: https://keda.sh/docs/2.13/scalers/apache-kafka/#your-kafka-cluster-turns-on-sasltls-auth

mmm.. maybe we should improve docs to be more clear 🤔
As a rule, if you see the parameters under the section Authentication Parameters (https://keda.sh/docs/2.13/scalers/apache-kafka/#authentication-parameters) they can be set as plain text in scaledobject. This applies to all the scalers, if a parameter is described within Authentication Parameters it has to be read from pod (using EnvFrom when it's supported) or from TriggerAuthentication

I did as you suggested, but now I fail with this error (extracted from the keda-operator POD):
2024-02-03T19:35:36Z	ERROR	Reconciler error	{"controller": "scaledobject", "controllerGroup": "keda.sh", "controllerKind": "ScaledObject", "ScaledObject": {"name":"ms-metro","namespace":"citenant114"}, "namespace": "citenant114", "name": "ms-metro", "reconcileID": "c23dca9a-7251-4ef1-bf29-f618399f2c7f", "error": "error decrypt X509Key: pkcs8: only PKCS #5 v2.0 supported"}
Any suggestion ?

I'm not an expert with certificate stuff. After a quick review it looks that your command generates a PKCS v2...
Could you share all the commands for generating a certificate like yours?
Do you have any idea @zroubalik ?

After converting my original key I got another error:
2024-02-03T19:55:08Z	ERROR	failed to ensure HPA is correctly created for ScaledObject	{"controller": "scaledobject", "controllerGroup": "keda.sh", "controllerKind": "ScaledObject", "ScaledObject": {"name":"ms-metro","namespace":"citenant114"}, "namespace": "citenant114", "name": "ms-metro", "reconcileID": "dfb2145c-ac77-40d8-90d8-8280de1e63c9", "error": "error parse X509KeyPair: tls: private key does not match public key"}
I did perhaps something wrong, or this conversion trick is not possible. I have to say that I'm also not an expert with certificate stuff.

They error looks as a mismatch between the crt and key. Could you share how you generate them?
I mean, the openssl commands

The key is generated using: openssl genrsa -aes256....
Just a reminder, using a simple python code and giving the original pem/key/ca all is working fine.

@JorTurFer by looking again to the initial error error decrypt X509Key: pkcs8: only PKCS #5 v2.0 supported
My key looks like:
-----BEGIN RSA PRIVATE KEY-----
Proc-Type: 4,ENCRYPTED
DEK-Info: DES-EDE3-CBC,7EF293A7B0C43A20
bwz7TPBN2Xr6AxW9y7PRkaQjXYOS3bireDgyD0lBfKMqQ9AV2oTNUcrI2MtaquBH
QaK+bZY0XBpviceXPrfl73cFrBLBZM7/QhyxINWvcuJiq/hyHFwkT/kEOPWg3g+B
....
-----END RSA PRIVATE KEY-----
In this paper Encrypted private key in PKCS#8 format not supported, it says that there is the  "only PKCS https://github.com/youmark/pkcs8/pull/5 v2.0 supported" error happens when the library can't parse the ASN.1 structure".
So i run the command openssl asn1parse -in  and indeed got the error
140235125307280:error:0D07207B:asn1 encoding routines:ASN1_get_object:header too long:asn1_lib.c:157:
that is explained by
here
So my understanding is that the RSA PEM format is not support by the golang library pkcs8 you are using.
Does it make sense for you ?
I then remove the DEK-Info header using the command openssl pkcs8 -topk8 -inform pem -in  -out  and a new error in keda raise error decrypt X509Key: pkcs8: only PBES2 supported

Bottom line I'm stuck - After changing the key format I get the error error parse X509KeyPair: tls: private key does not match public key. AFAIK, changing the private key format has no impact on the public, so I have no idea why it failed.
Any ideas form your side ?

Wow, nice research, I didn't know about this cert limitation in the upstream libraries :/
I've checked the library and I'd not expect support for this, so I think that adding a note in docs could be awesome to explain this limitation. Would you be willing to add a pr there explaining this? FAQ could be a good place for it

Or maybe add it directly to Kafka scaler docs, if it is kafka only issue


How can I use milliseconds in tween when I add MovieClip to stage?

Hi,
I need to use milliseconds in animations in my movie clips.
I try to pass { useTicks: false } param to get method of Tween object but it's not working.
I want to use milliseconds instead of 40 ticks.
How can I do it?
var stage = new createjs.Stage("canvas");
createjs.Ticker.addEventListener("tick", stage);

var mc = new createjs.MovieClip(null, 0, true);
stage.addChild(mc);

var shape= new createjs.Shape(new createjs.Graphics().beginFill("#999999").drawCircle(100, 100, 100));
mc.timeline.addTween(createjs.Tween.get(shape).to({x:0}).to({x:760}, 40).to({x:0}, 40));

mc.gotoAndPlay(0);

If using milliseconds isn't possible, is there a way to make the animation move through frames based on time instead of render speed? I want the animation to show at same speed regardless of device FPS

Timeline & tweens support time based animation, but at present MovieClip does not. This is mainly because Flash Pro (which is the primary use of MovieClip), only really supports a frame-based paradigm.
However, we recognized the need for time-synching MovieClip instances, and added support for it via the .framerate property (also available on Sprite), which keeps your clip running at that framerate regardless of the real-world framerate.
The tricky part of using it is that it has to be set on each MovieClip individually, it isn't inherited by child clips (unless they are in Graphic mode). I recently built a work around in AdHelper though, which you could grab. I'll be looking at building something similar into the library as well.
https://github.com/CreateJS/html5ads/blob/master/AdHelper/AdHelper.js#L283
http://createjs.com/html5ads/#Duration
I'm going to close this, and add an issue for the global setting specifically. I'm also open to feedback if you think MovieClip should support time based animations directly - it shouldn't be crazy hard to add if there's a genuine use case.


Tables folder empty

I can run the code and generate annotations, but i tried this on 3 different pdfs and can't seem to get the tables folder populated. Thanks.

I believe this has been resolved. Please try again with the updated code and feel free to reopen if you experience this issue again.


Consider dropping quiver dep

This is currently the only thing requiring quiver to be pulled in to the Dart SDK, and is used very lightly here.

See https://github.com/dart-lang/tflite_native/pull/44 -

fixed in https://github.com/dart-lang/tflite_native/pull/44


Release Marathon 1.4.2

Picks:

5ff4ca062060026eb5cdd0f413cea7a03e20a4dd - Disable UnreachableStrategy for resident tasks
dad4e1f2b3e45fc13b207c21dc9936e901d7b47b - Read LaunchedOnReservation and Reserved tasks
f441c571beb445271be6b00fa097ed2f4c6ad7f3 -  ForceExpunge for missing task is a no-op, rather than a failure

This needs to be done and picked: https://github.com/mesosphere/marathon/issues/5209

Unless there is a major pressing need, I'd like to not publish 1.4.1 until
at least March 2nd. If the known issues are blocking you, please thumbs up
this comment to increase the urgency.
On Fri, Feb 17, 2017 at 5:06 PM Tim Harper<EMAIL_ADDRESS>wrote:

This needs to be done and picked: #5209
https://github.com/mesosphere/marathon/issues/5209
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/mesosphere/marathon/issues/5206#issuecomment-280807660,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAweZjfGBxKfJwvsU7q7bRuRwoW6KFRAks5rdkP0gaJpZM4MEv6C
.

D529 should be included, too (fixing #5207). As of this writing it is not yet applied to master.

Also, D533 should be included. (Fix for #5155 )

D534

Already picked d08a0d1c1a8d489d7d723a9ab2068bc99360c869 which addresses #5237 Group serialization violates declared schema
Already picked c07c8e36ae7f3fbfb113d4aa23db93fb3f72497b which addresses #5204 PodSpec plugin interface missing labels

Already picked d08a0d1 which addresses #5237 Group serialization violates declared schema -> as stated, this patch was wrong

I revertted #5237 on both 1.4 and master. The docs were correct to begin with.

I have collected all of my resident task picks into a single check list so it is easier

[ ] We should manually test the migration prior to the release. See test plan in 97cf12a4df64480c00245c4d406a6b580371e5ea

Note: This issue has been migrated to https://jira.mesosphere.com/browse/MARATHON-2409. For more information see https://groups.google.com/forum/#!topic/marathon-framework/khtvf-ifnp8.


SWDEV-321082 - Windows passing GPU arch list from command line

Currently HIP tests depends on HCC_AMDGPU_TARGET for the arch list in
Windows. This change adds the capability to build HIP tests for any arch
Change-Id: Ifb10a9c343cf36c1db22433119addef1a358baab

This PR is not required , architecture can be passed to hip tests from cmd line  like -DOFFLOAD_ARCH_STR="--offload-arch=gfx803 --offload-arch=gfx908"


Bumping versions for Kotlin 1.6.10

Bumping versions:

Kotlin to 1.6.10
AtomicFu to 0.17.0
KotlinPoet to 1.10.2
Kotlin metadata to 0.2.0

why not upgrade gradle as well


⚠ ClamAV has degraded performance

In a44871b, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 195 ms

Resolved: ClamAV performance has improved in 1fe0ae0.


Catch_up States

I would like to see the option to catch up from missed tasks to 3 states instead of 2. The states would be:
None: Same effect as current boolean False
Once: Instead of all missed occurrences, this just executes the missed task(s) one time.
All: Same effect as current boolean True

The current behavior for catch_up: False is to execute the missed task and then set the next schedule past the current date instead of in the past. Which is what you describe as 'once', since it's impossible to have multiple missed schedules of the same task. Maybe this is not entirely clear from the documentation.
.

Thanks for the clarification. I think what threw me off was this statement:

Any hourly schedules you had will run 24 times, once every schedule loop, until they are back in sync

found in the Missed schedules section  of this page: https://django-q.readthedocs.org/en/latest/schedules.html

Some of it I wrote in a hurry ;) I'll see if I can make it a little clearer.
What happens in the code by default is this:

find a task with a scheduled time in the past
run it
add the schedule type to original scheduled time ( i.e. 1 hour or 1 day etc)
save the new scheduled time

So if the schedule was 24 hours behind, it will be rescheduled to 23 hours behind.
Which effectively runs immediately, since it's in the past too. This keeps happening until the scheduled time is in the future.
Setting catch_up  to False, modifies the save step to loop back to the add 1 hour (or 1 day etc) until the new scheduled time is in the future before it saves it.
This way you always preserve the original run time, day of the week etc of the schedule.

Does #112 make it a little clearer?

I think so. Thank you a again for the clarification! I'm looking forward to
integrating this with my project.
On Sun, Nov 8, 2015 at 4:45 AM Ilan Steemers<EMAIL_ADDRESS>wrote:

Does #112 https://github.com/Koed00/django-q/pull/112 make it a little
clearer?
—
Reply to this email directly or view it on GitHub
https://github.com/Koed00/django-q/issues/110#issuecomment-154796070.


feat(output): open output for last test run

Running :lua require('neotest').output.open({ last_run = true }) will open output of last test run.
I created this to support the workflow:

Run a test with :lua require("neotest").run.run().
Edit implementation in a split, next to the test file.
Run :lua require("neotest").run.run_last() to run last test while still in non-test buffer.
Run :lua require('neotest').output.open({ last_run = true }) to check it's output still in the non-test buffer.

Should not be feature creep, so if there's a better way to support this workflow, let me know!

LGTM, thanks again for taking this on :grin:


Prevent private key extraction from block signatures

The noise for the signature was being created by adding the preimage to
enrollment commitment secret. This was flawed as with two signatures the
private key could be extracted. The solution is to multiple the scaler
preimage by the secret enrollment commitment to generate the signature
noise.

updated block signature noise.pdf

The UnlockAge unit test was causing failures for Ubuntu ci runs. I added the first commit to address making the test more robust.

Now the module agora.test.ValidatorRecurringEnrollment unit test is also showing a race condition. Added second commit to prevent this one.

Can you submit the first commit as its own PR ?

Or both fixes

LGTM
Typo in 3rd line of 3rd commit message

Good catch, I'll update.

The last commit shows we still need to update the noise used for signing.

Closing as no longer relevant after recent block signing signature scheme updates.


[Request] add more role maintainers ... or gather community for a more lively fork

This role albeit providing a good base, also contains a number of obvious issues, but no attention/time? (anymore) from original maintainer (though many issues fixed, see open PRs).
To move forward I would propose either:

original maintainer gives write perms to more motivated contributors: @savagegus ?
look for contributors motivated to centralize the many fixes in one (of their) forks

Hey Folks, everything for this project has been going into a black hole thanks to an aggressive gmail filter. It's clear I don't work on this and am not using it myself. I'm willing to turn it over to a couple folks, but I haven't done that before. Who should be the ones that step in to maintain this project?


Add support for Airflow 2.0

There are some changes about BaseOperator
Read this

https://stackoverflow.com/questions/65583927/airflow-2-importerror-cannot-import-name-bashoperator-from-airflow-operato

@TomKlimovski  @jeffreyaven  @mayansalama  @husseyd

nice; should we update to this?
from airflow.hooks import BashOperator

@TomKlimovski I need Windmill to run on Airflow 2.5 Can you assign this to me so when I work on this I can Raise a PR for same?

sure thing @siddu2020

hi @TomKlimovski  Can you please give me permission to create a branch in the repo please


Updates v1.29 hugo.toml for v1.30 release

This PR updates the hugo.toml for v1.29 ahead of the v1.30 release.
Base branch will be updated from main to release-1.29 once that branch exists.
/hold for v1.30 release day

/remove-hold

Oh looks like there's a conflict

/approve cancel

/cancel approve
commits from 1.30 (main) branch are in this PR to release-1.29

/lgtm
/approve


Disabling issueReporter.experimental.auxWindow setting causes CSS issues in Issue Reporter window

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

Version: 1.94.2 (Universal)
Commit: 384ff7382de624fb94dbaf6da11977bba1ecd427
Date: 2024-10-09T16:08:44.566Z
Electron: 30.5.1
ElectronBuildId: 10262041
Chromium: 124.0.6367.243
Node.js: 20.16.0
V8: <IP_ADDRESS>-electron.0
OS: Darwin arm64 23.6.0
Steps to Reproduce:

Disable issueReporter.experimental.auxWindow
Run the "Help: Report Issue..." command and see the (old?) Issue Reporter appear with CSS issues
Enable issueReporter.experimental.auxWindow
Run the "Help: Report Issue..." command again and see the experimental Issue Reporter appear with no CSS issues

(Left: Issue Reporter when issueReporter.experimental.auxWindow is disabled; right: Issue Reporter when issueReporter.experimental.auxWindow is enabled)
While this suggests the new aux window approach is the better choice, there are some other issues the new aux window has where we still rely on the non-experimental version, see:

https://github.com/microsoft/vscode/issues/229152
https://github.com/microsoft/vscode/issues/229741

@shouples good catch. we're deprecating the old issue reporter flow in the coming iteration, so that should just mitigate any issues

fixed with https://github.com/microsoft/vscode/pull/232517 which removes the setting and old issue reporter entirely


Update Bottom Bar to Align with New App UI

Description:
We need to redesign the bottom navigation bar to match the new user interface of the app. This update will enhance the overall user experience and ensure consistency across the app's design.
Feature Details:
Design Update: Revise the current bottom navigation bar to align with the new UI components and color scheme.
Iconography: Update icons to ensure they are modern and visually appealing, matching the app’s aesthetic.

Please Assign me this

please assign me this

i am working on this !

@aahanajena You may create a new issue or feature request.

who pushed this file its having some error
please fix this

Hey @Avinash-Codes I checked the original and even a clone of the repo both are getting build successfully the code had some issues but  i had fixed it.
I think there is some issue in your forked repo.

Done With This


[Enhancement]: Adding a header to the website having home, about us page and Saved games page

Is your enhancement request related to a problem? Please describe.➕
Website enhancement
Following the basic template of a website want to add a header having home, about us and saved games page and also adding contents in them
Describe the solution you'd like
Adding more html pages
Select program in which you are contributing
GSSoC23
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

/assign

Hey @deepshikha2708 , You can't have another issue before completing the previous one 😀
you already have the following 1 open issues 👀 ! :
#1824

Hey @deepshikha2708 ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇

Hey @deepshikha2708 !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹