Symbol’s chain of function indirections contains a loop: R-mode

I use regular emacs bindings -- no evil-mode, no god-mode
On trying to open a new file using C-x C-f I get an error message

Symbol’s chain of function indirections contains a loop: R-mode

I have the ess module enabled. disabling ess eliminates the error.
all packages and doom are updated

Please include your M-x doom/info and a backtrace of the issue.
Please do not ignore the issue template in the future.

forgive me, I couldn't get M-x doom/info output. It does not allow me to do M-x because of the error.
The --debug-init output is below:

Debugger entered--Lisp error: (cyclic-function-indirection r-mode)
 commandp(r-mode)
#f(compiled-function (symbol) #<bytecode 0x12d7c2d>)(r-mode)
 mapatoms(#f(compiled-function (symbol) #<bytecode 0x12d7c2d>))
amx-detect-new-commands()
  amx-initialize()
  counsel--M-x-externs()
  counsel-M-x()
  funcall-interactively(counsel-M-x)
  call-interactively(counsel-M-x nil nil)
  command-execute(counsel-M-x)

In that case, try running ~/.emacs.d/bin/doom info on the command line.

the output  of $ ~/.emacs/bin/doom info is in the attached file
doom-info.txt

Whoa. You've installed a lot of packages through package.el. This could cause conflicts, and would explain why I can't reproduce your issue.
Doom doesn't use package.el, it uses straight.el. What's worse, half of the packages you have installed through package.el are packages already installed by Doom's modules (through straight), so you have duplicates.
This implies you have :ensure t in your use-package blocks, and/or you have a (package-initialize) in ~/.doom.d/config.el. I recommend removing all of them, then running ~/.emacs.d/bin/doom sync -p to delete all ELPA packages.
To install packages add (package! X) declarations to ~/.doom.d/packages.el, where X is the name of the package. See this section of our documentation about it. Don't forget to run doom sync to install packages.
It's likely this will resolve your issue.

Oh, I also see you're running Emacs 26.1. I highly recommend upgrading to, at least, 26.3. At most 27.0.91.

I understand what your are saying.
I'm using the emacs along with many of the elpa packages provided on Debian stable. I will try doom again later.
Thank your for your assistance.


Old 3ds Bugged (USA crashing issues)

Hello I have a problem in my old 3ds it’s USA and basically what happen when it asks “Start Race” and I click ok the screen just turn white and it crashes is there any way to fix this and if there is please help thank you so much

I'm aware there's stability issues and I'm working on a big fix.
In the meantime just make sure

your language is set to english.
reinstall the exploit periodically. (click old_USA.bat)
keep wifi off

Oh ok thank you soo much for telling me this I was worried that it was my 3ds that was messed up or sum thank you for telling me that your gonna fix this also when u can can you respond to this comment when the new fix is issued I just wanna home brew my 3ds as soon as possible thank you and have a good night

oh also i would like to mention it rarely happen when i click start sum numbers or something pops up when it turn to a white screen then crashes i think that should be helpful just letting you know

Alright, this is the first test of the big refactor (for USA). It should work for both old/new 3ds. Set or confirm English as your language in System Settings, but it should run in any language for the USA region.
Remember to put your movable.sed in the resources folder before running the USA.bat script.
USA_test_mk7v1.2.zip

So I just tested it and you still can't get in. I tried two different methods the short way and the long way. The short way is basically when I see "start race" and click on it instantly. What basically happen it turn to a white screen like you about to start a race and some command random stuff are writing in the top left of the screen then crashes in 5 sec. But, then again I have encountered this last time. But, it was more rare with the older version, out of 10 times I clicked start race only 2 time this command was written so it seem what your doing is working it getting better but not there yet. So the long way is basically I wait about 5 mins before I start the race. What is the outcome? It is just a white screen then crashes in 5 sec. I think if you can stick with the short way that where the progress seem to be improving more.

"some command random stuff are writing in the top left of the screen" - what exactly do you mean by this? Is it multi-colored vertical lines flickering or an actual brief display of text? (or something else)
And yeah, waiting around is a bad idea because it gives errant threads a chance to do more bad stuff.

a brief display of text its vertical it like a command being imputed in command prompt

a brief display of text its vertical it like a command being imputed in command prompt

Is it then crashing to a luma3ds screen that says "Current Process: menu" or is it just kicking you back to home menu with a 3ds popup prompt "An error has occurred forcing the software to close, the system will now restart"

it is kicking me back to home menu with a 3ds popup prompt "An error has occurred forcing the software to close, the system will now restart"

Ok, we try again:
USA_test2_mk7v1.2.zip

alri im testing it now

ok so i tested it out and i tried it 4 times and out of the 4 times only 1 time the command line or whatever was being shown and  kicked me back to home menu with a 3ds popup prompt "An error has occurred forcing the software to close, the system will now restart"

did i specify enough or no

I'll get with you in a bit.

Oh alri i aint  no rush i got time im chillinng take your time working on it so that we have a better chance to fix this bug and you can go on your day

By a bit I didn't really mean 4 hours. : (
Anyhows, here is another test:
USA_test3_mk7v1.2.zip
The bottom screen should turn blue for a second if anything good is happening. Let me know if that's the case.

Alri imma do it tmmrw since it 2 rn when I wake up I will be sure to test it and if anything happens I will tell you

So move my movable.sed to this and run the usa.bat?

So move my movable.sed to this and run the usa.bat?

Yes

Still coming up with the same error. It freezes as soon as I get to the StreetPass List.

I see no blue screen flash.

since I just wanted to see if it would work it doesn't. I have done it 4 times every time it has the command thing.  Then write all the commands but then instantly turn white and crashes. No Blue screen btw

I see no blue screen flash.
Try a couple of different languages in system settings. You too CapnBloodBeard1.

 Stay there for about a second then click b and go on streetpass it always works.

I see no blue screen flash.

Try a couple of different languages in system settings. You too CapnBloodBeard1.

oh alri

Something to watch out for is if you tap down at the streetpass list, it will instantly crash (the bad kind).

Thank you lol.

For this particular exploit, yeah. But it wouldn't be possible without the people who wrote the libraries I used (ie 3ds_ropkit / 3dsropxploit injector) and of course, all of the 3ds specific documentation on https://3dbrew.org for the last 12 years.

Hello, I've been having trouble getting Kartminer 7 to work at the end phase. When I run the USA.bat it says that there's an error IO and that the system cannot find the right path. It still injects the hax onto the sd card, but when run with Mario Kart 7 it crashes from a white and red screen.

Ur using the latest USA.bat 3 and make sure to change the language to espanol

?

Hello, I've been having trouble getting Kartminer 7 to work at the end phase. When I run the USA.bat it says that there's an error IO and that the system cannot find the right path. It still injects the hax onto the sd card, but when run with Mario Kart 7 it crashes from a white and red screen.

Try it a couple of more times. If it still crashes, change to a different language in system settings and try again.
Try about 3 times then change language and try again. <-- repeat until it works.
The .bat script checks all drive letters d-z, so that error might happen. You could edit the script to only try your sd drive letter* - that would silence the error.

you have to check and see what that is on your computer, it can vary from system to system.

Ah OK so you mean on my computer it tells me that the SD card is Storage Drive E, so I can change it to only check that path?

Yeah, in the USA.bat script change
set driveletters=d e f g h i j k l m n o p q r s t u v w x y z
to
set driveletters=e

It also doesn't hurt to re-run the exploit install.

Tried modding a American 2DS 2 hours with every language just getting red screen and crash with normal release files. After that I used the Test file you uploaded here and Spanish language and it worked. Is something different with this?

Tried modding a American 2DS 2 hours with every language just getting red screen and crash with normal release files. After that I used the Test file you uploaded here and Spanish language and it worked. Is something different with this?

There's some small changes like different .text entry offset and the thread killer is tweaked a bit. Which test was it btw? test, test2, or test3?

Ok, thanks. It's difficult for me to debug things like this because I can't recreate them on my system or ask the user to send me crash dumps. I could keep tweaking settings but it's all just shooting in the dark.

Okay maybe I can upload the crash log later on when he sends it to me

Thanks for that, if you can manage.

Yes of course I want to help to make the exploit more stable. Idk why so many people have problems (in Eu too) on all my 5 German Europe devices it works flawlessly first try Old and New after you fixed some issues

I'm having the same problem, only with my old 2DS. Once I get to Street Pass and begin clicking "A" to start the race, the game simply crashes. This continues after changing languages.
Are there any files I can send that would be helpful?

I'm having the same problem, only with my old 2DS. Once I get to Street Pass and begin clicking "A" to start the race, the game simply crashes. This continues after changing languages.
Are there any files I can send that would be helpful?

USA_test4_mk7v1.2.zip
Try that and see if you can get past the Streetpass List and hopefully to colors.

No dice so far -- At first, I would go through selecting racer/cart/etc., then after clicking to start the race, the screen would go white and the game would crash. I tried changing the language between each attempt, and now it doesn't even get that far -- as soon as it displays players (right after clicking street pass), the game crashes.

No dice so far -- At first, I would go through selecting racer/cart/etc., then after clicking to start the race, the screen would go white and the game would crash. I tried changing the language between each attempt, and now it doesn't even get that far -- as soon as it displays players (right after clicking street pass), the game crashes.

The further progression past Streetpass List is a good sign - we're getting closer. Can I confirm you are on mk7 version 1.2 and 3ds firm 11.17.0-50U? While you're doing that I'll cook up a couple more tests for you to try : )

Confirmed! I am indeed using mk7 v1.2 with a 2DS (old, not New) running 11.17.0-50U. Thank you!!

Confirmed! I am indeed using mk7 v1.2 with a 2DS (old, not New) running 11.17.0-50U. Thank you!!

Another quick question while I make those tests, do you play mk7 often or have you done so at any point? What I specifically would like to know is generally "how used" your savegame file is (another quickie, is this a digital or cart version of the game?)

I've had the game cartridge for a while and have played it a lot on my main 3DS that I've had forever. So the save file would indeed be very used. So I'm trying to use the cartridge to setup this 2DS.

Alright try this if you can. It has two "subtests", USA-1.bat and USA-2.bat. They both have different address ranges so try them both if you have the time.
USA_test5_mk7v1.2.zip
I asked the digital/cart question in the hope it was digital. That way we could erase the regular save file and see if that's the "missing variable" causing the crashing issues (I test/develope with barely used saves). No worries though, I'll find someone else.

I tried both -- I got the same results (continuing to try different languages for several attempts each). At least it's still crashing at the same point, though, so it hasn't gotten any worse.

I tried both -- I got the same results (continuing to try different languages for several attempts each). At least it's still crashing at the same point, though, so it hasn't gotten any worse.

Ok, no more tests for now. I'll keep looking for solutions though.

The USA Beta4 worked very well for a few people that had problems with the release files.

The USA Beta4 worked very well for a few people that had problems with the release files.

I plan on making that the main release in all regions shortly.

Hey, having some trouble getting passed the white screen forced restart. I changed my language to Spanish and got a little further. Now when I click start race it white screens then back to home and restart. what do I need to do?

Put the sd card back in pc then run the .bat file for your region again then try again

might be an issue with my Mario Kart 7 not being updated. Am I stuck at that point? not sure how to check that.

Just update it to Version 1.2

looks like eshop is down for maintenance until about 8pm for me. I will try tonight when i can update. Im sure its my old version of MK7 that is preventing me.

btw i ran the .bat file for my region. said finished and press any button to continue

it worked! thank you @zoogie for this amazing step by step

im getting past the flashing screens to where the exploit is supposed to launch, im seeing the white text for the exploit for about a second and it crashes ive tried multiple times on every language, im getting the furthest on spanish though

im getting past the flashing screens to where the exploit is supposed to launch, im seeing the white text for the exploit for about a second and it crashes ive tried multiple times on every language, im getting the furthest on spanish though

Does your crash look like this?
https://cdn.discordapp.com/attachments/196635695958196224/1135985330382708846/IMG_9897.jpg

Yes except the crash dump section on the bottom screen is empty

You already have CFW why are you trying this exploit?

Yes except the crash dump section on the bottom screen is empty

Your exploit is working properly even though there's no reason to run it. Luma3DS crash screen is evidence of a fully hacked system.
Doing https://3ds.hacks.guide/finalizing-setup.html will clean up loose ends if you can't see any evidence of cfw.

Ok I'll try when I get off work

so my screen gets the flashing colors and the screen for rop injector pops up . then the above ^^happens and i get a crash. so am i good i think maybe cuz i already have luma on the sd card its happening? what can i do if i see the injector page pop up then get this error?

so my screen gets the flashing colors and the screen for rop injector pops up . then the above ^^happens and i get a crash. so am i good i think maybe cuz i already have luma on the sd card its happening? what can i do if i see the injector page pop up then get this error?

This means the exploit works but you're running in cfw mode, which blocks standard homebrew from working.
Basically, this means you don't need to be running kartminer7 unless you're testing. Your 3ds is fully modded.

So can I continue with the standard modding process linked in your guide?
This is a refurb old 3ds. I’m assuming it’s fine because I saw the hack on
the screen but can’t proceed because I haven’t completed the modding
process yet.
Everything went perfectly so far with your guide. Just need to make sure
I’m good to continue modding from here
On Sun, Aug 6, 2023 at 2:51 PM zoogie @.***> wrote:

[image: 20230801_232810.jpg]
https://user-images.githubusercontent.com/141195488/257701727-e25c79d9-ee78-45e0-a42a-edcde96a34c5.jpg
so my screen gets the flashing colors and the screen for rop injector pops
up . then the above ^^happens and i get a crash. so am i good i think maybe
cuz i already have luma on the sd card its happening? what can i do if i
see the injector page pop up then get this error?
This means the exploit works but you're running in cfw mode, which blocks
standard homebrew from working.
Basically, this means you don't need to be running kartminer7 unless
you're testing. Your 3ds is fully modded.
—
Reply to this email directly, view it on GitHub
https://github.com/zoogie/Kartminer7/issues/3#issuecomment-1666943409,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BBYDXKXUIDRJ356RZ4SVGALXT7RRPANCNFSM6AAAAAA2BFYXGU
.
 I was really worried I
wasted 200 on a refurb but I’m playing my favorite games now :)
On Sun, Aug 6, 2023 at 3:20 PM zoogie @.***> wrote:

