Add 15 projects in September

Due: 2019/09/30 #7
Given I only added 1 project to the list in August, I'll try to build the new habit and add at least 15 projects in September.

[x] Safecast
[x] OpenFarm
[x] Alaveteli
[x] Kolibri
[x] Union VMS
[x] MediaWiki
[ ] OnSSET
[ ] OSeMOSYS related to OnSSET

Awesome, thank you :)

Spending too much time investigating projects that don't fit our requirements or can't be added at the moment and waiting for action. @AblingerOscar do you have a good idea on how to manage this information?

Xanthos

Anthos is an open-source hydrologic model, written in Python, designed to quantify and analyze global water availability.
mail sent to ask for a roadmap and contribution guide. the community could, for example, build and maintain a public browsing app for anyone to go and visualize global water availability over time.

Audacious

big ideas projects that can have a huge global impact
mail sent to request more details regarding licensing. Too difficult to find the OSS projects in the lot atm.

PrivacyNet

The analyzer tool teaches visitors about web security issues and best practices.
Tweet sent to request open sourcing of the project

Atlas

Tweet sent to request a contribution guide. SDG10

WikiGender

Tweet sent to request fixing the login process on their site

OpenForis

Tweet sent to request a contribution guide. SDG 15

OHorizons

Tweet sent to ask how can contributions help them. SDG6

I initially thought about just posting them in a slack channel, but thinking more about it, we could just simply make a new branch for them?
We could add a new branch where we have only projects that are still missing stuff we require.
I'd probably make them a markdown file with an explanation (and links) as to why it's not eligible and potentially a issue/tweet/etc. that we opened to rectify it. The yaml object could then be added to the markdown as a code tag, if some of it was already created.
PRs for that branch would probably clutter it too much, so I'd not require them from maintainers and hold them to a lower standard than our master branch.
Once they complete what was necessary, we'd create the yaml file based on the master branch, create a PR, audit it there (no need to do it earlier than that) and delete the mardown file on the other branch with a link to the PR in the commit message.
I'm not sure it's the best solution, but it would avoid us having too many open issues and loosing the overview (like it would likely happen in a slack channel) and have it on Github ready for everyone to see and potentially even add to it.
What do you think?
If we decide to go with that idea, I'd probably base that branch on commit cb47af8 (browse files)

having multiple main git branches for this project sounds a bit too much.
For the moment, I feel that showing that we're doing anything, whether it makes it to the list or not, would be the most efficient and boost the team morale. I wrote a message about it on Slack.
Ended up investigating 14 projects, with 6 ending up in the awesome list. This was done in 2 weeks, and I burnt out the rest of the month.


Enable visual group export

Coverage: 93.549%. Remained the same when pulling b986c50a5981f0028759c3ff483005daff1c0efb on enable-visual-group-export into aa1efc44baab0bd6c2b15186fe9cca535d247e84 on main.


[Bug] Regression in commit 0169d0d2

Reported by andrex42 on 2010-06-07 08:03 UTC
The commit 0169d0d2 changed behaviour so that some packages broke. An SSCCE sent privately to the assignee.

Commented by pgrigorenko on 2010-06-07 12:53 UTC
Fixed in commit 97c3230969ac6261048d2c38b771143362123517

Updated by pgrigorenko on 2010-06-07 12:53 UTC

status: open --> closed-fixed


Terraform Resiliency Updates

Overview/Summary
Replace this with a brief description of what this Pull Request fixes, changes, etc.
This PR fixes/adds/changes/removes
This PR adds several resiliency and currency updates:

Sets default gateway sku's to a zone redundant version
Sets public IP addresses to Standard, Static, with all 3 zones represented as defaults
Added Delete locks to all private cloud implementations
Updates the AzureRM and AzAPI minimum versions
Converts static password entry on the greenfield module to an autogenerated value stored as a key vault secret.

Breaking Changes
Testing Evidence

As part of this Pull Request I have

[x ] Checked for duplicate Pull Requests
[ ] Ensured my code/branch is up-to-date with the latest changes in the main branch
[x ] Performed testing and provided evidence.
[ x] Updated relevant and associated documentation.

Finished testing and the code runs clean now -


ImportError: No module named src.metal_dock.main

(MetalDock) saem@b0-be-83-3f-26-bb ~ % metaldock -i input.ini
Traceback (most recent call last):
File "/Users/saem/MetalDock/metaldock", line 3, in
from src.metal_dock.main import main
ImportError: No module named src.metal_dock.main

Hi @Saem5075 -- Thanks for raising this issue.  Issues are a great way to communicate on problem-solving.
I think what's going on is that the MetalDock author(s) has provided a very weak method for installing the code base, by having us download the source,  and having the $PYTHONPATH environment variable point to it.  This is not the "conda" way of installing/managing packages.  Let me look into some ways to do it better.   I will report back shortly.

Ok @Saem5075 -- I think I figured out how to successfully install the metaldock executable script.  Please see my installation guide in the README.md. Try it out, and let me know.

Thank you so much! I am trying, and I will let you know the outcome.

Hi Dr. Voelz,
I tried to follow every step but while run % metaldock -i input.ini following error found. I don't know what is that.
(MetalDock) saem@As-MacBook-Air MetalDock % metaldock -i orca_input.ini
Traceback (most recent call last):
File "/Users/saem/git/MetalDock/metaldock", line 6, in
main()
File "/Users/saem/git/MetalDock/src/metal_dock/main.py", line 18, in main
docking(par)
File "/Users/saem/git/MetalDock/src/metal_dock/docking.py", line 66, in docking
qm_dir, energy = adf.adf_engine(xyz_file, par, output_dir)
File "/Users/saem/git/MetalDock/src/metal_dock/adf_engine.py", line 25, in adf_engine
adf_opt_converged('ams.log')
File "/Users/saem/git/MetalDock/src/metal_dock/adf_engine.py", line 64, in adf_opt_converged
with open(ams_log) as log:
FileNotFoundError: [Errno 2] No such file or directory: 'ams.log'


Ollama fails to create model when blob is already present and drive is full

What is the issue?
If I try to create a model from a modelfile that references an existing blob, ollama (i think) copies the entire blob to a temp file before realizing it already exists and creating the model. This makes model import take needlessly long and means you need to have extra free space on you drive to fit the model twice. I would expect it to just create whatever metadata files it needs and leave the model alone.
FWIW there should probably be better a way to use existing models, I've been doing this manually by symlinking models into the blobs directory as the correct name, but the import process still requires a full copy of the model before it figures it out
OS
Windows
GPU
Nvidia
CPU
Intel
Ollama version
0.1.47

It seems like this behavior actually happens even when the file isn't already present. I'm running ollama create with a modelfile that references D:\model.gguf with Ollama keeping it's models on C. During the transferring model data phase of creating the model it briefly takes up 2x model size on C.

Hey @thot-experiment, can you share a bit more details on what commands you're running, what models you've been using, and how you're tracking your disk space? Currently, we check for the blob before doing any writes of the model to the models directory. You can see this with ./ollama serve logs.
[GIN] 2024/07/18 - 10:47:12 | 200 |     214.791µs |       <IP_ADDRESS> | POST     "/api/blobs/sha256:cfce48ca57f022cd3676c0623dbc0feb387a043d403ed32b216d3fabd9e5c5ca"
[GIN] 2024/07/18 - 10:47:21 | 200 |  8.962061125s |       <IP_ADDRESS> | POST     "/api/create"
[GIN] 2024/07/18 - 10:49:58 | 200 |      15.959µs |       <IP_ADDRESS> | HEAD     "/"
[GIN] 2024/07/18 - 10:49:58 | 200 |    1.410667ms |       <IP_ADDRESS> | GET      "/api/tags"
[GIN] 2024/07/18 - 10:50:02 | 200 |      16.709µs |       <IP_ADDRESS> | HEAD     "/"
[GIN] 2024/07/18 - 10:50:02 | 200 |  271.763167ms |       <IP_ADDRESS> | DELETE   "/api/delete"
[GIN] 2024/07/18 - 10:50:04 | 200 |          20µs |       <IP_ADDRESS> | HEAD     "/"
[GIN] 2024/07/18 - 10:50:22 | 201 | 10.933092292s |       <IP_ADDRESS> | POST     "/api/blobs/sha256:cfce48ca57f022cd3676c0623dbc0feb387a043d403ed32b216d3fabd9e5c5ca"
[GIN] 2024/07/18 - 10:50:31 | 200 |  8.937056334s |       <IP_ADDRESS> | POST     "/api/create"

The initial POST to the blob finds the blob exists and uses that blob. In the second case with the 201, it copies the blob over since we deleted it prior to the request.

i'm using "is the command failing because i run out of diskspace"/"do i end up with 0 disk space" as my disk space metric, and i was using ollama create model_name -f Modelfile where Modelfile starts with FROM ollamadir/models/blobs/sha256-00e832ab2a729f48c19...
i think perhaps what's going wrong here is that the ground truth in ollama is in some database rather than the file on disk, so if ollama isn't aware of the file it just blindly goes through some copy process rather than seeing that the file exists and matches the sha?

Thanks for the response. We use the files on the server (on disk in your case) to check if the blob exists. The copy only occurs when the blob (with the matching SHA) does not exist in your model directory. Would you be able to share your logs for your model create? Could you also include a screenshot of your models directory on disk before and after you create the model? This is likely in place like \Users\____\.ollama\models\blobs

We found the cause for this bug, thanks for pointing it out. This PR should fix the create times for you


Callback refs: return the Dart component, not the JsObject instance

Ultimate Problem
Refs specified as callbacks were called with the JsObject instance, not the Dart component.
This behavior is different than that of Component.ref(...), and makes it impossible to use Dart components with callback refs without knowledge of react-dart internals.
Solution
When a ref is specified as a callback to a Dart component, wrap it in a callback that calls the original with the Dart component.
Testing

Open example/test/ref_test.html
Verify that the examples for both string and callback refs work as expected.

@hleumas @trentgrover-wf @maxwellpeterson-wf @aaronlademann-wf

+1

+1 - merging


Add a Feature to Lock a Folder (which can prevent unknowingly creating something in the respective folder)

Introduce a feature to lock/unlock folders (which can prevent unwantedly creating something in that folder). For Example - Lets say someone wants to create some file in a parent folder but (i don't know about people) but it happened with me a lot of time that I created that file in node_modules folder.
Image for Reference

Thanks for the feature request. Unfortunately I don't think this is practical for a variety of reasons, for one there are many different ways to create a new file, and it's not clear which of them should be affected by this. You can always lock it at the OS level to truly seal it.


hover_assist considered a bot

Hey,
The hover_assist would be considered a bot and not allowed on official DDNet servers.

Surprise！LOL
I think you are the first person to find it. Should I delete this code?

From a dev/hacker standpoint I can understand that it's fun to write tools like this and share them. From DDNet admin standpoint I would appreciate it if bots are not public or don't exist at all.

Very formal answer, since you said that, I will delete the code.
By the way, I remember that there is a map that must use a bot, unless you can click the mouse left button five times in a row with an interval error of no more than 0.001 seconds.
https://ddnet.org/maps/Bootcamp-32--35-1/
I don't believe there are 1503 tees finished without bot.

We made the map easier recently, there was a physics change which broke one of the last parts.
I don't want to "force" you to delete the code and I enjoy seeing people experiment, but thanks for deleting it anyway.

I know what you mean. My expression may not be accurate. I mean, your answer seems to be "formal":)
And interestingly, I started to make 'bot' after playing this map.


