[BUG] RangeError: Maximum call stack size exceeded

Describe the bug
When running tspc on my project, I get the following error:
evalmachine.<anonymous>:118053
              throw e;
              ^

RangeError: Maximum call stack size exceeded
    at Object.visitEachChild (/workspace/coucou/server/node_modules/typescript/lib/typescript.js:86166:26)
    at Transformer.visitor (/workspace/coucou/server/node_modules/ts-runtime-checks/dist/transformer.js:199:37)
    at /workspace/coucou/server/node_modules/ts-runtime-checks/dist/transformer.js:199:73
    at visitArrayWorker (/workspace/coucou/server/node_modules/typescript/lib/typescript.js:85983:51)
    at visitNodes2 (/workspace/coucou/server/node_modules/typescript/lib/typescript.js:85954:21)
    at visitEachChildOfMethodSignature (/workspace/coucou/server/node_modules/typescript/lib/typescript.js:86250:13)
    at Object.visitEachChild (/workspace/coucou/server/node_modules/typescript/lib/typescript.js:86171:35)
    at Transformer.visitor (/workspace/coucou/server/node_modules/ts-runtime-checks/dist/transformer.js:199:37)
    at Transformer.visitor (/workspace/coucou/server/node_modules/ts-runtime-checks/dist/transformer.js:114:26)
    at /workspace/coucou/server/node_modules/ts-runtime-checks/dist/transformer.js:199:73

Playground link
I spend a few hours trying to isolate the error with no luck. Rather than trying more, I've decided to file the bug and request help: do you know of a way to isolate what piece of code is being transformed? any magic "verbose" option? If not I'll investigate more...
Expected behavior
Compiler does not fail
Additional context

Using version 0.3.1
Using Prisma and geojson in my code. I suspect one of them is the culprit as they declare or generate very complex types.

I do not think so. I tried to rebuild the Str utility though as I used it massively across the project:
export type Str<
  minLen extends number | undefined = undefined,
  maxLen extends number | undefined = undefined,
  matches extends string | undefined = undefined
> = string &
  (minLen extends number ? MinLen<minLen> : string) &
  (maxLen extends number ? MaxLen<maxLen> : string) &
  (matches extends string ? Matches<matches> : string)

but is it ok when used in the playground.
I'll try with your next release once you release it.

Can you go to node_modules/ts-runtime-checks/dist/transformer.js and replace line 114 with:
if (!this.validatedDecls.has(decl) && (ts.isFunctionExpression(decl) || ts.isFunctionDeclaration(decl) || ts.isArrowFunction(decl))) this.visitor(decl, body);

and see if that fixes the issue.

That did fix things (ts = typescript_1.default)
My whole project compiles :)

Could you please add the following code below the if statement to identify the specific node causing the issue?
else {
   console.log(decl.kind, decl.pos !== -1 ? decl.getText() : "no text representation");
}