https://3ds.hacks.guide/finalizing-setup.html
—
Reply to this email directly, view it on GitHub
https://github.com/zoogie/Kartminer7/issues/3#issuecomment-1666948533,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BBYDXKXG4GDNY7HSSAITCETXT7U73ANCNFSM6AAAAAA2BFYXGU
.
You are receiving this because you commented.Message ID:
@.***>


There is no class GHDSector

Description of the issue
The term "GHDSector" is used in the Brandenburg2030 scenario but doesnt exist in the ontology.
Ideas of solution
Workflow checklist

[ ] I discussed the issue with someone else than me before working on a solution
[ ] I already read the latest version of the workflow for this repository
[ ] The goal of this ontology is clear to me

I am aware that

[ ] every new entry in the ontology should have an annotation
[ ] classes should arise from concepts rather than from words
[ ] class or property names should follow the UpperCamelCase

GHDSector is weird denglish. It is probably the same as TCSSector.

GHD = Gewerbe, Handel, Dienstleistungen
TCS = Trade, Commerce, Services

oh, then I'll change all occurences of GHD to TCD and close this issue, thank you


ByteBuffer should be Hashable

It's pretty rare that it makes sense for a type to be equatable but not hashable, and yet ByteBuffer is just one of those types. We should provide a hashable conformance for ByteBuffer that behaves just like its equatable one does, by hashing the readable bytes.

Huh, never mind, it is.


Add license_info to models in CMIP6_CV.json

@durack1 These changes don't seem to affect the current CMOR usage of the license attribute so I think we can merge these changes now.

@mauzey1 it would be great to catch the license template at https://github.com/PCMDI/cmip6-cmor-tables/blob/master/Tables/CMIP6_input_example.json#L40 and update this to reflect the final string after the "code" in https://github.com/WCRP-CMIP/CMIP6_CVs/issues/1050#issuecomment-1136439821

@durack1 Okay.  So we want to have the 'license' template as described in https://github.com/WCRP-CMIP/CMIP6_CVs/issues/1050#issuecomment-1136439821 to be in CMIP6_CV.json, and have CMOR fill in the template to populate the license attribute?

@mauzey1 I think that would be ideal, so we require inputs from the CMOR users, which are included in the input.json

@durack1 So license_id and license_url come from the user?  But those don't get stored in the NetCDF file as license_id and license_ur, right?

If we have a user provide two pieces of info institution_id = "AWI" we can look up the text from CMIP6_institution_id.json and license_id = "CC BY 4.0" from the CMIP6_license.json which are all available to CMOR, right? (or do we need to add these to the CMIP6_CV.json)

The current license template is in the script that builds CMIP6_CV.json from the WCRP files.
https://github.com/PCMDI/cmip6-cmor-tables/blob/4cb585806117cd99bd31905c72b76d2f03b14ab7/scripts/createCMIP6CV.py#L86
We should replace that with the license template in the JSON file.
    "license":{
        "license":"CMIP6 model data produced by <Your Institution; see CMIP6_institution_id.json> is licensed under a <Creative Commons; select and insert a license_id; see below> License (<insert the matching license_url; see below>). Consult https://pcmdi.llnl.gov/CMIP6/TermsOfUse for terms of use governing CMIP6 output, including citation requirements and proper acknowledgment. Further information about this data, including some limitations, can be found via the further_info_url (recorded as a global attribute in this file)[ and at <some URL maintained by modeling group>]. The data producers and data providers make no warranty, either express or implied, including, but not limited to, warranties of merchantability and fitness for a particular purpose. All liabilities arising from the supply of the information (including any liability arising in negligence) are excluded to the fullest extent permitted by law.",
        "license_options":{
            "CC BY 4.0":{
                "license_id":"Creative Commons Attribution 4.0 International",
                "license_url":"https://creativecommons.org/licenses/by/4.0/"
            },
            "CC BY-NC-SA 4.0":{
                "license_id":"Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International",
                "license_url":"https://creativecommons.org/licenses/by-nc-sa/4.0/"
            },
            "CC BY-SA 4.0":{
                "license_id":"Creative Commons Attribution-ShareAlike 4.0 International",
                "license_url":"https://creativecommons.org/licenses/by-sa/4.0/"
            },
            "CC0 1.0":{
                "license_id":"Creative Commons CC0 1.0 Universal Public Domain Dedication",
                "license_url":"https://creativecommons.org/publicdomain/zero/1.0/"
            }
        }
    }

This will require a change to CMOR in order to work properly.  Previous version of CMOR will not work after changing the license template.

@mauzey1 thanks for the update. I assumed that we'd need to update CMOR to deal with the new format. I suggest we wrap this into the 3.7.0 changes planned, alongside the tweaks in https://github.com/PCMDI/cmor/issues/628
@taylor13 @matthew-mizielinski pinging you guys here

@durack1 Yes, I have already made an issue for it here: https://github.com/PCMDI/cmor/issues/656

@durack1
After further investigation, changing the current license template should not affect the current version of CMOR.  I've discovered that CMOR only acquires the license from the user input.  Not adding a license attribute to your user input will cause an error in CMOR.  CMOR currently ignores the license template from the CV file; deleting the license template from CMIP6_CV.json did not affect CMOR's operation.
This means we could proceed with adding a new license template to the CV file little issue.  We can then add the feature to read the template in CMOR later.

@durack1 Should we change the template text for the institution name to something that is MIP-neutral for CMOR?
From this...
<Your Institution; see CMIP6_institution_id.json>

to this...
<Your institution's name; see the institution_id section>

We can change the text from within the script that builds CMIP6_CV.json from the WCRP-CMIP files.

The reason why the tests are not passing here is because the user input for them is using an outdated version of the license string.  The changes from https://github.com/PCMDI/cmor/pull/657 will update those license strings.  The tests in that PR are using the CMIP6_CV.json from this branch's PR.
@durack1 As soon as https://github.com/PCMDI/cmor/pull/657 is merged, I will update this PR.

The reason why the tests are not passing here is because the user input for them is using an outdated version of the license string.  The changes from https://github.com/PCMDI/cmor/pull/657 will update those license strings.  The tests in that PR are using the CMIP6_CV.json from this branch's PR.
@durack1 As soon as https://github.com/PCMDI/cmor/pull/657 is merged, I will update this PR.

@mauzey1 perfect, thanks