Would you consider supporting Authentication?

As How to Enable Password Authentication mentioned, the Authentication is supported by the fluentd, including TLS and Password.

This library at the moment is using a tcp connection to make use of the in_tcp plugin in fluentd: https://docs.fluentd.org/v1.0/articles/in_tcp.
As far as I can see, there is no way to handle security or authentication for that.
The in_forward plugin you've linked is used for receiving logs from other fluentd applications/clients.
For security reasons, you may be better off configuring a firewall to sit between fluentd and the applications to control what can access it.
Sorry.


No sound from music apps

No sound, all apps working but no sound at all. Nbt 2014.

Duplicate of #685


Alias utility update

This PR aims to address #1427. I realize we don't yet have a solution everybody is happy with but I think this is worth updating while the utility still exists.
Here is an example of it in use:

For this example it doesn't do much but if you have a long notebook that reuses dimensions/groups/labels constantly, I think this utility really pays off, making everything more succinct and organized. It means you can specify the definitions once at the top, making the rest of the notebook more succinct.
Once we do find a good solution to defining dimensions and sanitized groups/labels without awkward repetition we should document it and probably remove the dimension preset system.

In the end, I decided to rename Aliases to Dims and focus on dimension aliases only:

Unless I add something for tuple aliases, this means we offer nothing to help with sanitized group/label aliases.

Would something like this work as a more general approach, not specific to Dimensions or groups or labels, but just to things that you might want to look up easily?
class Aliases(object):
"""
Helper class useful for defining aliases, which are
Python identifiers that expand either to a named
object or to an arbitrary Python string.

Sample usage:

``
d = Aliases(hv.Dimension('female_weight', unit='kg', range=(0,None)),
            male_weight='Body weight of male participants',
            mh=hv.Dimension('male_height', unit='kg', range=(0,None)))
Curve(data, kdims=[d.female_weight], vdims=[d.mh])
``

Here `female_weight` is passed as a positional argument, and is thus
addressed by its `name` attribute, while the others are addressed
by the specified keyword.
"""
def __init__(self, *pargs, **kwargs):
    for o in pargs:
        setattr(self, o.name, o)
    for k,v in kwargs.items():
        setattr(self, k, v)

@jbednar Interesting suggestion!
Pros:

Conceptually simpler
Would work with any parameterized object (even if the names aren't always nice)

Cons:
Doesn't help map keyword='val' to the tuple ('keyword', 'val')
For instance, in your example:
Dimension(d.male_weight)

Is not supplying the name ('male_weight') to the name parameter but supplies the label instead (''Body weight of male participants''). To define a name and label, you would have to do:
Dimension('male_weight', label=d.male_weight) # OR
Dimension(('male_weight',d.male_weight))

Which isn't so helpful : now the alias is only used as a handle on the label string and you still have to repeat typing 'male_weight' twice.
Anyway, the idea of using *args instead of a list had occurred to me (and I think it is an improvement) and I hadn't realized this can be used for anything with a .name (making that part more general that I had initially thought).
To adapt your code, the more version (imho) is this:
def __init__(self, *pargs, **kwargs):
    for o in pargs:
        setattr(self, o.name, o)
    for k,v in kwargs.items():
        setattr(self, k, (k,v))

Unfortunately, it is a little harder to explain in the docstring!
Here is another way you might try to generalize it though it isn't very sensible unless we can refine the idea some more:
# Example 'mappers' where this could be a class parameter
mapper = lambda k,v: v                        # Same output as Jim's proposal above
mapper = lambda k,v: hv.Dimension(k, label=v) # Now v has to be a string to make a dim
mapper =  lambda k,v: (k,v)                   # Tuple usable for dims or sanitization

def __init__(self, *pargs, **kwargs):
    for o in pargs:
        setattr(self, o.name, o)
    for k,v in kwargs.items():
        setattr(self, k, self.mapper(k,v) )

I'm thinking it would behave like what you suggested but there is a way to specify a callable to output the appropriate value given the supplied keyword and value. One issue with this is that if you don't want to restrict the possible kwargs, these 'mapper's would have to be supplied at the class level (which might not be so bad really).
Hope that is clear! I still feel something like this is needed, but it does still need more thought...

For instance, in your example:
Dimension(d.male_weight)

I don't see that code in my example, so I'm not sure what you mean. In any case, I'm not sure exactly why you want to map to a tuple instead of just the longer string, so please do explain that.

I'm closing this, it's been stale for over a year and both I and @jbednar agreed that we would like to see it closed.


[CLI]: wandb.Video takes a very long time

Describe the bug
Running wandb.Video when providing a numpy array takes a very long time. Using the profiler I found that the issue is the quantization of the frames for the GIF that is created by default. I suggest changing the format to be mp4 by default, this avoids this quantization and runs much faster. Also, it might be wise to change the default FPS to something other than 4.
If the above changes are not desired for some reason, I suggest you update the documentation on the website to inform of this behavior and maybe also add an FAQ item for this.
Thanks!
Additional Files
No response
Environment
WandB version:
0.12.14
OS:
Fedora 8.5 server
Python version:
3.7.13
Versions of relevant libraries:
imageio=2.17.0
imageio-ffmpeg=0.4.7
moviepy=1.0.3
Pillow=9.0.1
Additional Context
No response

Hi @eliahuhorwitz,
Thank you for the request! I'll pass it along to our engineering team for review. Could you share a link to the page where you see this slowness?
Thanks,
Ramit

Hi @eliahuhorwitz,
Thank you for the request! I'll pass it along to our engineering team for review. Could you share a link to the page where you see this slowness?
Thanks, Ramit

Hey @ramit-wandb,
Thanks for the prompt answer. I am seeing the slowness in the python library, not the website. As for the documentation, I followed the code snippet found here https://docs.wandb.ai/ref/python/log#video-from-numpy and the documentation found here https://docs.wandb.ai/guides/track/log/media#other-media, here https://docs.wandb.ai/guides/track/log/media#how-do-i-log-a-video and here https://docs.wandb.ai/ref/python/data-types/video. Nowhere does it hint to the impact of gifs vs. mp4s on performance.
Cheers,
Eliahu


The Android app icon is smallish

...in all launchers except those based on the Google Pixel one.
Eg. For these https://search.f-droid.org/?q=launcher&page=1&lang=en only Rootless Pixel Launcher and Lawnchair have it full size, all the others (KISS, BlissLauncher, Essential Launcher, Simple App Launcher, etc) show it at 25% or thereabout

Thanks for reporting. I have an idea of how to resolve this. I don't think I'll be able to push the fix until v1.3.2 because of an ongoing RMA with my equipment, but once everything is in order again I'll make sure to patch this, test it and push it out.

I believe I have a fix ready for this now. It will be in v1.3.1 which will be pushed out shortly. It may take a few days for the app to update in F-Droid.

Please reopen, not fixed in 1.3.1

Can you try reinstalling the app and see if that fixes it first? I'm unable to reproduce somehow

Already did.
Some more info, it looks ok in KISS on Android 6.0.1 but still small in KISS on Android 10.

I'll have to look into that. I verified that it works on Android 6, but I don't have any Android 10 compatible devices to test with. I'll see if I can get a VM up and running and then I'll see if I can reproduce it.

Unable to reproduce on KISS Launcher on Android Q emulator

Appears better in 1.5
Thanks

That's strange, I didn't actually touch the icon in 1.5. But good to hear that it works now :-)

Yeah, it's not the same size, maybe more like twice as big, compared to the pic above.


vs Code problem

we cannot connect to the extensions marketplace at this time please try again later
i get this error everytime i try to install extensions

Can you please provide following logs while you get this error?
- Help -> Toggle Developer Tools -> Console
- View -> Command Pallette... -> Toggle Shared Process -> Console
- View -> Open View… -> Log (Shared)
- View -> Open View… -> Log (Window)

It would be also helpful if you can provide the screenshot of the error in VS Code


#742 - Workspace Scan API

Added ability to construct Workspace Scan models and kick off dry run and full ingest process from them via REST API. Documentation is also added for Scan to the REST and Architecture sections.

During dry runs and prior to an actual ingest, configuration changes should be allowed. Once you have launched the ingest job, no further dry runs or configuration changes will be allowed. We will continue to allow multiple dry runs and only the newest dry run job will be related to the Scan model.


Unicode Clue label & positioning

I would like to highlight cells in my crossword so once the user has completed the crossword puzzle they have an anagram to solve from the individual letters. I have done this exolve-colour, however, I would like to add a clue to the cells to help them with the order. I was thinking of adding a unicode character (a number in a circle) in the top right of the cell so that it isn't confused with the main question numbering. Is this possible or is it down to CSS again?
For example:
1 Don't click if it's ______? (10)
#g17 [1]
You can see that 1 down has the correct number. The next cell down has a clue with the number one in the top left but it is confusing with the number above. So the red unicode\font number in a circle is a suggested clue position. Is this possible please?
Thanks again

I can add a JavaScript function that can help you do this, and will provide an example of how to use it. I don't really think this corner case needs an exolve-*/option adding complexity.
I'll try to include the added API in the next update.

I've added this API in v0.92 now.
You can find the documentation here: https://github.com/viresh-ratnakar/exolve/blob/master/README.md#customized-additional-text-within-cells
I am also pasting the relevant bits here:
Customized additional text within cells
Exolve provides you with a JavaScript API that you can call from
customizeExolve() that lets you add arbitrary text within any cell. The
function to call is:
addCellText(row, col, text, h=16, w=10, atTop=true, toRight=false);

This will add text (which should be just raw text, not HTML) with font size
h px in a box of size w px by h px in one of the corners of the cell at
row, col (which should be a light cell or a diagramless cell). It will also
return an SVG 'text' element that you can style further if needed.
Examples:
function customizeExolve(p) {
  p.addCellText(0, 1, '@', 12, 10, true, false)
  let c = p.addCellText(0, 3, '①', 16, 14, true, true)
  c.style.stroke = 'blue'
  c = p.addCellText(1, 0, '*', 18, 10, false, true)
  c = p.addCellText(1, 2, '%', 12, 8, false, false)
}

Closing out old bugs that I did take some action on. If I haven't fixed every aspect as expected, apologies, but please open a new bug (hard for me to parse out what remains to be fixed).


fossid-webapp: Make Scan.id an integer

Historically in ORT, the id was always a free nullable String even if
the FossID server in fact always returned the id as a non-nullable
integer.
This led to a subtle bug: when creating new delta scan,
FossID.recentScansForRepository was listing all the scans and sorting
them with .sortedByDescending { scan.id }, i.e. alphanumerically.
We didn't notice this behaviour because our scan ids were between 1000
and 9999 for a long time. As soon as the server went over 10000, the
lexicographic sorting order was wrong and led to cases where older scans
were used for delta scans basis, and also newer scans were automatically
deleted by ORT scanner.
Signed-off-by: Nicolas Nobelis<EMAIL_ADDRESS>

Merging despite the unrelated Python test failure which will get fixed separately by https://github.com/oss-review-toolkit/ort/pull/4848.


