hey man im clueless can ya help me?

hey man im clueless can ya help me? i have pretty much no expince in python or aconda because i usally work in c#

Hi, I'm happy to help! I wrote some pretty clear instructions on how to get it working at the bottom of the main readme for this repo. If there is something specific you need help with in those instructions, feel free to let me know.

it all sounds like gibberish for me, is there any chance you could send a video of it being set up, it would honestly help so much for me, I tend to learn best that way honestly

I can try to do that next week, but this is a really easy set up with only a few steps that I'm sure you can figure out if you give it some time:

Install Anaconda/Python on your system. (Anaconda includes Python, so this is one easy step)
Download this repo and activate the Python environment that is appropriate for your system.
Download and unzip the models that drive the program
Run the program from the command line

That's really it! I provide specific commands for each step in the readme, but I'm going to do some editing to the readme right now to hopefully make my instructions clearer.

ok thank you

sorry man, turns out I'm an idiot I did it in both python and regular command prompt not realising that I needed to do it in the anaconda one

Ah, yes that is a little tricky. I hope that fixed your problem. If not, I just restructured the installation instructions, so hopefully they're clearer now. Again, let me know if you encounter anymore issues.

i think ive done something else wrong

Ok, I think I see a couple potential issues here.

You may need to wrap your song paths in double quotations or something since the file names have spaces.
The last error says that the package 'librosa' wasn't found in the Python environment (although it looks like it was installed by conda and the top of that page). Can you run this command and tell me if you see librosa listed? conda list

i didnt do the song paths and that in doubtle qoutations because it looks like that was for mac and im on windows 10.
and here us what was outputed when i did "conda list"
packages in environment at D:\python\Anaconda\envs\BSMapSynth-env:

Name                    Version                   Build  Channel
audioread                 2.1.8                    pypi_0    pypi
blas                      1.0                         mkl
ca-certificates           2020.1.1                      0
certifi                   2<IP_ADDRESS>               py38_0
cffi                      1.14.0                   pypi_0    pypi
decorator                 4.4.2                    pypi_0    pypi
ffmpeg                    4.2.2                he774522_0
icc_rt                    2019.0.0             h0cc432a_1
intel-openmp              2020.0                      166
joblib                    0.14.1                   pypi_0    pypi
librosa                   0.7.2                    pypi_0    pypi
llvmlite                  0.32.0                   pypi_0    pypi
markovify                 0.8.0                    pypi_0    pypi
mkl                       2020.0                      166
mkl-service               2.3.0            py38hb782905_0
mkl_fft                   1.0.15           py38h14836fe_0
mkl_random                1.1.0            py38hf9181ef_0
numba                     0.49.0                   pypi_0    pypi
numpy                     1.18.1           py38h93ca92e_0
numpy-base                1.18.1           py38hc3f5095_1
openssl                   1.1.1g               he774522_0
pandas                    1.0.3            py38h47e9c7a_0
pip                       20.0.2                   py38_3
pycparser                 2.20                     pypi_0    pypi
pydub                     0.23.1                   pypi_0    pypi
python                    3.8.2               he1778fa_13
python-dateutil           2.8.1                      py_0
pytz                      2019.3                     py_0
resampy                   0.2.2                    pypi_0    pypi
scikit-learn              0.22.2.post1             pypi_0    pypi
scipy                     1.4.1                    pypi_0    pypi
setuptools                46.1.3                   py38_0
six                       1.14.0                   py38_0
soundfile                 0.10.3.post1             pypi_0    pypi
sqlite                    3.31.1               h2a8f88b_1
tbb                       2020.0               h74a9793_0
unidecode                 1.1.1                    pypi_0    pypi
vc                        14.1                 h0510ff6_4
vs2015_runtime            14.16.27012          hf0eaf9b_1
wheel                     0.34.2                   py38_0
wincertstore              0.2                      py38_0
zlib                      1.2.11               h62dcd97_4
(BSMapSynth-env) D:\mixer\to upload\BeatMapSynthesizer-master\BeatMapSynthesizer-master>

That's only for the case if there are no spaces in the file path you provide. Otherwise, you need to wrap the file path in double quotes, e.g., "C:\Desktop\to upload"
I think that should fix your first problem.
Looking back at the second problem, it looks like you didn't prepend the command to run beatmapsynth.py with python. I'm not sure if that will fix your problem, but try it again with:
python beatmapsynth.py filepath ...

I've semi-fixed the Librosa issue by updating it, and iv managed to get to this point

(BSMapSynth-env) D:\mixer\to upload\BeatMapSynthesizer-master\BeatMapSynthesizer-master>python beatmapsynth.py "D:\music"  "Tsuko G. - Break Free (Official Music Video)" "normal" "rate_modulated_segmented_HMM" "-k 5" --version 1
Loading Song...
Traceback (most recent call last):
File "beatmapsynth.py", line 719, in
beat_map_synthesizer(args.song_path, args.song_name, args.difficulty, args.model, args.k, args.version)
File "beatmapsynth.py", line 50, in beat_map_synthesizer
rate_modulated_segmented_HMM_mapper(song_path, song_name, difficulty, version = version, k = k)
File "beatmapsynth.py", line 499, in rate_modulated_segmented_HMM_mapper
bpm, beat_times, y, sr = beat_features(song_path)
File "beatmapsynth.py", line 182, in beat_features
y, sr = librosa.load(song_path)
File "D:\python\Anaconda\envs\BSMapSynth-env\lib\site-packages\librosa\core\audio.py", line 119, in load
with audioread.audio_open(os.path.realpath(path)) as input_file:
File "D:\python\Anaconda\envs\BSMapSynth-env\lib\site-packages\audioread_init_.py", line 111, in audio_open
return BackendClass(path)
File "D:\python\Anaconda\envs\BSMapSynth-env\lib\site-packages\audioread\rawread.py", line 62, in init
self._fh = open(filename, 'rb')
PermissionError: [Errno 13] Permission denied: 'D:\music'
(BSMapSynth-env) D:\mixer\to upload\BeatMapSynthesizer-master\BeatMapSynthesizer-master>

Ok, looks like you're getting close then, we just need to make sure your command line instructions are correct. Is your music file in the folder "D:\music"? If so, your full command should probably look like this:
python beatmapsynth.py "D:\music\Tsuko G. - Break Free (Official Music Video)" "Tsuko G. - Break Free (Official Music Video)" normal rate_modulated_segmented_HMM -k 5 --version 1

its
python beatmapsynth.py "D:\music"  "Tsuko G. - Break Free (Official Music Video)" "normal" "rate_modulated_segmented_HMM" "-k 5" --version 1
it works well but i get "PermissionError: [Errno 13] Permission denied: 'D:\music""