How to get SM Occupancy in real-time except dcgm in RTX Series?

Hello, I'm new to dcgm..
I'm trying to get profiling value in real-time and used dcgm.
But my GPU (RTX3090) doesn't support dcgm profiling. (https://github.com/NVIDIA/dcgm-exporter/issues/152#issuecomment-1507618717)

Is there any updating plan that RTX series can profile metrics with dcgm? all it will not forever?

Is there any workaround to get that value in real-time?

Nsight also gave me that value but it is non-real-time data..
Any comment will be super helpful.
Thanks
Taekyoung

The GeForce cards do not support profiling. It is a hardware limitation.


Creating an library for working with rr_graph files

Initial prototype and design by @mithro.
Large amount of work from @JohnDMcMaster (see #94) to actually make it work.
Rework, fixing and documentation by @mithro.
Allows generating rr_graph from ice40 using icebox and hand coded approaches.

There are still 3 or so instances of node_index=None, remove them since this is no longer in the code

I thought jhol did this? Is this going to result in a merge conflict somewhere?

jhol did this for the tile-routing version. This does the same for the top-routing.


Only works one time ?

Hi,
I'm using this command to setup 2 connected virtual ports:
socat -d -d pty,raw,echo=0,crnl pty,raw,echo=0,crnl
Then i run the test program, al goes fine.
I run the testingprogram again, i Got an error.
thread '' panicked at 'called Result::unwrap() on an Err value: Error { repr: Os(16) }', /home/rustbuild/src/rust-buildbot/slave/stable-dist-rustc-linux/build/src/libcore/result.rs:729
If i Kill the virtual COM ports and use the setup command again it works 1 time.
is the port not correctly closed or access is being reset?
// get exclusive access to device

   try!(ioctl::tiocexcl(port.fd));

Maybe this commit created the problem ?

@firefixmaarten Thanks for reporting this issue. I was able to reproduce it with socat on Linux. Oddly, I don't run into this problem with socat on OS X or using physical hardware on Linux or OS X.
The problem does seem to be caused by the TIOCEXCL ioctl, which gives the program exclusive access to the device. I'll add a TIOCNXCL ioctl to the destructor to release exclusive mode. That should fix the issue that you're having as long as the program terminates normally.

@firefixmaarten Do you want to give it a try with v0.1.2?

@dcuddeback:
It works like advised now. Thanks!


Html Inline and Block Elements

What is the change?
Description about Block Elements and Inline elements have been added along with a code segment to give description about them.
Related issue?
closes: #32
Checklist:
Before you create this PR, confirm all the requirements listed below by checking the checkboxes [x]:

[x] I have followed the Code of Conduct.
[x] I have  checked there aren't other open Pull Requests for the same update/change.
[x] I have you tested the code before submission.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I'm Hacktoberfest'21 contributor.

Screenshots (if any)

Kindly check my PR and tell me if anything needs to be updated.


Pedestrian mode

Leader
User story
The user wants to operate and view the map from a pedestrian's perspective on a three-dimensional map. This way, they can not only get a bird's eye view, but also see how the area looks from an actual person's perspective. For example, it can be used to preview 3D building data or to simulate urban development.
Requirements

User can toggle pedestrian mode
User can choose the location to start the mode
User can mode with keyboard shortcut
The mini-map should be displayed
The image which tells us how to use the mode should be shown

If you have any other ideas to improve the feature, welcome!
Examples
This is the example that we want to have.

Testing list

[ ]

We already have a plugin which makes this come true.


[Installation]: Installation fails on Neuron installation with newest build

Your current environment
The script failed in my virtual environment, so I ran it outside
Collecting environment information...
PyTorch version: N/A
Is debug build: N/A
CUDA used to build PyTorch: N/A
ROCM used to build PyTorch: N/A

OS: Ubuntu 22.04.4 LTS (x86_64)
GCC version: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
Clang version: Could not collect
CMake version: version 3.22.1
Libc version: glibc-2.35

Python version: 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0] (64-bit runtime)
Python platform: Linux-5.15.0-1031-aws-x86_64-with-glibc2.35
Is CUDA available: N/A
CUDA runtime version: Could not collect
CUDA_MODULE_LOADING set to: N/A
GPU models and configuration: Could not collect
Nvidia driver version: Could not collect
cuDNN version: Could not collect
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: N/A

CPU:
Architecture:                    x86_64
CPU op-mode(s):                  32-bit, 64-bit
Address sizes:                   48 bits physical, 48 bits virtual
Byte Order:                      Little Endian
CPU(s):                          192
On-line CPU(s) list:             0-191
Vendor ID:                       AuthenticAMD
Model name:                      AMD EPYC 7R13 Processor
CPU family:                      25
Model:                           1
Thread(s) per core:              2
Core(s) per socket:              48
Socket(s):                       2
Stepping:                        1
BogoMIPS:                        5299.99
Flags:                           fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf tsc_known_freq pni pclmulqdq monitor ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy cr8_legacy abm sse4a misalignsse 3dnowprefetch topoext perfctr_core invpcid_single ssbd ibrs ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bmi2 invpcid rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr rdpru wbnoinvd arat npt nrip_save vaes vpclmulqdq rdpid
Hypervisor vendor:               KVM
Virtualization type:             full
L1d cache:                       3 MiB (96 instances)
L1i cache:                       3 MiB (96 instances)
L2 cache:                        48 MiB (96 instances)
L3 cache:                        384 MiB (12 instances)
NUMA node(s):                    4
NUMA node0 CPU(s):               0-23,96-119
NUMA node1 CPU(s):               24-47,120-143
NUMA node2 CPU(s):               48-71,144-167
NUMA node3 CPU(s):               72-95,168-191
Vulnerability Itlb multihit:     Not affected
Vulnerability L1tf:              Not affected
Vulnerability Mds:               Not affected
Vulnerability Meltdown:          Not affected
Vulnerability Mmio stale data:   Not affected
Vulnerability Retbleed:          Not affected
Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp
Vulnerability Spectre v1:        Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2:        Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP conditional, RSB filling, PBRSB-eIBRS Not affected
Vulnerability Srbds:             Not affected
Vulnerability Tsx async abort:   Not affected

Versions of relevant libraries:
[pip3] No relevant packages
[conda] Could not collectROCM Version: Could not collect
Neuron SDK Version: (0, 'instance-type: inf2.48xlarge\ninstance-id: i-0007c196eba7012c0\n+--------+--------+--------+-----------+---------+\n| NEURON | NEURON | NEURON | CONNECTED |   PCI   |\n| DEVICE | CORES  | MEMORY |  DEVICES  |   BDF   |\n+--------+--------+--------+-----------+---------+\n| 0      | 2      | 32 GB  | 11, 1     | 80:1e.0 |\n| 1      | 2      | 32 GB  | 0, 2      | 90:1e.0 |\n| 2      | 2      | 32 GB  | 1, 3      | 80:1d.0 |\n| 3      | 2      | 32 GB  | 2, 4      | 90:1f.0 |\n| 4      | 2      | 32 GB  | 3, 5      | 80:1f.0 |\n| 5      | 2      | 32 GB  | 4, 6      | 90:1d.0 |\n| 6      | 2      | 32 GB  | 5, 7      | 20:1e.0 |\n| 7      | 2      | 32 GB  | 6, 8      | 20:1f.0 |\n| 8      | 2      | 32 GB  | 7, 9      | 10:1e.0 |\n| 9      | 2      | 32 GB  | 8, 10     | 10:1f.0 |\n| 10     | 2      | 32 GB  | 9, 11     | 10:1d.0 |\n| 11     | 2      | 32 GB  | 10, 0     | 20:1d.0 |\n+--------+--------+--------+-----------+---------+', '')
vLLM Version: N/A
vLLM Build Flags:
CUDA Archs: Not Set; ROCm: Disabled; Neuron: Disabled
GPU Topology:
Could not collect

How you are installing vllm

cd vllm
pip install -U -r requirements-neuron.txt
pip install .

Produces error:
Looking in indexes: https://pypi.org/simple, https://pip.repos.neuron.amazonaws.com
Processing /home/ubuntu/vllm
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error

  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [19 lines of output]
      /tmp/pip-build-env-swu4w78o/overlay/lib/python3.10/site-packages/torch/nn/modules/transformer.py:20: UserWarning: Failed to initialize NumPy: No module named 'numpy' (Triggered internally at ../torch/csrc/utils/tensor_numpy.cpp:84.)
        device: torch.device = torch.device(torch._C._get_default_device()),  # torch.device('cpu'),
      Traceback (most recent call last):
        File "/home/ubuntu/aws_neuron_venv_pytorch/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 363, in <module>
          main()
        File "/home/ubuntu/aws_neuron_venv_pytorch/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 345, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
        File "/home/ubuntu/aws_neuron_venv_pytorch/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 130, in get_requires_for_build_wheel
          return hook(config_settings)
        File "/tmp/pip-build-env-swu4w78o/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 325, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=['wheel'])
        File "/tmp/pip-build-env-swu4w78o/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 295, in _get_build_requires
          self.run_setup()
        File "/tmp/pip-build-env-swu4w78o/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 311, in run_setup
          exec(code, locals())
        File "<string>", line 340, in <module>
        File "<string>", line 266, in get_vllm_version
        File "<string>", line 237, in get_nvcc_cuda_version
      TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

It looks like this might be related to PR-2671
I changed the lines around 171 in setup.py:
def _is_cuda() -> bool:
    return (torch.version.cuda is not None) and not _is_neuron()

And then the process finished.
Keep in mind, on my system, I don't have cuda installed.

Sorry for the inconvenience, we need to sure neuron-ls and neuronx-cc commands are correctly installed in the system, before pip install vllm.

I have the same problem. I'm trying to create a docker image which I then can deploy on aws inf2 instances. However I don't have access to a neuron instance during the build process of the docker image. I have installed neuron-ls and neuronx-cc in the docker image, but of cause when neuron-ls is executed during the docker build process there is no neuron device available.


[SPARK-35886][SQL] CodeGenerator.getLocalInputVariableValues should handle matched subQuery but not  VariableValue

What changes were proposed in this pull request?
For test case
spark.sql(
  """
    |CREATE TABLE t1 (
    |  c1 DECIMAL(18,6),
    |  c2 DECIMAL(18,6),
    |  c3 DECIMAL(18,6))
    |USING parquet;
    |""".stripMargin)