Rename misnamed (typo) function 'wihtoutStringifiedEnvConfig'

Change misnamed function 'wihtoutStringifiedEnvConfig' to 'withoutStringifiedEnvConfig'.

Thank you @pavlovich, @mgechev would appreciate this fix as well:
https://github.com/mgechev/angular-seed/blob/master/tools/tasks/seed/build.index.dev.ts#L20
Would you submit this same correction to the parent seed?
That way Minko and others can benefit - Those changes will make their way in here 👍

Opened corresponding PR on angular-seed project. Closing this one.


Match existing DOM nodes

This would be useful for rendering a page on the server side, and then initializing a client side app with the DOM nodes that are already on the page.
API strawman:
// where `node` is an optional parameter which will try to match existing nodes.
// return value would just be the `node` passed in.
simulacra(data, bindings[, node])

The way to do this would be to run all of the usual code, and then use isEqualNode on the cloned node and the original nodes.

Done https://github.com/0x8890/simulacra/commit/6dd33095ecda275ac82ce63bdf9917de3fc8fb9b


Update aws-java-sdk-kinesis, ... to 1.11.737

Updates

com.amazonaws:aws-java-sdk-kinesis
com.amazonaws:aws-java-sdk-s3
com.amazonaws:aws-java-sdk-sqs

from 1.11.734 to 1.11.737.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.amazonaws" } ]

labels: library-update, semver-patch

Codecov Report

Merging #204 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #204   +/-   ##
=======================================
  Coverage   47.68%   47.68%
=======================================
  Files          24       24
  Lines         281      281
  Branches        1        1
=======================================
  Hits          134      134
  Misses        147      147

Continue to review full report at Codecov.

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


Add Code of Conduct

The repository needs a code of conduct that applies to the DiveRSE series and this also needs to be added to the GitHub Pages site.

Code of Conduct add in b301e60 so closing this.


Parcel delineation example uses a file that does not exist 'soy_2019.geojson'

We received a ticket on the zendesk that a user could not run the parcel delineation example because the soy_2019.geojson file could not be found.

Currently in PR.


CLOUD-50208 update to Ambari RC1/build 148

@akanto let's update Ambari

Jenkins build finished, all tests passed.
Refer to this link for build results: http://ci.sequenceiq.com/job/cloudbreak-pull-request/2022/


i18n(fr): Updating docsearch elements translation

What kind of changes does this PR include?

New or updated content
Translated content

Description

What does this PR change? Give us a brief description.
I updated the translation of docsearch.ts file.

LGTM


Fix authorization for buildpack builder periodic task

Fixed authorization by setting keychain for the pack client.
This is required since recently we set pull policy to "always" recently.

/retest


Update speed and snappi version

Update snappi version to 1.3.0
Change the speed to 10Gbps

We do not need this change anymore as @armdupre incorporate this in cloud-pull branch

@armdupre will update this, no need for my PR


Does this support weighted graph?

The demo in readme work in an unweighted graph. Does this support weighted graphs?

Yes. https://github.com/taynaud/python-louvain/blob/master/community/community_louvain.py#L163

The implementation supports weighted graph. The weights should be an attribute of the edges. The higher the weight, the stronger the connection is. By default, the attribute read is weight.


Example todo / todo-sh agent? Also .starter command is not available

The docs reference a todo agent (sometimes referred to todo-sh). The docs also mention a .starter command to  Use the conversation starter but this doesn't work and there are no agents pre-configured. Are there any examples how to build a simple agent with vars/tools etc? I was hoping I could peak into the config of an existing one.
Thanks

@cmardiros
see https://github.com/sigoden/llm-functions

Oh I see, I hadn't realised the docs reference a different repo. Thanks for the clarification


Fix/vouches query

Should fix:

Don't show "Advance to Pending" option if vouches are expired/not valid (example: 0x8b84eb2d86eb83a462faa30e65d12e1c94fbb047 ).
Don't count used gasless vouches as on-chain vouches when someone reapplies.
When someone finalizes its registration, only try to advance to pending profiles with valid vouches.

"Finalize registration..." takes a while to load. Should we add a toast message to calm the user?

This last commit corrects the "1/1 vouches" in reapplications when they had 0 vouches. Filter in line 212 should not be necessary after #460 gets merged.

Awesome, thanks @alcercu. Is that taking into account on-chain vouches as well?

Yes! On-chain vouches are indexed in the subgraph.


mzML file works with search engines but not with quantitation tools

Hi,
I was running the thermo converter on usegalaxy.eu on several raw files to convert them to mzML files. The mzML files were compatible with search engines but not with moFF version 1.2.1 (error: could not find obo files). Featurefindermultiplex did not throw any error but did not quantify any feature either. The mzML files obtained with msconverter give results with moff and featurefindermultiplex.
This is one of the raw files I tried to convert:
https://galaxy.uni-freiburg.de/datasets/0b3e8078f6f876c0/display?to_ext=thermo.raw
The commandline was:
ThermoRawFileParser.sh -i=input.raw -o=./ -f=1 --metadata=1

ping @ypriverol

I have been testing the file and the number of MS1 is 8249. Can you provide me the mzML that you are getting with Galaxy.

Hi @ypriverol,
thanks a lot for checking the file! This is the mzML output from Galaxy:
https://galaxy.uni-freiburg.de/datasets/7ed056308214d5ba/display?to_ext=mzml

Hi Melanie,
I think it has to do with the controlled vocabulary entries in the cvList element; pymlML has problems with the owl format. I've changed the URLs to the obo format like msconverter is doing, I still need to test it with moff. I'm adding zlib compression for the binary data as well in the mean while, I'll let you know when the testing is done.
Best regards,
Niels

I'm testing with OpenMS and looks like the error is related with profile/centroid of MS1. The current tool export the profile MS1 and the OpenMS expect everything in Centroid.

Hi Melanie,
I've pushed a new version that should fix the obo error in pymzML. Could you test it let me know?
Best regards,
Niels

@nielshulstaert This will not Solve the error that @foellmelanie reported. @foellmelanie is using moff and OpenMS. The problem that they have is with profile data. We should test some Quant in our side before testing by @foellmelanie .

I have tested the tool with OPenMS and it works fine !!!


Not able to Push to my branch gving access denied error

@Ishaan28malik , PLEASE HELP HERE
Please help here how to raise PR in this repo. When i tries to push from my cmd line, it's giving me access denied error to my username

Sagg, you have to fork the repo and push your branch to your fork. After that you should be able to create a PR from your fork to this repo.


Launch tracking

Overall documentation for building an Exercism track lives at https://exercism.org/docs/building/tracks/new
This issue helps keep track of the tasks you're working on towards launching this track.
The next steps are:

[x] Join our community
[x] Select programming language variant (if applicable)
[x] Select testing framework
[x] Add the first exercise
[ ] Add initial exercises
[ ] Setup Continuous Integration
[ ] Prepare for launch
[x] Find Maintainers
[ ] Launch!
[ ] Implement tooling
[ ] Prepare for open source contributions from strangers

Once you've finished a task, you can check them in this list.
Questions
Please ask if you have any questions or if anything is confusing!

One of the OpenEuphoria admins, @jimcbrown , has given explicit permission to use the existing OpenEuphoria icon for the Euphoria track @kytrinyx @ErikSchierboom

More detaisl about icon policy from administrator @ghaberek

Created PR exercism/snippet-extractor#91

@axtens the logo's done: it looks like the Prepare for launch step is complete

So leave the syntax highlighting till after launch?


[INGEST-76] Updating to librdkafka 1.8.2

Why?
My team (@zendesk/ingest) maintains the support views pipeline that uses Racecar. Our consumers hang often and never recover. As a first step, we would like to upgrade Racecar to use the latest for rdkafka-ruby (0.11.0) which upgrades  librdkafka to 1.8.2. Librdkafka 1.8.0 change log contains changes in this area.
References:

Librdkafka 1.8.0 release notes: https://github.com/edenhill/librdkafka/blob/cfc0731617ddd6858058f31f564772202f209e72/CHANGELOG.md#librdkafka-v180
Librdkafka 1.8.2 release notes: https://github.com/edenhill/librdkafka/blob/cfc0731617ddd6858058f31f564772202f209e72/CHANGELOG.md#librdkafka-v182
rdkafka-ruby PR upgrading to librdkafka 1.8.2: https://github.com/appsignal/rdkafka-ruby/pull/180

How?
I made the following changes:

Updated racecar.gemspec to require rdkafka 0.11.0
Committed the changes to Gemfile.lock that were generated by running bin/setup

Testing
I followed the instructions for setting up the Racecar development environment in the README and confirmed (dockerized) tests pass locally by running docker-compose run --rm tests rspec.
Considerations

I noticed that spec/integration/consumer_spec.rb tests only passed when ran in isolation. I observed this on both master and my branch.

Thanks in advance for your time! 🙇♀

Hey @darena-zendesk this is just a gentle bump  on this PR  😅, could you rebase this with master? This change is very helpful and I know of a couple teams including mine that would love to have this merged as soon as possible 😄.

Merged on #283


Add support to include the ESXi host management IP in the CSR for SubjectAltName

Code of Conduct

[X] I have read and agree to the project's Code of Conduct.
[x] Vote on this issue by adding a 👍 reaction to the original issue initial description to help the maintainers prioritize.
[x] Do not leave "+1" or other comments that do not add relevant information or questions.
[x] If you are interested in working on this issue or have submitted a pull request, please leave a comment.

Description
Currently, when generating Certificate Signing Requests (CSRs) for ESXi hosts using the Request-EsxiCsr function, there is no support for including the management IP Address of the ESXi host in the Subject Alternative Name (SubjectAltName) field of the CSR.
This request proposes the enhancement of the Request-EsxiCsr function to include this, as an optional parameter that can be used.
Use Case(s)

To align the process to be more in line with what is present in SDDC Manager today, which gives hints for Subject Alternative Name creation as part of the certificate generation workflow.

Potential Configuration

New-VIMachineCertificateSigningRequest already includes support for SubjectAltName.
Get-VMhost can be used to obtain the IP address of the management VMkernel adapter, in a similar way the value of $esxiHosts is retrieved.
Could include -IncludeSubjectAltNameIp parameter in Request-EsxiCsr function to make it optional.

References
New-VIMachineCertificateSigningRequest

I reviewed this request -
New-VIMachineCertificateSigningRequest doesnt include support for using SubjectAltName when it comes to ESXi hosts.

Error -
New-VIMachineCertificateSigningRequest: Parameter set cannot be resolved using the specified named parameters. One or more parameters issued cannot be used together or an insufficient number of parameters were provided.
Because of the limitation of New-VIMachineCertificateSigningRequest in PowerCLI, this enhancement cannot be done.


Fix npm security vulnerabilities as of June 2024

resolves #

Description

Checklist

[ ] I have read the contributing guide and understand what's expected of me
[ ] I have signed the CLA
[ ] I have run this code in development and it appears to resolve the stated issue
[ ] I have opened an issue to add/update docs, or docs changes are not required/relevant for this PR
[ ] I have run changie new to create a changelog entry

🎩 locally with internal-analytics artifacts was successful


[BUG] Error executing listen var-command in systemd service

Checklist before submitting an issue