and i tried yours and got this
(BSMapSynth-env) D:\mixer\to upload\BeatMapSynthesizer-master\BeatMapSynthesizer-master>python beatmapsynth.py "D:\music\Tsuko G. - Break Free (Official Music Video)" "Tsuko G. - Break Free (Official Music Video)" normal rate_modulated_segmented_HMM -k 5 --version 1
Loading Song...
Traceback (most recent call last):
File "beatmapsynth.py", line 719, in
beat_map_synthesizer(args.song_path, args.song_name, args.difficulty, args.model, args.k, args.version)
File "beatmapsynth.py", line 50, in beat_map_synthesizer
rate_modulated_segmented_HMM_mapper(song_path, song_name, difficulty, version = version, k = k)
File "beatmapsynth.py", line 499, in rate_modulated_segmented_HMM_mapper
bpm, beat_times, y, sr = beat_features(song_path)
File "beatmapsynth.py", line 182, in beat_features
y, sr = librosa.load(song_path)
File "D:\python\Anaconda\envs\BSMapSynth-env\lib\site-packages\librosa\core\audio.py", line 119, in load
with audioread.audio_open(os.path.realpath(path)) as input_file:
File "D:\python\Anaconda\envs\BSMapSynth-env\lib\site-packages\audioread_init_.py", line 111, in audio_open
return BackendClass(path)
File "D:\python\Anaconda\envs\BSMapSynth-env\lib\site-packages\audioread\rawread.py", line 62, in init
self._fh = open(filename, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: 'D:\music\Tsuko G. - Break Free (Official Music Video)'
(BSMapSynth-env) D:\mixer\to upload\BeatMapSynthesizer-master\BeatMapSynthesizer-master>

I don't understand where your file is specifically. Did you just name the file "music" and put it in your root folder? Maybe you can send a screenshot of the folder where your music is?

ok give me a sec

Ok, here's another suggestion: use a "drag and drop" approach to get Windows to automatically input the file path for you. So in your Anaconda Prompt, type python beatmapsynth.py then drag the music file to the command line. It should paste in the file path. Then complete the command with the rest of the options.

ok

sadly i got this
(BSMapSynth-env) D:\mixer\to upload\BeatMapSynthesizer-master\BeatMapSynthesizer-master>python beatmapsynth.py"D:\music\Tsuko G. - Break Free (Official Music Video).mp3" "normal" "rate_modulated_segmented_HMM" "-k 5" --version 1
python: can't open file 'beatmapsynth.pyD:\music\Tsuko G. - Break Free (Official Music Video).mp3': [Errno 22] Invalid argument

You're missing a space between beatmapsynth.py and the file path. You'll also need to add an option for what you want the name of the output zip folder to be. Try to copy the structure of the command I provided you earlier

python beatmapsynth.py "D:\music\Tsuko G. - Break Free (Official Music Video).mp3" "Tsuko G. - Break Free (Official Music Video)" normal rate_modulated_segmented_HMM -k 5 --version 1

i think we are almost there copy and pasted it in and got a simple but different and easier error

Did you download and unzip the folder with the models as per the installation instructions?

yep

Ah, I see the problem. You need to move all of those files out of the folder called "HMM_models copy" and into the folder above it called "models"

ah i just extracted the foldere in there my bad

It's ok. I figured it would be an issue. I tried to write the instructions to avoid that, but I guess I need to be more clear.

no its my bad i tend to rush read these sorta things, thanks for helping me today, i going to try out the song now

No worries! You're actually helping me to make sure all of my instructions are very clear! Plus reinforcing the need for an easier to set up program!
Enjoy! Let me know how it worked for you! I generally suggest that people map the same song a few times and keep the one you like the best.

yeah im gonna try it now wish me luck

well it works great, the mapping is good the flow of the blocks is amazing, the only problem is the easyness of it but i guess i did put it on normal, ill link you the go i had

https://www.twitch.tv/videos/615250305, I'm gonna go get some shut eye, thank you for the help again. , can i suggest contacting the beat saber modding community on discord about adding it into that, because with more people and a launcher i believe this could be next level honestly. thanks again

Thanks for recording it! I'm glad we got it working.
Are you suggesting that it's too easy on normal? I generally play on expert/expert+, so it's hard for me to evaluate how easy the easy and normal levels are. I've been meaning to reach out to that community for several reasons, mostly so I can get more people testing the levels.

genrally its just not enough blocks to be considered a challenge in all honestly

also if i restart the acaonda stuff do i have to redo the whole thing or just parts of it

Thanks for the feedback!
And good question. You'll just need to navigate to the BeatMapSynth folder again and reactivate the BSMapSynth-env by running this command: conda activate BSMapSynth-env. From there you can use it just like you did earlier!

ok thank you, i was trying to redo it all

i tried to make the song on a diffrent difficulty but then tis came up

You need to fix the command. It has to follow a very specific sequence:
python beatmapsynth.py "path_to_song_file" "Name of Song" difficulty_level model -k 5 --version 1
If you have anything extra, missing (except the last two arguments which are technically optional), or in the wrong order, it won't work.
Think of it this way: you're starting the command by saying you want to run something in python. Python then needs to know what it's executing, which is the beatmapsynth.py file. The beatmapsynth.py script needs four pieces of information: the song file, what name you want the output to be, the difficulty level, and which model to use. So every time you want to run the program, you have to say "hey python, run that script called beatmapsynth.py with these arguments."
I know it's not very user friendly and I'm sorry about that, but as long as you make sure to follow that template above every time you run it, it should work. If your command doesn't look like that then it will fail. If you find that your command is written correctly and it still isn't working, then please do let me know.

Is there a way to make the levels harder, because it all seems really easy no matter the difficulty?

You can try a couple of different things:

You can choose a higher difficulty level, which sounds like you've already done.

You can try changing the rate probabilities in the code to make the rate modulated HMM more likely to produce songs with a higher number of blocks per beat.

In the beatmapsynth.py file, you'll find a function called "choose_rate." It takes in your chosen difficulty level and the average amplitude (or "loudness") across three beats in the music and returns a number of blocks to place for each beat. Less loud beats have a higher probability of returning a smaller number of blocks per beat (e.g., 0-1), while more loud beats have a higher probability of returning more blocks per beat (e.g., 4-8). The probabilities are hard coded and depend on which difficulty level you choose. If you wanted to try to make things "harder" by increasing the number of blocks per beat, you can change the probabilities in this function so that they favor higher number of blocks per beat.
I don't exactly suggest doing this though, because I spent a long time trying to get those numbers right and I feel like they're fairly realistic to human-made maps, albeit a little easy for someone who has a high skill level. I have found times on expert/expert+ where the program will create a sequence of blocks at a high placement rate (maybe 8 per beat), but the sequence isn't playable at that rate. I suspect the only time you see >8 blocks per beat in most human made maps is for "drumrolls," and those follow a very specific up-down-up-down pattern, i.e., a tight controlled motion that is easy to perform at high rates of speed. BeatMapSynth isn't trained to know what block sequences work at higher speeds, so sometimes it produces sequences that just don't work well.
That being said, I never expected this program to be a replacement for well-made, human-constructed maps. It is a tool for people to be able to play their favorite music quickly, and potentially use it as the building blocks for manually creating a map.
I hope that answers your question!

ok, thank you, ill ave a look and see what happens tonight


A First Vertex Attribute wrong url from the WebGPU Guide

This is the correct one: https://github.com/eliemichel/LearnWebGPU-Code/blob/step032/main.cpp I think.

The README was not right but the link is pointing to the right branch! Thanks for reporting teh inconsistency.

Thanks for the tutorials BTW!


Player sometimes gets bugged when getting added to the round

This might be because they were paused when add player to round function was called. Needs investigation.

Happened when I quit the server while base was loading. Got readded close to cp.
Team: Attackers,
Packetloss: ~1%


Changed expiration policy

Codecov Report

Merging #28 (a2bc25d) into develop (ad9464f) will decrease coverage by 0.08%.
The diff coverage is 100.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@             Coverage Diff             @@
##           develop      #28      +/-   ##
===========================================
- Coverage    92.70%   92.63%   -0.08%
===========================================
  Files            4        4
  Lines           96       95       -1
===========================================
- Hits            89       88       -1
  Misses           7        7

Impacted Files
Coverage Δ

taskiq_redis/redis_backend.py
90.24% <100.00%> (-0.24%)
:arrow_down:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Recover from unresponsive webui in webContents

QmfFLsxJsviSncH5LGkwss53Vn2v6ebZYb3bJYtZ5P25HM
this is the a sample file hash.
browse this file hash will freeze the window, and got high cpu usage.
and the log said: error: [web ui] unresponsive: [object Object]

QmfFLsxJsviSncH5LGkwss53Vn2v6ebZYb3bJYtZ5P25HM  has no diallble providers, so UI is stuck at content lookup phase.
Closing this as a  duplicate of https://github.com/ipfs/ipfs-webui/issues/1794

... actually, IPFS Desktop should detect unresponsive webui window and recover from it!
We could listen for unresponsive event:
window.on('unresponsive', () => {
  // destroy webui window and open new one
})

There is also responsive when unresponsiveness was a temporary fluke, so we most likely should do reload only when unresponsive is not followed by responsive in some period of time, eg.  ~10s

Closed by https://github.com/ipfs/ipfs-desktop/pull/1952


navbar

Description
if you wish i want to add getstarted button in navbar beside the login please assign me @pr
Screenshots

Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I'm a GSSoC'24-Extd contributor
[X] I'm a Hacktoberfest'24 contributor
[X] I am willing to work on this issue (optional)

hello @abhi200446, As of now, we do not need it. We will let you know in the future if there is a need. Please search for another issue and raise it, which I'm happy to assign to you.


Progress indicator - Active / Inactive states

Regarding Progress Indicator - https://designsystem.gov.au/components/progress-indicator/
With progress indicator, when we are using in websites or web applications, this is also used to indicate a state which is active for admins and disabled for users.
The very common example is forms progress indicator which has stage 2 disabled until stage 1 is complete.
Can we please include an example of disabled/informative progress indicator as well?

Thanks @HerinHentry. I've added this suggestion to the community discussion for this component
https://community.digital.gov.au/t/progress-indicator/86


WebVR - TextSprite only renders in one eye

When using the TextSprite to create a rudimentary "HUD" it only renders in the right eye view of the WEBVR view.

Hmm... I have no expirience with multiple cameras.
I will look into this, when I will have time.

This isn't the problem of TestSprite. It's the problem of Sprite in general.
https://github.com/mrdoob/three.js/issues/11726


update to 2.0.4

Changes:

new feedstock at version 2.0.4

https://github.com/aio-libs/async-lru/blob/v2.0.4/setup.cfg

Linter check found the following problems:
The following problems have been found:
WARNING: clone/recipe/meta.yaml:47: missing_description: The recipe is missing a description
Warnings were found

Linter check found the following problems:
The following problems have been found:
WARNING: clone/recipe/meta.yaml:47: missing_description: The recipe is missing a description
Warnings were found


Imported Claims not found

I run the sample program. In the Start.Auth.cs , it have add additional claims of EmailAddress, Surname and Givename at the OnImportClaims.
However , when I set a break point at the controller method, I don't found these 3 additional claims.
It only have four claims, that are "nameidentifier", "name", "identiyprovider" and "AspNet.Identity.SecurityStamp"

Hi,
This is the default behavior, Imported claims will be added to the claims list of the external identity (windows identity, Not the local identity).
Upon user registration or account linking you need to read those claims and save them along the local user identity claims.
Thanks!

in the default asp.net project template you can find in the AccountController.cs  a function called ExternalLoginCallback(string returnUrl)
in there you have:
 var loginInfo = await AuthenticationManager.GetExternalLoginInfoAsync();
this variable holds the claims that have been imported.
and you can find the user by doing:
var user = await UserManager.FindAsync(loginInfo.Login);
I suggest to find the user once you have successfully logged in hence inside the switch statement, then do whatever you like, i do save some claims in the db using the usermanager.


toDOM() and parseDOM()

I implement image node with Vue Component, and I notice the line in the README:

 // parseDOM and toDOM is still required to make copy and paste work
      parseDOM: [{
        tag: 'iframe',
        getAttrs: dom => ({
          src: dom.getAttribute('src'),
        }),
      }],
      toDOM: node => ['iframe', {
        src: node.attrs.src,
        frameborder: 0,
        allowfullscreen: 'true',
      }],

I want to know what means parseDOM and toDOM is still required to make copy and paste work?
If I export the document in HTML format, will the HTML code of the node with Vue Component be like what defined in toDOM() or template？

In your code toDOM export an iframe instead of the the extension component view


fix: auto-release doesn't work properly

Can't push a commit on main branch (and double because of matrix)

Release manually


WIP: adding admin direct job creation

Coverage decreased (-0.06%) to 91.086% when pulling 5cf1b01b83bc7600db003027a9ec9ec9fb5ca339 on antgonza:admin-jobs into ab438cc2a10e641d3bec14862e9c4a7fa9f55b46 on qiita-spots:dev.


move website into main repo

This moves the TypeStrong/typedoc-site repo into this project to make it easier to update the API docs and for contributors to find the website source.
See the changes since 90bc192 for the changes to the website.
Closes #604
Closes #658
Closes TypeStrong/typedoc-site#6
Closes TypeStrong/typedoc-site#8

@Gerrit0 What do you exactly mean by the generated files? Do you mean the ones for typedoc api?

Yes, if all the html pages are being pushed to another repo, I don't see the need to track them here as well.

And actually if you meant so, we do not really need to include those htmls in website/api. We could write some short travis scripts to automatically typedoc  --out website/api/ src/index.ts on cloud and deploy the page to github pages.

👍 Yeah, we shouldn't have the generated api files in here.
ATM, I'm planning on using gh-pages to push to the typedoc-site repo. If we want to move things to a gh-pages branch (which might make sense) we can do that later. But I don't have access to the website hosting so I didn't want to change any of that.

You should be able to change the website settings - I can see, and presumably change gh-pages settings here: https://github.com/TypeStrong/typedoc-site/settings

I knew about some of that config but assumed there would be some DNS config I couldn't access. We can look into it following this PR.

All GitHub pages sites use the same DNS configuration, so no changes should be required there. I agree - that change can wait until after the site is complete.

Thanks for all the feedback. I've decided to not move the content into this repo to keep things simpler. This work has been continued in TypeStrong/typedoc-site#12.
We should update the contributing guide to link to the content.


The screen shot of the Nuget Restore task is not up to date

Advanced does not show the path to Nuget.exe

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

ID: c024acf3-a58a-74c8-25b1-e5c88c85583a
Version Independent ID: 81403e1d-947a-1f7d-f4b7-898105abd745
Content: Set up automated builds for your UWP app - UWP app developer
Content Source: windows-apps-src/packaging/auto-build-package-uwp-apps.md
Product: windows
GitHub Login: @laurenhughes
Microsoft Alias: lahugh

This article has been significantly revised since this feedback was originally submitted, and this issue has been addressed.


feat: Add release namespace to all resources

Overview
This PR adds the namespace to all resources, using the Relase.Namespace provided by Helm.
What this PR does / why we need it
Fixes #120
As mentioned in #120 the Chart currently doesn't set the namespace on the resources, resulting in different behavior for helm template and helm install commands, as documented in https://github.com/helm/helm/issues/3553
The recommended solution by Helm is to set the namespace explicitly, as is done by a lot of other Charts (eg. cert-manager just to name one).
Checklist

[x] Change log updated in Chart.yaml (see the contributing guide for details)
[x] Chart version bumped in Chart.yaml (see the contributing guide for details)
[x] Documentation regenerated by running make docs

Any updates on this Pull Request?


Add support for module-path

Recently I have been attempting to use JavaFX from within JPype, but this requires the use of modules.   Unfortunately, we have never created the same interface for modules that we did for classpath and thus one has to specify everything manually.

This should be pretty simple to do. You can do it by providing the --modulepath with the vmargs or at runtime using the approach in the example. https://docs.oracle.com/javase/9/docs/api/java/lang/ModuleLayer.html


Fix bike-rentals-auto-ml

Description
mlserver-flow depends on mlserver without any version restrictions, so it pulls the latest one. Yesterday, mlserver 2.15.0 was released which is apparently not compatible with the rest in runtime, preventing model container to start. So I added the previous version 2.14.3, which worked fine, as a requirement.
How Has This Been Tested?
PR check
Merge criteria:

[x] The commits are squashed in a cohesive manner and have meaningful messages.
[x] Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
[x] The developer has manually tested the changes and verified that the changes work

/lgtm

/retest

/approve


Use BTFGen

BTFGen0 allows to generate small BTF files with only the information
needed by a set of eBPF objects. This commit makes use of that tool
together with BTFHub1 to create a set of BTF files needed by Inspektor
Gadget. These files are around 800KB and are included in the gadget
container. At container startup time, the entrypoint script checks if
there's a file for the running kernel, if yes it's installed on the
system.
TODO:

[x] Integrate with the CI to include this in the released container image
[x] Merge https://github.com/kinvolk/bcc/pull/15

This PR is ready for review. Right now the whole BTFHub repo is cloned and the BTF files are generated each time the actions are run, this is something we need for improve for sure but I don't know how to do it now. I propose to review this PR in its current status and then we can think how to improve this process later on.

Great to see progress on BTFGen :)