spark.sql("SELECT sum(c1 * c3) + sum(c2 * c3) FROM t1").show

failed when codegen
20:23:36.272 ERROR org.apache.spark.sql.catalyst.expressions.codegen.CodeGenerator: failed to compile: org.codehaus.commons.compiler.CompileException: File 'generated.java', Line 56, Column 6: Expression "agg_exprIsNull_2_0" is not an rvalue
org.codehaus.commons.compiler.CompileException: File 'generated.java', Line 56, Column 6: Expression "agg_exprIsNull_2_0" is not an rvalue
	at org.codehaus.janino.UnitCompiler.compileError(UnitCompiler.java:12675)
	at org.codehaus.janino.UnitCompiler.toRvalueOrCompileException(UnitCompiler.java:7676)

It's caused by when call CodeGenerator.getLocalInputVariableValues, some expression match subquery but is not  VariableValue,  then skip this expression, but when call splitAggregateExpressions,  since we need to find all input variables by this method, this will cause we skip some inputs.
Here in this case , we put expression's children to stack too.
Why are the changes needed?
Fix Bug
Does this PR introduce any user-facing change?
No
How was this patch tested?
Added UT

Test build #140318 has started for PR 33082 at commit d03657c.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/44851/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/44851/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/44851/

Test build #140318 has finished for PR 33082 at commit d03657c.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/140318/

ping @cloud-fan @maropu @wangyum @Ngone51

Test build #140333 has started for PR 33082 at commit 01e5d38.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/44865/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/44865/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/44865/

Test build #140333 has finished for PR 33082 at commit 01e5d38.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/140333/

Also cc @viirya

Do we have "subquery" here? Please update the description if it is not "subquery".

Do we have "subquery" here? Please update the description if it is not "subquery".

My mistake, should be  SubExprEliminationState

Looks reasonable, although the description and the title confuse.

Updated, how about current?

Close this according to  https://github.com/apache/spark/pull/33103


Null Fields on NFL Graph

NFL market now exists but fields are null.

@bconfortin could you investigate pls, lmk how big of an issue this is
cc: @bthaile @pgebheim

@namankumar is this fixed?

@iRhonin yes, try and let us know if there's a problem


Feature: APPLICS-82 - Documents static content date filters

Describe your changes
https://pins-ds.atlassian.net/browse/APPLICS-82?atlOrigin=eyJpIjoiYTUyYzU2MGQ4MmJmNDMzN2FkOTYzYmE3OGY3MzA0MzYiLCJwIjoiaiJ9
Type of change 🧩

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update
[ ] Other (please explain in the description section above)

Checklist before requesting a review

[x] I have performed a self-review of my own code
[ ] I have double checked this work does not include any hardcoded secrets or passwords
[ ] I have made corresponding changes to the documentation
[ ] I have provided details on how I have tested my code
[ ] I have referenced the ticket number above
[ ] I have provided a description of the ticket
[ ] I have included unit tests to cover any testable code changes

:tada: This PR is included in version 2.25.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.13.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.1.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Add g:dein#notification_time variable

Add a new g:dein#notification_time variable to allow users to set the time notifications should be displayed. Please note that I tested on Linux but not on Windows.

Thanks.


Update wave shaders for vulkan

🦟 Bug fix
Summary
The waves shaders are updated to work in vulkan. The changes only make the shaders compile and prevent a crash bu that the waves do not render correctly yet in vulkan. I think the shader_param system (used by waves) does not work in vulkan.
Other notes:

GUI crashes when run with vulkan. Seems to be Qt + ogre + vulkan interaction issue. So testing is done with vulkan on server side only.
During testing, I frequesting run into gazebo gui crashes when opening Image Display gui plugin. This may be due to threading / race condition issue.

To test:
Run gazebo as normal to make sure that OpenGL still works:
# enable vulkan on server side only
# note `libvulkan-dev` needs to be installed for gz-rendering to be built with vulkan support
gz sim -v 4 -r harmonic_demo/harmonic.sdf --render-engine-server-api-backend vulkan

The gui is still using OpenGL and the waves should still work.
Open Image Display, hit refresh button to see the waves in the camera sensor view (this should be running on vulkan):

Checklist

[x] Signed all commits for DCO
[ ] Added tests
[ ] Updated documentation (as needed)
[ ] Updated migration guide (as needed)
[ ] Consider updating Python bindings (if the library has them)
[ ] codecheck passed (See contributing)
[ ] All tests passed (See test coverage)
[ ] While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

During testing, I frequesting run into gazebo gui crashes when opening Image Display gui plugin.

I think it comes from gz-transport. I ticketed https://github.com/gazebosim/gz-transport/issues/430 with steps to reproduce


Add resource scenarios

fix https://github.com/Azure/azure-sdk-for-go/issues/17884

@lei-msft Could you help to merge this PR?

@leni-msft Could you help to merge this PR?


run/create: reserve -h flag for hostname

Move the -h short flag from --help to --hostname for podman-run,
podman-create and podman-pod-create to be compatible with Docker.
Fixes: #1367
Signed-off-by: Valentin Rothberg<EMAIL_ADDRESS>

I thought we'd have to touch up bash completions for rund/create too, but I'm not seeing them.  Do we not have completions for run/create or am I lacking tea?  (libpod/completions/bash/podman)
Otherwise LGTM

@TomSweeneyRedHat, it's not your tea. The bash completion is oddly broken there. There are two _podman_container_run() functions. One of them causes a loop and the other one actually mentions --hostname -h :laughing:
I suggest fixing that in a separate PR as it smells like a rabbit hole.

bot, retest this please

timeout :(

@rh-atomic-bot r+


v1.16 Backports 2024-12-17

[x] #36628 (@sayboras)

Once this PR is merged, a GitHub action will update the labels of these PRs:
 36628

/test-backport-1.16


Fix typo ko

We fixed the Korean translated weirdly.
I'll be waiting for your review and approval!
Thank you :)

Thanks all for the corrections. Merging them!


Detection vs prevalence improve documentation

In getPrevalence (code) documentation, the difference between detection and prevalence is not very clear.
Prevalence is a common term in biology, but detection is much less. It's nicely explained in OMA:

The function arguments detection and as_relative can also be used to access how many samples pass a threshold for raw counts. Here, the population prevalence (frequency) at the absolute abundance threshold (as_relative = FALSE) at read count 1 (detection = 1) is accessed.

Can be rewritten

Detection threshold for absence/presence.  If as_relative = FALSE, it sets the counts threshold for a taxon to be considered present. If as_relative = TRUE, it sets the relative abundance threshold for a taxon to be considered present.

Or we can rewrite the Details section to clarify this aspect with a couple of examples.

PR welcome !


make check - no test ran

Symptom: Running make check doesn't run any test on my environment.
$ make check
make check -C test
make[1]: Entering directory '/hbdev/test/ziplib/json/test'
Executing test-json_patch...
===============================================================================
No tests ran

The issue seems to be in test/Makefile
if I replace
TEST_PATTERN ?= "*"
with
TEST_PATTERN ?= ""
The issue seems fixed
OS: Windows 10
Plat: MSYS2 - GNU Make 4.2.1 - gcc version 7.2.0 (Rev1, Built by MSYS2 project)
Thanks

Thanks for reporting. We recently switched to Cmake to compile/execute the test suite, so you could also try
$ mkdir build
$ cd build
$ cmake ..
$ cmake --build .
$ ctest

However, we did not change the existing Makefile, and pattern * should be ok... Strange...
Anyway, please try with cmake/ctest.

I cannot reproduce the issue. make check executes the test suite without problems. Changing TEST_PATTERN ?= "" is wrong: it would give make check the same behavior as make check-fast to only execute a smaller test suite.

Thanks Niel for your time. I
didn't have much time to dig into make issues, so I switched to cmake,  can build successfully on develop branch now.
After running the the test suite I've the following failures:
35 - test-inspection_default (Failed)
61 - test-regression_default (Failed)
65 - test-testsuites_default (Failed)
Building on master branch gives me the following  errors:
Scanning dependencies of target catch_main
[  2%] Building CXX object test/CMakeFiles/catch_main.dir/src/unit.cpp.o
[  2%] Built target catch_main
[  5%] Generating CXX prefix source test/cotire/json_unit_CXX_prefix.cxx
[  7%] Generating CXX prefix header test/cotire/json_unit_CXX_prefix.hxx
[ 10%] Building CXX precompiled header test/cotire/json_unit_CXX_prefix.hxx.gch
json/build/test/cotire/json_unit_CXX_prefix.hxx:4:10: fatal error: json/build/test/cotire/json_unit_CXX_prefix.cxx: No such file or directory
#include "/build/test/cotire/json_unit_CXX_prefix.cxx"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
CMake Error at /json/cmake/cotire.cmake:1848 (message):
cotire: error 1 precompiling
/build/test/cotire/json_unit_CXX_prefix.hxx.
Call Stack (most recent call first):
/json/cmake/cotire.cmake:3512 (cotire_precompile_prefix_header)
make[2]: *** [test/CMakeFiles/json_unit.dir/build.make:64: test/cotire/json_unit_CXX_prefix.hxx.gch] Error 1
make[1]: *** [CMakeFiles/Makefile2:122: test/CMakeFiles/json_unit.dir/all] Error 2
make: *** [Makefile:139: all] Error 2

Could you try the develop version?