[X] I have searched through the existing closed and open issues for eww and made sure this is not a duplicate
[X] I have specifically verified that this bug is not a common user error
[X] I am providing as much relevant information as I am able to in this bug report (Minimal config to reproduce the issue for example, if applicable)

Description of the bug
I've tried making a minimal systemd service for Eww, which runs the daemon:
[Install]
WantedBy=graphical-session.target

[Service]
Environment=PATH=/run/wrappers/bin:/nix/store/s7xpglllh0zms6wmdh13d5hi3a661ykl-hyprland-0.12.1beta+date=2022-09-04_ff26531/bin:/nix/store/c0w1y1kkhwhbpk4xh4fcrbi98v7k3j62-eww-58907eac4bf5b897e8f77878acc29e0ccf7f6ce3/bin:/nix/store/izjcfa4prbvzhqxa40nj7kqzkip7270p-bc-1.07.1/bin:/nix/store/6cvgq8js1i6rsalzld6bvih65c1xll39-bluez-5.64/bin:/nix/store/mj6wiv9gbbydh06x2i4fl5a9ksdck7c5-coreutils-9.1/bin:/nix/store/98zjbchwflnc55i2jhvpi79aa69frsks-curl-7.84.0-bin/bin:/nix/store/nqwkgzay3m6ynr4qz42ypx576s7ckp24-findutils-4.9.0/bin:/nix/store/7rd34k5jnjwhpk7i9dwjc9xd93psp4gg-gawk-5.1.1/bin:/nix/store/zpjn33mx0pbfc71ddfi9sc8pdfqrsh8z-gnugrep-3.7/bin:/nix/store/n62963g6w2fj8hnka006wycqwx9pqw5q-gnused-4.8/bin:/nix/store/wb4yxhqcysbpf6jj5cx3bhhmr6gdrl4w-jq-1.6-bin/bin:/nix/store/8k1m05pp6rq1cz1qk73s38bv2azn20cl-light-1.2.2/bin:/nix/store/xf6f1qavawdm5dfpikfh2j4znw5lfgl0-networkmanager-1.38.4/bin:/nix/store/y6mh2kd980dxs5pn36bljcnffqznlvc3-playerctl-2.4.1/bin:/nix/store/xqj8gl2rkw9797qd6ia1vsc4yjnbh854-procps-3.3.16/bin:/nix/store/4i8idwff3nyws465p3g7s4jw5pzyh6k7-ripgrep-13.0.0/bin:/nix/store/ag7j3kkqsqhybk9zv8qvakqx1jsk91v2-socat-<IP_ADDRESS>/bin:/nix/store/qw2ghjrdzk0w6zl33i8hn51j2d3wn2gj-upower-1.90.0/bin:/nix/store/f7f4h55q5zjds07rr7ls3i572b5xrpk9-wget-1.21.3/bin:/nix/store/rf87sx3b8826v19zsfqn5khqd1077xay-wireplumber-0.4.11/bin:/nix/store/p9bhphsvbr71a35j29a7fc6k601y9gmm-wofi-1.2.4/bin
ExecStart=/nix/store/c0w1y1kkhwhbpk4xh4fcrbi98v7k3j62-eww-58907eac4bf5b897e8f77878acc29e0ccf7f6ce3/bin/eww daemon --no-daemonize
Restart=on-failure

[Unit]
Description=Eww Daemon
PartOf=graphical-session.target

Inside the script's PATH, I've included the path of every program I'm using inside eww and its related scripts.

Program list, in case you want to take a look
    bc
    bluez
    coreutils
    curl
    eww-wayland
    findutils
    gawk
    gnugrep
    gnused
    hyprland
    jq
    light
    networkmanager
    playerctl
    procps
    ripgrep
    socat
    upower
    wget
    wireplumber
    wofi

Despite all this careful consideration, I still get errors for every deflisten I have in my configuration:, when run in the systemd service:
ERROR eww::script_var_handler > [crates/eww/src/script_var_handler.rs:236] Error while Executing listen var-command playerctl -F metadata title || true: No such file or directory (os error 2)

I've checked and double-checked the program list in PATH, but couldn't find anything that may have slipped.
Reproducing the issue

Have a configuration that makes use of deflisten variables
Try running it in a systemd service
Check journalctl --user -eu eww

Expected behaviour
The deflisten variables get updated properly, as it's being done when run outside the service.
Additional context
My dotfiles with pending Eww config changes: https://github.com/fufexan/dotfiles/tree/eww-deflisten

Seems like you're missing sh in the PATH, no?

As far as I can tell, everything's working properly now. So I think that was it. Thanks and sorry for bothering!


Items

const ITEM_PREMIUM_PC_CONSTANT = 262144;
const ITEM_BIND_EQUIP_CONSTANT = 1048576;
const ITEM_SPECIAL_INVENTORY_CONSTANT = 16777216;
const ITEM_ID_PART2_CONSTANT = 33554432;
const ITEM_BROKEN_CONSTANT = 134217728;
const ITEM_SEALED_CONSTANT = 268435456;

Are those hardcoded item constants?

These are part of the item id mask of ep8+, for example before premium pc theres grade/item level.
ItemID:
Part 1 of ID: 12 bits
Level: 5 bits
Premium PC: 1 bit
Bind item in equip: 1 bit
Nothing: 3 bits
Special Inventory item: 1 bit
Item id part 2 (for items with id bigger than 33554432 on cabal_msg): 1 bit
Basically these are (1 << n) and its a mask like character style.


Add real time as well as relative time to last seen.

Fixes #71

Rawr thanks fow twe contrwibwution


profiler: Cache seen stack trace ids in user-space

@kakkoyun did you mean something like this when describing stack id misses https://github.com/parca-dev/parca-agent/issues/390? Note, there is no thought put into concurrency or cache invalidation yet.

@kakkoyun did you mean something like this when describing stack id misses #390? Note, there is no thought put into concurrency or cache invalidation yet.

It's a good start. The idea is to eliminate the need to re-reading stack addresses from the eBPF map. We should still count them.
We also need to consider what to do with the stack traces of eBPF maps. Shall we have another seen map in the kernel space to let the eBPF program know so that it won't bother to store the stack trace?
So overall idea is that when we have stable hashes of the stack traces (which we should have), we don't need to keep syncing the stack traces themselves constantly. This could be a pre-mature optimization. We should make sure we got this right.

That's a great idea!
So we can read from the counts BPF map on each iteration, check whether there is a stack trace cached in the user space using stack hash field:

cache hit -- no need to read from the stack_traces BPF map
cache miss -- read user/kernel space stack traces from the stack_traces BPF map

I assume that user and kernel space memory addresses should be combined to create stack hash.
stack hash = hash([ 0xdeadbeef; 0x123abcde; ...; 0x597be95a; 0xae5ee03; ... ]) = 'abcd'

The counts BPF map.

{ pid; userStackID; kernelStackID }
stack hash
seen

{ 10342; 1253; 0234 }
abcd
45

The stack_traces BPF map.

stack ID
memory addresses

1253
[ 0xdeadbeef; 0x123abcde; ... ]

0234
[ 0x597be95a; 0xae5ee03; ... ]

Shall we have another seen map in the kernel space to let the eBPF program know so that it won't bother to store the stack trace?

Yeah, the seen BPF map can be added on the next optimization iteration 👍. Though I am not sure what strategy to use to invalidate the seen cache (BPF map) so it won't grow unbounded.

stack hash
v

abcd
true

Perhaps the stack_traces BPF map should be indexed by stack hash so the seen BPF map won't be needed, also we might reduce a number of syscalls when reading the user and kernel space stack traces in one go.

Hm, if there are multiple processes running the same program, perhaps there could be hash collisions. We could add PID to the hash 🤔.
stack hash = hash([ 10342; 0xdeadbeef; 0x123abcde; ...; 0x597be95a; 0xae5ee03; ... ]) = 'abcd'

After reading cpu.bpf.c code I realized that there is already stack trace hashing used in DWARF stack walking int user_stack_id_dwarf;, so I added hashes for kernel space and user space (frame pointer method?).
int user_stack_id_fp;
int kernel_stack_id_fp;

Hi @marselester! Thanks a lot for this!
Regarding the stack hashing, it's not necessary to add the frame pointer-based stack or kernel hashes, as the values returned by bpf_get_stackid is already a hash! 😄
While I really appreciate the intent behind this PR, as definitely this project could be optimised to use fewer CPU cycles and memory, I think caching stack ids could result in difficult-to-debug issues, as well as it would increase the memory footprint of the agent, as the cache will use extra memory.
I would be happy to add the extra complexity if this were a hotspot, but it seems like ~2.7% of the CPU cycles are spent here, which I am not sure if it would be worth it
https://pprof.me/de88b35

That being said, there are lots of areas we could improve in the agent when it comes to performance, and I would be happy to help you find something you might find interesting to work on.
For example:

5% of the CPU cycles are spent allocating memory in compress/flate.NewWriter
We spent over 20% of the cycles searching in the GC, searching for object runtime.scanobject. This might mean that we make to many allocations that could be optimised, or that perhaps we could reduce the number of pointers we have
We spent a disproportionate amount of cycles finding metadata for systemd units

Hope this makes sense! Looking forward to seeing your contributions! ✨

Thank you! Let me see if I can tackle the issues you've proposed...

it's not necessary to add the frame pointer-based stack or kernel hashes

Silly me, I didn't know that :D

No worries at all! 😄


Add support for votes.finance

Assets for Votesfinance.eth space

@gokaiorg all set, thanks for the clarification.

@gokaiorg all set, thanks for the clarification.


File-based config of Authentication does not work as documented

It seems like there are some steps missing or inaccurate information in this documentation.
As a starting point, I am trying to configure with an auth.json file so it works exactly the same as the Azure Portal-based Authentication. Once I get that working, I plan to add excludedPaths to my configuration.
Here are the contents of my auth.json file that is included in the root of my Azure Function directory (sensitive info replaced):
{
    "platform": {
        "enabled": true
    },
    "globalValidation": {
        "unauthenticatedClientAction": "Return401"
    },
    "identityProviders": {
        "azureActiveDirectory": {
            "enabled": true,
            "registration": {
                "openIdIssuer": "https://xxxxx.b2clogin.com/xxxxxxxx.onmicrosoft.com/v2.0/.well-known/openid-configuration?p=B2C_1_SignupSigninV2Dev",
                "clientId": "00000000-0000-0000-0000-000000000000",
                "clientSecretSettingName": "MICROSOFT_PROVIDER_AUTHENTICATION_SECRET"
            },
            "validation": {
                "allowedAudiences": [
                    "00000000-0000-0000-0000-000000000000"
                ]
            }
        },
        "facebook": {
            "enabled": false,
            "registration": {},
            "login": {}
        },
        "gitHub": {
            "enabled": false,
            "registration": {},
            "login": {}
        },
        "google": {
            "enabled": false,
            "registration": {},
            "login": {},
            "validation": {}
        },
        "twitter": {
            "enabled": false,
            "registration": {}
        },
        "legacyMicrosoftAccount": {
            "enabled": false,
            "registration": {},
            "login": {},
            "validation": {}
        },
        "apple": {
            "enabled": false,
            "registration": {},
            "login": {}
        }
    },
    "login": {
        "routes": {},
        "tokenStore": {
            "enabled": true,
            "tokenRefreshExtensionHours": 72,
            "fileSystem": {},
            "azureBlobStorage": {}
        },
        "preserveUrlFragmentsForLogins": false,
        "allowedExternalRedirectUrls": [],
        "cookieExpiration": {
            "convention": "FixedTime",
            "timeToExpiration": "08:00:00"
        },
        "nonce": {
            "validateNonce": true,
            "nonceExpirationInterval": "00:05:00"
        }
    },
    "httpSettings": {
        "requireHttps": true,
        "routes": {
            "apiPrefix": "/.auth"
        },
        "forwardProxy": {
            "convention": "NoProxy"
        }
    }
}