Thanks, I'm looking pretty much to have it integrated.

I see it adds 2min 30s in the GHA:
* 2min to git-clone btfhub

Actually most of the time is used extracting the files. See the following relevant timestamps:
20:44:52.8186586Z #20 0.065 Cloning into '/tmp/btfhub'..
20:45:14.7255536Z #20 22.06 HEAD is now at b2cd89d tools/bin: add btfgen (v1) for arm64
20:46:52.2987002Z #20 119.6 + LIBBPFTOOLS=/objs BTFHUB=/tmp/btfhub ./tools/btfgen.s

~22 seconds for cloning
~98 seconds for extracting (perhaps it can be improved to be multithread)

* 30s to generate the BTF files

I think multithread could also help :thinking:

pkg/gadgets/socket-collector/tracer/*.o are modified

Did you miss part of your message here?

docker build -t $(CONTAINER_REPO):$(IMAGE_TAG) -f gadget.Dockerfile --build-arg ENABLE_BTFGEN=true .

That's right. I extended the makefile to have a ENABLE_BTFGEN option.

mountsnoop: KO but is also failing without this PR and using BTFHub:

I think it only happens with this PR. It's because I was missing some commits on the branch I used for https://github.com/kinvolk/bcc/pull/15. Once that PR is merged and the BCC repo URL is updated that should work fine.

I think this PR is ready for final review. I don't think there is any documentation we should wrote, the building of the container continues to work the same as before so developers won't have any change.

I updated the follow the latest changes in BTFHub. BTHHub is more stable now so hopefully we won't hit many more problems with this.
This PR increases the build time by about 3 minutes, it's not great but we'll look for solutions later on.

What about roughly explaining what we are doing now in the requirements doc given that we are already talking about BTFHub there?

I changed the sentence we have there and added another one to the CONTRIBUTING document.

Thanks for the review. I'll open some issues with the possible improvements once it's merged. I'll let it open for another couple of days in case anybody else has comments.


Increase the waiting time for the ks-server http service to start

Signed-off-by: zhuzhenfan<EMAIL_ADDRESS>
What type of PR is this?
/kind bug

What this PR does / why we need it:
The http service of kc-server is too slow to start and the login api cannot be called.
Which issue(s) this PR fixes:

Fixes #
Special notes for reviewers:

Does this PR introduced a user-facing change?

None

Additional documentation, usage docs, etc.:

@x893675 @qinyer

/lgtm
/approve

/cherrypick release-1.3


[BUG] : Fix Navbar Line Connection Bug

Description
I want to correct a bug where the navbar line is misaligned and not connecting properly, as well as make enhancements to the navbar design for a more polished appearance.
Screenshots

Any additional information?
There is an arrow sign in the below left of the navbar which spoils the look of the page and the line bottom the logo is missing.
What browser are you seeing the problem on?
Firefox, Chrome, Microsoft Edge
Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I'm a GSSoC'24-Extd contributor
[X] I'm a Hacktoberfest'24 contributor
[X] I am willing to work on this issue (optional)

Can you assign me this issue with gssoc-ext and hacktoberfest-accepted with suitable level label i would like to contribute into it

Go for it 🚀

@beRajeevKumar Please review my pull request I update the Navbar


Optional Envelope Keys

to: @ryandeivert
cc: @airbnb/streamalert-maintainers
size: smalll
Background
https://github.com/airbnb/streamalert/pull/387 introduced a performance hit when applying default values to envelope keys implicitly.  This change adds an explicit option to the JSON parser to prevent this from occuring
Changes

Adds a parser option for optional_envelope_keys, which is needed when using json_regex_key
Also adds yapf, updates AUTHORs, and docs

Testing
Unit tested

Coverage decreased (-0.04%) to 95.068% when pulling cf7572e6ad22b667d4bc9c08d3faaefeb4052f8a on jacknaglieri-optional-envelope-keys into 7e2ec1857c76fdb27ac4d60b556bb227d0ae5a6c on master.

Thanks for adding the yapf stuff! Also for putting my in authors 🤣

Coverage decreased (-0.04%) to 95.068% when pulling c5a411993577e9fb9d0e196a90c97f189910b76d on jacknaglieri-optional-envelope-keys into 7e2ec1857c76fdb27ac4d60b556bb227d0ae5a6c on master.


feature requested about the gitter community

It would be great if you could open the community to gitlab users too.

Done


Are the Teacher and Student the same pretrained model with the same initialization?

Dear authors,
Thanks for your excellent work. After carefully reading the paper, May I ask that whether the Teacher and Student are the same pretrained model with the same initialization?
Thanks for your help.

Same question

The student model is randomly initialized.


[BUG] -

Lib Version [4.3.1]

Describe the bug
This issue appeared after migrating from the old library to the new.
When running the App i face this error:
Unresolved reference: activity
To Reproduce
Expected behavior
when i write "CropImage" then "." in the checkbox it doesn't appear "activity" or "getActivityResult"
Media

Smartphone (please complete the following information):

Device: [Nexus 4 API 22]

Additional context
Please HELP Me

Hi @setifa you are using an old format of the library. If you wanna use the latest format you need to check how to use the library on the README or check the sample codes we provide.
Why did we make this change?


Error when trying to self host

npm ERR! code E403
npm ERR! 403 403 Forbidden - GET<EMAIL_ADDRESS>- Permission permission_denied: read_package
npm ERR! 403 In most cases, you or one of your dependencies are requesting
npm ERR! 403 a package version that is forbidden by your security policy, or
npm ERR! 403 on a server you do not have access to.

What is up with that?

hi, any update for that. i have same issue

Sadly nope. I'd recommend trying to find an alternative project.


chore: add helpers workflows

:pencil: Description
:link: Related Issues

: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 rmohr to the approvers list

What this PR does / why we need it:
Add rmohr to approvers list.
Release notes:
NONE

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
500

Relevant Lines:
1327

💛  - Coveralls

/lgtm


Update snapcraft to use gcc-8 on bionic

Segfaults occur in arm32 binaries compiled with gcc-5 in xenial. (See issue #115 as well)

Have it working now for github -> launchpad build -> binaries -> snap store.  investigating how we can do github -> snap store -> binaries using base: core18 and bionic

here's what i've found so far with snapcraft -> launchpad -> snap store
snaps ARE updated on snap store and snap install installs the correct client but they show as failed at https://build.snapcraft.io/user// this is what i'm trying to get to the bottom of right now.  seems the git clone process doesn't like the double sources and defaults to launchpad binary
...just a theory, getting a git pull error when pulling the repo

Yes it works with a clean snap store entry

one last test to put update-alternatives stanza before the depends make

one last test to put update-alternatives stanza before the depends make

XKB patch not working on arm32

patch patches correctly /snap/.../bin/ion-qt does not error out like this

The error comes in here
16:20:21.834330 stat64("/usr/share/X11/xkb", 0xbebed3f0) = -1 ENOENT (No such file or directory)
16:20:21.834494 stat64("/root/snap/from-lp/13/.xkb", 0xbebed3f0) = -1 ENOENT (No such file or directory)
16:20:21.834664 write(2, "xkbcommon: ERROR: ", 18xkbcommon: ERROR: ) = 18
16:20:21.834834 write(2, "failed to add default include pa"..., 54failed to add default include path /usr/share/X11/xkb
) = 54
16:20:21.834999 clock_gettime(CLOCK_MONOTONIC, {2183498, 690997039}) = 0
16:20:21.835169 openat(AT_FDCWD, "/dev/tty", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 5
16:20:21.835337 fcntl64(5, F_SETFD, FD_CLOEXEC) = 0
16:20:21.835486 close(5)                = 0
16:20:21.835633 write(2, "Qt: Failed to create XKB context"..., 34Qt: Failed to create XKB context!
) = 34
16:20:21.835798 write(2, "Use QT_XKB_CONFIG_ROOT environme"..., 294Use QT_XKB_CONFIG_ROOT environmental variable to provide an additional search path, add ':' as separator to provide several search paths and/or make sure that XKB configuration data directory contains recent enough contents, to update please see http://cgit.freedesktop.org/xkeyboard-config/ .

Building arm32 package natively with snap

fixed in #143 , closing this issue


Implement offering locking

When offering is locked, student will see a grayed out, inactive "Run" button. Pundit policy also makes sure that it's impossible to launch offering using direct lunch URL.

:+1:


Inconsistent user experience when using the on demand validator

When a tN project is first loaded and the Validate icon is clicked, there is no indication that the validator is running and the user is free to perform other actions in the project.
When the Validate icon is clicked a second (or successive) time in the same project, the icon stays highlighted and the tooltip remains displayed and the user is prevented from performing any other actions until the download is complete.
When the validation is run against Matthew on my fastest Mac, it runs for about 50 seconds. During that time my browser issues the Page Unresponsive message.

Looks good in v1.1.0-rc.3

Looks good in v1.1.0-rc.3

Looks good in translationCore Create - v1.1.0-rc.3.

Looks good in translationCore Create - v1.1.0-rc.3.


Design and CAD a 3D printable Battery holder

Design some brackets to help hold the batteries in place.

Idea is 3d print four little bracket things, which can then be bolted down or velcro applied to bottom until we decide to bolt down


CertAnalytics event changes are in-prod and must by in-doc..

Thanks for the fix - you'll see the changes live the afternoon of 12/14.


Feature/add min max to non empty array

add min and max for passed Ord instance (similar to Foldable's minimum/maximum but without unnesessary resulting Option)
please check package.json and package-lock.json (added cross-env and changed formatting to default NodeJS)

@gcanti Added some jsdoc


System.registerDynamic is not a function

hey there, i have a problem using  npm run serve.prod.. always  in the browser console is a error:
System.registerDynamic is not a function

I cannot reproduce the issue. Most likely you've introduced a dependencies which uses system module format. Since we want to reduce the bundle size in the production build we don't have systemjs there.

@albertosetim
How is the final solution?
I also have the same problem here


Remember the save file location

Add an option to remember the location of the save file so you don't need to drag the file onto the page every time you reload or want to update the progress.

Hello,
If you click on the drag n' drop zone you can select the file manually within your OS files browser (instead of drag n' drop from it) this will save automatically the file location for the next time you click on it :+1:


Changing port back to 3010

We were previously running the service on port 3010. We either needed to update the container and compose files or just change it back. We opted for changing it back.

Whoops!  Thanks @davidalber!

Can you update the port testing manifest to include that this test is using 3010/3011?

Oh, wait... the env-specific config just needs to be removed.  The outer port is 3010.

@doug-wade: I created #499 to update the port testing manifest with the website's ports.


Fail to serve RPC(upload-pack)

Description
When cloning a git repo(184M,40000 commits), git client failed with:
remote: aborting due to possible repository corruption on the remote side.
fatal: early EOF
fatal: fetch-pack: invalid index-pack output

server logs:
2024/05/21 06:39:04 .../web/repo/githttp.go:485:serviceRPC() [E] Fail to serve RPC(upload-pack) in /data/git/repositories/xxx/xxx.git: exit status 128 - error: pack-objects died of signal 9
error: git upload-pack: git-pack-objects died with error.
fatal: git upload-pack: aborting due to possible repository corruption on the remote side.

Gitea Version
1.21.11
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
2.45.1
Operating System
Kubernetes
How are you running Gitea?
Kubernetes
Database
None

Maybe this helpful for you. https://confluence.atlassian.com/bitbucketserverkb/git-operations-fail-due-to-git-pack-objects-died-with-error-849169949.html

Maybe this helpful for you. https://confluence.atlassian.com/bitbucketserverkb/git-operations-fail-due-to-git-pack-objects-died-with-error-849169949.html

Thanks for your reply, but those method don't help. The error as below:
error: pack-objects died of signal 9

When I execute git repack, the memory grow from 2.85G to 3G(total 4G), and then git repack quit.

It's not gitea's fault.


Add URL scheme support

What Currently Happens?
There's no way to open GitPoint to a specific GitHub entity via URL scheme.

What Would You Like To Happen?
It would be nice if you could launch GitPoint to specific GitHub entities (repos, users, commits, etc.) via a URL scheme, requested on Twitter here.

Would Deep Linking be what we are looking for?

Yeah, that would probably be sufficient. I need to be able to fire a URL with an app-specific scheme like gitpoint:// that can open particular GitHub entities.

Excellent, thanks!


[Feature Request] Adding Healtcheck

Hi,
I really love your containers as they make it easy to access the gui from the programs, as sometimes it is the only option.
But it would be great especially in this Container to have a healtcheck which refers to the option inside jdownloader if it is connected to the myjdownloader service.
As I'm using it most of the time, headless attached to other services which rely on this connection.
Im not sure how to access this value from jdownloader inside the container, but it would be great to have this option.
Especially as I'm running this behind a VPN container which sometimes restarts on its one, because it went unhealthy, so it would be a good option to restart this afterwards.

I second this.
Having a mechanism, like the normal container healthcheck, would be great for headless environments.


On MacOS not all included bash scripts are executable

Notified from user:
"When running a command, which calls a bash script, an error is displayed which tells us, that the script is not executable."

First workaround:
execute:
chmod +c /user///*/deploy.sh