Just tested the develop version again and got the following output ( didn't change since last run on develop )
The following tests FAILED:
35 - test-inspection_default (Failed)
61 - test-regression_default (Failed)
65 - test-testsuites_default (Failed)

Can you please provide the error logs so we can have a look why the tests fail?

Hope this LastTest.log helps, can't see any other relevant file generated in the build tree.

Could you please run the tests with
ctest -O test.log --output-on-failure

and attach file test.log?

This is the test result test.log

It seems that most errors are due to MingGW's formatting of exponents with a leading zero, cf.
C:/Data/e.zavallone/test/ziplib/json/json/test/src/unit-testsuites.cpp:328: FAILED:
  CHECK( j.dump() == json_string )
with expansion:
  "[1.2345e+030]" == "[1.2345e+30]"
with messages:
  filename := "test/data/json_roundtrip/roundtrip32.json"
  json_string := "[1.2345e+30]"

or
C:/Data/e.zavallone/test/ziplib/json/json/test/src/unit-regression.cpp:772: FAILED:
  CHECK( j.dump() == "1.66020696663386e+20" )
with expansion:
  "1.66020696663386e+020"
  ==
  "1.66020696663386e+20"

We had a ticket on this before, but if I remember correctly, MinGW's behavior is not conformant here.

The effect of this issue is negligible on my domain. I briefly inspected the other failed test ( parsing in particular ) and they look like corner cases ( like unit-regression.cpp, SECTION("second example from #529") )
I'm going to integrate your library -  easy to use and well documented - in my app, thanks for helping me.

No worries. I really would like to provide better support here, but I found no way yet to run MinGW on a CI server.
In any way - if you need further assistance, just open an issue.


ttnn ci tests are broken

Discovered regression tests after ttnn tests were added back into workflow.
Tests came from this PR.
https://github.com/tenstorrent-metal/tt-metal/issues/5730
Disabled TTNN tests listed here in:
ttnn/unit_tests/test_multi_device.py
test_multi_device_open_close_using_context_manager
Test Fails and exits gracefully
ttnn/unit_tests/test_multi_device.py
test_ttnn_to_and_from_multi_device_shard(...)
Test Fails and exits gracefully
ttnn/unit_tests/test_multi_device.py
test_multi_device_open_close_using_context_manager()
Test Fails and exits gracefully
ttnn/unit_tests/operations/test_conv2d.py
test_sd_conv()
Test hangs the machine
ttnn/unit_tests/tests_multi_device.py
test_multi_device_check_per_device_shard()
Test Fails and exits gracefully

I fixed the conv bug:
ttnn/unit_tests/operations/test_conv2d.py
test_sd_conv()

Assigning back to you -- please assign to relevant people.

Issues generated and assigned to @cfjchu for debugging

closing since all sub issues are fixed


catkin_pip: 0.2.2-0 in 'jade/distribution.yaml' [bloom]

Increasing version of package(s) in repository catkin_pip to 0.2.2-0:

upstream repository: https://github.com/asmodehn/catkin_pip.git
release repository: https://github.com/asmodehn/catkin_pip-release.git
distro file: jade/distribution.yaml
bloom version: 0.5.26
previous version for package: 0.2.1-0

catkin_pip
* Merge pull request #123 <https://github.com/asmodehn/catkin_pip/issues/123> from yotabits/devel
  Added option NOSE_OPT to catkin_add_nosetests func
* Added option NOSE_OPT to catkin_add_nosetests func
  In order to use some specific option for nosetests we now have a NOSE_OPT
  parameter that allow to use some customs options for launching nosetests
  The same has been done for pytests with the param PYTEST_OPT
* Contributors: AlexV, Thomas

@yotabits : FYI


error in running NeuralParscit

hyperparams.json not found where can i get it ,
if i am doing somthing wrong pls correct me .

Hi @bvgaurav4: @abhinavkashyap may be able to assist in this matter, but he has graduated and we no longer directly support this toolkit.  You may want to try our newer system SciAssist:
https://github.com/WING-NUS/SciAssist
https://huggingface.co/spaces/wing-nus/SciAssist (see 2nd tab)

Thank you for your email, i have another question can SCIAssist extract
citation context for all the citations?
srry for disturbing and thank you
On Thu, 19 Sept 2024 at 11:58, Min-Yen Kan @.***> wrote:

Hi @bvgaurav4 https://github.com/bvgaurav4: @abhinavkashyap
https://github.com/abhinavkashyap may be able to assist in this matter,
but he has graduated and we no longer directly support this toolkit. You
may want to try our newer system SciAssist:
https://github.com/WING-NUS/SciAssist
https://huggingface.co/spaces/wing-nus/SciAssist (see 2nd tab)
—
Reply to this email directly, view it on GitHub
https://github.com/WING-NUS/sciwing/issues/5#issuecomment-2360098885,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXIXMJGOLIVIYIQN4S6OATDZXJVJNAVCNFSM6AAAAABOPE54S2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRQGA4TQOBYGU
.
You are receiving this because you were mentioned.Message ID:
@.***>


OS: 12891717 Missing conversion for CopyOnAccess Array on ForInObjectEnumerator

We get copyonaccessnativeintarray when ForInObjectEnumerator. This happens when we are at proxy. Fixed that by converting that array to normal native int array.

@suwc @kunalspathak please have a look.

:shipit:


Write a Scala program to find area of a right angled triangle

Description
Write a Scala program to find area of a right angled triangle
Area of right angled triangle = 0.5 × Base × Height
Base   : 2
Height : 3

Area : 3

How to contribute

Save the solution in findAreaOfARightAngledTriangle.scala file
Add findAreaOfARightAngledTriangle.scala file in find-area-of-a-right-angled-triangle folder

!assign

Hey @Chirag8023,
This issue has been assigned to you for more than 15 days.
We are unassigning you from this issue.
If you are still interested in contributing to this issue, please get auto-assigned on the issue by commenting !assign again.
Thanks for your contributions :)

!assign

Hey @esivakumar18, this issue is already assigned to @anandfresh !!!
Please choose another issue.
Thanks for your interest in contributing to this project.


Software template builtin action publish:azure provides wrong repo url