And then I updated the authsettingsV2 file in Azure Resource Explorer
{
  "id": "/subscriptions/.../providers/Microsoft.Web/sites/.../config/authsettingsV2",
  "name": "authsettingsV2",
  "type": "Microsoft.Web/sites/config",
  "location": "Central US",
  "tags": {},
  "properties": {
    "platform": {
      "enabled": true,
      "runtimeVersion": "~1",
      "configFilePath": "auth.json"
    },
    "globalValidation": {
      "requireAuthentication": true,
      "unauthenticatedClientAction": "Return401"
    },
    "identityProviders": {
      "azureActiveDirectory": {
        "enabled": true,
        "registration": {
          "openIdIssuer": "https://xxxxx.b2clogin.com/xxxxxxxx.onmicrosoft.com/v2.0/.well-known/openid-configuration?p=B2C_1_SignupSigninV2Dev",
          "clientId": "00000000-0000-0000-0000-000000000000",
          "clientSecretSettingName": "MICROSOFT_PROVIDER_AUTHENTICATION_SECRET"
        },
        "login": {
          "disableWWWAuthenticate": false
        },
        "validation": {
          "jwtClaimChecks": {},
          "allowedAudiences": [
            "00000000-0000-0000-0000-000000000000"
          ],
          "defaultAuthorizationPolicy": {
            "allowedPrincipals": {}
          }
        }
      },
      "facebook": {
        "enabled": true,
        "registration": {},
        "login": {}
      },
      "gitHub": {
        "enabled": true,
        "registration": {},
        "login": {}
      },
      "google": {
        "enabled": true,
        "registration": {},
        "login": {},
        "validation": {}
      },
      "twitter": {
        "enabled": true,
        "registration": {}
      },
      "legacyMicrosoftAccount": {
        "enabled": true,
        "registration": {},
        "login": {},
        "validation": {}
      },
      "apple": {
        "enabled": true,
        "registration": {},
        "login": {}
      }
    },
    "login": {
      "routes": {},
      "tokenStore": {
        "enabled": true,
        "tokenRefreshExtensionHours": 72,
        "fileSystem": {},
        "azureBlobStorage": {}
      },
      "preserveUrlFragmentsForLogins": false,
      "allowedExternalRedirectUrls": [],
      "cookieExpiration": {
        "convention": "FixedTime",
        "timeToExpiration": "08:00:00"
      },
      "nonce": {
        "validateNonce": true,
        "nonceExpirationInterval": "00:05:00"
      }
    },
    "httpSettings": {
      "requireHttps": true,
      "routes": {
        "apiPrefix": "/.auth"
      },
      "forwardProxy": {
        "convention": "NoProxy"
      }
    }
  }
}

The Azure Portal App Service Authentication page correctly shows:

File-based configuration has been enabled for this app. To re-enable authentication configuration from the portal, please set 'configFilePath' to be an empty string using a tool like Azure CLI.

However, authentication is NOT required when I make calls to the HttpTrigger Azure Functions.
This does work correctly when I clear the configFilePath property in authsettingsV2 to revert back to portal configuration.
Since I am attempting to start with an auth.json file that should exactly match the portal settings, I am thinking that something is inaccurate in the documentation. Or perhaps this feature is not fully implemented.
Thanks!

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

ID: ca023618-58e6-d10c-d736-5fb42a028ec9
Version Independent ID: 2b9d2673-c57f-c5b7-a2e3-ff04ff16a31d
Content: File-based configuration of AuthN/AuthZ - Azure App Service
Content Source: articles/app-service/configure-authentication-file-based.md
Service: app-service
GitHub Login: @cephalin
Microsoft Alias: cephalin

@jeastburn Thank you for your query . We will investigate and update the thread.

I spent a bit more time researching this issue and found that the authsettingsV2 template shows an additional parent object that is not in the file-based config documentation.
https://docs.microsoft.com/en-us/azure/templates/microsoft.web/sites/config-authsettingsv2?tabs=json
If I modify my auth.json file to wrap it within this object, it seems like things work a little better:
{
  "name": "authsettingsV2",
  "type": "Microsoft.Web/sites/config",
  "apiVersion": "2020-12-01",
  "properties": {
     .... settings from file-based config doc in here ...
  }
}

Now my Azure Functions DO have authentication enabled by the auth.json file. However the settings within the file do not seem to be applied. My app is returning a 401 error with or without the proper auth token, and my excludedPaths settings are not being respected either.