Not sure it helps, it displays thousands of lines such as:
173 $on<V extends U>(eventType: V, callback: (event: V extends 'query' ?

But your code gave me an idea on where to place the console.log which lead to the following playground in error:
playground
(Recursive member function call)

Yup that explains everything, next patch will be released by the end of the week!


[Task]: Validate that beam_PostCommit_Py_ValCont tests use runner_v2

What needs to happen?
beam_PostCommit_Py_ValCont tests were recently failing with a runner v1 stack trace.
However, the default should be runner_v2.
Investigate that these tests are using the right options.
Tests to investigate:
apache_beam.examples.wordcount_it_test.WordCountIT.test_wordcount_it_with_prebuilt_sdk_container_cloud_build
apache_beam.examples.wordcount_it_test.WordCountIT.test_wordcount_it_with_prebuilt_sdk_container_local_docker
apache_beam.examples.wordcount_it_test.WordCountIT.test_wordcount_fnapi_it
apache_beam.examples.wordcount_it_test.WordCountIT.test_wordcount_it_with_prebuilt_sdk_container_cloud_build
apache_beam.examples.wordcount_it_test.WordCountIT.test_wordcount_fnapi_it
apache_beam.examples.wordcount_it_test.WordCountIT.test_wordcount_it_with_prebuilt_sdk_container_local_docker
apache_beam.examples.wordcount_it_test.WordCountIT.test_wordcount_it_with_prebuilt_sdk_container_cloud_build
apache_beam.runners.dataflow.dataflow_exercise_metrics_pipeline_test.ExerciseMetricsPipelineTest.test_metrics_fnapi_it
apache_beam.examples.wordcount_it_test.WordCountIT.test_wordcount_it_with_prebuilt_sdk_container_local_docker
Related issue:
https://github.com/apache/beam/issues/23940
Issue Priority
Priority: 2
Issue Component
Component: sdk-py-core

.take-issue

.close-issue


Remove version: GitHub.GitHubDesktop version 3.0.7

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

Close with reason: Publisher has changed their URL structure;


Is there any limitation on callbackUrl (Trusted Application Api)?

I am trying to get the TrustedJoinMeeting sample to work, however, this line seems to throw an exception indicating that the callbackUrl is invalid:
var invitation = await adhocMeeting.JoinAdhocMeetingAsync(null, loggingContext).ConfigureAwait(false);
The failing request and response is attached.
adhocJoinFail2.txt
thanks,
Tom

I had the same issue with this endpoint, neither "Reply URLs" nor "App ID URI" work as a value for this parameter.

@tfischer Did you find out that is a valid value for callbackUrl?

@mateusfreira Not yet.  However, it seems the callbackUrl must be in a 'verified custom domain', as indicated in the registration instructions (https://docs.microsoft.com/en-us/azure/active-directory/active-directory-add-domain).
Also, if you change the callback url, it is not sufficient to change it in azure portal->Reply URLs, you have to go back to the registration portal (https://skypeappregistration.azurewebsites.net/) and re-register it.
It is not completely clear that the callback endpoint doesn't have to do some work at the time of initial admin consent.  I am going through https://msdn.microsoft.com/en-us/office/office365/howto/building-service-apps-in-office-365 to check this.
There is also some more info here:
https://techcommunity.microsoft.com/t5/Skype-for-Business-IT-Pro/Calling-resources-on-Trusted-Application-API-for-Skype-Business

I was finally able to get the callback working.  I configured the 'App ID URI' in Azure to be only a fqdn (no path and no port), eg 'https://my.domain.com' (not 'https://my.domain.com:443, not 'https://my.domain.com/callback').  I configured the callback uri to be the same exact string as my App ID URI.

@tfischer Did you need to do something else to get this callback URI working? I did the same thing, and now I'm getting a new error? My callback URI is not even called once.

You have to make sure the domain you are using for a callback is a verified custom domain in azure AD, have you done that?  If so, what is the error you are getting?  You can base-64 decode the X-MS-ClientDiagnostics to get more information on the error.

I've done that,
It is the X-MS-ClientDiagnostics: (Decoded)
OperationContext-OutgoingHttpRequestExceptionMessage=Error on resolve DNS-ErrorCode=BadRequest-ErrorSubCode=CallbackUriUnreachable-ErrorDebugProperties=errorReportId="a43807d33fec450585accd6a279c5292"
<EMAIL_ADDRESS>12:44:23 AM-ClientId=db92ba7d-ab7d-4eb0-86e5-280b3717932a-ClientName=skype for the<EMAIL_ADDRESS>1.4-RequestedVersion=0-

Hello,
We are blocked on this point too.
We have a verified domain. Our App Url Id and Callback Url Id are the same and registered with the  portal. Endpoint is found in the SFB user list.
However, when we speak with the bot. No callback is triggered.
What did we missed ?

Any tricks @tfischer ?
Thanks :)

@fabienvauchelles I have not worked with this in a few months, but last I checked, inbound sessions to the bot were not working (see https://techcommunity.microsoft.com/t5/Skype-for-Business-IT-Pro/Inbound-call-for-endpoint-based-on-Trusted-Application-API-not/m-p/59557#M1502).  The bot could join conferences and establish outbound sessions though.  Not sure if that is working now.  This functionality seems to be working through Microsoft's bot builder, not sure if that is an option for you (https://blog.thoughtstuff.co.uk/2017/05/how-to-enable-your-bot-framework-bot-on-skype-for-business-and-how-i-finally-got-it-working/)

@tfischer Yes it works with the BotFramework. However, it doesn't support HTML (planned for the month => https://github.com/Microsoft/BotBuilder/issues/2874).
Thanks for the answer.
Fabien.

Have anybody found a solution for that ? I published a question on stackoverflow


No module named src.directinput

Hello. After comand "python autopilot.py" in command prompt - Import Error: No module named src.directinput.
What to do?

what version of python are you using?

At first I installed the latest version of 3.8.3, but when "pip (or pip3) install -r requirements.txt" was an error about the wrong version (opencv-python = = <IP_ADDRESS>)! Then I installed version 2.7 and the command "pip install -r requirements.txt" updated everything and downloaded it from the Internet.

Which version is best used?

try 3.6 and see if that works. if you get more errors from pip please post screenshots

I installed 3.7.7, updated by requirements, reassigned the control keys in Elite, now the autopilot is running, the icon in the taskbar is present. But autopilot only increases the speed to 100% and everything :(

I adjusted game resolution: 1920х1080 Borderless
Ship UI color: Orange (default colour)
Ship UI brightness: Maximum

What else should I check and configure?

Yes, there are some difficulties with assigning keys when using this script :)
I have a question: in the control settings there are three places where the "home" key is used. Does this affect the operation of the autopilot?

i would advise changing those bindings to other keys. if that does not work please upload your logs.

TomW1605, please share a "Custom.3.0.binds" file that does not conflict with the script.

Autopilot stops on a step - DEBUG:root:align= find navpoint (speed 100%, no tilt, only forward, long time).
autopilot.log

i think the issue might be that you have "CycleNextPanel" set to End. try binding this to a different key.
unfortunately my current bind set uses a gamepad as well but i will try and make one that works this evening (currently 7:30 am and i need to go to work so won't be for a while)

I changed keys all day, but so far everything is unsuccessful.
autopilot.log

One from last error:

In autopilot version from SpeedrunnerG55 (https://github.com/SpeedrunnerG55/EDAutopilot) i have next error:

And I don't know what to do and who to ask advice: (

i think @SpeedrunnerG55 made changes to his repo that might break windows compatibility. you could try my fork (https://github.com/TomW1605/EDAutopilot) but there are a few changes. mostly that it uses page up and down instead of home and end because i didn't want to change my key binds.
not sure what the first error is but the error with @SpeedrunnerG55's repo looks like it is from his changed keyboard library.

Thanks!

if you are using my repo i changed the binds to page up for start and page down for stop.
i also notice that you don't have a system targeted. the autopilot will turn itself off if there is no target
also if you edit an existing message that has already been read there is no notification so might be missed. i would advise not editing a message that is older than about 10-20 mins if it adds significant content

Ok, i will try page up for start and page down for stop. I always choose the system to jump :)

in your last log it shows no target selected

DEBUG:root:ship={'time': 103, 'status': 'in_space', 'type': 'cutter', 'location': 'Tewanta', 'star_class': None, 'target': None, 'fuel_capacity': 64.0, 'fuel_level': 64.0, 'fuel_percent': 100, 'is_scooping': False}

but that is a side note as there would be a start and stop event in the logs and there is none so that is not the issue here

not sure what the first error is but the error with @SpeedrunnerG55's repo looks like it is from his changed keyboard library.

I did not include definitions for function keys for possible keyboard inputs py input defines the function keys as f1.. and not F1.  fix for that included in my latest push.
tho the way I handle screen input is also different because on my system I could not rely on using ratios of the screen because I have dual monitors and it used the combined screen space as one monitor. I'm not sure if that is a Linux issue or a dual monitor issue.

i think that is something that still wont work in windows. from what i can tell pynput can not handle direct input. i am working on a version of pyautogui that can use direct input but that is taking a while.
as for the screen issue i think that is a dual monitor on linux issue. i have dual monitors on windows and don't have an issue. although it might work to use a windows management library to get the extent of the ED window and then use ratios from there. this would be the most reliable.
also @SpeedrunnerG55 we should really have a chat about posable working together. we both seem to be going in similar directions with our forks and would probably benefit from working together.

also @SpeedrunnerG55 we should really have a chat about possibility working together. we both seem to be going in similar directions with our forks and would probably benefit from working together.

how should we communicate? I'm afraid we are getting off-topic here.

I wish you a successful collaboration!

The same error :(  :  step - DEBUG:root:align=find navpoint  -

autopilot.log

The same error in SpeedrunnerG55's autopilot version:

ok it looks like it is not finding the template. i wonder if it is an issue with your username? could you try moving the folder to another drive? even a usb drive would do to test. also can you send a screenshot of the template folder?

Yes. I moved the autopilot folder to C:\EDAutopilot and the ship began to move! Thanks! I will test further :)

SpeedrunnerG55's autopilot version now has next error:

so what version worked? was it meant to do just one jump or did you stop it?

Cutter is better for autopilot template function (i know inglish not very well):

why is the compass white? do you have custom colours set up?
also if you are using my fork does it still have the previews showing?

TomW1605, does autopilot have the function of guiding the ship to the station after the last jump along the route? Is it difficult to add it?

most likely screenshot made during his blinking before the hyper-jump

not at the moment. there is currently no easy way to detect that there is a station targeted. i did start working on it but decided to make other improvements first as they were more pressing

understandably, thank you, and in what direction do you work with an autopilot?

im currently working on redoing the input methods and minimising the number of required libraries. this is mainly for cross platform compatibility. i am planning to add a proper gui for settings including custom keybinds for start/stop

SpeedrunnerG55's autopilot version now has next error:

I made a very silly mistake with handling the f keys in the dictionary. should be fixed now, however, once it does work it's most likely not going to work properly because the way I have it set up to work with my screens resolution and window setup.

SpeedrunnerG55, what is your screens resolution and window setup? Can i try to change image resolutions in this folder? :

SpeedrunnerG55, what is your screens resolution and window setup? Can i try to change image resolutions in this folder? :

last time I remember
I was useing 1600x900 screen resolution

In window mode or boardlees ?

borderless, the last time I remember. im having trouble launching it so I can't check right now to do much with it.

@AgentMoLnia have you gotten any version working? if so you should probably close the issue and open a new one for any new issues that come up.
also @SpeedrunnerG55 you might want to turn on issues on your fork so they can be kept separate from this repo.

also @SpeedrunnerG55 you might want to turn on issues on your fork so they can be kept separate from this repo.

Fixed, sry about that

@AgentMoLnia have you gotten any version working?

Your version is working now!
Can I ask other questions about autopilot and where better to do it?

great glad you got it working.
as for additional question. generally just make another issue if the question is distinctly different form the initial topic of the current issue.

And the last question in this branch ))  @TomW1605  and @SpeedrunnerG55, what features (capabilities) do your autopilot versions have? And how can I enable these commands (features) ?

in my case there are no additional features. the only changes i have made are adding support for 4k monitors and some changes to improve the computer vision. i do have quite a few changes planned but they will take a while and will basically involve a complete rewrite. this mainly revolves around a proper GUI for settings like scan mode and keybinds but will also include a lot of under the hood changes.

This isn't quite the purpose of a git issue thread, but I've been watching this conversation form and can't help but share my own angle.
@SpeedrunnerG55 and @TomW1605, like @AgentMoLnia, I was wondering what sort of directions you had gone into in your respective forks, so I had a look and it seems to me there are very valuable enhancements to the program. Improvements, such as those stated in @TomW1605 future plans for instance, as well as those seen in @SpeedrunnerG55 repo, are not only great but essential to advance from an alpha stage and bring this program closer to a real Elite Autopilot (why on earth do we still not have one in 3306?)
When I decided to make this project public on GitHub I was hoping to garner support from other devs who also had a desire for an Autopilot written in an entirely external manner from the game, or even those who were curious to learn about about computer vision and automation. Over time though, despite there being a clear interest in the project, very few actually showed up to directly work on the code, and eventually, due to my own time constraints, work, etc, I ended up halting development as well.
There have been other attempts at this autopilot (either not published, of a primitive/heavily scripted nature, or involving hacking the games memory) but as far as I am aware none quite like this one. If you are interested, I would like to invite you both to become contributors here, so we can pool our resources, and resume progress in this project, faster and better than either of us alone could. Perhaps even set up a discord and reasonably regular talks, if you are so inclined. Eager to know what you think.

I would love to help with advice and ideas)! I've been playing this game for a long time and I know it very well. But I am not a programmer, especially professional. I do not know the Python, although I own general concepts about programming ( . I played the Elite back in 1992. Then I tried programming in the programming language - Assembler, in Z80 (zx-spectrum)  :)

@AgentMoLnia Absolutely, you and any others with experience in Elite, programmers or not, would be welcome to join. We could setup such channels as suggestions, testing, etc. The more people helping and providing feedback the better.

I have been watching this project for a while. I would really love to see it advance forward.  I do not have the skill to work on it directly.  But I am here rooting for you and deeply appreciate all who contribute.  (:

And on that note.  I see that both @SpeedrunnerG55  and @TomW1605  have messed with the input/output and one of my issues is the ship getting lost and sometimes even flying back into the sun.  I wanted to test theirs.  But there are no releases for their forks.  And I am not very good with github and I do not have a development environment setup.  So how does one get to try their awesome code?

@TheFatherMind you should probably make an issue on the forks for that so we can help you more directly with specific issues you might have.
@skai2 i would be keen to contribute directly but i would suggest we might benefit from a method of more direct/real time communication such as discord so we can more easily unify our goals.
i have also made lots of changes along the same lines as SpeedrunnerG55 around restructuring the code and splitting off files. i have not been committing them (i know, i know) so have done them as one lump commit to a separate branch of my fork. do not try and use it it does not work yet. but feel free to have a look. but remember it is a mess. the main thing i was trying to do was redo the keyboard listeners so that the stop was more reliable. i was basically trying to redo how the threading worked to make it stoppable at any point in the autopilot. ideally every look would have an exit condition that could be triggered from outside so it would stop instantly.

Sounds like we can get started coordinating then! I am excited to resume active development of this project. I will get around to making an oficial disord then and will post the information on this repo. If you guys would like to send me your email that would also help. You can send it over to<EMAIL_ADDRESS>if you would rather not post publicly here. @SpeedrunnerG55 the same for you if you are also on board friend!
@TomW1605 The structure changes you mention such as separating the files will be very welcome going forward seeing as we will have more active developers. So far I have gone with jupyter notebook based development (are you familiar with ipynb notebooks?), but I belive separating functions / organizing into proper program structure is the way to go moving forward. As for the computer vision side, I'll be happy to share what I know and I'm sure you'll get the hang of it quickly as you said. There is much to be improved in the cv as well.

@TomW1605 Hi, tried your version of this and having issues getting it to work. Running 1920x1080, borderless. Ship just does looptiloops and never activates the FSD. Getting this error message.
Exception in thread EDAutopilot: Traceback (most recent call last):   File "C:\Program Files (x86)\Python38-32\lib\threading.py", line 932, in _bootstrap_inner     self.run()   File "C:\Program Files (x86)\Python38-32\lib\threading.py", line 870, in run     self._target(*self._args, **self._kwargs)   File "C:\Users\john\EDAutopilot\dev_autopilot.py", line 1008, in autopilot     align()   File "C:\Users\john\EDAutopilot\dev_autopilot.py", line 800, in align     off = get_navpoint_offset()   File "C:\Users\john\EDAutopilot\dev_autopilot.py", line 631, in get_navpoint_offset     filtered = filter_blue(compass_image)   File "C:\Users\john\EDAutopilot\dev_autopilot.py", line 557, in filter_blue     hsv = cv2.cvtColor(hsv, cv2.COLOR_BGR2HSV) cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\color.cpp:182: error: (-215:Assertion failed) !_src.empty() in function 'cv::cvtColor'

@skai2 i think a discord would be great. as to the redesign you probably noticed that both @SpeedrunnerG55 and i got rid of the jupyter notebook very quickly. i think while it is a good system for a small file it is not a replacement for splitting a massive file into smaller, more manageable files. i am not familiar with ipynb notebooks and had not used jupyter before this project, however, about a week after i removed it i needed to learn how to use it to help my sister with a python unit for uni but i'm not really comfortable with it and dont like how much it adds to the raw file.
@mrfisse i have replied to you in the issue you opened on my fork. we should try and keep different issues separate.


list: return more pod info in JSON output

In the context of CRI, in order to make cAdvisor work in a standalone way without resorting to api-service, we need to expose more information related to pods and apps directly in the JSON output of rkt list and rkt status.
Looking at current cadvisor implementation, it looks like we are currently missing at least the following fields:

pod IPs (on non-running pods)
pod cgroups
per-app rootfs directory

Do IPs for non-running pods even exist? What would be holding the network namespace for them to have an IP? Or if you mean what the IP was when the container was running, do we hold on to that information?

@dgonyeo They're held by files in /var/run/netns.
They exist when a pod is exited but not rm/gc'd. You can still enter into those network namespaces etc.
e.g.:
$ sudo rkt run docker://busybox -- -c 'ifconfig'
busybox[5]: eth0      Link encap:Ethernet  HWaddr 16:AB:D6:0D:C4:AF
busybox[5]:           inet addr:<IP_ADDRESS>  Bcast:<IP_ADDRESS>  Mask:<IP_ADDRESS>
busybox[5]:           inet6 addr: fe80::14ab:d6ff:fe0d:c4af/64 Scope:Link
busybox[5]:           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
busybox[5]:           RX packets:1 errors:0 dropped:0 overruns:0 frame:0
busybox[5]:           TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
busybox[5]:           collisions:0 txqueuelen:0
busybox[5]:           RX bytes:90 (90.0 B)  TX bytes:90 (90.0 B)
busybox[5]: lo        Link encap:Local Loopback
busybox[5]:           inet addr:<IP_ADDRESS>  Mask:<IP_ADDRESS>
busybox[5]:           inet6 addr: ::1/128 Scope:Host
busybox[5]:           UP LOOPBACK RUNNING  MTU:65536  Metric:1
busybox[5]:           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
busybox[5]:           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
busybox[5]:           collisions:0 txqueuelen:1
busybox[5]:           RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
$ sudo ip netns list
cni-7f55b210-aae3-ac82-e541-3eeb3c13a310 (id: 0)
$ sudo ip netns exec cni-7f55b210-aae3-ac82-e541-3eeb3c13a310 ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet <IP_ADDRESS>/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
3: eth0@if11: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default
    link/ether 16:ab:d6:0d:c4:af brd ff:ff:ff:ff:ff:ff link-netnsid 0
    inet <IP_ADDRESS>/24 scope global eth0
       valid_lft forever preferred_lft forever
    inet6 fe80::14ab:d6ff:fe0d:c4af/64 scope link
       valid_lft forever preferred_lft forever
$ sudo rkt gc --grace-period=0
gc: moving pod "099671c1-a89b-4c89-8981-97be466a4876" to garbage
Garbage collecting pod "099671c1-a89b-4c89-8981-97be466a4876"
$ sudo ip netns list
$

Ah ok, awesome. Just wanted to confirm that my mental model wasn't lining up right before digging in, I had assumed it had to be a process that was holding the namespace.


Feature request: display Last Modified date in post

Hi
Using the Date, PublishDate and LastMod params in the preface, I'm able to add metadata to my blog posts.
The Date timestamp is displayed at the bottom of the post.
I'd like to also show the LastMod timestamp, if it's set.
For example:
<Author>
<Tags>
<Wordcount>
<Date> (Modified: <LastMod>)

I like the solution in this theme: https://github.com/panr/hugo-theme-hello-friend#how-to-display-the-last-modified-date-in-your-posts
Anyone willing to add this to this theme?
Kr,
TGZ

If you put:
enableGitInfo = true

You should get something very similar to what you request:

If you put:
enableGitInfo = true

You should get something very similar to what you request:

But I don't want git commit info, also prefer to have YYYY-mm-dd only.
Can't recall if it was added in this repo now or if I did my own change, but this is how I have it now:


Upgrading Operating System of Azure Site Recovery Configuration/Process/Master Target Server

This question/issue is regarding the Azure Site Recovery Configuration/Process/Master Target Server. It is unclear whether that particular server can be upgraded from Windows Server 2012 R2 to Windows Server 2016, or if this section is only referring to the protected systems. The link I am referring to is:
https://docs.microsoft.com/en-us/azure/site-recovery/service-updates-how-to#support-for-latest-operating-systemskernels
Can the on-premise configuration server (running in VMware) be upgraded in-place, or is there a procedure to migrate the configuration server running on Windows Server 2012 R2 to a new Windows Server 2016? If a procedure already exists, it should be linked to this document.

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

ID: 34ee5745-9573-219d-480d-201c9d1459b4
Version Independent ID: 5b75108a-595a-5a13-d934-0a1e1f51b917
Content: Updates and component upgrades in Azure Site Recovery - Azure Site Recovery
Content Source: articles/site-recovery/service-updates-how-to.md
Service: site-recovery
GitHub Login: @Rajeswari-Mamilla
Microsoft Alias: ramamill

@mmitchellcit Thank you for your post. This link - https://docs.microsoft.com/en-us/azure/site-recovery/service-updates-how-to#support-for-latest-operating-systemskernels is to check the supported kernel version for your machines that you will be replicating to Azure.

I saw that link, but it is unclear whether that refers to the configuration server, or the replicated servers that are being protected. So does this mean that if that procedure is followed, the configuration/process/master target server can be upgraded in-place from 2012 R2 to 2016?

@mmitchellcit

@mmitchellcit We haven't heard back from you, so we will now close this issue. If this remains an issue, please reply and we will gladly continue the discussion.


add docker update grouping

change to same settings as in https://github.com/owncloud-ops/renovate-presets/blob/main/docker.json

Already done a few minutes ago https://github.com/owncloud-ci/renovate-presets/commit/d909d5c6201f8a95f6af1b3e39e43335be06ac77
Sorry will start using PRs for this repo as well.

Already done a few minutes ago d909d5c
Sorry will start using PRs for this repo as well.

No worries, the same can happen with PRs ;-)


Problem with filter reset and select2 (4.0.0)

Hi
first of all, thanks for your contribution.
I m having some problem with the same line of code present in the doFilter and exResetAllFilters functions :
$("#yadcf-filter-" + table_selector_jq_friendly + "-" + column_number).select2("destroy").select2(optionsObj.select_type_options);
When using them with buttons, I have this javascript error "TypeError: $(...).select2(...) is undefined" and the widget loses its select2 aspect.
Any idea ?

You are welcome,
Did you include the select2 js file? if not than include the js and css if you already included, then try grabbing the js/css from the showcase (view source and grab from there and see if it work for you and tell me what version you tried to include of select2 and it didn't work

The wrong library was indeed included : I was trying to make it work with  Version 4.0.0-rc.2

fixed in 0.8.8.beta.26


Bug - 06-flex-layout: desired-outcome.png not matching solution

Complete the following REQUIRED checkboxes:

[x] I have thoroughly read and understand The Odin Project Contributing Guide
[x] The title of this issue follows the Bug - location of bug: brief description of bug format, e.g. Bug - Grid exercises: CSS not properly linked to HTML files

The following checkbox is OPTIONAL:

[x] I would like to be assigned this issue to work on it

1. Description of the Bug:

The desired-outcome image does not match the solution. The space between the logo and the input is larger in the solution than the one shown in the desired-outcome image. This issue was introduced in #360. It was mentioned in the comments of #349, that using gap would produce uneven spacing, but the image was not updated in the PR.
desired-outcome.png:

Solution output:

2. How To Reproduce:

Apply solution.css to index.html file and open it. Compare it with desired-outcome.png.
3. Expected Behavior:

The space between the logo and the input should match between the web page and desired-outcome.png.
4. Desktop/Device:

Device: Laptop
OS: Ubuntu 22.04
Browser: chrome
Version: 126.0.6478.126

Fair spot. Feel free to PR a replacement of the desired outcome image with what the solution code produces.


SSL exception

I'm getting the following exception when enabling SSL on jmxtrans configuration :
java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: non-JRMP server at remote endpoint]
        at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:369)
        at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:270)
        at com.googlecode.jmxtrans.model.Server.getServerConnection(Server.java:342)
        at com.googlecode.jmxtrans.connections.MBeanServerConnectionFactory.makeObject(MBeanServerConnectionFactory.java:38)
        at com.googlecode.jmxtrans.connections.MBeanServerConnectionFactory.makeObject(MBeanServerConnectionFactory.java:31)
        at org.apache.commons.pool.impl.GenericKeyedObjectPool.borrowObject(GenericKeyedObjectPool.java:1220)
        at com.googlecode.jmxtrans.model.Server.execute(Server.java:273)
        at com.googlecode.jmxtrans.jmx.ProcessQueryThread.run(ProcessQueryThread.java:54)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
Caused by: javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: non-JRMP server at remote endpoint]
        at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:136)
        at com.sun.jndi.toolkit.url.GenericURLContext.lookup(GenericURLContext.java:205)
        at javax.naming.InitialContext.lookup(InitialContext.java:417)
        at javax.management.remote.rmi.RMIConnector.findRMIServerJNDI(RMIConnector.java:1955)
        at javax.management.remote.rmi.RMIConnector.findRMIServer(RMIConnector.java:1922)
        at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:287)
        ... 12 more