The publish:azure action  provides wrong output parameter of the published repo URL which leads to an error during catalog:register action
Expected Behavior
A newly created component should be registered in the catalog.
Current Behavior
Getting the following error during the register step.
2021-03-25T21:49:19.000Z InputError: No integration found for host https://xxx.visualstudio.com/test/_git/backstageexample
    at Object.handler (webpack-internal:///../../plugins/scaffolder-backend/src/scaffolder/actions/builtin/catalog/register.ts:90:17)
    at TaskWorker.runOneTask (webpack-internal:///../../plugins/scaffolder-backend/src/scaffolder/tasks/TaskWorker.ts:147:24)
    at async eval (webpack-internal:///../../plugins/scaffolder-backend/src/scaffolder/tasks/TaskWorker.ts:58:9)

Possible Solution
The creation of the repoContentsUrl should consider the new Azure DevOps domain dev.azure.com. Currently, the legacy one (xxx.visualstudio.com) is being used despite providing the dev.azure.com as the host.
Steps to Reproduce
Use the following template.yaml
apiVersion: backstage.io/v1beta2
kind: Template
metadata:
  name: pythonapi
  title: Create Python API
  description: scaffolder v1beta2 template
spec:
  type: service

  parameters:
    - title: Fill in needed information
      required:
        - name
      properties:
        name:
          title: Name
          type: string
          description: Unique name of the component
          ui:autofocus: true
          ui:options:
            rows: 5
    - title: Choose a location
      required:
        - repoUrl
      properties:
        repoUrl:
          title: Repository Location
          type: string
          ui:field: RepoUrlPicker
          ui:options:
            allowedHosts:
              - dev.azure.com

  steps:
    - id: fetch-base
      name: Fetch Base
      action: fetch:cookiecutter
      input:
        url: ./template
        values:
          name: '{{ parameters.name }}'

    - id: publish
      name: Publish
      action: publish:azure
      input:
        allowedHosts: ['dev.azure.com']
        description: 'This is {{ parameters.name }}'
        repoUrl: '{{ parameters.repoUrl }}'

    - id: register
      name: Register
      action: catalog:register
      input:
        repoContentsUrl: '{{ steps.publish.output.repoContentsUrl }}'
        catalogInfoPath: '/backstage.yaml'

Context
Your Environment

NodeJS Version (v12): v14.15.5
Operating System and Version (e.g. Ubuntu 14.04): macOS 11.2.3 (20D91)
Browser Information: Edge Version 89.0.774.57

I wanted to create a PR but it seems I don't have the rights to write?
ERROR: Permission to backstage/backstage.git denied to nadworny.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

@nadworny youll need to fork the project and create a PR from the fork on GitHub

Thanks, just created. Do I need to somehow link this to the PR?

@nadworny You just did simply by putting the URL or number when you opened it 😁


Add content handler to gzip chain

Problem:
Monitoring would break on certain browsers because header was not being.
Solution:
Set use content handler in gzip chain. This handler will properly set content type header when necessary.
Refactor of:
https://github.com/rancher/rancher/pull/19497
Issue:
https://github.com/rancher/rancher/issues/19507

LGTM


onClose function works twice

I found that onClick function wotks twice - first time when datetime picker close, second time when input field lost focus.

Any updates on that? I have got the same issue that onClose is called twice.

Any updates on this one?
Initially when I set the value and click done, everything is fine.
Once I try to edit the value, I click done and it calls onClose, while keeping the new value (Which is great).
Now on any other mouse click anywhere on the page, the OnClose is called again and it reverts the value back to what it was before the edit.
Any help would be highly appreciated.


Moved models into assets folder. Added font, created basic theme and …

…example menu

Changes:

Added a basic theme
Added font to theme
Modified button theme for normal, hover and pressed button
Added basic menu (no functionality) for demo
Moved models into assets folder


turbomodule/core/TurboModuleUtils.h: No such file or directory

Description
I can't build my company's 0.65 project after upgrading xcode to 14.3 today.
however I can build my personal 0.69 project.
I can't solve even after removing cache folders and npm modules.. Pods...
React Native Version
0.65.3
Output of npx react-native info
System:
OS: macOS 13.0.1
CPU: (12) x64 Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
Memory: 150.35 MB / 16.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 18.15.0 - /usr/local/bin/node
Yarn: 1.22.19 - /usr/local/bin/yarn
npm: 9.5.0 - /usr/local/bin/npm
Watchman: 2<IP_ADDRESS> - /usr/local/bin/watchman
Managers:
CocoaPods: 1.12.0 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 22.4, iOS 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4
Android SDK: Not Found
IDEs:
Android Studio: 2021.3 AI-213.7172.25.2113.9123335
Xcode: 14.3/14E222b - /usr/bin/xcodebuild
Languages:
Java: 11.0.11 - /usr/bin/javac
npmPackages:
@react-native-community/cli: 6.0.0 => 6.0.0
react: 17.0.2 => 17.0.2
react-native: 0.65.3 => 0.65.3
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found
Steps to reproduce

Upgrade Xcode to 14.3
rebuild project based 0.65

Snack, code example, screenshot, or link to a repository

I can't understand why xcode is trying to find ReactCommon/turbomodule/core/TurboModuleUtils.h not ReactCommon/react/nativemodule/core/ReactCommon/TurboModuleUtils.h

duplicate https://github.com/facebook/react-native/issues/36739


[1.1.x] Graphite release 1.1.5 | Changing release date

Backports the following commits to 1.1.x:

Graphite release 1.1.5 (#2402)
Changing release date (#2402)

Codecov Report

Merging #2403 into 1.1.x will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##            1.1.x    #2403   +/-   ##
=======================================
  Coverage   79.79%   79.79%
=======================================
  Files          85       85
  Lines        8910     8910
  Branches     1906     1906
=======================================
  Hits         7110     7110
  Misses       1537     1537
  Partials      263      263

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 54515b9...5594294. Read the comment docs.


Upgrade test application to Sylius 1.12

Upgrades test application to Sylius 1.12
Upgrade Github Actions to include newer versions

@loevgaard Thanks a lot for the extensive feedback. I did the adjustments as requested :)


Can we make a new release?

Currently the released version still locks the ruby version to Ruby (~> 2.4). Master branch has this solved, but it's preventing sandbox creation on Solidus master currently,

I'm also facing the same issue, do we have a release planned anytime soon?

ping @kennyadsl

Done, thanks for pinging me!


Publich the package using the provenance flag

coverage: 100.0%. remained the same
when pulling 0de665b122fe5df227d47f9f1133148b194e92a1 on publish_package_using_provenance_flag
into 551d0c8b39c34eff15e9872ebc949d08c29cad84 on master.


OS X user interface via Apple Screen Sharing extremely slow when docker container is running

Expected behavior
user interface response does not change whether docker container is running or not
Actual behavior
user interface response via apple remote desktop extremely slow when docker container is running (overall CPU usage < 10%).
Information about the Issue
OS X 10.11.5

Apple Apple screen sharing (VNC)
This seams to be the case with apple screen sharing (VNC) only. When accessing server via e.g. TeamViewer UI response does not change whether a docker container is running or not - Docker Version 1.11.1-beta12 (build: 7528)
UI response/performance returns to normal when container is stopped or kinematic is shut down (with container still running)

Steps to reproduce the behavior

start any docker container

Looking at the steps you provided, having any container started is causing this. I run containers 14/5 on my laptop and havent' had this issue.
You're providing some information about Apple VNC, can you be more specific about what's actually happening, exact steps to reproduce (setup VNC as server or client? install teamviewer? what exact image are you using, etc?)

The issue only appears when connected to the host via Apple Screen Sharing.
Just to be clear: the containers run fine it's just kinematic that somehow
impacts the UI response...
On Mon, May 23, 2016 at 3:14 PM French Ben<EMAIL_ADDRESS>wrote:

Looking at the steps you provided, having any container started is causing
this. I run containers 14/5 on my laptop and havent' had this issue.
You're providing some information about Apple VNC, can you be more
specific about what's actually happening, exact steps to reproduce (setup
VNC as server or client? install teamviewer? what exact image are you
using, etc?)
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/docker/kitematic/issues/1689#issuecomment-221063525

It's possible that some of the rendering done with Kitematic impacts the speed of refresh.
This is unfortunately out of scope.

What exactly do you mean with "out of scope" - docker builds a user interface for OS X that is not usable in a distributed environment ? Or do I miss something here ?

Running Kitematic through an Apple VNC and mentioning that the refresh rate of the VNC is an issue with Kitematic seems to be a bit far-fetched IMHO.
Kitematic is a desktop management tool - If you're looking for a remote management tool, there are other products that can do this for you; Docker Cloud is one of them and manages 1 node for free

Just wanted to try and give some more information with this. Docker or the VM isn't an issue here, with both installed and running Apple remote desktop (ARDP) is responsive. However as soon as you launch the kitematic UI into the foreground, ARDP is literally unusable. For remote servers this isn't a great experience.
You can mitigate the problem by launching kitematic, starting / edit any configuration needed, then minimise or close the window, ARDP will be normal after it's off the screen. - But you have to be quick, the longer the UI is in the foreground, the more screwed you are.
Just because this bug is only highlighted when using ARDP or VNC clients, doesn't mean there isn't an issue when using the application locally, its probably just masking the issue.
I can record a video if that will help to debug the problem, but It looks like you are aware that your rendering is (probably) non-standard.
kitematic v0.10.4


DHT module should use the blocklist

Currently, the DHT module has no notion of blocklists, so it will connect to any IP when doing lookups and announces.
The blocklist feature works correctly for determining whether to connect to a given peer.

Great news! It turns out that peers discovered via DHT are already being checked against the blocklist. This makes sense because we're calling the same _addPeer function that the tracker client calls when it discovers new peers. I added a test to confirm and preserve this behavior.
To use a blocklist, just specify it on the command line with --blocklist or pass the blocklist option to the WebTorrent constructor.

So, we'll block bad peers discovered via the DHT, but what if a bad peer is a DHT node? Currently, we still talk to them (add them to the routing table, announce to them, etc.).
This would be easy to fix, but after reading this huge thread on the Transmission tracker, and this research paper on the problems caused by non-transitive connectivity in DHTs, I'm hesitant to use the blocklist on the DHT internals, lest we mess it up for everyone.
@fisch0920, @jhiesey, @mafintosh: If you have free time and care to dig into this issue (by reading the Transmission thread linked above), I'd value your opinion on this issue. My current thought is to not use the blocklist internally in the DHT. The truly paranoid can always disable the DHT (and I think many tutorials recommend this). But I could be convinced otherwise.

You can take a look at torrent-live findspies and Monitoring and blocking the bittorrent monitoring spies but the study is undisclosed for now.
Talking about the DHT only, the dangerous spies are not those that you encounter in the DHT, because the messages sent do not prove anything (someone could have spoofed your ip), except maybe when you announce since the token mechanism and the check of your IP is more difficult to fake, this might depend on countries but as far as I know it's not enough to prove anything neither, the proof for the monitors is when you connect to them and start the bittorrent handshake, which is deemed by the spies to be enough while it's not since they usually don't answer correctly.
So, the dangerous spies are those returned as 'values' to get_peers request, they will be blocked by _addPeer
For PEX/client exchange we don't care I think, it's too easy to fake to prove anything.
So I would say that the blocklist is not necessary in the DHT but some might still worry and want it, although it's useless.
Beside blocklists, a good method to protect more privacy, detect, avoid and block the spies is the one described in the findspies link above, this makes the probability to be caught by a dangerous spy quasi null.


Normalize expiration/time settings to use seconds

An attempt at fixing #622. Saw that you were assigned but since there hasn't been any activity on the issue since July 2018 I thought I'd have a stab at it 😄
Let me know if I went too far with the contract-breakage. Tried to be consistent across the code-base with names of variables/parameters for expiration and timings.
Tested using the VanillaJS-sample project and tests are ok.

Nice, thanks. The biggest reason I didn't do anything on this is because it would be a breaking change. So unfortunately I can't merge this in until I am planning/working on a 2.0. Gosh I would love that to be soon... but I don't think so.

I understand and no worries, I’ll update the branch when the time comes 👍


Fix memory leaks when updating 3d scene

We need to dispose materials and geometries when removing objects from the scene

We also have memory leaks when switching from a context to another

[ ] Fix memory leaks when updating objects
[ ] Fix memory leaks when switching contexts

Fixed with d304ee24a6590ea4ab7c755abc11c545aac4089c 3d78ee94196e312702ddce2d42bced697fae917b 5907ac2d5f30feb0d393b35427017417f8c465e6 ab78a731c35c471d839b69fa1ad16f8f2b618ce6 7288bd74e7dc6abb828ae56ff7ce1a0caaf21f31


Added permuting two arrays(HackerRank problem)

@pratikj697
Your PR has been successfully merged Thank you so much for your valuable contribution. Do give a star to the repo if it helped you and check other repo too for more contributions. Keep hacking


Unable to start on Marshmallow

java.lang.RuntimeException: Unable to start service com.codemonkeylabs.fpslibrary.service.FPSService@6be9f23 with Intent { cmp=my.cool.app/com.codemonkeylabs.fpslibrary.service.FPSService (has extras) }: android.view.WindowManager$BadTokenException: Unable to add window android.view.ViewRootImpl$W@d29dcdd -- permission denied for this window type

Right marshmallow and stuff.  Will add permission request.

You can enable that permission on your  own through settings fyi...http://stackoverflow.com/questions/32061934/permission-from-manifest-doesnt-work-in-android-6
I'll add something to the Readme as well as implement the programmatic hack later today.

@ursusursus are you developing a lock screen app by any chance?

@ursusursus i just committed the fix and will bump up our revision number.  Please let me know if it still does not work.  Thanks!!


Color changes made by an E2 are not copied by the duplicator tool

It's a pretty simple to explain bug, and it's entirely possible the fault is in gmod/duplicator and not wire, but I can't prove that so I figured I'd post about it here in the event it is something fixable.
Title pretty much says it all, if you color a prop using an E2 chip and later try to copy and paste that prop with the duplicator tool the color changes do not copy with it, it is instead pasted with it's original coloring.
I've tried it on a prop spawned by an e2 chip, a prop I spawned from the Q menu, and another prop spawned from the duplicator tool.
I've tried E:setColor(V), E:setAlpha(N), E:setColor(N,N,N), E:setColor(V4), and probably one or two others of the setcolor/alphas, none of which have worked at all, (Set alpha doesn't copy either, not just RGB color)
And I've tried the built in duplicator tool from Gmod as well as Advanced Duplicator 2 and 1, none of them copy the colors on the prop
I originally found the bug on a multiplayer server but also tested it further in single player to confirm there was no weird addons from the server causing it to behave differently.
The code I ended up testing with mostly was just a simple one line e2 to change color:
@name ColorChanger
entity():isConstrainedTo():setColor(255,0,0)

I'd place the chip on the prop to change it's color, then undo (tried remover tool as well) the e2, and then copy it with duplicator and paste it to see if it would come out as red (or whatever color), never got it to work once
And I realize that if I duplicate the e2 I can have it recolor the prop but the original e2 I was writing when I ran into this bug will not work for that (I was trying to use the color of a prop as a sort of storage when a contraption was copy/pasted)
Also, yes, I tried just changing the color of props with the color tool and it did copy correctly, which is mostly why I assume this is a wire/E2 bug and not a Gmod/duplicator bug.

Yeah, I don't think e2 writes the color or material duplicator modifier to the object. It's kind of dumb imo that color and materials need a modifier anyway, but shouldn't be too hard to add it.

I'm glad to hear that, if it's not too hard to fix I'd certainly appreciate it then ^.^,

Does advdupe capture colors without someone explicitly a modifier?
If so, maybe that should be removed in order to align its functionality with garrydupe more

This is not only true for colors, but for anything that can be duplicated. Materials, etc. Tons of things. E2 doesn't save these things because it would add a lot of additional overhead, and it's pretty easy to re-apply them in if (first()) {. That said, it still might be a good idea to add this feature, I'm not sure.

Well, my opinion on if it's worth it is biased, I think it would only be uses for purposes like I was trying to use. I was trying to store data using the color of a prop as the 'index' and it's position relative to the e2 chip as the 'value' stored (holding a single byte), I was hoping to make it easy to copy/reuse, especially for people who aren't familiar with e2, though I suppose I can do this using just position instead if it's never added.
I'm not sure if you meant overhead in terms of processing time, or memory taken, but if you meant the first, a slightly more logical reasoning behind why this could be added:
In general adding extra lines into color changing code is less impactful than say, applyForce, or arithmetic functions.
Either A) A chip will only use setColor/Mat/Alpha one time (per entity), and it won't make a huge difference except in the if(first()){
or  B) The chips that will call setColor many times per second are generally joke/ 'rave' like things where changing colors rapidly is their only purpose, and the chip isn't responsible for much else, meaning it won't be limiting how much else the chip can do anyway.
applyForce and similar functions by comparison are regularly called every tick, sometimes more, and when they are it's in chips which do a lot of other calculations and features, so adding overhead to them is significantly worse
Just an argument for why adding additional lines to setColor would be one of the most tolerable ways to add overhead.
However admittedly, pretty much anyone who posts here knows much better than I do how impact a change like this would be and whether it would be for the better or not.

This is still not solved. Got the same issue

This is still not solved. Got the same issue

It has been explained why this isn't the current behavior, without any more discussion it was lift to die.

Well @nighthawk475's use case is broken. He should have used that dupable HDD thing i think @Divran added a while back.
@KiralyCraft Is your use case better than that?

@Divran, is this issue still open because you might still considering implementing the solution? I believe the project I'm working on could really use it.
The E2 allows the owner to build a house. For example: A holo "ghost" of a floor panel ( simple hunter plate prop ) is translated around the map by aiming and walking. The owner may spawn the panel by pressing the preset key ( E ) and propSpawn() places a matching physical entity.
I'm relying on the E2 to setColor() and setMaterial() of the spawned entity. I want the owner to be able to use advdupe to save the creation and paste with the color and material attributes intact.
Without being able to permanently set the color/material, I think I'd have to come up with a pretty heavy workaround that seems like a more expensive solution altogether. Perhaps there's a clever, inexpensive workaround that I'm not considering?

It's still open because it was forgotten. I dunno how much overhead the duplicator modifier function adds

Ok well if it would still be considered, I'd really like to see this implemented. Duplicator can copy entity skin index and bodygroup index... but not color or material (and I guess also alpha?) It really feels like a bug more than anything else.


feat: added management port configuration (#867)

Fixes #867

If 'managementPort' is not specified, it will use 'metricsPort' as the default.
Removed the reference to 'MetricsPort' and added 'ManagementPort' in the 'core/pkg/runtime/from_config.go' file to align with the updated configuration structure.
Seeking assistance to incorporate a deprecation warning.

Once the above is done, we need to release the core module. Then you can follow up on the flagd & flagd-proxy changes (with dependencies updated). This will look like what you already started with flagd/cmd/start.go file 3. But this needs to be done from a dedicated PR.

It's true that the modules are published separately, but in the same workspace they use the local version - so all these changes can be made at once (unless I'm quite confused).

Hi @Saurabhkr952, is this something you're still interested in working on? If so, do you need any help for us?

Closing due to inactivity.


Shaders

See a way to integrate shaders.

just to ask. you the shadertool class. how do you use it properly. or is this not being worked on?

The ShaderTool class is being used in the shader filters. It is class to create custom shaders to use with kha.Graphics2. The class is very portable, there is nothing specific to Sdg there. With Graphics2 you can use three types of shaders, one shader for images, other for color(used in shapes), and other for fonts (there is also another for video). You can see here:
https://github.com/Kode/Kha/tree/master/Sources/Shaders (the painter-*.frag.glsl shaders)
So in ShaderTool.createPipeline() you pass one of the these 3 constants:
ShaderTool.IMAGE_SHADER
ShaderTool.COLOR_SHADER
ShaderTool.FONT_SHADER

And the custom fragment shader. The class then create the correct pipeline for you, with the parameters that are used in Kha. And then you create the code for the parameters used in your shader. I just copied from the Kha source how the shaders are constructed in Graphics2. You will also need to create a fragment shader with the same parameters that are in the original shaders (the painter-*.frag.glsl files). With the pipeline created you apply this way:
g2.pipeline = pipeline;
g2.drawImage(image, 0, 0);
g2.pipeline = null;
There is a example here:
https://github.com/RafaelOliveira/Sdg/blob/master/Sources/sdg/filters/DotScreen.hx
To use this class in Sdg, you create a pipeline with the class, then, in a class extended from Object, you do this:
override public function render(canvas:Canvas, cameraX:Float, cameraY:Float):Void
{
	canvas.g2.pipeline = pipeline;
	super.render(canvas, cameraX, cameraY);
	canvas.g2.pipeline = null;
}

the pipeline is applied before the drawing.
I will write about this in the wiki (with a more complete code), and also a documentation about how to use Sdg in general.

Also, I had an idea (just now) about how to integrate the shaders. I will add a pipeline parameter to the class Object, the pipeline will be applied in the render if is not null. And you can create the pipeline with the ShaderTool.

cool spot. thanks man


v2: role "group" on buttons

I'm not so sure if this is useful. This is totally against good UX.

@gp-slick-coder, do you recommend updating the docs? Or removing the feature (not possible now to avoid a breaking change).
I guess it could be useful for a group of related actions, like:

Ah, yes, I get it.
I think this style looks broken/buggy:

I still prefer this style:
https://github.com/picocss/pico/assets/23470684/22d4f091-ae76-4ffb-b09f-308fa256126d
But I'm open to a better solution.

What about something like this where the whole border of the button in the group is shown instead of a broken border?
https://github.com/picocss/pico/assets/29676413/89a7a896-9dbb-45a0-8043-77d330ec6343
Example from:
https://stackoverflow.com/a/67756667

I am having overflow problems on mobile

The third button of the group leaves the container

The issue with the button group overflowing seems to be due to this style rule setting a new horizontal padding of 2rem, which overrides the original horizontal padding of 1rem.
[role=group] [role=button], [role=group] [type=button], [role=group] [type=submit], [role=group] button, [role=search] [role=button], [role=search] [type=button], [role=search] [type=submit], [role=search] button {
    --pico-form-element-spacing-horizontal: 2rem;
}

It seems that keeping the padding at 1rem still looks decent while allowing the display to get as small as 306px (smaller than an iPhone SE at 375px) without any overflow issues. See attached screen recording
https://github.com/picocss/pico/assets/29676413/b890334b-ee98-4a64-a8a6-733d735b8bc4


In Pydantic v2, v1.BaseModel objects do not validate properly as fields of v2 models

Initial Checks

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

Description
As we have migrated to pydantic 2, we have discovered that when other libraries (outside our control) use v1.BaseModel to accomplish pydantic 2 compatibility, that these models do not validate properly as fields of our native pydantic 2 models.
We have worked around this by adding an annotation around use of v1 models in v2 that implements the correct validation logic, but it would be nice if it worked natively.
Example Code
from pydantic.v1 import BaseModel as BaseModelV1
from pydantic import BaseModel
class A(BaseModelV1):
    pass
class B(BaseModel):
    a: A

B(a=A())

# Workaround:
from pydantic import PlainValidator
from typing import Annotated
class C(BaseModel):
    a: Annotated[A, PlainValidator(A.validate)]
C(a=A())

Python, Pydantic & OS Version
pydantic version: 2.6.3
        pydantic-core version: 2.16.3
          pydantic-core build: profile=release pgo=true
                 install path: /isilon/home/pt10597/.conda/envs/ccrt39-0.9.0/lib/python3.9/site-packages/pydantic
               python version: 3.9.18 | packaged by conda-forge | (main, Aug 30 2023, 03:49:32)  [GCC 12.3.0]
                     platform: Linux-4.18.0-372.9.1.el8.x86_64-x86_64-with-glibc2.28
             related packages: typing_extensions-4.10.0 fastapi-0.110.0 pydantic-settings-2.2.1 mypy-1.7.0
                       commit: unknown

@ptomecek,
Thanks for your question. As reported in the migration guide:

Mixing of V1 and V2 models is not supported which means that type parameters of such generic BaseModel (V2) cannot be V1 models.

Also, see this duplicate issue where we updated the docs to reflect this: https://github.com/pydantic/pydantic/issues/7637

@sydney-runkle My apologies! I had skipped that part of the docs at the time as we weren't planning to use v1 models, but clearly  it's relevant now that we have dependencies that do.


chore(main): release 1.0.1

:robot: I have created a release beep boop
1.0.1 (2024-11-25)
Bug Fixes

adds .nvmrc file (301ab81)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v1.0.1
:sunflower:


Add margin to Add note button, box shadow to notes

Hi, can you please assign this issue?

assign me


Add region tags for writing timeseries

Current coverage is 70.34% (diff: 100%)

Merging #484 into master will increase coverage by 20.66%

@@             master       #484   diff @@
==========================================
  Files            82          2     -80
  Lines          2685        172   -2513
  Methods           0          0
  Messages          0          0
  Branches        201          4    -197
==========================================
- Hits           1334        121   -1213
+ Misses         1305         50   -1255
+ Partials         46          1     -45

Powered by Codecov. Last update 5cb0935...8328fe2


Create Dockerfile

@mudaliar20 Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

Thanks for the PR but adding a Dockerfile was already discussed and declined, see #339.


CEEC change token icon

CEEC need  to change token icon
It's from Travel Network project.

Please use your own cmc_id, we are using it to sync coin price.

You can find your cmc_id from https://api.coinmarketcap.com/v1/ticker/?limit=0

i cannot find my token info in  https://api.coinmarketcap.com/v1/ticker/?limit=0.
CEEC is a new Token.


Transform / Translate make the popup (text) blur

Hi,
I like the plugin for map but i have few issue and the main one is with this line
https://github.com/giorgiabosello/google-maps-react-markers/blob/d258557ab1c91326ef384032c725d8f80fe8d4ef/src/map/overlay.js#L35
The Transform and Translate make the text go blur and the best way is to use top and right instead of it

How come text become blur because of the transform?
This line is suggested directly from Google.

hi
in overlay the transform transform the pin and I have a custom pin and custom hover card
the transfrom translate get the pin and card to the correct position and the blur bug is known bug that make the text get blur after
https://css-tricks.com/forums/topic/blurry-text-in-chrome-and-opera-with-css-transform/

hi
in overlay the transform translate the pin and I have a custom pin and custom hover card
the transfrom translate get the pin and card to the correct position and the blur bug is known bug that make the text get blur after
https://css-tricks.com/forums/topic/blurry-text-in-chrome-and-opera-with-css-transform/

I'm going to give it a check next week. :)

ok Thinks Maybe i can make a pull request if i have a fixe if you don't mind

@T-Nagui yeah, sure.

Hi Giorgia, I was thinking about contributing to the google-maps-react repository, but since that seems to not be mantained anymore, can I contribute in this project?

@white-wolf97 any help is appreciated. :)