I was never able to get the auth.json file in the web root to work.
My main goal was to add excludedPaths for this site, so I ended up just making them directly in the authsettingsV2 file through Azure Resource Explorer.
After my changes, the file now looks like this and it works.
{
  "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/xxx/providers/Microsoft.Web/sites/xxx/config/authsettingsV2",
  "name": "authsettingsV2",
  "type": "Microsoft.Web/sites/config",
  "location": "Central US",
  "tags": {},
  "properties": {
    "platform": {
      "enabled": true,
      "runtimeVersion": "~1"
    },
    "globalValidation": {
      "requireAuthentication": true,
      "unauthenticatedClientAction": "Return401",
      "excludedPaths": [
        "/api/swagger/ui",
        "/api/swagger.json",
        "/api/webhook"
      ]
    },
    "identityProviders": {
      "azureActiveDirectory": {
        "enabled": true,
...
   }
}

It still would be nice to have the option of using an auth.json for these settings rather than setting them directly in authsettingsV2.

@jeastburn Thanks for bringing this to our attention. Your feedback has been shared with the content owner for further review.

This issue is 1 year old already...
I stumbled upon the very same problem when trying to get OIDC working.
However it seems that the schema of the resource and the example does not match at all.
OpenIdConnectProviders is called customOpenIdConnectProviders for example.

@RyanHill-MSFT pinging you here since you've helped me similar things in the past. Any ideas?

I was never able to get the auth.json file in the web root to work. My main goal was to add excludedPaths for this site, so I ended up just making them directly in the authsettingsV2 file through Azure Resource Explorer. After my changes, the file now looks like this and it works.
It still would be nice to have the option of using an auth.json for these settings rather than setting them directly in authsettingsV2.

This actually worked for me as well. I had to add all my configurations within the authsettiingsV2 directly. A bit annoying, but glad it's working.

@RyanHill-MSFT pinging you here since you've helped me with similar things in the past. Any ideas?

Apologies for the late reply @gfaraj. There's an EasyAuth detector, what error does it report for your config.json?

@RyanHill-MSFT pinging you here since you've helped me with similar things in the past. Any ideas?

Apologies for the late reply @gfaraj. There's an EasyAuth detector, do you recall what error it reported for your auth.json?
In the meantime, I'll see if I can reproduce on my end.

Hey @RyanHill-MSFT thanks for reaching out. I don't see anything meaningful in there.

Internal item created: https://dev.azure.com/msft-skilling/Content/_workitems/edit/288556

#please-close


Generate in-memory mocked implementation of the Querier interface

What do you want to change?
We've faced scenarios in which we had to mock the Querier interface, a practical example is to use a mocked implementation for unit tests. A fine-grained approach to mocking this interface is to have an in-memory mocked implementation of this interface. This not only can act as an implementation with high fidelity but also is so fast (since it's in-memory) that can be used in unit tests.
As models and queries change, keeping the mocked implementation is challenging. I've come up with an idea to solve this problem and I would like to share it to get informed about the project owners' opinions.
Since sqlc is a code-gen tool, my idea is to add an option to it to be able to also generate an in-memory mocked implementation. The basis of my idea is to have a struct having a list of each database table as its field. A practical example would be as follows:
type MockedImplementation struct {
    Users []*database.User
    Payments []*database.Payment
}

In this way, we can implement each SQL query by aggregating these fields.
Let me know about your opinions on this idea and I really appreciate any recommendation. I'm also eager to make an MVP for Golang language if the idea get accepted.
What database engines need to be changed?
No response
What programming language backends need to be changed?
Go

I think a better approach would be to create an instance of Queries struct by using the following module:
https://github.com/proullon/ramsql


ldk7811 contribution

Looks good! It might be nice to update the title of your post (you can use the title attribute at the top of the file to avoid renaming the file) to summarize what your contribution was (especially since your name is already in the authorship field of the post), but this is just a suggestion. It seems like everything at least works.
Will wait for you to let me know if you want to make this edit or if you want me to merge this

its been a few days and the due date is probably coming up soon if hasnt already passed. Merging

@ldk7811 of course only after merging do i realize i had a question lol.
Did you intend to submit this as your contribution or as your bug fix?  It's showing up on the site under the Contributions category:

It's a contribution


dnsproxy: 0.37.2 -> 0.37.3

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/AdguardTeam/dnsproxy/releases.
meta.description for dnsproxy is: "Simple DNS proxy with DoH, DoT, and DNSCrypt support"
meta.homepage for dnsproxy is: "https://github.com/AdguardTeam/dnsproxy"
meta.changelog for dnsproxy is: ""
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

/nix/store/5gir21iij866fgxmb186bfivszxw7w9j-dnsproxy-0.37.3/bin/dnsproxy passed the binary check.

1 of 1 passed binary check by having a zero exit code.

0 of 1 passed binary check by having the new version present in output.

found 0.37.3 in filename of file in /nix/store/5gir21iij866fgxmb186bfivszxw7w9j-dnsproxy-0.37.3

directory tree listing: https://gist.github.com/e15299bd09283c1733c390db6b07c06b

du listing: https://gist.github.com/008c03946abb202e72c208e8d42743a6

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
dnsproxy

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/5gir21iij866fgxmb186bfivszxw7w9j-dnsproxy-0.37.3 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A dnsproxy https://github.com/r-ryantm/nixpkgs/archive/bc0b50087aa89dade6f43737a48fd53bdf8cd638.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/5gir21iij866fgxmb186bfivszxw7w9j-dnsproxy-0.37.3
ls -la /nix/store/5gir21iij866fgxmb186bfivszxw7w9j-dnsproxy-0.37.3/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

dnsproxy

Maintainer pings
cc @contrun @kalbasit for testing.

Result of nixpkgs-review pr 121079 at bc0b5008 run on x86_64-linux 1

1 package built successfully:

dnsproxy

1 suggestion:

warning: unclear-gpl
gpl3 is a deprecated license, please check if project uses gpl3Plus or gpl3Only and change meta.license accordingly.
Near pkgs/tools/networking/dnsproxy/default.nix:21:5:
   |
21 |     license = licenses.gpl3;
   |     ^


Add support for cockroachdb as database backend

Hi @pyros2097 , cockroachdb is a distributed kv store, and I think it's too huge as a backend storage.

I was thinking if we use cockroachdb, as at its core uses rocksdb you can directly connect its low level db functions to ledisdb and Maybe get the clustering, fault tolerance for ledisdb automatically

This seems a good idea for ledisdb, but I have no time to see cockroachdb code.
Btw, we have used xcodis for cluster, redis-failover for tolerance.
But later, I want to build a cluster similar like elasticsearch or redis cluster architecture, maybe at that time, we can refer cockroachdb.


New Services MediaLive and MediaPackage

Description of changes:
Adding medialive and mediapackage models with minimal code examples for each.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Looks good—we're trying to migrate to one-crate-per-service with multiple binaries to make it a little more manageable when we have 260 services. Let me know if you need any guidance on making that refactoring. Otherwise LGTM!

Thanks!


Prepare 0.2.0 release

Creating this early so we can add to the checklist as we think of things.  These are all things that should go in this final PR to prepare the release.

[x] Bump version number in all relevant places (right now, just pyproject.toml)
[x] Prepare "prelude" release note to highlight major features in this release (added as part of #153)
[ ] Check rendering of release notes; proofread them too
[x] Revisit release milestone.  Move anything that isn't going to make it to a future milestone.
[x] Move all release notes to 0.2 directory (be sure to merge main into the current branch before doing this)
[ ] Merge this PR. Wait for CI on main to turn green before continuing.
[ ] Tag a release using git tag -a 0.2.0.  Write "Circuit Knitting Toolbox 0.2.0" as the commit message.  Be very careful to make sure this is attached to the correct commit.  (I.e., run git pull before doing this, make sure you're on main, and run git show both before and after tagging it to make sure the tag ended up on the correct commit.)  Then run git push origin 0.2.0, and watch as the release appears on GitHub and pypi.
[ ] Close the release milestone

Previous release PR: #129

Release Notes:
Prelude:

"probabilistically decompose to a particular set of gates with respect to a given probabilistic" --> I had the first probabilistic, and I think you added the second one. I'd say just pick one and remove the other.

New Features:

1st Feature:

Same comment as above. I'm feeling like we should remove the first probabilistically and leave the second

2nd Feature

cutting_decomposition listed three times instead of execute and reconstruct being listed

Known Issues
- 1st Issue:
- "trivial phase (1.0 + 0j)" --> In rest of docs we have said "a phase of 1". Let's just say that.
- 2nd Issue
- "For more on reconstructing exact expectation values in a circuit cutting workflow, check out the how-to" --> "For more on calculating exact distributions using the :class:~qiskit.primitives.BaseSampler interface, check out the how-to." This how-to is no longer about exact expvals.
Deprecation Note
- Two paragraphs here might be nice. Maybe start a new one with "Both"
I'll start a PR for this stuff


Proposed 3.0.0 Release

Incorporates #66, #67 and #68 to support apache 2.4 on ubuntu and centos.

I don't like release branches in this way, so merged the above PRs individually and rebased to create #71 as just the additional bug fix


Fix issues related to parsing of package name.

Description
Fix issues related to parsing of package name.

Action list, package delete/bind/get now properly parse the package name of
the format [[/]ns/]pkg.

Also fixes --verbose/-v flags on package get.

Related Issue
Closes #123.

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] I have signed the Adobe Open Source CLA.
[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.

Updated to master.


Add check for "main" descriptor

Specifies that the ga4gh endpoints should return the "main" CWL descriptor

[x] Check that you pass the basic style checks and unit tests by running mvn clean install

Coverage increased (+0.01%) to 73.218% when pulling b2bdbc54a96312da8d7356ca588c3089cc938988 on feature/non-arbitary_ga4gh_descriptor_response into c677a7c0fc6e302a469f4faa1f99d9140b08ac23 on develop.

Coverage increased (+0.01%) to 73.218% when pulling 9b03224cecda0bbfb96f587837b90905e41ceda4 on feature/non-arbitary_ga4gh_descriptor_response into c677a7c0fc6e302a469f4faa1f99d9140b08ac23 on develop.


[fix][broker] Fix stuck subscription due to cursor recovery timeout

Motivation
It fixes: https://github.com/apache/pulsar/issues/20393
sometimes broker gets stuck while recovering managed cursor for a topic's subscription which causes subscription creation stuck on that broker and client application keeps timing out while creating consumers. It happens when broker tries to recover cursor and tries to persist cursors' state into ledger and broker never receives add-entry callback for that cursor ledger which will prevent broker to create subscription successfully.
Broker-log
05:50:28.411 [pulsar-io-4-32] INFO  org.apache.pulsar.broker.service.ServerCnx - [/<IP_ADDRESS>:38126] Subscribing on topic persistent://pulsar/use1/myns/topic-1 / my-sub
05:50:28.411 [pulsar-io-4-32] INFO  org.apache.bookkeeper.mledger.impl.ManagedCursorImpl - [pulsar/use1/myns/persistent/topic-1] Cursor my-sub recovered to position 52505149:179
05:50:28.412 [pulsar-io-4-32] INFO  org.apache.bookkeeper.mledger.impl.ManagedCursorImpl - [pulsar/use1/myns/persistent/topic-1] Consumer my-sub cursor initialized with counters: consumed 0 mdPos 52505149:179 rdPos 52505149:180
05:50:28.412 [pulsar-io-4-32] INFO  org.apache.bookkeeper.mledger.impl.ManagedLedgerImpl - [pulsar/use1/myns/persistent/topic-1] Creating ledger, metadata: {component=[109, 97, 110, 97, 103, 101, 100, 45, 108, 101, 100, 103, 101, 114], pulsar/managed-ledger=[112, 117, 108, 115, 97, 114, 47, 112, 115, 116, 103, 45, 103, 113, 49, 47, 112, 115, 116, 103, 49, 45, 98, 114, 111, 107, 101, 114, 50, 46, 109, 101, 115, 115, 97, 103, 105, 110, 103, 46, 103, 113, 49, 46, 121, 97, 104, 111, 111, 46, 99, 111, 109, 58, 52, 48, 56, 48, 47, 112, 101, 114, 115, 105, 115, 116, 101, 110, 116, 47, 115, 97, 110, 105, 116, 121, 84, 101, 115, 116, 84, 111, 112, 105, 99, 45, 49], pulsar/cursor=[115, 97, 110, 105, 116, 121, 83, 117, 98], application=[112, 117, 108, 115, 97, 114]} - metadata ops timeout : 60 seconds
05:50:28.421 [main-EventThread] INFO  org.apache.bookkeeper.mledger.impl.ManagedCursorImpl - [pulsar/use1/myns/persistent/topic-1] Created ledger 52506173 for cursor my-sub
05:50:29.860 [bookkeeper-ml-scheduler-OrderedScheduler-5-0] INFO  org.apache.bookkeeper.mledger.impl.ManagedLedgerImpl - [pulsar/use1/myns/persistent/topic-1] Ledger already created when timeout task is triggered
05:51:28.412 [bookkeeper-ml-scheduler-OrderedScheduler-2-0] INFO  org.apache.bookkeeper.mledger.impl.ManagedLedgerImpl - [pulsar/use1/myns/persistent/topic-1] Ledger already created when timeout task is triggered
05:51:40.443 [pulsar-io-4-2] INFO  org.apache.pulsar.broker.service.ServerCnx - [/<IP_ADDRESS>:38174] Subscribing on topic persistent://pulsar/use1/myns/topic-1 / my-sub
05:53:47.732 [pulsar-io-4-5] INFO  org.apache.pulsar.broker.service.ServerCnx - [/<IP_ADDRESS>:38206] Subscribing on topic persistent://pulsar/use1/myns/topic-1 / my-sub
05:55:55.171 [pulsar-io-4-8] INFO  org.apache.pulsar.broker.service.ServerCnx - [/<IP_ADDRESS>:38238] Subscribing on topic persistent://pulsar/use1/myns/topic-1 / my-sub
05:58:02.655 [pulsar-io-4-11] INFO  org.apache.pulsar.broker.service.ServerCnx - [/<IP_ADDRESS>:38316] Subscribing on topic persistent://pulsar/use1/myns/topic-1 / my-sub
06:00:10.991 [pulsar-io-4-13] INFO  org.apache.pulsar.broker.service.ServerCnx - [/<IP_ADDRESS>:38348] Subscribing on topic persistent://pulsar/use1/myns/topic-1 / my-sub

client-log
2023-05-19 05:51:40 [pulsar-client-io-8-1] INFO  o.a.pulsar.client.impl.ConsumerImpl - [persistent://pulsar/use1/myns/topic-1][my-sub] Subscribing to topic on cnx
 [id: 0xdcb4fbde, L:/<IP_ADDRESS>:38174 - R:broker2.use1.pulsar.com/<IP_ADDRESS>:6651], consumerId 0
2023-05-19 05:52:10 [pulsar-client-io-8-1] DEBUG o.a.p.common.protocol.PulsarDecoder - [broker2.use1.pulsar.com/<IP_ADDRESS>:6651] Received cmd PING
2023-05-19 05:52:10 [pulsar-client-io-8-1] DEBUG o.a.p.common.protocol.PulsarHandler - [[id: 0xdcb4fbde, L:/<IP_ADDRESS>:38174 - R:broker2.use1.pulsar.com/<IP_ADDRESS>:6651]] Replying back to ping mess
age
2023-05-19 05:52:10 [pulsar-client-io-8-1] DEBUG o.a.p.common.protocol.PulsarHandler - [[id: 0xdcb4fbde, L:/<IP_ADDRESS>:38174 - R:broker2.use1.pulsar.com/<IP_ADDRESS>:6651]] Sending ping message
2023-05-19 05:52:10 [pulsar-client-io-8-1] DEBUG o.a.p.common.protocol.PulsarDecoder - [broker2.use1.pulsar.com/<IP_ADDRESS>:6651] Received cmd PONG
2023-05-19 05:52:40 [pulsar-client-io-8-1] DEBUG o.a.p.common.protocol.PulsarDecoder - [broker2.use1.pulsar.com/<IP_ADDRESS>:6651] Received cmd PING
2023-05-19 05:52:40 [pulsar-client-io-8-1] DEBUG o.a.p.common.protocol.PulsarHandler - [[id: 0xdcb4fbde, L:/<IP_ADDRESS>:38174 - R:broker2.use1.pulsar.com/<IP_ADDRESS>:6651]] Replying back to ping mess
age
2023-05-19 05:52:40 [pulsar-client-io-8-1] DEBUG o.a.p.common.protocol.PulsarHandler - [[id: 0xdcb4fbde, L:/<IP_ADDRESS>:38174 - R:broker2.use1.pulsar.com/<IP_ADDRESS>:6651]] Sending ping message
2023-05-19 05:52:40 [pulsar-client-io-8-1] WARN  o.a.pulsar.client.impl.ConsumerImpl - [persistent://pulsar/use1/myns/topic-1][my-sub] Failed to subscribe to topi
c on broker2.use1.pulsar.com/<IP_ADDRESS>:6651
2023-05-19 05:52:40 [pulsar-client-io-8-1] WARN  o.a.pulsar.client.impl.ClientCnx - [id: 0xdcb4fbde, L:/<IP_ADDRESS>:38174 - R:broker2.use1.pulsar.com/<IP_ADDRESS>:6651] request timeout {'durationMs':
'30000', 'reqId':'3312998569082859124', 'remote':'broker2.use1.pulsar.com/<IP_ADDRESS>:6651', 'local':'/<IP_ADDRESS>:38174'}

Modifications
Broker should be more resilient to handle such callback response and broker should have timeout if broker can't recover cursor and broker should retry to recover cursor and successfully to create subscription.  This PR helps to handle such timeout and retries to successfully recover cursor and prevent stuck subscription.
Verifying this change

[ ] Make sure that the change passes the CI checks.

(Please pick either of the following options)
This change is a trivial rework / code cleanup without any test coverage.
(or)
This change is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)

Added integration tests for end-to-end deployment with large payloads (10MB)
Extended integration test for recovery after broker failure

Does this pull request potentially affect one of the following parts:

If the box was checked, please highlight the changes

[ ] Dependencies (add or upgrade a dependency)
[ ] The public API
[ ] The schema
[ ] The default values of configurations
[ ] The threading model
[ ] The binary protocol
[ ] The REST endpoints
[ ] The admin CLI options
[ ] The metrics
[ ] Anything that affects deployment

Documentation

[ ] doc
[ ] doc-required
[x] doc-not-needed
[ ] doc-complete

Matching PR in forked repository
PR in forked repository:

by the way i wonder the root cause for callback not triggered. can you show the heap dump or stack trace for this ?

@lifepuzzlefun yes root cause is due to callback was not triggered and I can't share the heapdump due to security purpose. we are having this timeout issues at multiple places with recent pulsar upgrade (2.10) and it's really painful to upgrade Pulsar. we have been seeing lot of publish/read and other bookie operation timeout with pulsar 2.10 upgrade. it's really impossible to use pulsar for a production system.


[Bug] Falling off the world after using waystone while sitting on a horse

Hi! 😊
I noticed two problems with using waystones while sitting on a horse:

The horse does not teleport with me.
For some waystones I fall off the world after using it while sitting on a horse.

Mod version: 2.4.1
Game version: 1.18.1
I'm playing on a multiplayer server.

Are you (as well as the server) using Fabric API version 0.42.1 or newer? Older versions might be causing some issues.

We are using fabric api 0.45.2

I'll look into it. It would be useful if you could lend me the "latest.log" file, just in case.

Sure! Please see the log file attached.
latest.log

any news on this? I teleports on my horse for the first time today and was ported to the destination waystone fine except I was at -57 and had to convert my game to creative temporarily just to get back to the surface.

Closing this one in favor of #168, since it covers other mobs (as well as non-mounts).


Environment variable ACTIONS_RUNNER_CONTAINER_HOOK is not correct

Code of Conduct

[X] I have read and agree to the GitHub Docs project's Code of Conduct

What article on docs.github.com is affected?
https://docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners/customizing-the-containers-used-by-jobs#triggering-the-customization-script
What part(s) of the article would you like to see updated?
Environment variable ACTIONS_RUNNER_CONTAINER_HOOK is not correct and the hooks will not be triggered by the runner.
The correct env var is ACTIONS_RUNNER_CONTAINER_HOOKS
See also https://github.com/actions/runner/blob/main/docs/adrs/1891-container-hooks.md
After using ACTIONS_RUNNER_CONTAINER_HOOKS my self-hosted runner started executing the hooks.
Additional information
No response

@mhuijgen Thank you for opening a PR and linking it to your issue! ✨

Please everyone I need help here

My device have been hack and I need a solution to it please


Add changelog for v3.0.1 in master

What problem does this PR solve?
Add changelog for v3.0.1 in master

/run-all-tests


Can't download CSV when some series are incomplete?

Using 3.19, the "Download CSV" option goes away when I include a series with data that does not cover the same time range as other series.  Is this expected behaviour?
This is for a chart of type 'area'.

Same issue here. Did you find a solution?

Never did!  Hid the option.

For me same issue with "line" type

Got the same issue.

Any updates on this ?

I am finding the same issue. Any updates on this?

I am having the same issue. The "Download CSV" button does not show up when any series contains 0 data points. When I remove those series, it then works. Also an issue i see is that if you have some series that don't have data for certain days, then the CSV file will omit those days, even if other series has data on those days.

There are many limitations of CSV export in Apex. I decided to create my own exporter by using https://www.npmjs.com/package/export-to-csv and adding custom icon to Apex chart toolbar - it works perfectly and without any limitations so I recommend you to go this way.

The issue still exists in 2022...

The issue still exists in 2023...

The issue still exists. Any updates on this?

Jun 2023 - The issue still exists. Any updates on this?

I have the problem that the csv download button disappears when there is more than one dataset on the plot

Please reopen, exporting to csv does not work for multiple charts

+1 ... so annoying as i need this to work.


External validation constraint must be defined within a numeric type

We should not allow min/max value of an int32 field defined as "3.14". Such a definition is a programming error, and should be reported as such on compile-time.

@serhii-lekariev, fixed?

@dmdashenkov please have a look. I am not sure we support "compile-time" checks for the external validation constraints.

This is handled in all the cases except two:

validation code generation is disabled;
external constraints.


main.css problem

The comment list below the article page, i think the css is something wrong, it doesn't break-word.

I don't know where should i post this issue, so i posted here.
By the way, GREAT WORK!!!

@lsdlab thanks for letting us know about this (and the kind words)! I'll try and get a fix in for the main CSS file sometime over the weekend 🍻

I added this as an issue to the theme's repo since if this is a bug it would need to be fixed there.
https://github.com/gothinkster/conduit-bootstrap-template/issues/1


mismatching tokenizers

Hi!
My go_bot differs from dstc2, but as i see this problem may occure at dstc2 go_bot.
For simplicity I will describe situation in dstc2 go_bot terms.
At dstc2 go_got.json there is a parameter "tokenizer" of go_bot component (not a tokenizer at pipeline).
the class of this tokenizator is "stream_spacy_tokenizer".
But dstc_ner is trained using "lazy tokenizer".
It results in such cases:
if i give a string 'дай мне телефон Чулпан-Хаматовой' to a trained ner component it assumes 'Чулпан-Хаматовой' as one token.
But when i give the same string to go_bot then it divides 'Чулпан-Хаматовой' into to tokens: 'Чулпан' and 'Хаматовой'.
Maybe it is better to use one tokenizer at ner and at go_bot?

Hi!
The problem you are describing is not that important for DSTC2, because the data is already tokenized. Thus during training DSTC2 all components will try to tokenize the text one more time (with different tokenizers), but will result in approximately the same tokens.
During inference slot_filler component is already receiving tokens from go_bot. So no problem with it too.
https://github.com/deepmipt/DeepPavlov/blob/master/deeppavlov/models/go_bot/network.py#L285
It will somehow work for DSTC2, but will fail for a dataset without preliminary tokenization.
Thanks, will make the fix.


No mechanism to lookup a header if you don't know the header name

The function for getting a header is getHeader(string headerName). However, if we don't know the header names beforehand, we have no way to retrieve the headers. We can introduce a function getHeaders() which returns the header keys.

Related issue #3955

This is fixed with #7008


Use solve ivp without py pde wrapper

reproduce 0-0 state from fig 6 of L'Heureux (2018) over 10 Tstar using method="RK45" and write the solution metadata to a file

Not necessary, sorry. Please change to what you deem appropriate.

Will do so after the merge, because adding a commit to this PR would require me to clone the fork, if I understand it correctly.


Access length of filteredChildren array

First of all, great work on this! Thanks for providing such a great component!
When the list is filtered I'd like to display the count of how many records matched the current filter (e.g. 5 of 200). Looks like you store the filtered array at one point in the render function:
filteredChildren = this.applyFilter(this.state.filter, filteredChildren);
Would it be possible to expose that array, or maybe just the length of that array? Right now I'm just running my own filter function on each change in the filter string to calculate that number, but it's already being done by the component, I just don't know how to access it.
Thanks!

Seems reasonable to me. I'd probably just pass this as a parameter to onFilter, and let you update your component's state from that

Sounds great! Thanks for the quick response.


Fixing typo in install docs 'pip-install' -> 'pip install'.

The docs contained a mistyped command pip-install.

Thanks!


Download Azure client on Windows for 1.16

Issue:
https://github.com/rancher/rancher/issues/22407
Related PR:
https://github.com/rancher/azure-cli/pull/2
Todo:

[ ] After https://github.com/rancher/azure-cli/pull/2 merged, this PR needs to modify the azure-cli package download URL.

Closed, in favor of https://github.com/rancher/hyperkube/pull/62


When creating shared volume is ignore path supplied.

The create-shared-volume has:
  local __path=$3

  local __path=$OPENSHIFT_HOME_DIR/volumes/${__volume}

So it is ignoring the supplied path.

Yes for now. I wanted to experiment if things worked before getting more
complexity in.
El 23 sept. 2016 9:48, "Graham Dumpleton"<EMAIL_ADDRESS>escribió:

The create-shared-volume has:
local __path=$3
local __path=$OPENSHIFT_HOME_DIR/volumes/${__volume}
So it is ignoring the supplied path.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jorgemoralespou/oc-cluster-wrapper/issues/5, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAEyDg7qk8BXSf0tV6jqqgbm6YsIVbDnks5qs4RBgaJpZM4KEsuD
.


Support combining small files for multi-threaded ORC reads

fixes #7321
PR https://github.com/NVIDIA/spark-rapids/pull/7298 added in the support of combining small files for parquet, and this PR adds in this for ORC.
With this change we combine small files together after they are read from the file store into host memory buffers but before we send them to the GPU. With the existing code before this PR, each file is read by separate threads from the file store (like s3) and put into a host memory buffer. Then each host memory buffer is sent down individually to the GPU to be processed. In the combine, we just create another host memory buffer and copy the contents of the read host memory buffers into it and then recompute the ORC footer and postscript.
We also rename the combining-related configs to be common for all the formats. And some code got moved around to be common between the coalescing reader and this combining reader. Also we have to check if the query uses the spark input file name type functionality and if it does we can't do the combining.
Here are the numbers from local tests (read the data and do some sort tasks) by forcing to use the multithreaded reader.

About 4 GB data, 800 ORC files on local storage.
CPU 12 cores, and one GPU (Titan V, with 12GB memory)

wo/ Combination
w/ Combination
Speedup

24.09s
17.98s
1.3

I also ran the NDS on dataproc reading 1TB ORC data from gs, and got a noticeable improvement. You can refer to our CI job liangcail-dev-nds2-dataproc for more details. Build NO. 6 and NO.8 ran with this PR, while build NO.7 and NO.9 did not.
With this PR
====== Power Test Time: 1313000 milliseconds ======
Without this PR
====== Power Test Time: 3388000 milliseconds ======

I will run the NDS and try some perf tests locally.

build

@tgravescs Could you take a review for this ?

build

@firestarman please add the performance benchmarks before we start reviewing, thanks!

did you have a chance to run NDS and do any other performance tests to ensure we are seeing benefit from this?

@firestarman please add the performance benchmarks before we start reviewing, thanks!

Yeah, that's what i am doing recently.

can you just run NDS in one of the clouds like databricks/dataproc? We saw performance improvement there

build

can you just run NDS (using orc files as input) in one of the clouds like databricks/dataproc? We saw performance improvement there

will try

can you just run NDS (using orc files as input) in one of the clouds like databricks/dataproc? We saw performance improvement there

Sure

build

build

build

build


[Bug] checklist lost 'old' values if form submitted with validation errors

Bug report
What I did
I have a form with checklist and textfield with some validation rules.
If I edit textfield to "wrong" value and try to submit form than checklist's checkboxes are cleared
What I expected to happen
Old checkboxes values of checklist should remain in state when form is submitting
What I've already tried to fix it
I've found that in checklist.blade.php old value of checklist (which is actually a string) not converted to array.
Possible fix: add following lines at line 19 of checklist.blade.php (but not sure if this is correct approach, as I'm not a php guru)
  if (is_string($field['value'])) {
      $field['value'] = array_map('intval', explode(',', str_replace(['[', ']'], ['', ''], $field['value'])));
  }

Backpack, Laravel, PHP, DB version
Reproducible in demo.

Edit some monster
On Relationships tab check some Chechlist box and 'Save and edit this item'
Go to Simple tab, clear Text field and try to save
As validation fails, goto Relationships tab and see that Chechlist's boxes are clear

Hello @pkuzz
Thanks for submitting your report.
I think this is related with #525 , #1816 and we are hopefully fixing it in #3054, but we can only do it in 4.2 as it is a BC.
I will leave this open until we can confirm that #3054 fixes this.
Best,
Pedro

Oh, I didn't find that issues, sorry :)
For now, I worked around it by overriding checklist with code from my comment, so will wait for 4.2 patiently, thanks!

https://github.com/Laravel-Backpack/CRUD/pull/3377 besides adding new capabilities to checklist field, also solved this
Thank you for submitting the issue @pkuzz, if you still have any problems using the field please reopen 👍


[4.2][ObjectiveC] NSObject: Clarify hashing implementation

Cherry picked from #18257
NSObject defines its own interface for hashing and equality. Subclasses must implement custom hashing by overriding the hash property, or NSSet and NSDictionary will not work correctly.
Unfortunately, we currently define NSObject.hashValue and NSObject.hash(into:) as overridable, which leads people to accidentally override one of these instead of hash. hashValue is explicitly declared open, while hash(into:) is automatically synthesized as such.
Making hashValue non-open is a potentially source breaking change, but we can at least provide an explicit, non-overridable definition for hash(into:), and update the documentation to explain the contract.
rdar://problem/42623967

@swift-ci please test

@swift-ci please nominate


Sorry….We ran into an issue! - While creating New Project in Demo generator

Error while creating release definition: Tasks with versions 'ARM Outputs:6.*' are not valid for deploy job 'Agent job' in stage Stage 1.

Please install the required extension from the marketplace and try again.


Ecowitt not loading

Hi, I just installed the integration and I get the following message in the logs:
Logger: homeassistant.config_entries
Source: helpers/entity_component.py:172
First occurred: 16:33:21 (2 occurrences)
Last logged: 16:33:21
Error unloading entry Ecowitt on port 4199 for sensor
Error unloading entry Ecowitt on port 4199 for binary_sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 496, in async_unload
result = await component.async_unload_entry(hass, self)
File "/usr/src/homeassistant/homeassistant/components/sensor/init.py", line 246, in async_unload_entry
return await component.async_unload_entry(entry)
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 172, in async_unload_entry
raise ValueError("Config entry was never loaded!")
ValueError: Config entry was never loaded!
What can I do to fix this?

Home assistant now includes an official ecowitt integration with 2022.9 https://www.home-assistant.io/integrations/ecowitt/  I would suggest removing this one and going with the official one.
On Fri, Sep 30, 2022, at 10:45 PM, paulonHA wrote:

Hi, I just installed the integration and I get the following message in the logs:
Logger: homeassistant.config_entries
Source: helpers/entity_component.py:172
First occurred: 16:33:21 (2 occurrences)
Last logged: 16:33:21
Error unloading entry Ecowitt on port 4199 for sensor
Error unloading entry Ecowitt on port 4199 for binary_sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 496, in async_unload
result = await component.async_unload_entry(hass, self)
File "/usr/src/homeassistant/homeassistant/components/sensor/init.py", line 246, in async_unload_entry
return await component.async_unload_entry(entry)
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 172, in async_unload_entry
raise ValueError("Config entry was never loaded!")
ValueError: Config entry was never loaded!
What can I do to fix this?
—
Reply to this email directly, view it on GitHub https://github.com/garbled1/homeassistant_ecowitt/issues/137, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAF2YVCKT6XWVVGALTIF4VDWA34KDANCNFSM6AAAAAAQZ25Z2E.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

Thanks for your message. I actually was able to fix the problem 2 days ago and I forgot to close the issue here. The Problem was related to the host name/IP


[LIBCLOUD-1004] Add launch template support to EC2 create_node

Launch template support for EC2 create_node
Allows Nodes to be created from EC2 Launch Templates
This change allows Nodes to be created from predefined Launch Templates in EC2.
This is useful in a number of scenarios:

Organizational standards are implemented with Templates.
etc.

The attributes specified in the call to create_node will take precedence over those defined in the template (per provider documentation).
Provider docs:

https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html
https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_LaunchTemplateSpecification.html

Status

done, ready for review

Checklist (tick everything that applies)

[x] Code linting (required, can be done after the PR checks)
[x] Documentation
[x] Tests
[ ] ICLA (required for bigger changes)

Codecov Report

Merging #1224 into trunk will decrease coverage by 0.02%.
The diff coverage is 18.75%.

@@            Coverage Diff             @@
##            trunk    #1224      +/-   ##
==========================================
- Coverage   86.27%   86.25%   -0.03%
==========================================
  Files         351      351
  Lines       67739    67753      +14
  Branches     5972     5977       +5
==========================================
- Hits        58442    58439       -3
- Misses       6858     6869      +11
- Partials     2439     2445       +6

Impacted Files
Coverage Δ

libcloud/test/compute/test_ec2.py
97.33% <16.66%> (-0.56%)
:arrow_down:

libcloud/compute/drivers/ec2.py
73.85% <20%> (-0.39%)
:arrow_down:

libcloud/test/compute/test_upcloud.py
90.06% <0%> (-1.33%)
:arrow_down:

Continue to review full report at Codecov.

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

Thanks for your contribution.
Since this PR hasn't been updated for a long time, I will close it.
If the change still relevant please feel free to re-open this PR (and in that case, please also sync it with the latest trunk).


Upgrade Opal and other dependencies

From @jgaskins on March 4, 2015 4:6
Opal 0.7 was released a couple weeks ago, so I upgraded it and a few other dependencies here. This gives better support for source maps — and will allow it to be used with my latest projects based on Opal. ;-)
The only actual code changes I made were due to path-relative require statements no longer being valid. I just rewrote them to use canonical paths. Specs are still green, so that's a good sign. :-)
Copied from original issue: zetachang/react.rb/pull/10

From @jgaskins on March 4, 2015 13:28
@zetachang Interesting. I actually didn't realize that. I missed a lot of the 0.6 development — I went straight from 0.5 - 0.7 — so I didn't know there was a regression. They seem to work better than they did back then. :-) Elia told me a couple weeks ago that he's got a lot of plans for source maps and how to make them better.
@vais Indeed, I'd like to get rendering in Clearwater to use React nodes instead of HTML, especially because right now Clearwater rerenders the entire app on navigation. The rendering performance isn't bad as long as human interaction is driving the rendering, but I'm more concerned with smashing existing DOM elements, event cleanup, and things like that. And once we no longer need to worry about micromanaging rerendering (such as data-bound blocks), that code can get a lot cleaner.
I've got a very experimental Slim->React compiler that works as long as there is nothing dynamic, but that's not what one might call useful in any way. I figured using this project would help with some of the gross hacks I had to use to get that to work. :-)

From @vais on March 4, 2015 6:7
@jgaskins great to see you taking interest in this project. Do you think React.rb could be the V in Clearwater? I haven't had a chance to spend much time understanding how either one works yet, but I remember you working on something to do with using React in the view layer of Clearwater in some way. It would be awesome to see some collaboration between you guys if it makes sense for both projects (as opposed to reinventing the same wheel independently that is, which happens too often).

From @zetachang on March 4, 2015 9:37
Hi, thanks for your interest on the project! :+1:
I think source map support in 0.7 is still broken (https://github.com/opal/opal/issues/720), I will hold this pull request until the source map issue is fixed.
The main concern for this is that we may got users who just start using Opal because this library. Without correct source map support, debugging compiled JS is actually not so fun for newbies.

From @zetachang on March 29, 2015 11:47
This is cherrypick in https://github.com/zetachang/react.rb/tree/opal-0.8. :cherries:

From @vais on March 4, 2015 15:22
@jgaskins :+1: * 100

From @catmando on March 4, 2015 20:12
just a note that there is a fix for the sourcemap problem.   Totally agree that without the source maps it is a major disabler to opal adoption.
If you want to get a hold of the fix on top of the current released (0.7.1) version go here:
gem 'opal', git: "https://github.com/catprintlabs/opal.git"


treat unknown symbols as normal text

fixes issue #18

@monesga ping

Looks fine for me. Please merge it.


Prepare for release v2021.06.21-rc.0

ProductLine: KubeDB
Release: v2021.06.21-rc.0
Release-tracker: https://github.com/kubedb/CHANGELOG/pull/38
Signed-off-by: 1gtm<EMAIL_ADDRESS>

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: 1gtm:x: kodiakhq[bot]You have signed the CLA already but the status is still pending? Let us recheck it.


Executing centos2ol.sh in CentOS6 - Error: Package: initscripts-9.03.61-1.0.6.el6.x86_64 (@ol6_latest)

Hi.
The output of centos2ol.sh is:
...
--> Processing Dependency: /etc/oracle-release for package: initscripts-9.03.61-1.0.6.el6.x86_64
--> Finished Dependency Resolution
Error: Package: initscripts-9.03.61-1.0.6.el6.x86_64 (@ol6_latest)
Requires: /etc/oracle-release
Removing: 6:oraclelinux-release-6Server-10.0.2.x86_64 (installed)
Not found
Obsoleted By: centos-release-6-10.el6.centos.12.3.x86_64 (C6.10-base)
Not found
Available: 6:oraclelinux-release-6Server-9.0.3.x86_64 (ol6_latest)
Not found
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Could not automatically sync with Oracle Linux repositories.
Check the output of 'yum distro-sync' to manually resolve the issue.

Thanks.

Hi.
I see that "ym -y distro-sync" failed because the script had left a CentOS repo.
I deleted the file in /etc/yum.repo.d and ran "yum -y distro-sync".
Now, from what I've read I'll have to edit the script and run the remaining portion of the code, making sure the variable values are correct.
Thanks.

I ran into this exact same issue. To add a bit more info, I had a 'CentOS-EoL.repo' file that I had previously created after the 'latest' centos yum repos were all wiped. My file just had entries for the 6.10 repo on vault.centos.org which served to at least allow yum/etc to work.
To work around, I moved the contents of my .repo file into the existing CentOS-Vault.repo file and removed my file. That allowed a second attempt with centos2ol.sh to complete without issue (after having reverted the vm).

Hi.
My problem was also the previous existence of CentOS6 Repos.
After reverting the VM, I disabled those Repos and execution of centos2ol.sh finished successfully.
Thanks.