Caused by: java.rmi.ConnectIOException: non-JRMP server at remote endpoint
        at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:248)
        at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:202)
        at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:338)
        at sun.rmi.registry.RegistryImpl_Stub.lookup(RegistryImpl_Stub.java:112)
        at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:132)
        ... 17 more

My jmxtrans configuration :

{
"servers" : [ {
"port" : "18983",
"host" : "myhost",
"username": "admin",
"password": "password",
"ssl": true,
"queries" : [

My JVM configuration :

REMOTE_JMX_OPTS=('-Dcom.sun.management.jmxremote'`
'-Dcom.sun.management.jmxremote.local.only=false'
'-Dcom.sun.management.jmxremote.ssl=true'
'-Djavax.net.ssl.keyStore=/var/solr/solr.ks'
'-Djavax.net.ssl.keyStorePassword=changeme'
'-Djavax.net.ssl.trustStore=/var/solr/solr.ts'
'-Djavax.net.ssl.trustStorePassword=changeme'
'-Dcom.sun.management.jmxremote.authenticate=true'
'-Dcom.sun.management.jmxremote.registry.ssl=true'
'-Dcom.sun.management.jmxremote.access.file=/var/solr/jmx.access'
'-Dcom.sun.management.jmxremote.password.file=/var/solr/jmx.password'
"-Dcom.sun.management.jmxremote.port=$RMI_PORT"
"-Dcom.sun.management.jmxremote.rmi.port=$RMI_PORT")
"-Djava.rmi.server.hostname=$SOLR_HOST")

When enabling SSL debug on jmxtrans -Djavax.net.debug=all the output does not show anything apart from the truststore loading and It's working fine with VisualVM 1.3.9.

java version "1.8.0_144"
Java(TM) SE Runtime Environment (build 1.8.0_144-b01)
Java HotSpot(TM) 64-Bit Server VM (build 25.144-b01, mixed mode)

It looks like something else than an RMI registry is listening on 18983. Did you check with another JMX client (visualvm for example) that the connection is good?

It's working fine with VisualVM otherwise I would not have created the issue :-)

could it be linked to the bug fixed by this PR ?
https://github.com/jmxtrans/jmxtrans/pull/582

That might well be the case (btw, I just merged that PR, thanks for the
reminder).
The docker images are very much experimental, and not updated on each
commit / release, so you'll probably have to rebuild it yourself to test.
On 11 September 2017 at 13:34, Krixa<EMAIL_ADDRESS>wrote:

could it be linked to the bug fixed by this PR ?
#582 https://github.com/jmxtrans/jmxtrans/pull/582
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/jmxtrans/jmxtrans/issues/602#issuecomment-328502368,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABWaVYUVioETMdLa7pek2UA4iScee312ks5shRqrgaJpZM4PSA0X
.

--
mobile : +41 76 573 32 40
skype : Guillaume.Lederrey
Freenode: gehel
projects :

https://signs-web.herokuapp.com/

That was it, it's working fine with the latest snapshot : jmxtrans-268-20170911.171311-3-all.jar


New method: AsyncMap::setTtl

see eclipse-vertx/vert.x#3537

PS. Why InfinispanAsyncMap does not extend AsyncMap?

Because when it's unwrapped it doesn't have the checks for key/value types anymore.

Hi @tsegismont

What about other cluster managers, have you found similar features in Infinispan, Ignite or Zookeeper?

unfortunately I'm not familiar with these projects close enough

@ruslansennov I understand but before merging this and backporting to master I would like to know if changing expiration is a generic operation or really specific to Hazelcast.


Mekanism cardboard box can be used to break unbreakable walls inside machines

step 1: make cardboard box
step 2: use cardboard box on unbreakable wall
step 3: ???
step 4: profit!

It looks like Mekanism is allowing blocks with a hardness of -1 (== unbreakable) to be picked up with the cardboard boxes. See forges Block.setBlockUnbreakable(). @aidancbrady, is this intended behavior? If so I can add the exception manually via the API, but it looks more like a bug as it allows you to break blocks which should be unbreakable.

I've opened a corresponding issue on the Mekanism repository:
https://github.com/aidancbrady/Mekanism/issues/2219

Fixed in v8 of Mekanism.


WIP: Add secure download messages

Signed-off-by: Miroslav Kovar<EMAIL_ADDRESS>

Codecov Report

Merging #158 into master will decrease coverage by 0.16%.
The diff coverage is 2.46%.

@@            Coverage Diff             @@
##           master     #158      +/-   ##
==========================================
- Coverage   51.41%   51.25%   -0.17%
==========================================
  Files         150      150
  Lines       22669    22744      +75
  Branches     5987     6009      +22
==========================================
+ Hits        11656    11658       +2
- Misses       7422     7494      +72
- Partials     3591     3592       +1

Flag
Coverage Δ

#unittests
51.25% <2.46%> (-0.17%)
:arrow_down:

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

Impacted Files
Coverage Δ

libvcx/src/api/connection.rs
36.89% <0.00%> (-2.98%)
:arrow_down:

libvcx/src/api/utils.rs
38.59% <ø> (ø)

libvcx/src/connection.rs
65.12% <0.00%> (-2.79%)
:arrow_down:

libvcx/src/messages/get_message.rs
35.34% <10.00%> (-1.37%)
:arrow_down:

libvcx/src/aries/handlers/connection/agent_info.rs
61.38% <25.00%> (ø)

libvcx/src/lib.rs
33.54% <0.00%> (+0.06%)
:arrow_up:

Continue to review full report at Codecov.

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


Add support for GPSD

Description:
GPS receivers are often handled by gpsd which allows multiple applications to share an USB or serial connected GPS device. The idea behind the component is that the location is updated if the "home is moving" (tbd). This means that you will have always the correct location while driving around in your automated RV or sailing across the ocean on your yacht. For the rest of us will the sensor show a bunch value.
A requirement will be that gpsd is installed.
Tested: NAVILOCK USB GPS Modul NL-302
Pull request in home-assistant.io with documentation (if applicable): home-assistant/home-assistant.io#
Example entry for configuration.yaml (if applicable):
gpsd:

sensor:
  - platform: gpsd
    monitored_conditions:
      - time
      - latitude
      - longitude
      - altitude
      - speed
      - climb
      - track
      - fix

Checklist:
If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated in home-assistant.io

If code communicates with devices:

[x] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[x] New dependencies have been added to the REQUIREMENTS variable (example).
[x] New dependencies are only imported inside functions that use them (example).
[x] New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[x] New files were added to .coveragerc.

Any reason you broke it up in a component and a platform and not just be 1 platform?

This would most likely be a small nightmare to implement. Could this be used to define zones that move around? Like someone using HA in an RV.

@Landrash zones are never re-written by HA once booted up so nothing will stop you from updating the home zone.

Bumperdebump ⚽

Thanks for the reminder...the dependency gps3 was updated, so there are no more excuses to stall :wink:

This is now only a component with attributes. No additional sensor.
Tests will come soon...
I will wait for a bit to see if we can resolve this isse. Otherwise I will simple go with sockets.

Seems that I'm hitting the flaky test too.

Needs unit tests

Tests will come soon...

subscribing so i can be reminded to install this on my home assistant instance i have aboard my yacht

In one of @balloob's talks a guy who is living on School bus ask a question.

🐬 !!!

finally, location will work correctly on my yacht!


.eml files blocked

Hello team,
I have ModSecurity setup with Nginx and all the incoming .eml files to the container are being blocked by ModSec can you please let me know a workaround of the rule responsible for blocking this.
Thank you very much in advance.
BR,
Nithin

Did you checked your debug and audit logs? What did you see there?

Hi @Nithinbs18,
It is very likely that the issue that you are facing is not related to ModSecurity itself, but to the rules that you have loaded. With further details on the reason why it got blocked, we can address the issue better.
Please re-open if needed.


kcp terminology doc

I took text from the original google doc created by @sttts and moved it here as I found it very helpful while learning about kcp terminology.

@pkprzekwas Please reformat to ensure each line is no more than 120 chars. That ensures that review comments can be unambiguously localized vs potentially referring to anywhere in the 3-4 wrapped lines that github is displaying to me.

unambiguously

Wrapped to 120 lines.


Two minor typo errors when referencing 'TryParse' method.

Fixed two minor typo errors when referencing TryParse method in 'Calling a method with an out argument' chapter.
Title
On the title describe
what you've fixed (or created) with this Pull Request (PR).
Summary
Insert a short (one or two sentence) summary here.
Fixes #Issue_Number

Note: The "Fixes #nnn" syntax in the PR description causes
GitHub to automatically close the issue when this PR is merged.
Remove that line if you don't have issues associated with this
PR. Click on the Guidelines for Contributing link above for details.

Details
Explain your changes, and why you made them. If that
information is already available in the issue referenced
above, just referencing the issue is preferred to copying
the text.
This may not be necessary depending on the scope of the PR
changes. For example, "fix typo in introduction.md" is
sufficient to describe that PR.
Suggested Reviewers
If you know who should review this, use '@' to request a review.

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot

Tnx @rpetrusha. Not quite sure about that 'Links to APIs' syntax so, by all means, please feel free to make the appropriate correction.

No worries @mwessner. I've made the fix needed now. Thanks!


chore: move prisma version down in issue template

this would make more sense, as it is a multi-line output

Another thing I would like to suggest is that directory paths in the output of prisma -v should be hidden, so it doesn't leak private information.
I have structured my folder structure like /home/rafael/coding/<CLIENT>/<PROJECT_NAME> and I'm working on some projects where this info shouldn't be disclosed.
for example paths could be replaced with <PROJECT_DIR> or some other replacements if it it's another path
@prisma/cli          : 2.1.0
Current platform     : debian-openssl-1.1.x
Query Engine         : query-engine<PHONE_NUMBER>795a0424be62040e2295c56e5c6ad0 (at<EMAIL_ADDRESS>Migration Engine     : migration-engine-cli<PHONE_NUMBER>795a0424be62040e2295c56e5c6ad0 (at<EMAIL_ADDRESS>Introspection Engine : introspection-core<PHONE_NUMBER>795a0424be62040e2295c56e5c6ad0 (at<EMAIL_ADDRESS>Format Binary        : prisma-fmt<PHONE_NUMBER>795a0424be62040e2295c56e5c6ad0 (at<EMAIL_ADDRESS>

Related @RafaelKr : https://github.com/prisma/prisma/issues/2882

Wow, 18 hours ago :D thanks for linking this @janpio!

@pantharshit00 I can merge this if you want but as the change is needed in the other repos I guess it's better if you do it :)

Sorry for the delay here 🙏
@Jolg42 Please merge this PR and these other PRs: https://github.com/prisma/prisma-client-js/pull/796 and https://github.com/prisma/migrate/pull/524

Did that as @Jolg42 is on vacation right now.

Awesome, thanks!


Upgrade lazy_static

I'm trying to reduce duplicate dependencies in Amethyst, releasing this would help me in this endeavor.

I don't really see the point of reducing duplicate dependencies for such small crates, buy why not I guess.

Thanks


Add references to Unity Manual throughout repo

When introducing new topics or concepts include links to relevant pages on the Unity manual for extra reading.

[x] 1 - 1
[x] 1 - 2
[x] 1 - 3
[x] 1 - 4
[ ] 2 - 1
[ ] 2 - 1

Add a section using these resources in 1 - 2 and 2 - 1

[ ]  1 - 2
[ ]  2 - 1 (Lookup start func)

Perhaps need to find a tool to bulk replace keywords with links instead of the current first instance of a word only.


nnn: 2.7 -> 2.8.1

Motivation for this change
https://github.com/jarun/nnn/releases/tag/v2.8
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Determined the impact on package closure size (by running nix path-info -S before and after)

/nix/store/vm8l0is87p446jrd0wsngmd35jj3q9da-nnn-2.7	  30.6M
/nix/store/491kv7bsd1g0blkhklcm8fc329kqhmbj-nnn-2.8	  30.7M

[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Notify maintainers
cc @jfrankenau

This change is

@filalex77 2.8.1 is out.

@GrahamcOfBorg build nnn

This update has already been merged in #75016. Also this pull request contains some totally unrelated changes.

@jfrankenau Oh, didn't know about that. Thanks for letting me know!


aio app init: wskdebug: optional dependency cpu-features install error

Dependency Tree
$ npm ls cpu-features
└─┬<EMAIL_ADDRESS>  └─┬<EMAIL_ADDRESS>    └─┬<EMAIL_ADDRESS>      └─┬<EMAIL_ADDRESS>        └── UNMET OPTIONAL DEPENDENCY<EMAIL_ADDRESS>
Error
><EMAIL_ADDRESS>install /Users/shaz/Desktop/tmp/test-1/node_modules/cpu-features
> node buildcheck.js > buildcheck.gypi && node-gyp rebuild

  CC(target) Release/obj.target/cpu_features/deps/cpu_features/src/impl_aarch64_linux_or_android.o
  CC(target) Release/obj.target/cpu_features/deps/cpu_features/src/impl_arm_linux_or_android.o
  CC(target) Release/obj.target/cpu_features/deps/cpu_features/src/impl_mips_linux_or_android.o
  CC(target) Release/obj.target/cpu_features/deps/cpu_features/src/impl_ppc_linux.o
  CC(target) Release/obj.target/cpu_features/deps/cpu_features/src/impl_x86_freebsd.o
  CC(target) Release/obj.target/cpu_features/deps/cpu_features/src/impl_x86_linux_or_android.o
  CC(target) Release/obj.target/cpu_features/deps/cpu_features/src/impl_x86_macos.o
  CC(target) Release/obj.target/cpu_features/deps/cpu_features/src/impl_x86_windows.o
  CC(target) Release/obj.target/cpu_features/deps/cpu_features/src/filesystem.o
  CC(target) Release/obj.target/cpu_features/deps/cpu_features/src/stack_line_reader.o
  CC(target) Release/obj.target/cpu_features/deps/cpu_features/src/string_view.o
  LIBTOOL-STATIC Release/cpu_features.a
env: python: No such file or directory
make: *** [Release/cpu_features.a] Error 127
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/Users/shaz/.nvm/versions/node/v14.19.2/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack     at ChildProcess.emit (events.js:400:28)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:285:12)
gyp ERR! System Darwin 21.4.0
gyp ERR! command "/Users/shaz/.nvm/versions/node/v14.19.2/bin/node" "/Users/shaz/.nvm/versions/node/v14.19.2/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/shaz/Desktop/tmp/test-1/node_modules/cpu-features
gyp ERR! node -v v14.19.2
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok

Repro Steps

Install an app via aio app init
Choose Standalone Application
Uncheck Events and Web Assets

Investigation
python v2 is no longer installed with macOS 12.3 Monterey and greater: https://developer.apple.com/documentation/macos-release-notes/macos-12_3-release-notes#Python
Workaround
To get rid of this error, users have to install python v2 manually: https://www.python.org/downloads/release/python-2713/
Fix
This has to be fixed via wskdebug, perhaps there is an update in their dependencies that will not require python 2.

Note: this is an optional dependency of ssh2, and doesn't affect wskdebug functionality AFAIK

Related: https://github.com/apache/openwhisk-wskdebug/issues/113


Tooling for JavaScript interop

[ ] Tooling to generate strongly typed C# wrappers for JavaScript libraries (ex based on TypeScript definitions)

Could you also use JSDoc to achieve the same thing? I believe TypeScript does this to infer some basic type information.

or even use eslint https://medium.com/javascript-scene/you-might-not-need-typescript-or-static-types-aa7cb670a77b :)

https://github.com/Retyped/Retyped

Unfortunately, the Retyped tooling is not OSS at this time, so not much we can leverage there.  But Fable has support, and although it's F#, there's pby lots that can be adapted from there:  https://github.com/fable-compiler/ts2fable

@ebekker I’ve connected with the developers of Retyped and they are moving to open sourcing the tools and resulting generated c# code, they have replied with interest in blazor

Closing as this is being handled by https://github.com/mono/TsToCSharp


Shibbolth and other authentification systems

It hsoul dbe possible to allow new accounts and/or other authentification systems combined with shibboleth.

The recomended aproach for this is now to use https://www.keycloak.org as authenfication system, and the corresponding django-allauth provider: https://django-allauth.readthedocs.io/en/latest/providers.html#keycloak (thanks to @MyPyDavid). Closing here.

This is now also possible using the new Shibboleth setup.


Blue bars on the sides on 4k display

When I switch from brackets to another window and the switch back to brackets, blue bars on all sides appears.
This is how brackets looks when they starts:

This is after window switch (notice thick bars at sides and bottom, thin at top, under menu):

I believe that might be caused somehow by 4k monitor, since on my other screen is everything just fine.

I don't think this happens because of 4k. Even I noticed this on other machines. For me this usually happens when I connect multi-monitor.

it happens always (win10, 1080p)...  probably brackets window drawing is a lil bit apart from win expectations


All badges have the same behaviour

Not sure if this behaviour is intended or if this repo is the correct place.

I have an ARC where I added the invenio and the plant-growth packages. When they're both passing and I click on any of the badges, I'm redirected to the ARCigator page. If the plant-growth package is not passing, clicking on the badges leads you to the tests page.
IMO clicking on the plant-growth badge should redirect to the tests page anyways (to e.g. see the non-critical failing tests) and only clicking on the invenio badge should redirect to the ARCigator page.

Yes!!

looks to me like an error in the default behaviour set on link creation when a package passes. Is it the case that archigator is always linked, even on non-inevio packages @j-bauer ? if so, that has to be fixed, defaulting to the tests if no hook url is set in the package metadata, and to the hook url otherwise.

Regardless, this seems to me like a data hub CI issue, so not for this repo


Add ban object, get ban and get bans and fixed cleanup and init bugs.

Add ban object, get ban and get bans and fixed cleanup and init bugs.

Closed to create another.


Update GitHub Actions reference in Gradle Build Tool user guide

This page is out of date:

Uses gradle-build-action
Screenshots don't show job summary
Could use auto-publish build scans
Should mention dependency-submission

PR: https://github.com/gradle/gradle/pull/28705


Allow for different output formats in truffle projects

Now you can do stuff like myth -to json (it will output a json object per contract).

Thank you @vdrg!


Problem: previous commit didn't upload to coveralls.io

Solution: add the coveralls.io argument again

testing, please don't merge

Changes Unknown when pulling 3d9601c40bec7f0f165da175483557ef3f68f14e on sjmackenzie:dev into ** on ethereumproject:master**.

Changes Unknown when pulling 3d9601c40bec7f0f165da175483557ef3f68f14e on sjmackenzie:dev into ** on ethereumproject:master**.

Changes Unknown when pulling 3d9601c40bec7f0f165da175483557ef3f68f14e on sjmackenzie:dev into ** on ethereumproject:master**.

Okay coverage is back, silly mistake, please merge


It's possible a variant to use with LibreWolf

Hi guys! Great job with this flake.
Currently I'm using LibreWolf. It;s possible use this flake with this browser?
Home Manager provide this settings: https://home-manager-options.extranix.com/?query=librewolf&release=release-24.05
Thanks!

Sorry for the late reply.
It should be possible in principle to use autofirma-nix with LibreWolf. AFAIK, LibreWolf is a Firefox fork.  The only problem that I am seeing is that the options exposed by home-manager to configure LibreWolf are rather limited in comparison with the ones available for Firefox.
Two things you may try:

Change the Firefox package in home-manager to LibreWolf:
programs.firefox.enable = true;
programs.firefox.package = pkgs.librewolf

And then apply the usual autofirma-nix configuration.

Apply manually the needed settings for the integration to work. Namely https://github.com/nilp0inter/autofirma-nix/blob/ec55ea98f88ac929d5257563587812a354dde947/nix/autofirma/hm-module.nix#L48-L53
But maybe some changes are required in order to save these setting into the default LibreWorlf profile.  I am not sure.

Please note that I didn't try any of these and maybe the integration is not possible at all.

Thanks! I will try it!

I will close this issue now, please feel free to reopen it if you have any further questions or comments.


Upgrade to Datafaker 1.6.0

@bodiam didn't expect to see you here). Thank you for PR

Just browsing the repos of people using Datafaker, so I thought, why not :-)


Broken pipe or closed connection

exception Bunny\Exception\ClientException (Broken pipe or closed connection)
is raised by calling
Gamee\RabbitMQ\Producer\ProducerFactory->getProducer(xxx)

CALLSTACK

.../web/vendor/bunny/bunny/src/Bunny/Client.php:75	source  Bunny\AbstractClient->read()

.../web/vendor/bunny/bunny/src/Bunny/ClientMethods.php:302	source  Bunny\Client->feedReadBuffer()

.../web/vendor/bunny/bunny/src/Bunny/Client.php:110	source  Bunny\AbstractClient->awaitConnectionTune()

.../gamee/nette-rabbitmq/src/Connection/Connection.php:64	source  Bunny\Client->connect()

.../src/Connection/ConnectionFactory.php:76	source  Gamee\RabbitMQ\Connection\Connection->__construct(arguments)

.../src/Connection/ConnectionFactory.php:46	source  Gamee\RabbitMQ\Connection\ConnectionFactory->create(arguments)

.../nette-rabbitmq/src/Exchange/ExchangeFactory.php:90	source  Gamee\RabbitMQ\Connection\ConnectionFactory->getConnection(arguments)

.../nette-rabbitmq/src/Exchange/ExchangeFactory.php:67	source  Gamee\RabbitMQ\Exchange\ExchangeFactory->create(arguments)

.../nette-rabbitmq/src/Producer/ProducerFactory.php:82	source  Gamee\RabbitMQ\Exchange\ExchangeFactory->getExchange(arguments)

.../nette-rabbitmq/src/Producer/ProducerFactory.php:58	source  Gamee\RabbitMQ\Producer\ProducerFactory->create(arguments)

.../web/vendor/gamee/nette-rabbitmq/src/Client.php:41	source  Gamee\RabbitMQ\Producer\ProducerFactory->getProducer(arguments)

.../cache/Nette.Configurator/Container_95a270975e.php:1700	source  Gamee\RabbitMQ\Client->getProducer(arguments)

1690:
1691:        public function createServiceSecurity__userStorage(): Nette\Security\IUserStorage
1692:        {
1693:            $service = new Nette\Http\UserStorage($this->getService('session.session'));
1694:            return $service;
1695:        }
1696:
1697:
1698:        public function createServiceSegmentationQueue(): App\Model\SegmentationQueue
1699:        {
1700:            $service = new App\Model\SegmentationQueue($this->getService('rabbitmq.client')->getProducer('segmentationProducer'));
1701:            return $service;
1702:        }
1703:
1704:
.../web/vendor/nette/di/src/DI/Container.php:181	source  Container_95a270975e->createServiceSegmentationQueue()

.../web/vendor/nette/di/src/DI/Container.php:107	source  Nette\DI\Container->createService(arguments)

.../cache/Nette.Configurator/Container_95a270975e.php:469	source  Nette\DI\Container->getService(arguments)

.../web/vendor/nette/di/src/DI/Container.php:181	source  Container_95a270975e->createService__37_App_Presenters_ApiSegmentationPresenter()

.../Bridges/ApplicationDI/PresenterFactoryCallback.php:59	source  Nette\DI\Container->createService(arguments)

inner-code	Nette\Bridges\ApplicationDI\PresenterFactoryCallback->__invoke(arguments)

.../application/src/Application/PresenterFactory.php:49	source  call_user_func(arguments)

.../nette/application/src/Application/Application.php:140	source  Nette\Application\PresenterFactory->createPresenter(arguments)

.../nette/application/src/Application/Application.php:83	source  Nette\Application\Application->processRequest(arguments)

/application/web/www/index.php:6	source  Nette\Application\Application->run()

I have found that the problem was invalid   user and password
but this exception is very very confusing...

But I guess that the exception is thrown from bunny library, is this correct? In that case, please look for more details in bunny/bunny


Bug with coloring

Hello, I have found a bug: color scale is reversed

Thanks for the heads up. I'll bump the version which should resolve it!

Hey @vsheg has this been resolved for you now?

@a-r-j looks good, thanks!


unable to open hip GPU device (gfx1030) with latest AOMP

I have built latest AOMP (SHA: e2f40a73975ccc0f453e8767a8016e6deb849782) with the amd-stg-open branch. However it is unable to enumerate the HIP GPU device though rocminfo shows both cpu and gpu. I have a 6900XT (gfx1030) and am trying to get Tensile to work on it.
(I have this https://github.com/ROCm-Developer-Tools/HIP/pull/2219 locally to fix the clang_rt builtin issue on hosts).
See below:
I am running this code:
https://gitlab.com/cscs-ci/ci-testing/ault-amdgpu/-/blob/master/helloworld.cpp
Got an error hipErrorNoDevice
I verified I am in the video group and sudo doesn't help.
5950x:~/github/aomp$ /opt/rocm/bin/rocminfo
ROCk module is loaded
Able to open /dev/kfd read-write
=====================
HSA System Attributes
=====================
Runtime Version:         1.1
System Timestamp Freq.:  1000.000000MHz
Sig. Max Wait Duration:<PHONE_NUMBER>3709551615 (0xFFFFFFFFFFFFFFFF) (timestamp count)
Machine Model:           LARGE
System Endianness:       LITTLE

==========
HSA Agents
==========
*******
Agent 1
*******
  Name:                    AMD Ryzen 9 5950X 16-Core Processor
  Uuid:                    CPU-XX
  Marketing Name:          AMD Ryzen 9 5950X 16-Core Processor
  Vendor Name:             CPU
  Feature:                 None specified
  Profile:                 FULL_PROFILE
  Float Round Mode:        NEAR
  Max Queue Number:        0(0x0)
  Queue Min Size:          0(0x0)
  Queue Max Size:          0(0x0)
  Queue Type:              MULTI
  Node:                    0
  Device Type:             CPU
  Cache Info:
    L1:                      32768(0x8000) KB
  Chip ID:                 0(0x0)
  Cacheline Size:          64(0x40)
  Max Clock Freq. (MHz):   3400

  Shader Engines:          0
  Shader Arrs. per Eng.:   0
  WatchPts on Addr. Ranges:1
  Features:                None
  Pool Info:
    Pool 1
      Segment:                 GLOBAL; FLAGS: KERNARG, FINE GRAINED
      Size:                    131896948(0x7dc9674) KB
      Allocatable:             TRUE
      Alloc Granule:           4KB
      Alloc Alignment:         4KB
      Accessible by all:       TRUE
    Pool 2
      Segment:                 GLOBAL; FLAGS: COARSE GRAINED
      Size:                    131896948(0x7dc9674) KB
      Allocatable:             TRUE
      Alloc Granule:           4KB
      Alloc Alignment:         4KB
      Accessible by all:       TRUE
  ISA Info:
    N/A
*******
Agent 2
*******
  Name:                    gfx1030
  Uuid:                    GPU-XX
  Marketing Name:          Device 73bf
  Vendor Name:             AMD
  Feature:                 KERNEL_DISPATCH
  Profile:                 BASE_PROFILE
  Float Round Mode:        NEAR
  Max Queue Number:        128(0x80)
  Queue Min Size:          4096(0x1000)
  Queue Max Size:          131072(0x20000)
  Queue Type:              MULTI
  Node:                    1
  Device Type:             GPU
  Cache Info:
    L1:                      16(0x10) KB
  Chip ID:                 29631(0x73bf)
  Cacheline Size:          64(0x40)
  Max Clock Freq. (MHz):   2660
  BDFID:                   12544
  Internal Node ID:        1
  Compute Unit:            80
  SIMDs per CU:            4
  Shader Engines:          8
  Shader Arrs. per Eng.:   2
  WatchPts on Addr. Ranges:4
  Features:                KERNEL_DISPATCH
  Fast F16 Operation:      FALSE
  Wavefront Size:          32(0x20)
  Workgroup Max Size:      1024(0x400)
  Workgroup Max Size per Dimension:
    x                        1024(0x400)
    y                        1024(0x400)
    z                        1024(0x400)
  Max Waves Per CU:        64(0x40)
  Max Work-item Per CU:    2048(0x800)
  Grid Max Size:<PHONE_NUMBER>(0xffffffff)
  Grid Max Size per Dimension:
    x<PHONE_NUMBER>(0xffffffff)
    y<PHONE_NUMBER>(0xffffffff)
    z<PHONE_NUMBER>(0xffffffff)
  Max fbarriers/Workgrp:   32
  Pool Info:
    Pool 1
      Segment:                 GLOBAL; FLAGS: COARSE GRAINED
      Size:                    16760832(0xffc000) KB
      Allocatable:             TRUE
      Alloc Granule:           4KB
      Alloc Alignment:         4KB
      Accessible by all:       FALSE
    Pool 2
      Segment:                 GROUP
      Size:                    64(0x40) KB
      Allocatable:             FALSE
      Alloc Granule:           0KB
      Alloc Alignment:         0KB
      Accessible by all:       FALSE
  ISA Info:
    ISA 1
      Name:                    amdgcn-amd-amdhsa--gfx1030
      Machine Models:          HSA_MACHINE_MODEL_LARGE
      Profiles:                HSA_PROFILE_BASE
      Default Rounding Mode:   NEAR
      Default Rounding Mode:   NEAR
      Fast f16:                TRUE
      Workgroup Max Size:      1024(0x400)
      Workgroup Max Size per Dimension:
        x                        1024(0x400)
        y                        1024(0x400)
        z                        1024(0x400)
      Grid Max Size:<PHONE_NUMBER>(0xffffffff)
      Grid Max Size per Dimension:
        x<PHONE_NUMBER>(0xffffffff)
        y<PHONE_NUMBER>(0xffffffff)
        z<PHONE_NUMBER>(0xffffffff)
      FBarrier Max Size:       32
*** Done ***

5950x:~/github/aomp$ $HIP_PATH/bin/hipconfig --full
HIP version  : 4.0.20496-4f163c68

== hipconfig
HIP_PATH     : /home/foo/rocm/aomp
ROCM_PATH    : /home/foo/rocm/aomp_13.0-2
HIP_COMPILER : clang
HIP_PLATFORM : hcc
HIP_RUNTIME  : ROCclr
CPP_CONFIG   :  -D__HIP_PLATFORM_HCC__=  -I/home/foo/rocm/aomp/include -I/home/foo/rocm/aomp/bin/../lib/clang/13.0.0 -I/home/foo/rocm/aomp_13.0-2/hsa/include -D__HIP_ROCclr__

== hip-clang
HSA_PATH         : /home/foo/rocm/aomp_13.0-2/hsa
HIP_CLANG_PATH   : /home/foo/rocm/aomp/bin
AOMP_STANDALONE_13.0-2 clang version 13.0.0 (https://github.com/ROCm-Developer-Tools/llvm-project 0e52e2879ab1bbfb75630b97aa25a28ec9e73a1e)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /home/foo/rocm/aomp/bin
AOMP-13.0-2 (http://github.com/ROCm-Developer-Tools/aomp):
 Source ID:13.0-2-0e52e2879ab1bbfb75630b97aa25a28ec9e73a1e
  LLVM version 13.0.0_AOMP_STANDALONE_13.0-2
  Optimized build with assertions.
  Default target: x86_64-unknown-linux-gnu
  Host CPU: znver3

  Registered Targets:
    amdgcn - AMD GCN GPUs
    r600   - AMD GPUs HD2XXX-HD6XXX
    x86    - 32-bit X86: Pentium-Pro and above
    x86-64 - 64-bit X86: EM64T and AMD64
hip-clang-cxxflags : -D__HIP_ROCclr__ -std=c++11 -isystem /home/foo/rocm/aomp_13.0-2/lib/clang/13.0.0/include/.. -isystem /home/foo/rocm/aomp_13.0-2/hsa/include -D__HIP_ROCclr__ -isystem /home/foo/rocm/aomp/include -O3
hip-clang-ldflags  :  -L/home/foo/rocm/aomp/lib -O3 -lgcc_s -lgcc -lpthread -lm

=== Environment Variables
PATH=/home/foo/anaconda3/bin:/home/foo/bin:/home/foo/lokal/bin/:/usr/local/cuda/bin:/usr/local/TensorRT/bin:/home/foo/bin:/home/foo/anaconda3/bin:/home/foo/bin:/home/foo/lokal/bin/:/usr/local/cuda/bin:/usr/local/TensorRT/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/cuda/bin:/usr/local/TensorRT/bin:/home/foo/rocm/aomp/bin:/usr/local/cuda/bin:/usr/local/TensorRT/bin:/home/foo/rocm/aomp/bin
LD_LIBRARY_PATH=/home/foo/github/mmperf/b_cuda/tvm-install/lib/:/home/foo/rocm/aomp/lib:/usr/local/cuda/lib64/:/usr/local/cuda/extras/CUPTI/lib64
HIP_PATH=/home/foo/rocm/aomp
CUDA_ROOT=/usr/local/cuda
CUDA=/usr/local/cuda

== Linux Kernel
Hostname     : 5950x
Linux 5950x 5.11.0-051100rc7-generic #202102072330 SMP Sun Feb 7 23:33:19 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.2 LTS
Release:        20.04
Codename:       focal

I am in both video and render groups:
id
uid=1000(foo) gid=1000(foo) groups=1000(foo),4(adm),24(cdrom),27(sudo),30(dip),44(video),46(plugdev),109(render),120(lpadmin),131(lxd),132(sambashare)

I suggested export ROCM_LLC_ARGS="--amdhsa-code-object-version=3" in a side channel. That tells amd-stg-open clang to use the same version that rocr expects. Unfortunately that doesn't appear to resolve this.

yup. I tried both just setting the env var before building my sample with hipcc and that didn't help. Rebuilding all of aomp with that env var set doesn't help either.
Happy to gather any other debug information that is relevant.  To make sure there is nothing in /opt/rocm I only have rocm-smi there
ls -ltr /opt/rocm-4.0.0/lib/*
lrwxrwxrwx 1 root root 34 Dec 14 02:49 /opt/rocm-4.0.0/lib/librocm_smi64.so.2 -> ../rocm_smi/lib/librocm_smi64.so.2
lrwxrwxrwx 1 root root 32 Dec 14 02:49 /opt/rocm-4.0.0/lib/librocm_smi64.so -> ../rocm_smi/lib/librocm_smi64.so
If required I can rebuild that too but I doubt that could be the issue.
Thanks for your quick responses.

Ah. I didn't notice you were using hipcc. When I try to run hip code locally, I get a variant on 'no devices found', which seems to correlate with an invalid branch in the hip runtime. Running the host application under valgrind blames libamdhip64.so at least. Hopefully Greg has more information on that, I haven't tried to debug the hip runtime.

Just getting familiar with runtimes. What other runtime can I use? I am trying to get Tensile going with gfx1030 which seems to require hipcc.
Yeah gdb points to  libamdhip64.so.

The bottom of the stack on linux is kfd (in the linux kernel), then roct which is roughly the userspace driver part of kfd. On top of that is an implementation of the HSA spec, rocr. Those have all been robust under my testing. The OpenMP implementation on amdgpu builds directly on top of rocr for that reason.
Depending on your use case, c++ compiled for amdgcn as freestanding and launched using the functions in hsa.h works well. Opencl has its own runtime, but it looks like it's now built on the same foundation as hip so may have the same bug reported here. Windows does some different things, and so does the graphics stack.
libamdhip64.so contains, as far as I can tell, roct, rocr, rocclr, hip. Something in that appears to be broken. There's a lot of code though so it's not an easy fix. HIP mostly track errors through an internal Jira system.

Cool. Thanks for the clarity - just so many rocXX libs it was hard to understand the layering. I think c++ compiled for amdgcn and launched with hsa.h is best for us. I will look around for rocr samples as a starting point.
I was trying to get Tensile up and running on gfx1030 because those are the "baseline" GEMM routines for rocblas and want to compare to that performance too. I filed a few issues about it https://github.com/ROCmSoftwarePlatform/Tensile/issues/1282
https://github.com/RadeonOpenCompute/ROCm/issues/1376
https://github.com/ROCmSoftwarePlatform/rocBLAS/issues/1185

Unfortunately looks like the last release of rocr was 3.1.x and there is no 4.x or later branches https://github.com/RadeonOpenCompute/ROCR-Runtime/issues/111
Are you able to test with the opensource rocr from https://github.com/RadeonOpenCompute/ROCR-Runtime ?  Any chance we can get an updated rocr or is 3.1.x supposed to work for gfx10 ?

ok so rocr seems to be working. I have verified that with rocm_bandwidth_test since rocr-runtime doesn't have any tests.
so something is broken along rocclr / hip for gfx10.
./rocm-bandwidth-test
........
RocmBandwidthTest Version: 2.5.1
      Launch Command is: ./rocm-bandwidth-test (rocm_bandwidth -a + rocm_bandwidth -A)

      Device: 0,  AMD Ryzen 9 5950X 16-Core Processor
      Device: 1,  Device 73bf,  GPU-XX,  31:0.0

      Inter-Device Access

      D/D       0         1

      0         1         0

      1         1         1

      Inter-Device Numa Distance

      D/D       0         1

      0         0         N/A

      1         20        0

      Unidirectional copy peak bandwidth GB/s

      D/D       0           1

      0         N/A         7.030

      1         7.262       1259.078

      Bidirectional copy peak bandwidth GB/s

      D/D       0           1

      0         N/A         13.292

      1         13.292      N/A

Thanks for the pointers.

@JonChesterfield do you have any examples / tests that do the "c++ compiled for amdgcn as freestanding and launched using the functions in hsa.h " ? I am trying to follow https://github.com/RadeonOpenCompute/rocminfo as an example but I dont see gcn binaries in the final elf file that goes into the rocr / hsa runtime.
Thanks

Thank you for this. hostrpc seems very useful. We will give it a spin and post issues here or on the hostrpc repo.
Also libc would be fantastic along with some utils for debugging and logging

OpenMP team,  what is status of AOMP on gfx1030?   Should we get a test machine in our AOMP lab?

FYI, https://github.com/RadeonOpenCompute/ROCm/issues/887#issuecomment-822222885
I hope once ROCm side enables RDNA, AOMP works out of box. Right now, nailing GFX9 is really critical.

@powderluv Do you still need assistance with this ticket? If not, please close the ticket. Thanks!

Hello,
I cannot run the code you have linked here as the page no longer exists (404'd), however I did follow installation steps here and was able to run some examples using the device as described here.
Closing this issue as resolved with the suggestion of trying on latest releases. Please feel free to open a new issue if one arises. Thanks!


[iOS] Can't see card input fields after presentPaymentSheet is initiated

Description:
When initiating the Stripe presentPaymentSheet on iOS, the card input fields are not visible, and the app crashes immediately. This issue occurs on iOS (tested on iPhone simulators with versions 15 and 16) but works perfectly fine on Android.
Expected Behavior:
We should be able to see the card input fields on the payment sheet to proceed with the payment.
Steps to Reproduce:

Navigate to the subscription payment screen on the iOS app.
Click the "Subscribe" button to trigger initializePaymentSheet and presentPaymentSheet.
Notice that the card input fields are not visible, and the app crashes.

Code Example:
Here’s a code snippet that initializes the payment sheet:
const initializePaymentSheet = async (billingAddress) => {
  const {customer, ephemeralKey, paymentIntent} = await fetchPaymentSheetParams();

  const {error} = await initPaymentSheet({
    merchantDisplayName: 'XYZ Pvt Ltd.',
    customerId: customer,
    customerEphemeralKeySecret: ephemeralKey,
    paymentIntentClientSecret: paymentIntent,
    returnURL: 'https://docs.stripe.com',
    allowsDelayedPaymentMethods: true,
    defaultShippingDetails: billingAddress,
  });

  if (!error) {
    setLoading(true);
    openPaymentSheet();
  } else {
    Alert.alert('Error initializing payment sheet', error.message);
  }
};

const openPaymentSheet = async () => {
  const {error} = await presentPaymentSheet();
  if (error) {
    Alert.alert(`UnSuccess: ${error.code}`, error.message);
    navigation.navigate(SUBSCRIPTION_PLANS);
  } else {
    Alert.alert('Success', `Subscribed to ${selectedSubscriptionPlan} plan`);
    navigation.navigate(SUBSCRIPTION_PLANS);
  }
};

Screenshots/Video:

iOS (Crash): iOS App Crash Video
Android (Working): Android Working Video

Smartphone Details:

Device: iPhone simulator 15,16
macOS Version: 15.0.1
Xcode Version: 16

Additional Context:
This issue only occurs on iOS, and there is no issue with Android. The payment sheet is initialized properly but crashes on iOS without showing the card input fields. Additionally, the payment status appears incomplete in the Stripe dashboard, indicating that the payment could not be processed.

I am also experiencing this issue

Update: I previously used version 0.35.1, and all other settings remained as described above. After updating to version 0.37.2, the issue has been resolved. @parkerbo @SRI-SRINIVASAN-S

@parkerbo @Parth8733 I also updated the Stripe version from 0.35.1 to the latest version, 0.39.0, which resolved the issue.


feat: add --pre-plan-file flag

Description
Add --pre-plan-file argument. It should point to a SQL file. Its statements are executed before the migration plan statements.
Motivation
This is particularly useful for settings (e.g. SET statements) that need to be applied before the migration plan. I'm especially interested in running SET check_function_bodies = off; as suggested in https://github.com/stripe/pg-schema-diff/issues/129#issuecomment-2096033386.
Testing
None yet.

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

I've tested this locally and it's working as expected :)

In order to get this to pass plan validation, you will need to wire it through the plan generator as well (into the library and not just the CLI). I can also try to pick this up later if you can wait a bit.

I have it running the pre-plan file on the temp DB now as well. For some reason, the function is still being checked (and therefore failing with type "foo" does not exist (SQLSTATE 42704) as it did before.

I've looked into this a bit more. Here's what I found.

While check_function_bodies = off helps, it's not the whole fix.
The problem is that I'm using RETURNS SETOF foo in my function signature, which requires the table to exist at the time of CREATE FUNCTION execution.

I'm devising a workaround that may be of interest to you. Here's how it works.

Before generating the migration plan, replace SETOF foo with TABLE (_id int). The columns don't need to match the foo table's columns, because I'm setting check_function_bodies = off.
After running the migration plan, my script runs, dropping each function that needed the placeholder return type. Then it runs the CREATE FUNCTION statements for those functions.

I will let you know how it goes! 🤞

I've had to implement a --pre-apply-file flag as well (not present in this PR). Here's why:

Using a pre-plan file is great for things like SET check_function_bodies = OFF; where no database objects are created.
Creating a database object with a pre-plan file is unadviseable, because it messes with the temporary database (used for plan validation) in a way that breaks it.
Why am I trying to create a database object with a pre-plan file? Good question. My tool is handling edge cases that pg-schema-diff doesn't support yet, like CREATE TYPE statements.
So I devised a new “pre-apply file” that gets executed everywhere the pre-plan file does except when preparing the temporary database's initial schema.
Along with using the pre-apply file, my tool executes DROP TYPE … CASCADE statements when a change is detected. This is done before ever running pg-schema-diff. This is one part of ensuring that the temporary database won't contain any database objects that I'm creating in the pre-apply file.

I won't have time to finish this one

@bplunkett-stripe Can't say for sure. I ended up taking a totally different approach that involves parsing the SQL myself, doing a topological sort, creating any objects that don't yet exist, and only then do I call pg-schema-diff (with plan validation disabled). This is working well for me, which means the pre-plan file is no longer needed --in my case--.

@bplunkett-stripe Can't say for sure. I ended up taking a totally different approach that involves parsing the SQL myself, doing a topological sort, creating any objects that don't yet exist, and only then do I call pg-schema-diff (with plan validation disabled). This is working well for me, which means the pre-plan file is no longer needed --in my case--.

Ahh okay. I'm sorry you had to create that kind of work around!


Add inital Dockerfile

Just merging this now -- thank you so much! This will be super useful in the future :D


Show validation errors when switch changed

When switch change has validation errors, When the state of the switch changes and there is a validation error, an empty warning appears and a JS error occurs in the console.
At the same time the visual state of the switch changes.
This commit displays an error message and does not change the visual state if an error occurs.

thanks


Add Jira Labels

Add a flag to include labels to send to Jira for all new/existing security vulnerabilities

This was completed here https://github.com/github/codescanning-jira-integration/pull/15


feat: Update stateful example to show multi-volume, instance store, gp3, encryption, and containerd dedicated volume

What does this PR do?

Update stateful example to demonstrate:

Multiple volumes; second volume to be dedicated to the containerd runtime
Instance store with mountaing via user data
Setting EBS volume storage type gp3
EBS volume encryption using CMK (customer managed KMS key)
Add gp3 storage class and setting as the default storage class provider

Motivation

Resolves #1261

More

[x] Yes, I have tested the PR using my local account setup (Provide any test evidence report under Additional Notes)
[x] Yes, I have updated the docs for this feature
[x] Yes, I ran pre-commit run -a with this PR

For Moderators

[ ] E2E Test successfully complete before merge?

Additional Notes

Woot ❤ this example 🙌


bugfix/task-3-vercel-build-fails

Solves https://github.com/RuiFilipeCampos/monty-mvp/issues/3

This pull request is being automatically deployed with Vercel (learn more). To see the status of your deployment, click below or on the icon next to each commit.
🔍 Inspect: https://vercel.com/ruifilipecampos/monty-mvp/5fnqQ5WpiQS29mniyKgtTKHAhALL ✅ Preview: https://monty-mvp-git-bugfix-task-3-vercel-build-fails-ruifilipecampos.vercel.app


Capitalisation

I noticed some words are capitalised but aren't proper nouns. 'Lemon' and 'Bound' were two that I found and I suppose there are more. Sometimes this doesn't matter and sometimes it does - e.g. if you wanted to exclude proper nouns from a word-list. Would you accept a PR if I were to look for any more cases of this?

I would be interested in this, incorrect / inconsistent capitalisation makes filtering proper nouns challenging


Code tags are not parsed properly

It seems like trafilatura treats all  as new line, which is incorrect. I used this link for both examples below:
https://www.django-rest-framework.org/api-guide/filtering/
Example 1

The simplest way to filter the queryset of any view that subclasses GenericAPIView is to override the .get_queryset() method.

Expected
The simplest way to filter the queryset of any view that subclasses GenericAPIView is to override the .get_queryset() method.
Actual:
The simplest way to filter the queryset of any view that subclasses
GenericAPIView is to override the
.get_queryset() method.
Example 2

from myapp.models import Purchase
from myapp.serializers import PurchaseSerializer
from rest_framework import generics

class PurchaseList(generics.ListAPIView):
    serializer_class = PurchaseSerializer

    def get_queryset(self):
        """
        This view should return a list of all the purchases
        for the currently authenticated user.
        """
        user = self.request.user
        return Purchase.objects.filter(purchaser=user)

Expected
from myapp.models import Purchase
from myapp.serializers import PurchaseSerializer
from rest_framework import generics

class PurchaseList(generics.ListAPIView):
    serializer_class = PurchaseSerializer

    def get_queryset(self):
        """
        This view should return a list of all the purchases
        for the currently authenticated user.
        """
        user = self.request.user
        return Purchase.objects.filter(purchaser=user)

Actual
from myapp.models import Purchase from myapp.serializers import PurchaseSerializer from rest_framework import generics class PurchaseList(generics.ListAPIView): serializer_class = PurchaseSerializer def get_queryset(self): """ This view should return a list of all the purchases for the currently authenticated user. """ user = self.request.user return Purchase.objects.filter(purchaser=user)

I understand your point but in this case its code within a p element, which affects its processing. The software has reached a balance and although improvements are still possible it is difficult to implement and to test them. Let's keep the issue open.

I understand.
For some inspiration: https://pushtokindle.fivefilters.org/send.php?url=https%3A%2F%2Fwww.django-rest-framework.org%2Fapi-guide%2Ffiltering%2F

This issue is now solved.


RequestContextCurrentTraceContext.setCurrentThreadNotRequestThread code

This shows how to use setCurrentThreadNotRequestThread until we have
a function of Thread instead.

this is kindof worse when using other thread factories..
      new NamedThreadFactory("zipkin-throttle-pool") {
        @Override public Thread newThread(Runnable runnable) {
          return super.newThread(new Runnable() {
            @Override public void run() {
              RequestContextCurrentTraceContext.setCurrentThreadNotRequestThread(true);
              runnable.run();
            }

            @Override public String toString() {
              return runnable.toString();
            }
          });
        }
      }

honestly I think it is too crufty to go this route.. we should do something different. wdyt @anuraaga?

PS this is contained for now, so I don't think it needs to necessarily block a release, just it doesn't neatly integrate with thread factories and that's where it is most likely to need to integrate. you can see some code here https://github.com/openzipkin/zipkin/pull/2743

@adriancole Update the pull request a little bit to make the build pass. What do you think?

thanks @trustin works for me


remove (SocksToRtc|RtcToNet).startFromConfig

In the interest of having smaller interfaces, and how the args for SocksToRtc are threatening to spiral out of control as we add more and more options...remove this.
uProxy doesn't use these functions so it's just fine.

:+1:
Do remember to remove startFromConfig from the mocks in uProxy/uproxy too.

Good point, will do!

I've prepared a pull request:
https://github.com/uProxy/uproxy/compare/trevj-uproxy-lib-v28?expand=1


WIP: integration test for go-openapi/swag#71

this PR is to assert latest/pending versions of the go-openapi pkgs. Do not merge


[PHPStanRules] Handle duplicate report for PreventDuplicateClassMethodRule

@TomasVotruba I tried this patch in rector repo and it works to prevent duplicate report message.

@TomasVotruba I tried this patch in rector repo and it works to prevent duplicate report message.

All checks have passed 🎉 @TomasVotruba it is ready for review.

All checks have passed 🎉 @TomasVotruba it is ready for review.

fix is in the rector repo https://github.com/rectorphp/rector/pull/5225 because of duplicate register. Closing.

fix is in the rector repo https://github.com/rectorphp/rector/pull/5225 because of duplicate register. Closing.


Does not detect any devices after upgrade to v0.4.1 [Ecomax 850i]

Is there an existing issue for this?

[X] I have searched the existing issues

I'm having the following issue:

I have following devices connected:

[ ] ecoMAX 3xx series
[X] ecoMAX 8xx series
[ ] ecoMAX 9xx series
[ ] Expansion module B
[ ] Expansion module C
[X] ecoSTER 200/ecoSTER Touch
[ ] ecoLAMBDA
[ ] ecoNET 300

I'm connecting to my devices using:
Ethernet/WiFi to RS-485 converter
I'm seeing following log messages:
2023-12-17 12:35:33.284 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/pyplumio/helpers/event_manager.py", line 130, in dispatch
    return_value = await callback(value)
                   ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/pyplumio/devices/ecomax.py", line 213, in _handle_ecomax_parameters
    parameter.values = values
    ^^^^^^^^^^^^^^^^
AttributeError: 'bool' object has no attribute 'values'

My diagnostics data:
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Hi,
Thank you for the feedback!
It seems like there is name collision between circulation_pump sensor here and circulation_pump parameter here. This will affect any device, which advertises circulation pump control.
I've pulled v0.4.1 release for now, as this is pretty easy to fix. I'll put it back in later today.
Sorry for the inconvenience!

This has now been fixed and test case has been added to prevent it from happening in the future.
Thanks for your help!


Update best-practices-javascript-actions.md

Updated part about adding external libraries based on answer provided to my question by Andries here https://forum.mendixcloud.com/link/questions/102877

There are multiple ways of importing, relative, absolute and module. https://webpack.js.org/concepts/module-resolution/
R&D have to share with the current best way is..
Side notes:

Have having the entire node_modules folder in the action folder is not always a good idea. (svn does not like many files)
Double check what happens. as on some level node_modules folder ignored when committed to svn


Some SObject types are not supported

Description
There are some SObject types that cannot be instantiated through this factory. Some of those errors are related to required fields missing. I think the only workaround would be to explicitly set those missing attributes to something?
 []

DuplicateRecordSet

Code

TestDataFactory.createSObject('DuplicateRecordSet');

Error

TestDataFactory.TestDataFactoryException: Unable to insert "DuplicateRecordSet" records: REQUIRED_FIELD_MISSING: Specify a value for the Duplicate Rule ID field. []

Hello @jverce
Thanks for these extreme 🤯 tests 👍
The Test Data Factory uses the Apex Describe
I this sometime it there can be some incoherence in the describe

I personally did not try creating those objects, but yes, you can try specifying the tricky fields manually
Example
TestDataFactory.createSObject('DuplicateRecordSet', new Map<String,Object>{   'DuplicateRuleId' => '{valute}' });
Ahmed

Hello @jverce
Thanks for these extreme 🤯 tests 👍
The Test Data Factory uses the Apex Describe
I this sometime it there can be some incoherence in the describe

I personally did not try creating those objects, but yes, you can try specifying the tricky fields manually
Example
TestDataFactory.createSObject('DuplicateRecordSet', new Map<String,Object>{   'DuplicateRuleId' => '{valute}' });
Ahmed


rgb_yuv_init: remove memset

remove unnecessary memset, all three member variables:width, height,rgb_to_yuv_krnl  have been initialized in rgb_yuv_init

Is there a point to this besides saving a line? This only happens to be ok because we set all three fields, but what if we added another one we didn't initialize in rgb_yuv_init?

Is there a point to this besides saving a line? This only happens to be ok because we set all three fields, but what if we added another one we didn't initialize in rgb_yuv_init?

I personally think use the default initialization x = {} or default member initializer is better, memset on object only if it is really required。

I personally think use the default initialization x = {} or default member initializer is better, memset on object only if it is really required。

I can't find the default initialization in the code, so don't see how we can around the memset.

I can't find the default initialization in the code, so don't see how we can around the memset.


Look more into nipype for processing pipeline and parallelization

From discussions at 2019 SCT course in London, look more into nipype for batch processing and pipeline as advised by @fprados (Thanks! :) )

related to https://github.com/neuropoly/spinalcordtoolbox/issues/2169 and https://github.com/neuropoly/spinalcordtoolbox/issues/1336

A bit out of scope, and part of the neuroimaging community seems to push for NextFlow, so let's close for now


Error dl avaiable formats

Hi,
I've managed to get this link: http://creativemedia6-rai-it.akamaized.net/podcastcdn/teche_root/YT_ITALIA_TECHE_HD_multiaudio/13838144_5000.mp4
It corresponds to https://www.raiplay.it/video/2021/01/Che-Dio-ci-aiuti-S6E1-E-tu-sei-pronto-b4b77f3a-0496-4c99-95ab-097034450b02.html
But whenever I try to dl it, it always gives me a network error, even on different internet browser....
thanks in advance and I hope you can help me...

I got the link with this: https://greasyfork.org/es/scripts/2128-rai-play-video-download

On firefox:

Are you streaming from italy or from another country?

I'm through VPN on Italy, Rome, not actually there, but it has allowed me to stream from their web without problem.

Yep, also if I try to dl the x_5000.mp4 or the x_2400.mp4 version it doens't work, only the x_1200,mp4 works...:

Also, I must say that your script doesn't list any available quality for this episode at least...
Anyways, thank you in advance for your work.... I will stick to the 1200.mp4 version
Have a nice day!

the script isn't woking at the moment, i'm actually rewriting the whole script from scratch for optimization and to add some other features so i'm gonna fix all the errors when i'll release the new version


dwarf-therapist: fix build

Motivation for this change
Update for dfc4744afd82b2d26a8df71b05ffacf05230af50 (https://hydra.nixos.org/build/75634919). DwarfTherapist has been renamed to dwarftherapist upstream.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

/cc @matthewbauer, maintainers @the-kenny @abbradar @bendlas

No attempt on aarch64-linux (full log)
The following builds were skipped because they don't evaluate on aarch64-linux: dwarf-therapist
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnfree = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnfree = true; }
to ~/.config/nixpkgs/config.nix.

No attempt on x86_64-linux (full log)
The following builds were skipped because they don't evaluate on x86_64-linux: dwarf-therapist
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnfree = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnfree = true; }
to ~/.config/nixpkgs/config.nix.

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: dwarf-therapist
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnfree = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnfree = true; }
to ~/.config/nixpkgs/config.nix.

Builds and runs locally.

Yeah definitely - I can get to it tonight.


Code editor adding lines randomly

I have no clue why it's happening. Double checked, and I have no hidden characters, just 'return line' and 'space'.
It's been happening a lot, and applies randomly to one line or another.

Probably related to #16


version Nuxt 3 ,I found out about the problem that the NuxtLink to jump page is blank

Environment
{
"name": "nuxt-app",
"private": true,
"scripts": {
"build": "nuxt build",
"dev": "nuxt dev",
"generate": "nuxt generate",
"preview": "nuxt preview",
"postinstall": "nuxt prepare"
},
"devDependencies": {
"@nuxt/postcss8": "^1.1.3",
"nuxt": "^3.7.4",
"sass": "^1.61.0",
"sass-loader": "^13.3.2",
"typescript": "^5.2.2"
},
"dependencies": {
"@vueuse/core": "^9.13.0",
"@vueuse/nuxt": "^9.13.0"
}
}
Reproduction
{
"name": "nuxt-app",
"private": true,
"scripts": {
"build": "nuxt build",
"dev": "nuxt dev",
"generate": "nuxt generate",
"preview": "nuxt preview",
"postinstall": "nuxt prepare"
},
"devDependencies": {
"@nuxt/postcss8": "^1.1.3",
"nuxt": "^3.7.4",
"sass": "^1.61.0",
"sass-loader": "^13.3.2",
"typescript": "^5.2.2"
},
"dependencies": {
"@vueuse/core": "^9.13.0",
"@vueuse/nuxt": "^9.13.0"
}
}
Describe the bug

My link jump opens to a blank page, and it will be normal after refreshing.
Additional context
No response
Logs
No response

hi :wave: Can you provide a reproduction please ?

您能提供一个复制品吗？🙏
更多信息

https://stackblitz.com/edit/github-3gmvbv?file=app.vue

你好👋你能提供一份复制品吗？

https://stackblitz.com/edit/github-3gmvbv?file=package.json

https://stackblitz.com/edit/github-3gmvbv-vbcffu?file=src%2Fpages%2Findex.vue,app.vue,src%2Fpages%2Farticle.vue
Pages only ever should have one root element (comments also count as root elements). Also I'd recommend using auto-imports or importing from #imports if you want to keep manual imports


Revert "Add Events view"

Reverts oVirt/ovirt-web-ui#1592
Due to few functional aspects of this solution, specifically concerning permissions and info that the user shouldn't been exposed to. Let's re-think about a better solution for this for next release. Since it's a new functionality, there is no problem with reverting for now

All tests passed

All tests passed

/ost


Control over CompletionItem for Snippet Choices

Currently the Snippet supports a Choices syntax (link here).
The choices created this way do turn on a completion session, hence it would be great if we could actually control those CompletionItems being shown.

hence it would be great if we could actually control those CompletionItems being shown.

I don't really know what you mean here?

My bad. Going into further detail, currently in the Choices syntax, we can only provide a string value.

However for regular CompletionItems, there are a lot more properties we can add to it. link here
A couple examples would be being able to

Add commands to run on acceptance of "normal" CompletionItems for telemetry purposes
Show a label different from the actual insert text
Add descriptions to the suggestion

With snippets and its syntax we are sticking to Textmate itself - we don't want to be incompatible and extend the choice syntax. Therefore closing as-designed but you should know that you can always implement a completion item provider for such cases. Thanks