Question about the id contained in labels

Can we create an option to allow user contain ID in labels or not contain ?
Because sometimes we want to use MD5 ID, it's not readable.
https://github.com/gitalk/gitalk/blob/4f4024bf7f30ea340b41cce2b4ef85b1f42830a7/src/gitalk.jsx#L276

id is uniquely associated with issue. If without id, the association cannot be determined.


Segmentation fault in openvino examples.

Hi~
I'm building onnxruntime1.10 with openvino4.2. I try to run the example squeezenet_cpp_app.cpp . I have already got the excutable file run_squeezenet. But it is error in

./run_squeezenet --use_openvino squeezenet1.1-7.onnx demo.png synset.txt

with report Segmentation fault
so I run gdb and find out:
gdb ./run_squeezenet

(gdb) set args --use_openvino  squeezenet1.1-7.onnx demo.png synset.txt
(gdb) r
Starting program: /data/onnxruntime-1.10.0/build/Linux/Release/./run_squeezenet --use_openvino  squeezenet1.1-7.onnx demo.png synset.txt
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7b74b36 in _GLOBAL__sub_I_provider_bridge_provider.cc ()
from libonnxruntime_providers_openvino.so
Here is the ldd infos:

[root@VM-217-39-centos /data/onnxruntime/build/Linux/Release]# ldd ./run_squeezenet
linux-vdso.so.1 =>  (0x00007fffa90fb000)
libonnxruntime_providers_openvino.so (0x00007fa2ba33b000)
libonnxruntime_providers_shared.so (0x00007fa2ba139000)
libonnxruntime.so.1.10.0 (0x00007fa2b926c000)
libopencv_imgcodecs.so.4.5 => /opt/intel/openvino_2021.4.752/opencv/lib/libopencv_imgcodecs.so.4.5 (0x00007fa2b8fb8000)
libopencv_dnn.so.4.5 => /opt/intel/openvino_2021.4.752/opencv/lib/libopencv_dnn.so.4.5 (0x00007fa2b8917000)
libopencv_core.so.4.5 => /opt/intel/openvino_2021.4.752/opencv/lib/libopencv_core.so.4.5 (0x00007fa2b7859000)
libopencv_imgproc.so.4.5 => /opt/intel/openvino_2021.4.752/opencv/lib/libopencv_imgproc.so.4.5 (0x00007fa2b550e000)
libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007fa2b5206000)
libm.so.6 => /lib64/libm.so.6 (0x00007fa2b4f04000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007fa2b4cee000)
libc.so.6 => /lib64/libc.so.6 (0x00007fa2b4920000)
libinference_engine.so => /opt/intel/openvino_2021.4.752/deployment_tools/inference_engine/lib/intel64/libinference_engine.so (0x00007fa2b453c000)
libinference_engine_c_api.so => /opt/intel/openvino_2021.4.752/deployment_tools/inference_engine/lib/intel64/libinference_engine_c_api.so (0x00007fa2b42f0000)
libonnx_importer.so => /opt/intel/openvino_2021.4.752/deployment_tools/ngraph/lib/libonnx_importer.so (0x00007fa2b3d5d000)
libngraph.so => /opt/intel/openvino_2021.4.752/deployment_tools/ngraph/lib/libngraph.so (0x00007fa2b3431000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007fa2b322d000)
librt.so.1 => /lib64/librt.so.1 (0x00007fa2b3025000)
libz.so.1 => /lib64/libz.so.1 (0x00007fa2b2e0f000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fa2b2bf3000)
/lib64/ld-linux-x86-64.so.2 (0x00007fa2ba5ac000)
libtbb.so.2 => /opt/intel/openvino_2021.4.752/deployment_tools/inference_engine/external/tbb/lib/libtbb.so.2 (0x00007fa2b298b000)
libtbbmalloc.so.2 => /opt/intel/openvino_2021.4.752/deployment_tools/inference_engine/external/tbb/lib/libtbbmalloc.so.2 (0x00007fa2b2730000)
libinference_engine_transformations.so => /opt/intel/openvino_2021.4.752/deployment_tools/inference_engine/lib/intel64/libinference_engine_transformations.so (0x00007fa2b21e3000)
libonnx_proto.so => /opt/intel/openvino_2021.4.752/deployment_tools/ngraph/lib/libonnx_proto.so (0x00007fa2b1f7c000)
libprotobuf.so.<IP_ADDRESS> => /opt/intel/openvino_2021.4.752/deployment_tools/ngraph/lib/libprotobuf.so.<IP_ADDRESS> (0x00007fa2b1a75000)

ps: the onnx file is complete not lfs.
thanks in advance!

Hello @leejinxi. I tried reproducing it from my end and I don't face similar issue. I was able to infer successfully with the CPP sample.
I used same environment as yours.
Linux: Ubuntu 18.04
ONNXRT V1.10.0
OpenVINO 2021.4.2 Release

From your ldd log, looks like the executable is able to locate all the required shared libraries correctly.
can you try running the same sample with default CPU EP and see if that works?
To Run using default CPU EP (MLAS):
./run_squeezenet --use_cpu squeezenet1.1-7.onnx demo.png synset.txt

hi @MaajidKhan,
The defalut CPU EP, ./run_squeezenet --use_cpu squeezenet1.1-7.onnx demo.png synset.txt, still report segment fault.
so I removes the openvino compile flags and rebuild. it works well.

I setup the enviroment in Centos7.  I don't know if it's the problem.


sqlfmt adds an extra space to PostgreSQL double tilda operators (LIKE alias)

Describe the bug
PostgreSQL has a few aliases for the LIKE  keyword (9.7.1. LIKE). sqlfmt adds a space between the ~~ operator, breaking the query.
Other operators specific to PostgreSQL (from the docs)

The operator ~~ is equivalent to LIKE, and ~~* corresponds to ILIKE. There are also !~~ and !~~* operators that represent NOT LIKE and NOT ILIKE, respectively. All of these operators are PostgreSQL-specific.

To Reproduce
Steps to reproduce the behavior. If this is a formatting issue, include the input code here.
Input
with test as (select 'test' as test) select * from test where test ~~ 'test'

sqlfmt output
with test as (select 'test' as test) select * from test where test ~ ~ 'test'