Caching of rates lookup.

Currently at least 2 database queries are performed for each currency conversion. This means that using django-money-rates for some tasks becomes infeasible, for example converting a large number of money amounts into a canonical currency so that they can be sorted according to true value.
With the current setup where rates are updated via a cronjob I don't think there would be a particular disadvantage in caching the results for 60s however possibly a more robust solution would be to use a configurable rates source backend which could be over-ridden to allow someone to add whatever caching logic they require.
At the moment I'm simply monkey patching the relevant functions:
djmoney_rates.utils.get_rate = memoize(djmoney_rates.utils.get_rate)
djmoney_rates.utils.get_rate_source = memoize(djmoney_rates.utils.get_rate_source)

Let me know if you have any thoughts or questions.
Thanks,
Mike

+1 to this.  Mike - can you share the memoize function are you using?
Thanks,
Dave

Hi Dave,
We our own version of memoize which uses the django cache framework with the django.core.cache.backends.locmem.LocMemCache backend which allows us to have a timeout, but django.utils.functional.memoize will work and should give you somewhere to start if you need similar functionality.
Regards,
Mike

+1

We are doing the same:
Our cache function, which uses the Django cache backend but is generic for all kinds of functions:
from django.core.cache import cache as _djcache
from hashlib import sha1

def cache_results(seconds=900):
    """
    Cache the result of a function call for the specified number of seconds,
    using Django's caching mechanism.

    Assumes that the function never returns None (as the cache returns None to
    indicate a miss), and that the function's result only depends on its
    parameters. Note that the ordering of parameters is important. e.g.
    my_function(x = 1, y = 2), my_function(y = 2, x = 1), and my_function(1,2)
    will each be cached separately.

    Usage:

    @cache_results(600)
    def my_expensive_function(param1, param2, paarm3):
        ....
        return expensive_result

    """
    def do_cache(f):
        def x(*args, **kwargs):
            key = sha1(str(f.__module__) + str(f.__name__) + str(args) + str(kwargs)).hexdigest()
            result = _djcache.get(key)
            if result is None:
                result = f(*args, **kwargs)
                _djcache.set(key, result, seconds)
            return result
        return x
    return do_cache