Expected behavior
No spaces are added to the ~~ operator
Additional context
What is the output of sqlfmt --version?
$ sqlfmt --version
sqlfmt, version 0.21.2

Had no idea that was a thing. Thanks for the report!

Thank you for the quick turnaround! I discovered it yesterday when sqlfmt broke a query in a large project. Now I don't need to change that query!


export updated alphafold database from alphafold-db-qld and mount on pulsar-qld-gpu-dev

Required prior to PR 2076

The scheduling rule changes PR is for production and this PR is for dev


Remove "gender", ensure most translations have "gender identity and expression"

In mentioning both "gender" and "gender identity and expression" the
code of conduct attempts to draw a distinction which doesn't exist;
i.e. that there is "True Gender" and "gender identity" (a distinction
which is often drawn to marginalize trans/nb folks).
We also in many cases didn't have the "expression" bit in all
translations. I've fixed most; but not the japanese or korean ones.

In cases where I've added language I've tagged folks who have previously edited these files or whom I otherwise know speak that language to sanity check.


Support multi-line strings

Currently leaving a string open at the end of a command will cause a parse error.

Closing in favour of #293.


Undefined method `visit_constructor' for custom Hash constructor

Describe the bug:
It may be a regression, or an undocumented syntax change. I'm trying to coerce a JSON string param into a hash through a custom constructor. It worked in 1.4.3 but now fails in 1.5.0.
The corresponding versions of dry-types pulled in by dry-schema were 1.2.2 and 1.4.0 respectively.
To Reproduce:
require 'dry-schema'
require 'dry-types'
require 'json'

module Types
  include Dry.Types()
  JSONHash = Types::Hash.constructor do |h|
    h.is_a?(::Hash) ? h : ::JSON.parse(h)
  end
end

Schema = Dry::Schema.Params do
  required(:foo).filled(Types::JSONHash)
end

h = Schema.call(foo: %q({ "hello": "hi" })).to_h
puts "#{h[:foo].class.name} -- #{h[:foo].inspect}"

With dry-schema 1.4.3, here's the output
Hash -- {"hello"=>"hi"}

With dry-schema 1.5.0, I get this:
...
undefined method `visit_constructor' for #<Dry::Schema::Compiler:0x00007fc2ba917858> (NoMethodError)
Did you mean?  visit_attr

Expected behavior
Behavior described above for 1.4.3 seems correct.
Your environment

Affects my production application: YES
Ruby version: ruby 2.7.1p83
macOS Catalina

oh noez! :/ thanks for the report, I'll fix it in 1.5.1

Hey @solnic, can this be closed, has this been fixed in >= 1.5.4?

@AlexVPopov @solnic It's still a problem with the following versions:
gem 'dry-schema', '1.5.4'
gem 'dry-types', '1.4.0'

@flash-gordon 👋 do you happen to remember what we concluded wrt handling constructors here? 😅

@solnic I'm pretty sure this is intentionally not supported. It may work in simpler cases but then something like my_fancy_type = hash_type.schema(...).constuctor(...)most certainly will fail.

@flash-gordon OK but couldn't we apply the type when it's not a hash schema? My understanding is that we can't infer rules from a schema hash that is also a constructor, right?

@solnic sure, it's on the surface. Fixing this particular error shouldn't be a problem, but I didn't try. My concern is I saw a more substantial problem with constructors and schemas, but I don't remember what that was 😕

@flash-gordon yeah it's funny but now when I think about it, I can't see why we can't support that 😅 Primitive inferrer works just fine with hash constructors:
dry-schema> inferrer[Dry::Schema::Types::Hash.schema(foo: "string").constructor(&:to_h)]
=> [Hash]

So it's a matter of rebuilting the type so that it only applies its constructor and using its schema just we do it now.

@solnic @flash-gordon following up - this is still a problem with:
gem 'dry-schema', '1.6.1'
gem 'dry-types', '1.5.1'

I've set the milestone to 2.0.0 - in general, support for custom constructor-types should be improved. I'm repeating this to death but here it goes: we need to make type specs obligatory and simplify DSL implementation. This should make it easier to improve existing features. I don't recall what the exact problem is in this case, but I suspect it has something to do with deconstruction of types so that the schema can infer the types and then probably losing the actual constructor function in the process.

Forget custom constructors.
It does not even work with built-in types.
Try:
require 'dry-schema'
require 'dry-types'

module Types
  include Dry.Types()
end

Schema = Dry::Schema.Params do
  required(:foo).filled(Types::Params::Hash)
end

If I can follow the code, I would help with the issue; but I can't read the dry-rb code at all.
Probably the issue is on me, or dry-rb might used too many Ruby features.

There's no differentiation between "custom" and "built-in" types, constructor hash types are not working at the moment (though I'm not sure why).

So, like I mentioned a little...over...a year....ago....this was caused by the fact that a custom type would not be set in various cases. I gave it a shot to see if at least the scenarios mentioned in this issue can be addressed and I succeeded. I'm not too confident that this issue will go away 100% so I'll revisit this when working on 2.0.0.
For now, this specific issue (as in, the scenarios mentioned here) will be addressed in the upcoming 1.7.0 release.

@solnic Great news! Thank you for the fix.

If I can follow the code, I would help with the issue; but I can't read the dry-rb code at all.
Probably the issue is on me, or dry-rb might used too many Ruby features.

@midnight-wonderer don't worry about this, you jumped into literally one of the most complicated codebases in dry-rb land 🙂 The schema DSL has a lot of additional complexity because it still works with or without type specifications and this will be greatly simplified in 2.0.0 (if I had a penny every time I mention this...lol). Furthermore, debugging issues with types also requires knowledge about dry-types and that's a journey on its own. Then if you want to understand how predicates are handled, you'd need to understand dry-logic first.
If you take a look at the PR where I addressed the issue, you'll see that it was a one-file change. The trick is to know where to look 🙂


feat: generate C++ rules

This adds support to generate the C++ rules for basic proto and gRPC
libraries.
/fyi: @devjgm @scotthart

Well, we are only interested in rules for Cloud services.  We are planning to implement client libraries (generated) for all Cloud services. If there is a way to generate "just" for Cloud then let me know how, I would be happy to change the PR to do so.
Note: I cannot merge this PR myself.