The monkey patch:
djmoney_rates.utils.get_rate = cache_results(100)(djmoney_rates.utils.get_rate)
djmoney_rates.utils.get_rate_source = cache_results(100)(djmoney_rates.utils.get_rate_source)

It's difficult to know exactly how this functionality should be integrated into django-money-rates.


closes #28 Increase coverage for config

Codecov Report

Merging #29 (129ed1d) into main (8a2c0b8) will increase coverage by 6.54%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #29      +/-   ##
==========================================
+ Coverage   91.58%   98.13%   +6.54%
==========================================
  Files           4        4
  Lines         107      107
==========================================
+ Hits           98      105       +7
+ Misses          7        1       -6
+ Partials        2        1       -1

Impacted Files
Coverage Δ

internal/config/config.go
100.00% <100.00%> (+63.63%)
: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 8a2c0b8...129ed1d. Read the comment docs.


Unable to install PiML in Python Version 3.8.8

Python 3.8.8
ERROR: Could not find a version that satisfies the requirement PiML
ERROR: No matching distribution found for PiML

Hi @indraabin, could you tell which platform you are using, Windows, Mac, or Linux?

Windows.

Windows.

Your anaconda is 32-bit or 64-bit? Note that we don't support 32-bit.

I am using 64 bit only (Jupyter Notebooks)

Hi @indraabin ,
I also encountered this error with an old version of pip.
You may need to upgrade your pip to the latest version via "pip install pip -U", and then run "pip install piml".

Thanks @ZebinYang


acme: fix test

Description of changes
See https://github.com/NixOS/nixpkgs/pull/333952

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

@ofborg test acme

Seems like the aarch64 test still failed, but the x86_64 one succeeded.
I'm running the aarch one locally, but it's incredibly slow due to lack of hardware acceleration.

That's a known flake.


Unable to resolve module ./calendar/service/date.service

💬 Question
I am not using any calendar component in my expo project but it

is showing me this:
Unable to resolve module ./calendar/service/date.service from @ui-kitten\components\ui\index.js:
UI Kitten and Eva version

Package
Version

@eva-design/eva
2.1.1

@ui-kitten/components
5.1.2

I have the same problem recently after clearing cache and a clean npm install.

@mleungwsu can you please confirm, that development server was started? according to error it might be that it was not. did you executed expo start command?

Yes I did start the sever

@imoempire is it possible to share some sample project where we can try to reproduce the issue? for now it looks that it might be some local issue with dependencies/imports, not sure how can I help at this stage


feat: add aminoPrefix to cancelOrderMsg

:tada: This PR is included in version 4.0.5 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Pushshift Reddit Benchmark Integration

To better plan and have an overview of the tasks still open to implementing the Pushshift Reddit benchmark I ask you to go through the following functions with regard to the Pushshift Reddit benchmark integration into our testing infrastructure:

[ ] Think and conceptualise what parts of the infrastructure would have to be adjusted to enable the Pushshift Reddit benchmark (in my opinion the parts of the infrastructure that need to be adapted are storage and trainer but please think through your benchmark in relation to our infrastructure because there might be additional parts that need changes to accommodate your benchmark)
[ ] For each part that needs to be adjusted create an issue with the labels workflow/backlog and enhancement or documentation depending on the nature of the adjustment (please don't forget to create issues for documenting what you are doing/adding) and the milestone Pushshift Reddit Benchmark Integration

I know that without the underlying architecture fully implemented that these issues will rather be high level but we can refine them later on without issues, it's just good if you are already thinking about how your contribution fits with the architecture.
If you have any questions please feel free to contact me :)

@MaxiBoether I think we might as well close this issue as well? I think Olga is tracking this in new PRs? And this was meant as a meta issue to create the correct issues which was never really done?

Is Olga tracking this in new issues? #101 is set to solve this issue here, right?

@OlgaOvcharenko If you're already tracking this please feel free to close this issue.


fix the c of the attenuator triples needs to be 1

Context: Bug fix of the triples for attenuator
Description of the Change: c=1.0 for attenuator
Benefits:
Possible Drawbacks:
Related GitHub Issues:

let's first triple check the theory

Ok, I verified, I'm happy now :)


HTTP Error when running open_netcdf in Vol_1_single_file_example-checkpoint-checkpoint.ipynb

Could you assist with how to go about this?
I've been running the notebook vol_1_single_file_example-checkpoint-checkpoint.ipynb in the ARSET Folder. However, when I get to running the open_netcdf function, I get a HTTP Error with 302 as the status code claiming the document has been moved.

Was helped. Thanks


accessing the prpos from another function

Great tutorial !!  built with basic features but following best practice.
In the https://nextjs.org/learn/basics/data-fetching/implement-getstaticprops, it says :

Once this is set up, the allPostsData prop will be passed to the Home component. To see this, modify the component definition to take { allPostsData }:

Looks like Next pass the props to the default component, but Is there a way to access the props from other functions other than passing around the props or define another cosnt?
Here is my intension :
import Head from "next/head";
import Layout, { siteTitle } from "../components/layout";
import utilStyles from "../styles/utils.module.css";
import { getSortedPostsData } from "../lib/posts";

export async function getStaticProps() {
  const allPostsData = getSortedPostsData();
  return {
    props: {
      allPostsData,
    },
  };
}

const showPosts = (allPostsData) => {
  return (
    <section className={`${utilStyles.headingMd} ${utilStyles.padding1px}`}>

Blog

        {allPostsData.map(({ id, date, title }) => (

            {title}

            {id}

            {date}

        ))}

  );
};

export default function Home({ allPostsData }) {
  return (
    <Layout home>

        <title>{siteTitle}</title>

[Your Self Introduction]

          (This is a sample website - you’ll be building a site like this on{" "}
          our Next.js tutorial.)

      {showPosts(allPostsData)}
    </Layout>
  );
}

The way you have outlined is correct. You'll need to forward the allPostsData prop from the top-level component Home down to its children.

Closing this with resolution. Please let me know if that doesn't work!


update styling for various elements

This plus https://github.com/cosmicds/hubbleds/pull/488 is my attempt to bring the layout more inline with what we have in the voila version.
I've also made some minor adjustments to the guideline, MC, and FR components so there is sufficient contrast btw text and background in both light and dark modes.

Merging since this is just cosmetic and it will be easier to see where there are problems as we test other things.


eclipses: 2019-12 -> 2020-03

Motivation for this change
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 nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Thanks! Built fine for me. Rebased to master in 05096867a5eeab95310b3dee408fe6802ba9e26b.


Could you please add a LICENSE file?

There are some instructions on how to add a license file to your repository at https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository
If you don't have a preference, I highly recommend using the Apache 2.0 license so that if your project is successful it can be eventually merged into Google's SKY130 PDK. (FWIW Apache 2.0 is Google's preferred license for this type of work - see information at https://opensource.google/documentation/reference/thirdparty/licenses#hardware)

done👍