@vam-google if the goal is to generate for all Cloud services, that is a majority of APIs in googleapis. I'm not sure that gating generation of the C++ rules is worth the extra complexity. We'd need to add either another template for Cloud, or a conditional into the template (which we have avoided to date and I'd like to keep it that way personally).
I wonder if we are already paying the most expensive part of generating a new language - compilation of the dependencies/tools - since C++ tooling is already part of the WORKSPACE. Adding these grpc/proto rules probably won't increase things drastically (totally guessing though).

As @coryan mentioned, we do plan C++ libraries for ~every services, just the same as all the other supported languages. Ideally, I think C++ shouldn't be treated any differently than, say, Java.


[Bitwarden Vault] Extension fails to load vault items

Extension
https://www.raycast.com/jomifepe/bitwarden
Description
Using version 1.68.1 for Raycast together with the Bitwarden extension fails to provide the vault items. As such, copying the passwords to clipboard is unavailable.
Error:
Error: Command failed with Unknown system error -86: /Users/basavyr/Library/Application Support/com.raycast.macos/extensions/5fdb86d3-dfcc-45a7-8969-8113b51434ab/bw-2023.10.0 lock
spawn Unknown system error -86

ChildProcess.spawn:child_process:421:11
Object.spawn:node:child_process:761:9
e0:search.js:48:4352

Steps To Reproduce

Open Raycast
Open Search Vault (Bitwarden extension)

Current Behaviour
Getting this error message:
Something went wrong
You can try reloading, or report the error to the extension developer, by
copying the log from the Action Panel
Expected Behaviour
Get the list of vault items and be able to select any password into clipboard.

Ditto, it's like it's failing to connect to the CLI. For instance, even telling it to logout of the vault fails. The problem only started this morning. I have not recently updated the CLI, and the plugin appears to install it's own version anyway.

related: https://github.com/raycast/extensions/issues/10975

Nevermind, I just tried pointing it to /opt/homebrew/bin/bw anyway, and it's working even better than before.

Hey, sorry for the inconvenience, we've been transitioning to downloading the CLI, and it's difficult to predict to test it in different environments.
I'm currently trying to fix it 🙂

Seems like it works for me now, was broken before. Thanks!

Confirmed, it's working without pointing to the local binary now.

@raycastbot close this issue


Debian: ./testpappl fails with avahi_client_get_host_name_fqdn Assertion `client' failed

While building pappl for Debian, I get blocked when running the build-time tests
./testpappl -c -l testpappl.log -L debug -o testpappl.output -t jpeg testpappl: client.c:771: avahi_client_get_host_name_fqdn: Assertion `client' failed.

This is when run in pbuilder, without avahi-daemon nor CUPS (?) installed. It also fails on Debian's Gitlab CI pipelines; https://salsa.debian.org/printing-team/pappl/-/jobs/1347207
Any idea in which direction to look at?

OK, if avahi-daemon is not present then all of the DNS-SD stuff won't work and won't be testable. It shouldn't crash, however, so that is a bug to fix.

OK, if avahi-daemon is not present then all of the DNS-SD stuff won't work and won't be testable. It shouldn't crash, however, so that is a bug to fix.

[master 779ba61] Handle when the Avahi daemon is not running (Issue #129)
[v1.0.x 59f6e03] Handle when the Avahi daemon is not running (Issue #129)

[master 779ba61] Handle when the Avahi daemon is not running (Issue #129)
[v1.0.x 59f6e03] Handle when the Avahi daemon is not running (Issue #129)

That works, thanks!

That works, thanks!


Nuxt

I try to implement push.js with Nuxt
Someone has an exemple?
Thanks a lot

Hi, Fred!
How you solve with Nuxt?

for now i didn't :(

@frederic117  @zeeuss
I don't see how using Nuxt.js is any different from integrating Push.js with any other JS project ?
Could you be specific about what problems did you face while trying to integrate Push.js with it.

Please try the following steps to get it working with Nuxt.js :

Install push as a node dependency.

npm install push.js --save

Import Push in an appropriate place according to your project structure.

import Push from 'push.js'

Create your notifications

Push.create('Hello Push.js in Nuxt')

That should do it I reckon.

I'm using push.js with service worker.
Web Socket in service worker receives a notification and tries to call Push.create().
It works like a charm in Mozilla mobile + desktop.
It works only outside of service worker in Safary.
And it does not work in any way in Сhrome


Add guid selection method

Added the confirmIdentity() method that requires the host app's context, the sessionId, and the selectedGuid.

Perfect, ready to merge, good job :)


Rename token creates duplicate

I just started experimenting with figma-tokens today, looks very promising!
One issue that I encounter is that when renaming a token it creates a duplicate rather than overwriting the original token.
For instance, if I want to rename border-radius-square to border-radius--square it creates another token instance after which I have to remap all elements using that token to the correctly named token.

Ah, yes — thanks for reporting! Thats something the plugin should handle for you if you do it via the UI, the functionality just hasn't been written yet. But we definitely need this.
Basically when a token is updated we should check if the token has existed before and if so clear the old one and update any tokens that referenced the old token name to the new one. Right now it just sets a new one, which is probably never what the user wants.
I'd say when you rename a group the same thing should happen. That might get a little trickier though and could require us to iterate over all contents and do what we did for a single one.

Ah, yes — thanks for reporting! Thats something the plugin should handle for you if you do it via the UI, the functionality just hasn't been written yet. But we definitely need this.
Basically when a token is updated we should check if the token has existed before and if so clear the old one and update any tokens that referenced the old token name to the new one. Right now it just sets a new one, which is probably never what the user wants.
I'd say when you rename a group the same thing should happen. That might get a little trickier though and could require us to iterate over all contents and do what we did for a single one.

In the meantime, renaming the tokens in the JSON tab is a good work-around.Should’ve spotted that earlier!

In the meantime, renaming the tokens in the JSON tab is a good work-around.Should’ve spotted that earlier!

Hello! I'm experimenten with Tokens too and I can't find how to crear a token that defines border colours.
Am I doing something wrong?

Getting a fix online for this today, renaming a token now updates all occurrences. Renaming an object currently is not supported, but also not possible yet.
@romeetosun Have you tried right-clicking the "Fills" tokens? There you can selected "border", effectively applying a border color to the currently selected object.


services list thinks Cellar ownership defines process runner

I notice that if I start a service as myself, brew services list claims that it is running as root (!):
pb3:~ jhawk$ brew services start dbus
==> Successfully started `dbus` (label: homebrew.mxcl.dbus)
pb3:~ jhawk$ brew services list
Name                       Status  User Plist
dbus                       started root /Users/jhawk/Library/LaunchAgents/homebrew.mxcl.dbus.plist
ntp                        started root /Library/LaunchDaemons/homebrew.mxcl.ntp.plist
selenium-server-standalone stopped

It appears to be because of this code:

    # Current user, i.e., owner of `HOMEBREW_CELLAR`.
    def user
      @user ||= `/usr/bin/stat -f '%Su' #{HOMEBREW_CELLAR} 2>/dev/null`.chomp || `/usr/bin/whoami`.chomp
    end

Can anyone explain this behavior?
Perhaps there is something wrong with my Homebrew installation for having /usr/local/Cellar owned by root. It seems legit and proper to me (it's group-writable), but maybe I'm missing something.
This is slightly more than cosmetic, it affects which location brew services looks for plist files in, and seems to cause some things to fail.
Even if this behavior is fully correct (and it sure could use some better comments!), there's probably a documentation change worth making to explain the relevance of /usr/local/Cellar ownership.

Here's a more complete transcript:
pb3:~ jhawk$ brew services list
Name                       Status  User Plist
dbus                       stopped
ntp                        started root /Library/LaunchDaemons/homebrew.mxcl.ntp.plist
selenium-server-standalone stopped
pb3:~ jhawk$ ls -ld /usr/local/Cellar
drwxrwxr-x@ 244 root  admin  8296 Apr  2 00:19 /usr/local/Cellar
pb3:~ jhawk$ brew services start dbus
==> Successfully started `dbus` (label: homebrew.mxcl.dbus)
pb3:~ jhawk$ brew services list
Name                       Status  User Plist
dbus                       started root /Users/jhawk/Library/LaunchAgents/homebrew.mxcl.dbus.plist
ntp                        started root /Library/LaunchDaemons/homebrew.mxcl.ntp.plist
selenium-server-standalone stopped
pb3:~ jhawk$ brew services stop dbus
Stopping `dbus`... (might take a while)
==> Successfully stopped `dbus` (label: homebrew.mxcl.dbus)
pb3:~ jhawk$ sudo chown $USER /usr/local/Cellar
pb3:~ jhawk$ brew services start dbus
==> Successfully started `dbus` (label: homebrew.mxcl.dbus)
pb3:~ jhawk$ brew services list
Name                       Status  User  Plist
dbus                       started jhawk /Users/jhawk/Library/LaunchAgents/homebrew.mxcl.dbus.plist
ntp                        started root  /Library/LaunchDaemons/homebrew.mxcl.ntp.plist
selenium-server-standalone stopped
pb3:~ jhawk$ brew services stop dbus
Stopping `dbus`... (might take a while)
==> Successfully stopped `dbus` (label: homebrew.mxcl.dbus)
pb3:~ jhawk$

I guess this code dates from @lwe's initial work in 2010 in https://github.com/Homebrew/legacy-homebrew/pull/3422. Lukas, do you have any thoughts?

Perhaps there is something wrong with my Homebrew installation for having /usr/local/Cellar owned by root.

Yeh, that's not the default that the installer or updater will configure for you and although brew doctor may not complain it'd be something we'd tell you to change on a brew update. I'd suggest the best fix for this would be just to add a code comment to brew services to explain why this is the way it is. I don't think end user documentation needs changed until it's clear more people were confused by this.

Well, regardless of whether /usr/local/Cellar should be owned by a non-root user, something's wrong here. The ownership of that directory doesn't determine which user a LaunchAgent is run on. And what about multi-user systems? (They are not super rare) Claiming daemons are running as user1 when they're really running as user2 is no good.
I don't understand what this code is supposed to be doing.

it'd be something we'd tell you to change on a brew update

Do you mean that brew update should be changed to provide this warning? I'm confused by your use of the subjunctive.

@johnhawkinson, not sure this is still the best way to handle it IMO. It was mainly to ensure that it's always the "correct" user running the service, i.e. the one owning Homebrew. Otherwise some services (can't remember which, I guess e.g. MySQL) did have issues starting up, because /usr/local/var/mysql was owned by a different user for example. This was especially in combination with running it as sudo brew services.
TBH, not sure what the "right" way is, would have to dig into a few examples using brew services nowadays first.

It was mainly to ensure that it's always the "correct" user running the service, i.e. the one owning Homebrew

Hrmm. So, of course I noticed this in brew services list, which it presumes that this is the user running the service. That's very different from choosing the user to start the service. Although, I'm a little confused about that, see user being used in that way? The code is a little hard for me to follow, though.

Yeah, just checked the code and user has IMO no effect, in fact also UserName keys are removed so... it should have zero effect.

@johnhawkinson, just to clarify that user was basically a crutch added back then so that UserName was properly set when running the service on startup (in /Library/).
Now since a63079af5c1a282c139fa66aa7b313c54e25cdde it was changed to always get rid of UserName, so it currently has no function at all and also the user method has no use from what I can understand.
This begs the question, does it even still work as expected...? Especially starting services at system startup?

This begs the question, does it even still work as expected...? Especially starting services at system startup?

I am not sure. It does work properly for services run as root (e.g. my private fork of ntp).
The dbus formula doesn't seem to work quite right for me, but dbus is a complicated piece of software so I haven't looked into it. And the last time I ran selenium-server it broke my browser and required a reboot, so I don't want to touch that.
What's an example of a formula with a daemonized service that is good to test with?

I'd say good examples are databases like PostgreSQL or MySQL, which have a) rather strict permission settings and b) usually are owned by a specific non-root user. Will check when I'm back from work too and see if I can start postgres at system startup...
ls -la /usr/local/var/postgres # => drwx------  27 lukas  admin

Those are pretty heavyweight for a simple test case (and require configuration, etc.)

Mhhh, true, these are simply the ones that come into my mind... What I can offer you is that I'll check with postgres when I'm back from work.

Okay, from what I can see running services like MySQL or Postgres as root via sudo brew services start $FORMULA is broken in the current version of brew services. Tested it locally for me with postgresql.
Reasons

Some services are not even allowed to run as root, e.g. postgres fails to start as root.
Due to change in a63079af5c1a282c139fa66aa7b313c54e25cdde there is no UserName anymore so it fails to start

How about when using sudo brew services requires a --as=$USER (or --run-as or --user) option, which then would allow to properly write UserName, without any magic invocation of ownership or similar...

So, the reasons you offer don't support the conclusion you derive from them.
That is, some services can't run as root, and there is no Username, therefore you say that "running as sudo is broken."
But for services that can run as root, it works just fine (which I suspect are the majority? My suspicion is based on no data.). Or at least, that's what my ntp example shows me (You'll have to go to https://github.com/johnhawkinson/homebrew-core/blob/c8d71d834ccfb3f75aa193fe8824f658204f05b5/Formula/ntp.rb since the plist was rejected for inclusion because of OS integration issues involving the native ntpd)

True, I guess it depends on the services one is running, and that's hard to tell. From my PoV - as a user that mostly runs databases - the sudo mode is not really usable at the moment.
Maybe show a disclaimer when running with sudo:
Warning: Not all services are supported running at system start (or root) YMMV

I'm still a little confused. If the issue is that mysql is supposed to run as a particular user, then the supplied plist should either have the username key or it should su or otherwise setuid() to the proper user. If the plist doesn't do these things, and the program is not functional when run as root, this is a bug in the plist and/or the Homebrew recipe, not in the brew services infrastructure. No?
The mysql plist (by inspection) runs mysqld_safe  without the --user flag, so it does not setuid() so the bug is in the plist. It is safe to run mysqld_safe as root and let it do the setuid() itself.
The removal of this was in https://github.com/Homebrew/legacy-homebrew/issues/18293 which cites https://github.com/Homebrew/legacy-homebrew/issues/18293. That issue...seems to present some things as fact which I am not sure are true.
I am less familiar with postgres so I'm not prepared to do that analysis there.

I guess I will have to go find my own test cases for these if I want something that is less complicated than database software.

We support running as two users: the user brew services is run as and root when it's run with sudo. Any leftover logic for other cases can be killed.

👍 makes sense, in addition I'd suggest to add a short notice / info somewhere about the supported cases.


Tests, fixes #10, fixes #38

The bulk of client tests (along with some other tests, documentation and other improvements) have now been written. This merge also introduces measuring test coverage.

It seems the player tests are quite fragile, increasing the wait time between requests helped a bit, but passing still required reruns. This might become a problem. For now, we have tests! Yay!


Oracle based message protocol

FeeMarket could be a relayer contracts. (meta-tx)
ParallelOutboundLane may be a better choice.
To solve the centralization problem of oracle, provide redundant security. How to set up additional checking mechanism at message layer?
this detection mechanism may introduce censorship/blocking attacks, in the sequential message delivery model. This mechanism may allow us to abandon the sequential delivery model and use only the unordered delivery model.
This detection mechanism can be implemented if the user is allowed to select the specified relayer to deliver the message. But it may be necessary to abstract the fee-market into a relayer contract.
other message authentication methods such as message_root proof may be used, but it is desirable to generalize message authentication while taking into account the cost of gas.

Layerzero maintains the dest token conversion ratio in the relayer contract, calculates the required cost of the target chain according to the gas specified by the sender, and then converts it into the required native token.
code: https://github.com/LayerZero-Labs/LayerZero/blob/main/contracts/Relayer.sol#L105

https://github.com/darwinia-network/ormp


Adds a new 'mounts' command to audit sensitive host paths mounts

Description
Adds a new command mounts to audit sensitive host paths that are mounted in contains. The auditor will trigger an alert when one of the specified paths is mounted by a container. If no paths are specified in arguments, a default paths list is used (I use the one used by Falco).
Alerts can be overridden using a label either at the pod level or the container level. Labels are per mount, so you can only override alerts for legit mounts.
Here's a sample result:
kubeaudit mounts -f /Users/j.courtial/dev/go/src/github.com/kubeaudit/auditors/mounts/fixtures/proc-mounted.yml

---------------- Results for ---------------

  apiVersion: v1
  kind: Pod
  metadata:
    name: pod
    namespace: proc-mounted

--------------------------------------------

-- [error] SensitivePathsMounted
   Message: Sensitive path mounted as volume: proc-volume (/proc -> /host/proc, readOnly: false). It should be removed from the container's mounts list.
   Metadata:
      Container: container
      Mount: proc-volume

This auditor makes the mountds kind of redundant so we can remove/deprecate it if you prefer.
Type of change

[x] New feature :sparkles:
[x] This change requires a documentation update 📖

How Has This Been Tested?

[x] Automated tests
[x] Manual tests (cluster - local mode, manifest files)

Checklist:

[x] I have 🎩 my changes (A 🎩 specifically includes pulling down changes, setting them up, and manually testing the changed features and potential side effects to make sure nothing is broken)
[x] I have performed a self-review of my own code
[x] I have made corresponding changes to the documentation
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] The test coverage did not decrease
[x] I have signed the appropriate Contributor License Agreement

Hey @jcbbc , thanks for opening another PR! The team will triage this on Monday. Cheers!

Should we address the deprecation in this PR or another one?

This is looking great, @jcbbc! I agree with @genevieveluyt that this a more comprehensive implementation, if compared to our current mountds auditor! Thank you!!! I left some comments/questions. So it makes sense to deprecate/remove the old auditor. 🎉🎉🎉

Should be good now 👌

Thank you @jcbbc !!!


How to get light stage dataset?

Hi!
I've been reading some relighting papers and found it helpful to have access to the lighting stage data set. I am new to this field, I would like to ask you how to get the lighting stage data set, is there an open source? I found some examples of lighting stage data on this site, but it's definitely not complete. Did they publish a complete data set?
Thanks!

Hello there!
For this project a custom built light stage from the University of Tübingen was used. The datasets with different light directions were specifically recorded in this setup and are not (yet) publicly uploaded.
If you are interested in relighting datasets, I can recommend ReNe. Although they did not use a light stage, they implemented some similar ideas to this work.

Hello there!
For this project a custom built light stage from the University of Tübingen was used. The datasets with different light directions were specifically recorded in this setup and are not (yet) publicly uploaded.
If you are interested in relighting datasets, I can recommend ReNe. Although they did not use a light stage, they implemented some similar ideas to this work.

Hi!
Thank you for your prompt reply. I looked at the data set you recommended, it seems to be well crafted, with good quality, I have a collection of it.
I'm sorry I didn't describe my problem clearly before, in fact, I need some face lighting stage data set at the moment, similar to the kind of real-life face images you show in this project, taken under different lighting conditions. Do you know of any public face lighting stage datasets? I've noticed in many papers that they use data sets from site , but I can't find a public version :(.
Thank you very much for your reply again!
非常感谢您的回复


Wcwidth and auto-extend selections

This PR includes two major updates:

Using wcwidth to detect wide characters. Current behavior is to treat all non-ascii characters as fullwidth, which breaks with, e.g. Russian or other half-width non-ASCII characters (see 8f0a05e for test cases and 4e258ce for actual implementation)
Extend selections to whole markdown paragraphs (e960df1). Empty selections are extended only if autoSelectEntireDocument is false (1e1f7a0). This allows to format individual tables without properly selecting them. This could have something to do with #14, but that's a wild guess.

Otherwise, it's general code cleanup and format.
Requesting comments.

With this code, when I try to run the specs it shows me the error:
Error: Cannot find module 'wcwidth'

I don't have node nor npm installed. Shouldn't the atom download the requirements automatically?
Do you know what could be happening?

Run apm install in package directory. This will install required modules.

Yep, that done it.
Published!


"Add to HomeScreen" on iOS

We're currently developing the G$ wallet as a webapp. There were a lot of trade-offs, we've had to strip out some of the app functionality, such as allowing quick access to on-device phonebook, in order to send quicker payments to friends and family.
One of the harder trade-offs we had to make, was giving up on iOS quick accessibility to the Wallet (which is native on Android). An ability for the user to add a simple Beautiful icon to their Home Screen.
This is what this card is.
Examples:

Reference:
https://www.npmjs.com/package/react-add-to-homescreen

@LiavGut

https://xd.adobe.com/spec/8f259bcd-550e-4f0c-40bb-bdce2ed36fe5-f914/screen/acf576a2-9e6c-4258-b689-ac4b4bd1fa6f/Dashboard-Feed-PopUp-Add-home-screen-icon-
Reminder:
https://xd.adobe.com/spec/8f259bcd-550e-4f0c-40bb-bdce2ed36fe5-f914/screen/d9bf74e9-a3e1-48c5-ab16-379c61054aec/Dashboard-Feed-PopUp-Add-home-screen-icon-Later
iPhone:
https://xd.adobe.com/spec/8f259bcd-550e-4f0c-40bb-bdce2ed36fe5-f914/screen/9a082247-2e2f-478d-ac57-9099c08331c7/Dashboard-Feed-PopUp-Add-home-screen-icon-iPhone


[Cosmos] further changes to test for internal pipelines

changed database name to have own resource with explicitly set throughput and reduced the number of iterations, since the splitting alone takes around 10mins

API changes have been detected in azure-cosmos. You can review API changes here


Failed to install following instructions

Hi,
Impossible for me to install on Mac OS 11.1 (Big Sur) with the following command:
git clone https://github.com/apache/incubator-superset.git
cd incubator-superset/
git checkout latest # I tried with and without
docker-compose build

The error
Traceback (most recent call last):
  File "site-packages/urllib3/connectionpool.py", line 677, in urlopen
  File "site-packages/urllib3/connectionpool.py", line 392, in _make_request
  File "http/client.py", line 1252, in request
  File "http/client.py", line 1298, in _send_request
  File "http/client.py", line 1247, in endheaders
  File "http/client.py", line 1026, in _send_output
  File "http/client.py", line 966, in send
  File "site-packages/docker/transport/unixconn.py", line 43, in connect
FileNotFoundError: [Errno 2] No such file or directory

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "site-packages/requests/adapters.py", line 449, in send
  File "site-packages/urllib3/connectionpool.py", line 727, in urlopen
  File "site-packages/urllib3/util/retry.py", line 403, in increment
  File "site-packages/urllib3/packages/six.py", line 734, in reraise
  File "site-packages/urllib3/connectionpool.py", line 677, in urlopen
  File "site-packages/urllib3/connectionpool.py", line 392, in _make_request
  File "http/client.py", line 1252, in request
  File "http/client.py", line 1298, in _send_request
  File "http/client.py", line 1247, in endheaders
  File "http/client.py", line 1026, in _send_output
  File "http/client.py", line 966, in send
  File "site-packages/docker/transport/unixconn.py", line 43, in connect
urllib3.exceptions.ProtocolError: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "site-packages/docker/api/client.py", line 205, in _retrieve_server_version
  File "site-packages/docker/api/daemon.py", line 181, in version
  File "site-packages/docker/utils/decorators.py", line 46, in inner
  File "site-packages/docker/api/client.py", line 228, in _get
  File "site-packages/requests/sessions.py", line 543, in get
  File "site-packages/requests/sessions.py", line 530, in request
  File "site-packages/requests/sessions.py", line 643, in send
  File "site-packages/requests/adapters.py", line 498, in send
requests.exceptions.ConnectionError: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "docker-compose", line 3, in <module>
  File "compose/cli/main.py", line 67, in main
  File "compose/cli/main.py", line 123, in perform_command
  File "compose/cli/command.py", line 69, in project_from_options
  File "compose/cli/command.py", line 132, in get_project
  File "compose/cli/docker_client.py", line 43, in get_client
  File "compose/cli/docker_client.py", line 170, in docker_client
  File "site-packages/docker/api/client.py", line 188, in __init__
  File "site-packages/docker/api/client.py", line 213, in _retrieve_server_version
docker.errors.DockerException: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))
[59546] Failed to execute script docker-compose

I also try to nuke docker, but no change.

@dpgaspar @srinify  this seems to be a problem as i have received the same question more than once from the community already.

@dpgaspar @srinify  this seems to be a problem as i have received the same question more than once from the community already.

Googling the error turns up a lot of results for other repos, I don't think this issue is specific to superset. This stack overflow answer suggests that maybe docker isn't running or is misconfigured on your machine

Googling the error turns up a lot of results for other repos, I don't think this issue is specific to superset. This stack overflow answer suggests that maybe docker isn't running or is misconfigured on your machine

Yes sorry it was because docker was not running.
I only search in this repository.
Maybe you could give a more explicit error than "No such file or directory".

Yes sorry it was because docker was not running.
I only search in this repository.
Maybe you could give a more explicit error than "No such file or directory".

Hey @jonathantribouharet unfortunately, if you look at the stack trace, you'll see that the errors are coming all from non-superset libraries.
The error is coming from the bowels of urllib3, a Python networking / requests library which we don't have any control over (https://pypi.org/project/urllib3/). The curse / gift of open source is being able to incorporate libraries created & maintained by the community, but that also means that libraries you don't steward will throw errors you can't necessarily accommodate!

Hey @jonathantribouharet unfortunately, if you look at the stack trace, you'll see that the errors are coming all from non-superset libraries.
The error is coming from the bowels of urllib3, a Python networking / requests library which we don't have any control over (https://pypi.org/project/urllib3/). The curse / gift of open source is being able to incorporate libraries created & maintained by the community, but that also means that libraries you don't steward will throw errors you can't necessarily accommodate!

Thanks for posting this issue; I had the same issue. It could certainly be more clear, but I think docker-compose should perhaps warn if docker isn't running.

@philihp You can file an issue with docker for that


scope is ported to "flames" now and supports clipping

i messed up the commit history a bit. but the changes are just those 2 files (lua and help)

What is flames?

i tried to make it easier to create pdlua objects with this little module here https://github.com/ben-wes/pdlua-flames ... it manages flags, messages and state. scope was a bit of a mess before (still is - but less)

after checking the performance a bit more now, i'm afraid that the clipping is not working well. the problem is, that instead of a path, i'm now drawing single lines and for each lines, there's a test for whether one or both points are outside the visible area and then the clipping point is calculated and new line coordinates returned. this is quite expensive and obviously not a good solution. we might keep this as an option. but i would not use it as default.


Write tests to ensure services schema is valid

We need tests to validate the data transfer objects and return objects for the services folder by performing GET requests on the indexer. This will help us detect any changes to the indexer or changes that are needed for our schema.

Possible test cases

[ ] Get ledger address and map
[ ] Get origination time and get proposal votes then map them both


Fixed the issue with back button in contribution tab.

Description (required)
Fixes #4157
What changes did you make and why?
Added the ability to show and hide fragment during fragment transaction instead of replacing the fragment each time, also added the suitable conditions for that.
Tests performed (required)
Tested betaDebug on Pixel 3 emulator with API level 29.

Hi @Pratham2305 , while the changes look good to me, would it be possible for you to maybe attach a vide/gif as well with the back press behavior after your fix?

Hi @Pratham2305 , while the changes look good to me, would it be possible for you to maybe attach a vide/gif as well with the back press behavior after your fix?

Ya Sure, @ashishkumar468 have a look
https://user-images.githubusercontent.com/54663429/104751693-bd181c80-577b-11eb-8be1-50b8c429c438.mp4

Ya Sure, @ashishkumar468 have a look
https://user-images.githubusercontent.com/54663429/104751693-bd181c80-577b-11eb-8be1-50b8c429c438.mp4

Thanks @Pratham2305 !

Thanks @Pratham2305 !


NO way to get LAVA

#Issues:-

I was playing this mod pack and couldn't find any way to get lava.
Some sapling drops are not good (like Oak, Jungle, etc.), For example, I got an oak sapling from bone milling grass, and then from those trees, I got 3 saplings, but I didn't get any saplings from those three trees.

#suggestions:-

Add a simple storage mod (TOM Simple Storage) for late game.
Add FTB Ultimine for an easy start (At starting Tree chopping is a huge pain)

#Issues

How far did you get in the advancement line? What were your problems and/or paradoxes when getting lava? Something I can tell you yet: It's not an early game resource! Why do you need lava right now?
That is actually bad luck, but jungle trees are likely to drop fewer saplings than you've planted, even in vanilla Minecraft. I haven't changed any of the loot tables, though, except for the budding amethyst blocks.

#Suggestions

I actually thought about this, but since the recipes of Tom's Simple Storage are very difficult in my modpack (for example diamonds), I decided to add Extended Drawers instead. Since the main reason to add this is probably the Storage Terminal, but you can also build it with a lot of drawers.
How is chopping trees painful even if you have a mechanical saw?

Hi, I've been going through the issues here again for a long time and saw that you needed the lava bucket (according to your other issue at Extended Drawers) for the destruction of surplus items. In this regard, a lava bucket (which you would keep by the way) is quite expensive. As an alternative, you can simply place an empty drawer with a funnel or chute in the void next to your drawer construct. Everything that is transported into the system beyond your items (via a drawer access point) is channelled into the additional drawer, but thrown directly back into the void.
Sorry for the long wait.

Я также встретил проблему добычи лавы. Единственный способ отображен на скрине, но для него нужен торт всполоха, который также делается из лавы. Как быть с этим?


add sig for === for NilClass

Motivation

Test plan

See included automated tests.

wait checking why the diff got so large

wait checking why the diff got so large

I think you have rubyfmt on somehow.


Hash password before storing

Is your feature request related to a problem? Please describe.
The passwords being stored are not hashed, this is a security concern while developing e-commerce websites.
Describe the solution you'd like
Before storing passwords we can hash it, alternatively before making the API request to backend we can hash the password then we can store it.
Describe alternatives you've considered
none.
Additional context
This will lead to breaking changes for existing users, we can either register every user again or we'll have to hash passwords already present in database.
Lastly, I would like to work on this issue.

Hi @akshat-rawat Hashing of a password is implemented in userModel.js https://github.com/roopeshsn/freshbey/blob/a61c420b5ceb4eb96142161887b49632a1d4bc12/backend/models/userModel.js#L51


Set device profiles on Blazar

This adds a device_profiles property for the device hardware type,
which is a list. Each profile is expanded to a separate key on
Blazar, with a value of "True". Currently we don't have a way to
unset these properties, so they will never be pruned later :(

 Set device profiles on Blazar device resources for easier reservations


feat: add SetClientBehavior method to allow users can select proxy client's do behavior

What type of PR is this?

What this PR does / why we need it (English/Chinese):

Which issue(s) this PR fixes:

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


Tzdata tests

@skupr-anaconda  the comment has been addresses. Can you please review the PR again when u get a chance. Thank you


Making error enum public?

Right now it's not possible for crate users to do custom error handling because the error enum is not exported. Would it be possible to export it? This would be useful for e.g. translating error messages, or in my case, changing the at line X column Y text (long story but I am using this to parse a section of YAML in a larger file non-yaml file, so I need to offset the line/column values so that they make sense to the user).

I am encountering a similar problem. I would like to deepen the errors to return exhaustive and concerning messages to the user, but since ErrorImpl is private, I cannot inspect it.

Same issue here 😢


feat: add useOutsideAlerter hook and fix dropdown

closes https://github.com/web3ui/web3uikit/issues/958

wow @dani69654 this is a very handy hook, not sure about the prop rename. its not visible or invisibly, just open or close

Hey @BillyG83 , good point with the naming.
I can use a nickname for the dropdown component such as:
    const {
        ref,
        isComponentVisible: isOpen,
        setIsComponentVisible
      } = useOutsideAlerter(false);

On it.


Allow returns values to be ignored in try catch

A try catch statement does not need to decode the return values if it is not interested.
interface I {
      function func()   externalpublic returns (int, bool);
}

contract C {
     function test(I i) public {
           try I.func() {
           }
           catch (bytes memory bs) {
           }
     }
}

Here func() returns two values but the try statement does not use them at all. This means they do not have abi decoded either.

I think this change is correct. A codegen test, ultimately proofing that the decoding is no longer happening, would be the cherry on top.

I've added a test


Breaking change: Setting explicit value doesn't make temporary value non-temporary

See https://github.com/dotnet/efcore/pull/30760

Reverted.


Use a decorator to register features

This makes it easier to add features, and have aliases for them
Will make it easier to add descriptions of the return types, in
the future

Current coverage is 99.42% (diff: 100%)

Merging #572 into master will increase coverage by 0.01%

@@             master       #572   diff @@
==========================================
  Files            42         43     +1
  Lines          2040       2093    +53
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           2028       2081    +53
  Misses           12         12
  Partials          0          0

Powered by Codecov. Last update 9b6416a...2bcad3d

Is this PR still relevant ? Should we merge it ?

Good question, I don't really know.  I think some of the changes are useful, but the decorator to register features is probably not a good idea.  I also think we could drop the 'register your own features', b/c I doubt anyone has used that.
This was one of the main reasons for doing it:
https://github.com/BlueBrain/NeuroM/pull/572/files#r93192751

closing in favor of #860


Graceful transition to nested metadata

I'm on board with the idea of moving towards a nested metadata element. I can think of two distinct ways this could be done so we can migrate the portal-ui code.

For a period, two different ES instances will be available, one with everything at the top level, one with the relevant bits moved into metadata
For a period, the ES instance will have both the top-level and the nested metadata.

I don't have a strong preference, but it would be good to be clear about what the path is.

@mccalluc Are you talking about the new ingest_metadata field on the Dataset entity?

I think so? You had mentioned the problem of the top-level space getting cluttered, and names starting to collide, and we all agreed our metadata could be down a level. Here, I'm just trying to get clear on what that path is. Thanks!

This migration has happened. Moot.


How to invalidate the MSI page table cache？Are the two addresses A in Figure 1 and Figure 2 the same?

The instructions of invalid MSI page table have provided at chapter 6.3.3.
I think the address A in those two places are the same, GPA.
MSI page table doing the address translation of Guest interrupt file from GPA  to SPA.

@18772820305 please let me know if there are further questions.

Can the ADDR operand of IOTINVAL.GVMA command be a GVA?

Please see Table 10 row 3

Closing this issue. Hope that addressed the question. Please feel free to ask if there are further questions.


Added closure passing to get/set elements.

Simplex elements don't have a natural ordering, so it is still useful to
pass element-specific closure vectors to the get/set routines. This
merge adds that functionality.

Natural spectral ordering for hex / quad, so the closure vector is just a LinSpace.

Current coverage is 90.81% (diff: 100%)

Merging #46 into master will decrease coverage by 0.59%

@@             master        #46   diff @@
==========================================
  Files            42         42
  Lines          2108       2113     +5
  Methods         339        339
  Messages          0          0
  Branches        315        317     +2
==========================================
- Hits           1927       1919     -8
- Misses          181        194    +13
  Partials          0          0

Powered by Codecov. Last update 8c693f3...5e80572


HDDS-2785. Move ozonefs and tools minicluster tests to integration-test

What changes were proposed in this pull request?
ozonefs and tools modules in hadoop-ozone have a mix of unit and integration tests.  This PR proposes to

switch dependency order: let integration-test depend on these modules instead of the other way around
move integration tests (those that use Mini*Cluster) from these modules to integration-test
let unit check run remaining tests in these modules

This improves code coverage in CI.
https://issues.apache.org/jira/browse/HDDS-2785
How was this patch tested?
Clean CI run in fork: https://github.com/adoroszlai/hadoop-ozone/runs/358275984
Ran integration tests locally (with failures).

Thanks the patch @adoroszlai. I like the approach to reverse the dependency (and simplify acceptance.sh and unit.sh), but I would prefer to keep the feature to separate certain type of integration tests as in this branch/runs:
https://github.com/apache/hadoop-ozone/runs/373475163
The test execution of integration-test project is already very slow, we can make it faster with separating contract/tools tests. I am not sure how to do it in this new structure. We have multiple options:

put everything to the integration-test and use profiles to separate tests
create separated integration-test/contract and integration-test/tools projects
Keep the tests in the original projects and use the maven integration-test phase to execute these tests.

What is your preference?

Thanks @elek for bringing this up.

put everything to the integration-test and use profiles to separate tests
create separated integration-test/contract and integration-test/tools projects
Keep the tests in the original projects and use the maven integration-test phase to execute these tests.

What is your preference?

I think option 1 would give us the most fine-grained control for grouping tests to ensure similar run time of the parallel jobs.

I think option 1 would give us the most fine-grained control for grouping tests to ensure similar run time of the parallel jobs.

In this case let me commit this one, and we can introduce the new profiles in the patch where the integration tests are enabled...

Thanks @elek for reviewing and committing this.